Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103101 - dev-java/jss-3.4 dies complaining about JAVA_HOME
Summary: dev-java/jss-3.4 dies complaining about JAVA_HOME
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-19 19:44 UTC by Derk W te Bokkel
Modified: 2005-08-19 20:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Derk W te Bokkel 2005-08-19 19:44:58 UTC
>>> emerge (1 of 4) dev-java/jss-3.4 to /   
cleansing builddir/mnt/bigdisk1/tmp/portage/jss-3.4   
creating temp dir   
 * Determining the location of the kernel source code   
 * Found kernel source directory:   
 * /usr/src/linux   
 * Found sources for kernel version:   
 * 2.6.12-gentoo-r9   
swapping processors for ['unpack', 'compile', 'test']   
/usr/lib/portage/bin/ebuild.sh: line 3010: portageq: readonly function   
/usr/lib/portage/bin/ebuild.sh: line 3273: speak: readonly function   
>>> Unpacking source...   
>>> Unpacking jss-3.4-src.tar.gz to /mnt/bigdisk1/tmp/portage/jss-3.4/work   
>>> Source unpacked.   
/usr/lib/portage/bin/ebuild.sh: line 5372: portageq: readonly function   
/usr/lib/portage/bin/ebuild.sh: line 5635: speak: readonly function   
>>> Compiling source ...   
cd nsinstall; make export   
make[1]: Entering directory   
`/mnt/bigdisk1/tmp/portage/jss-3.4/work/jss-3.4-src/mozilla/security/coreconf/nsinstall'   
make[1]: Nothing to be done for `export'.   
make[1]: Leaving directory   
`/mnt/bigdisk1/tmp/portage/jss-3.4/work/jss-3.4-src/mozilla/security/coreconf/nsinstall'   
cd nsinstall; make libs   
make[1]: Entering directory   
`/mnt/bigdisk1/tmp/portage/jss-3.4/work/jss-3.4-src/mozilla/security/coreconf/nsinstall'   
gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall.o -c -O2 -fPIC -DLINUX1_2   
-Di386 -D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux   
-D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG   
-DNDEBUG -D_REENTRANT -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include    
-I../../../dist/public/coreconf -I../../../dist/private/coreconf -I/usr/include/nss   
-I/usr/include/nspr  nsinstall.c   
gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/pathsub.o -c -O2 -fPIC -DLINUX1_2 -Di386   
-D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux   
-D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG   
-DNDEBUG -D_REENTRANT -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include    
-I../../../dist/public/coreconf -I../../../dist/private/coreconf -I/usr/include/nss   
-I/usr/include/nspr  pathsub.c   
gcc -o Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall -O2 -fPIC -DLINUX1_2 -Di386   
-D_XOPEN_SOURCE -DLINUX2_1 -ansi -Wall -pipe -DLINUX -Dlinux   
-D_POSIX_SOURCE -D_BSD_SOURCE -DHAVE_STRERROR -DXP_UNIX -UDEBUG   
-DNDEBUG -D_REENTRANT -I../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include    
-I../../../dist/public/coreconf -I../../../dist/private/coreconf -I/usr/include/nss   
-I/usr/include/nspr  Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall.o   
Linux2.6_x86_glibc_PTH_OPT.OBJ/pathsub.o    -L/lib -lpthread  -ldl -lc   
rm -f nfspwd; cp nfspwd.pl nfspwd; chmod +x nfspwd   
../../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall -R -m 775   
Linux2.6_x86_glibc_PTH_OPT.OBJ/nsinstall ../../../dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/bin   
make[1]: Leaving directory   
`/mnt/bigdisk1/tmp/portage/jss-3.4/work/jss-3.4-src/mozilla/security/coreconf/nsinstall'   
perl build_java.pl "SOURCE_PREFIX=../../dist"   
"SOURCE_RELEASE_PREFIX=../../dist/release/no-policy"   
"SOURCE_RELEASE_CLASSES_DBG_DIR=classes_DBG"   
"SOURCE_RELEASE_CLASSES_DIR=classes" build   
Command variables:   
SOURCE_RELEASE_PREFIX=../../dist/release/no-policy   
SOURCE_RELEASE_CLASSES_DIR=classes   
SOURCE_RELEASE_CLASSES_DBG_DIR=classes_DBG   
SOURCE_PREFIX=../../dist   
Must specify JAVA_HOME environment variable at build_java.pl line 117.   
make: *** [buildJava] Error 255   
   
!!! ERROR: dev-java/jss-3.4 failed.   
!!! Function src_compile, Line 5641, Exitcode 2   
!!! nss make failed   
!!! If you need support, post the topmost build error, NOT this status message.   
   
phases failed   
   
 emerge info  
Portage 1.589-cvs (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r9  
i686)  
=================================================================  
System uname: 2.6.12-gentoo-r9 i686 AMD Athlon(tm) XP 2500+  
Gentoo Base System version 1.12.0_pre6  
Python:               
dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5,dev-lang/python-2.4.1-r1 [2.4.1 (#1, Jun  
17 2005, 10:22:50)]  
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]  
ccache: No such file or directory [disabled]  
dev-lang/python:     2.2.3-r5, 2.3.5, 2.4.1-r1  
sys-apps/sandbox:    1.2.12  
sys-devel/autoconf:  2.13, 2.59-r7  
sys-devel/automake:  1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.9.6, 1.4_p6  
sys-devel/binutils:  2.16.1  
sys-devel/libtool:   1.5.18-r1  
virtual/os-headers:  2.6.11-r2  
ACCEPT_KEYWORDS="x86 ~x86"  
AUTOCLEAN="yes"  
CFLAGS="-mtune=athlon-xp -O3 -pipe"  
CHOST="i686-pc-linux-gnu"  
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"  
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"  
CXXFLAGS="-mtune=athlon-xp -O3 -pipe"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoconfig cvs distlocks sandbox sfperms strict userpriv usersandbox"  
GENTOO_MIRRORS="http://distfiles.gentoo.org  
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"  
MAKEOPTS="-j3"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/mnt/bigdisk1/tmp"  
PORTDIR="/usr/portage"  
PORTDIR_OVERLAY="/usr/local/portage"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
USE="x86 X aalib accessibility acpi alsa apm arts avi berkdb bitmap-fonts bonobo cdr  
crypt cups curl dvd dvdr dvdread eds emboss encode esd f77 fam flac foomaticdb  
fortran gd gdbm gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml  
guile imagemagick imlib ipv6 jack java jpeg junit kde koffice-plugin libg++ libwww mad  
mikmod motif mozilla mp3 mpeg nas ncurses nls ofx ogg oggvorbis opengl oss pam  
pdflib perl png python qt quicktime readline scanner sdl slang snmp speex spell ssl  
svga sysfs tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis xine xml  
xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"  
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS  
  
Config  
files: /etc/make.conf, /etc/portage/package.mask, /etc/portage/package.unmask, /etc/portage/package.keywords, /etc/portage/profile/virtuals  
  
 
I'm mystified ..
Comment 1 Derk W te Bokkel 2005-08-19 19:48:16 UTC
env 
REMOTEHOST=localhost 
MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man::/opt/blackdown-jdk-1.4.2.02/man:/usr/qt/3/doc/man 
KDE_MULTIHEAD=false 
SSH_AGENT_PID=10041 
HOSTNAME=zwift.zapville.org 
TERM=xterm 
SHELL=/bin/bash 
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/derk/.gtkrc-2.0:/home/derk/.kde3.4/share/config/gtkrc-2.0 
GTK_RC_FILES=/etc/gtk/gtkrc:/home/derk/.gtkrc:/home/derk/.kde3.4/share/config/gtkrc 
GS_LIB=/home/derk/.fonts 
WINDOWID=33554437 
QTDIR=/usr/qt/3 
ANT_HOME=/usr/share/ant-core 
MOZILLA_FIVE_HOME=/usr/lib/mozilla 
KDE_FULL_SESSION=true 
GMTHOME=/usr/share/gmt-4.0 
USER=derk 
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.xcf=01;35:*.pcx=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.avi=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.mov=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.mp3=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.ogg=00;36:*.flac=00;36:*.aac=00;36: 
PRELINK_PATH_MASK=/usr/lib/gstreamer-0.8 
GDK_USE_XFT=1 
GUILE_LOAD_PATH=/usr/share/guile/1.6 
SSH_AUTH_SOCK=/tmp/ssh-vHqTM10021/agent.10021 
SESSION_MANAGER=local/zwift.zapville.org:/tmp/.ICE-unix/10106 
USERNAME=derk 
XPSERVERLIST= 
PAGER=/usr/bin/less 
CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/texmf/web2c 
XINITRC=/etc/X11/xinit/xinitrc 
XDG_CONFIG_DIRS=/usr/kde/3.4/etc/xdg 
KONSOLE_DCOP=DCOPRef(konsole-30338,konsole) 
PATH=/usr/kde/3.4/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.4:/opt/blackdown-jdk-1.4.2.02/bin:/opt/blackdown-jdk-1.4.2.02/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/bin:/usr/games/bin 
DESKTOP_SESSION=kde-3.4 
GLIBC_SSP_CHECKED=1 
GDM_XSERVER_LOCATION=local 
KONSOLE_DCOP_SESSION=DCOPRef(konsole-30338,session-1) 
DISTCC_LOG= 
PWD=/home/derk 
CDR_SECURITY=8:dvd,clone:sparc-sun-solaris2,i386-pc-solaris2,i586-pc-linux,powerpc-apple,hppa,powerpc-ibm-aix,i386-unknown-freebsd,i386-unknown-openbsd,i386-unknown-netbsd,powerpc-apple-netbsd,i386-pc-bsdi,mips-sgi-irix,i386-pc-sco:1.11::1076000000:::private/research/educational_non-commercial_use:5x4BaC25uw54A5H5NwqWG0E1R.AmjtDvYtS4vx9qQmv2YBXFsEUQX8dvYvX 
JAVA_HOME=/opt/blackdown-jdk-1.4.2.02 
EDITOR=/bin/nano 
JAVAC=/opt/blackdown-jdk-1.4.2.02/bin/javac 
QMAKESPEC=linux-g++ 
KDEDIRS=/usr 
KDE_MALLOC=1 
DISTCC_VERBOSE=0 
DCCC_PATH=/usr/lib/distcc/bin 
GDMSESSION=kde-3.4 
JDK_HOME=/opt/blackdown-jdk-1.4.2.02 
SHLVL=2 
HOME=/home/derk 
XCURSOR_THEME=default 
R3D_LIB=/usr/share/Raster3D/materials 
LESS=-R 
LOGNAME=derk 
GCC_SPECS= 
CVS_RSH=ssh 
CLASSPATH=. 
XDG_DATA_DIRS=/usr/kde/3.4/share:/usr/share 
LESSOPEN=|lesspipe.sh %s 
INFOPATH=/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info:/usr/share/info/emacs-21 
DISPLAY=:0.0 
OPENGL_PROFILE=nvidia 
LADSPA_PATH=/usr/lib/ladspa 
SANE_CONFIG_DIR=/etc/sane.d 
G_BROKEN_FILENAMES=1 
CONFIG_PROTECT=/usr/lib/mozilla/defaults/pref /usr/lib/X11/xkb /usr/kde/3.4/share/config /usr/kde/3.4/env /usr/kde/3.4/shutdown /usr/share/config 
COLORTERM= 
XAUTHORITY=/home/derk/.Xauthority 
_=/usr/bin/env 
 
Comment 2 Derk W te Bokkel 2005-08-19 19:50:55 UTC
as you can see the env shows that JAVA_HOME exists ???!!! 
Comment 3 Derk W te Bokkel 2005-08-19 20:56:35 UTC
found the problem   
   
seems a recent update changed the behaviour of sudo so that it does not get the   
correct environment uncommenting the line for wheel with !env_reset in /etc/sudoers  
fixes the problem  
 
as does running as full root  which is what I did to figure it out ..  
 
Sorry for the noise ..