Eventually the build of xml-xmlbeans-20041217 fails. The latest output of 'emerge' shows: drt: [echo] Running random tester [java] seed=0 [java] iterations=20 [java] threads=1 [java] docs=10 [java] read/write [java] with save [java] noquery [java] Seed: 0Seed: 1Seed: 2Seed: 3Seed: 4Seed: 5Seed: 6Seed: 7Seed: 8Seed: 9Seed: 10Seed: 11Seed: 12Seed: 13Seed: 14Seed: 15Seed: 16Seed: 17Seed: 18Seed: 19Seconds to run random tests: 28 [mkdir] Created dir: /var/tmp/portage/xml-xmlbeans-20041217/work/xml- xmlbeans-20041217/v1/build/test/output [echo] Running xbean product drt tests [echo] JUnit output being sent to build/test/output/drt-product.txt [junit] Running drtcases.SmokeTests [junit] Time to build schema type system: 0.021 seconds [junit] Time to generate code: 0.225 seconds [junit] Time to compile code: 2.655 seconds [junit] Compiled types to: /var/tmp/portage/xml-xmlbeans-20041217/work/xml- xmlbeans-20041217/v1/build/test/output/schema/pricequote/pricequote.jar [junit] Tests run: 109, Failures: 0, Errors: 1, Time elapsed: 71.221 sec BUILD FAILED /var/tmp/portage/xml-xmlbeans-20041217/work/xml-xmlbeans- 20041217/v1/build.xml:69: Test drtcases.SmokeTests failed Total time: 3 minutes 37 seconds !!! ERROR: dev-java/xml-xmlbeans-20041217 failed. !!! Function src_compile, Line 51, Exitcode 1 !!! compile failed !!! If you need support, post the topmost build error, NOT this status message. Investigation shows that the one of the after-build tests fails, namely drtcases.Smoketests, its output is: # more /var/tmp/portage/xml-xmlbeans-20041217/work/xml-xmlbeans- 20041217/v1/build/test/output/drt-product.txt Testsuite: drtcases.SmokeTests Tests run: 109, Failures: 0, Errors: 1, Time elapsed: 71.221 sec ------------- Standard Output --------------- Time to build schema type system: 0.021 seconds Time to generate code: 0.225 seconds Time to compile code: 2.655 seconds Compiled types to: /var/tmp/portage/xml-xmlbeans-20041217/work/xml-xmlbeans- 20041217/v1/build/test/output/schema/pricequote/pricequote.jar ------------- ---------------- --------------- Testcase: testSaverCharEscaping took 0.066 sec ... many lines like this ... Testcase: testConformance took 50.848 sec Caused an ERROR null java.lang.OutOfMemoryError Testcase: test1 took 0.001 sec Tweaking build.xml and allowing more memory use to javavm only increased the time it take to get "out of memory". The function in test that never returns is selectPath("//."). At first the java vm used was blackdown-jdk-1.4.2.02 (installed by emerge automatically), then I tried sun-jdk-1.4.2.08, all the same. Reproducible: Always Steps to Reproduce: 1. emerge xml-xmlbeans Actual Results: Build fails Expected Results: Install Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808- r1, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Pentium III (Cascades) Gentoo Base System version 1.4.16 dev-lang/python: 2.3.4-r1 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" 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/shar e/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/backup/RPMS/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.linux.kiev.ua" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://gentoo.linux.kiev.ua/gentoo-portage" USE="x86 alsa apm arts avi berkdb bitmap-fonts crypt emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib java jpeg junit kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell ssl tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Same here.
I can replicate this using the newest sun jdk _09 as well as several versions of blackdown. Not obvious solution however =/
Using jdk 1.5 fails also.
same here, with amd64 and pentium-m, would like to fix this problem
disabled the junit tests :\