when I try to emerge bsf-2.3.0 compilation fails. all dependencies emerged cleanly. bsf doesn't find all installed packages when it checks for checkJacl: checkJPython: checkNetRexx: it produces [echo] Warning: NetRexx dependencies were not resolved. even doe i installed them. jacl wasn't in the dependency tree, i installed it anyway, bau it didn't change anything. Reproducible: Always Steps to Reproduce: 1.emerge bsf 2. 3. Actual Results: root@mobster jdkbx # emerge bsf Calculating dependencies ...done! >>> emerge (1 of 1) dev-java/bsf-2.3.0 to / >>> md5 src_uri ;-) bsf-src-2.3.0.tar.gz >>> Unpacking source... >>> Unpacking bsf-src-2.3.0.tar.gz to /var/tmp/portage/bsf-2.3.0/work >>> Source unpacked. Buildfile: build.xml init: prepare: bsf_debug-compile: [echo] Target: bsf_debug - Compile ... init: prepare: compile: [javac] Compiling 9 source files to /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf_debug/build/classes [jar] Building jar: /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf_debug/build/lib/bsf_debug.jar bsf-compile: [echo] Target: bsf - Compile ... init: prepare: checkDependencies: checkJacl: [echo] Warning: Jacl dependencies were not resolved. checkJPython: [echo] Warning: JPython dependencies were not resolved. checkJython: checkNetRexx: [echo] Warning: NetRexx dependencies were not resolved. checkRhino: checkXalan: compile: [javac] Compiling 18 source files to /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf/build/classes [javac] /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/CompilationUnit.java:124: cannot resolve symbol [javac] symbol : method getScriptable () [javac] location: interface org.mozilla.javascript.debug.DebuggableScript [javac] Scriptable scriptable = dbgScript.getScriptable(); [javac] ^ [javac] /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/CompilationUnit.java:157: cannot resolve symbol [javac] symbol : method placeBreakpoint (int) [javac] location: interface org.mozilla.javascript.debug.DebuggableScript [javac] m_dbgScript.placeBreakpoint(lineno); [javac] ^ [javac] /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/CompilationUnit.java:167: cannot resolve symbol [javac] symbol : method removeBreakpoint (int) [javac] location: interface org.mozilla.javascript.debug.DebuggableScript [javac] m_dbgScript.removeBreakpoint(lineno); [javac] ^ [javac] /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/RhinoEngineDebugger.java:77: org.apache.bsf.engines.javascript.RhinoEngineDebugger should be declared abstract; it does not define handleCompilationDone(org.mozilla.javascript.Context,org.mozilla.javascript.debug.DebuggableScript,java.lang.String) in org.apache.bsf.engines.javascript.RhinoEngineDebugger [javac] public class RhinoEngineDebugger implements Debugger { [javac] ^ [javac] /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/RhinoEngineDebugger.java:476: org.mozilla.javascript.NativeError is not public in org.mozilla.javascript; cannot be accessed from outside package [javac] NativeError error; [javac] ^ [javac] /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/RhinoEngineDebugger.java:498: org.mozilla.javascript.NativeError is not public in org.mozilla.javascript; cannot be accessed from outside package [javac] error = (NativeError)exceptionThrown; [javac] ^ [javac] /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/RhinoEngineDebugger.java:499: cannot resolve symbol [javac] symbol : method getName () [javac] location: class org.mozilla.javascript.NativeError [javac] msg = error.getName() + ": " + error.getMessage(); [javac] ^ [javac] /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf/src/org/apache/bsf/engines/javascript/RhinoEngineDebugger.java:499: cannot resolve symbol [javac] symbol : method getMessage () [javac] location: class org.mozilla.javascript.NativeError [javac] msg = error.getName() + ": " + error.getMessage(); [javac] ^ [javac] Note: /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf/src/org/apache/bsf/util/JavaUtils.java uses or overrides a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 8 errors BUILD FAILED /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/build.xml:143: Following error occured while executing this line /var/tmp/portage/bsf-2.3.0/work/bsf-2.3.0/src/bsf/build.xml:211: Compile failed; see the compiler error output for details. Total time: 7 seconds !!! ERROR: dev-java/bsf-2.3.0 failed. !!! Function src_compile, Line 35, Exitcode 1 !!! (no error message) Expected Results: compile succesful Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.6) ================================================================= System uname: 2.6.6 i686 mobile AMD Athlon(tm) XP-M 2000+ Gentoo Base System version 1.4.15 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fPIC -DPIC -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fPIC -DPIC -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache prelink sandbox" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X acpi acpi4linux alsa apache2 arts artswrappersuid avi berkdb cdr cgi crypt cups dga dvd encode escreen esd ethereal f77 fbcon foomaticdb freetype fs gdbm gif gpm gtk gtk2 idea imap imlib ipv6 irda irmc isdn jack java javascript jpeg lcd libg++ libwww mad mikmod mmx motif mozilla mpeg mpeg4 mplayer ncurses nls oav objc offensive oggvorbis oss pam pcmcia pdflib perl pic pnp python qt readline samba sdl sis slang speedo spell sse ssl svga tcltk tcpd truetype trusted type1 unicode usb vim-with-x virus-scan x86 xml xml2 xmms xv xvid zlib"
I cannot reproduce this. If you've not solved this problem by now, please reopen this bug with the following info: 1) the jdk you use for root (java-config --version as root) 2) What does root's CLASSPATH look like? 2) Does bsf find Rhino?