Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100895 - xml-xmlbeans-20041217 build fails
Summary: xml-xmlbeans-20041217 build fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-31 08:08 UTC by Oles Hnatkevych
Modified: 2005-09-11 06:28 UTC (History)
1 user (show)

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 Oles Hnatkevych 2005-07-31 08:08:30 UTC
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
Comment 1 Francisco José Cañizares Santofimia 2005-08-12 14:33:13 UTC
Same here.
Comment 2 Dave Nellans 2005-08-19 11:56:18 UTC
I can replicate this using the newest sun jdk _09 as well as several versions of
blackdown.  Not obvious solution however =/
Comment 3 Francisco José Cañizares Santofimia 2005-08-19 12:57:07 UTC
Using jdk 1.5 fails also.
Comment 4 Claudius Herder 2005-09-09 07:32:24 UTC
same here, with amd64 and pentium-m, would like to fix this problem
Comment 5 Thomas Matthijs (RETIRED) gentoo-dev 2005-09-11 06:28:20 UTC
disabled the junit tests :\