I've seen bug #141265 and I've run # java-1.5-fixer * Generating a list of jars which ant uses ... [ ok ] * Checking for > 1.4 bytecode in ant jars ... [ ok ] * Generating a list of jars in the system ... [ ok ] * Checking for > 1.4 bytecode in system jars ... [ ok ] * Congratulations! All system jars seem to have been sanely built already. compile-tests: [mkdir] Created dir: /var/tmp/portage/dev-java/jaxen-1.1_beta11/work/jaxen-1.1-beta-11/target/test-classes [javac] Compiling 92 source files to /var/tmp/portage/dev-java/jaxen-1.1_beta11/work/jaxen-1.1-beta-11/target/test-classes [javac] /var/tmp/portage/dev-java/jaxen-1.1_beta11/work/jaxen-1.1-beta-11/src/java/test/org/jaxen/test/SimpleVariableContextTest.java:102: valueOf(java.lang.String) in java.lang.Double cannot be applied to (double) [javac] assertEquals(Double.valueOf(3.1415292), copy.getVariableValue("", "", "x")); [javac] ^ [javac] /var/tmp/portage/dev-java/jaxen-1.1_beta11/work/jaxen-1.1-beta-11/src/java/test/org/jaxen/test/SimpleVariableContextTest.java:119: valueOf(java.lang.String) in java.lang.Double cannot be applied to (double) [javac] assertEquals(Double.valueOf(3.1415292), context.getVariableValue("", "", "x")); [javac] ^ [javac] 2 errors BUILD FAILED /var/tmp/portage/dev-java/jaxen-1.1_beta11/work/jaxen-1.1-beta-11/build.xml:110: Compile failed; see the compiler error output for details. Total time: 7 seconds !!! ERROR: dev-java/jaxen-1.1_beta11 failed. Call stack: ebuild.sh, line 1568: Called dyn_test ebuild.sh, line 988: Called src_test jaxen-1.1_beta11.ebuild, line 64: Called eant 'test' '-Dnoget=true' java-utils-2.eclass, line 1345: Called die !!! eant failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" JAVACFLAGS="-source 1.3 -target 1.3" COMPILER="javac" # emerge --info Portage 2.1.2_pre3-r6 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 x86_64) ================================================================= System uname: 2.6.18-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.5 Last Sync: Sun, 22 Oct 2006 08:20:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS=" -march=athlon64 -Os -pipe " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS=" -march=athlon64 -Os -pipe " DISTDIR="/home/ftp/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" FEATURES="autoconfig ccache collision-protect cvs distlocks elog java-strict metadata-transfer multilib-strict sandbox sfperms sign strict stricter test userfetch userpriv" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ " LANG="it_IT.utf8" LINGUAS="it" PKGDIR="/home/ftp/packages" PORTAGE_RSYNC_EXTRA_OPTS=" --timeout=400 --progress " PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/tinyos /usr/local/overlays/gentoo-java-experimental" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 7zip X a52 aac aalib acl acpi aiglx alsa amr aoss apache2 arts asf audiofile avahi bash-completion berkdb bitmap-fonts bl bzip2 cairo canvas caps ccache cdb cddb cdparanoia cdr chroot cli cpudetection cracklib crypt css cups curl dba dbus dga directfb dlloader dmi dri dts dv dvd dvdr dvdread dynagraph elibc_glibc encode erandom esd exif expat extrafilters fame ffmpeg firefox flac fltk foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gtk gtkhtml guile hal howl-compat iconv idn ieee1394 imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads java javacomm jbig jikes jpeg jpeg2k justify kde kdeenablefinal kdehiddenvisibility kernel_linux lcms ldap libcaca libg++ libnotify linguas_it linuxthreads-tls lm_sensors logitech-mouse logrotate lzo mad mailwrapper matroska mbox mdb mhash mikmod mjpeg mmap mng motif mozsvg mp3 mpeg mpm-worker musepack musicbrainz mysql ncurses nfs nls nptl nptlonly nsplugin numeric nvidia odbc offensive ogg on-the-fly-crypt openexr opengl oss pam pcre pdf perl php png povray ppds pppd pulseaudio python qt3 qt4 quicktime rdesktop readline reflection rtc samba scanner sdl session slang smime smp sndfile snmp speex spell spl ssl subversion svg sysfs syslog tcltk tcpd test tetex tga theora threads tidy tiff timidity tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utempter utf8 v4l v4l2 vcd vda video_cards_nv video_cards_nvidia vorbis vorbis-psy wmf xcomposite xine xinerama xml xml2 xmms xorg xpm xscreensaver xv xvid xvmc yv12 zeroconf zlib" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS
It's not failing in compile but in test, and it happens only with 1.4 JDK... with 1.5 it passes. Maybe it should detect JDK version inside src_test() and skip them with warning if it's 1.4?
I've patched the testcases, it was trivial. Fixed in CVS and reported upstream, see $URL.
I've fixed this in the Jaxen head. It will be in the next release of Jaxen.