I've tried to emerge several versions of jboss, with blackdown-jdk-1.4.1 and then with sun-jdk-1.4.1.03 emerge goes through a good deal of compiling and seemes to be successful: [execmodules] == Finished with 'most' in module '<whatever>'. module 'transaction' is the last one to complete; then: [execmodules] == Executing 'most' in module 'server'... [execmodules] == _buildmagic:init: configure: init: generate-parsers: [mkdir] Created dir: /var/tmp/portage/jboss-3.2.0/work/jboss-3.2.0-src/server/output/parsers/org/jboss/ejb/plugins/cmp/ejbql BUILD FAILED file:/var/tmp/portage/jboss-3.2.0/work/jboss-3.2.0-src/server/build.xml:405: Failed to launch JJTree Total time: 1 minute 23 seconds !!! ERROR: net-www/jboss-3.2.0 failed. !!! Function src_compile, Line 36, Exitcode 1 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.export JDK_HOME=/opt/blackdown-jdk-1.4.1 #If I don't do this, emerge says JAVA_HOME is unset and quits. (Also tried 'export JDK_HOME=/opt/sun-jdk-1.4.1.03' after installing sun-jdk) 2.emerge /usr/portage/net-www/jboss/jboss-<3.2.1, 3.0.6, 3.2.1>.ebuild 3. Actual Results: Build fails on "Failed to launch JJTree". Sometimes there are some additional messages after this, such as "java: not found". I haven't tried to reproduce those. But always the "Failed to launch JJTree". Expected Results: finish the merge. root@vortigern jboss # emerge info Portage 2.0.48-r2 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-xfs-r3 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="mozilla x86 oss 3dnow apm arts avi crypt cups doc ethereal encode gif ipv6 jpeg kde libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline nas bonobo svga tcltk java guile ruby mysql X sdl gpm gps tcpd pam pcmcia pnp ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
fixed with jboss-3.2.3 now in portage