← Back to team overview

openjdk team mailing list archive

Bug#602793: openjdk-6: fails to build on s390

 

Package: openjdk-6
Version: 6b11-9.1+lenny2
Severity: serious

The latest security update on Lenny fails to build only on s390.  It thus
cannot be incorporated into a point release before that's fixed.  (See [1].)

The failure is as follows (a full log can be provided upon request):

make[3]: Leaving directory `/home/buildd/openjdk-6-6b11/openjdk/langtools/make'
/bin/mkdir -p /home/buildd/openjdk-6-6b11/openjdk/control/build/linux-s390/corba
(cd  ../../corba/make && \
         /usr/bin/make JDK_TOPDIR=/home/buildd/openjdk-6-6b11/openjdk/jdk JDK_MAKE_SHARED_DIR=/home/buildd/openjdk-6-6b11/openjdk/jdk/make/common/shared EXTERNALSANITYCONTROL=true TARGET_CLASS_VERSION=5 MILESTONE=internal BUILD_NUMBER=b11 JDK_BUILD_NUMBER=b11 FULL_VERSION=1.6.0_0-b11 PREVIOUS_JDK_VERSION=1.6.0 JDK_VERSION=1.6.0_0 JDK_MKTG_VERSION=6u JDK_MAJOR_VERSION=1 JDK_MINOR_VERSION=6 JDK_MICRO_VERSION=0 ARCH_DATA_MODEL=32 COOKED_JDK_UPDATE_VERSION=0 COOKED_BUILD_NUMBER=11 ANT_HOME="/usr/share/ant" FINDBUGS_HOME="/NOT-SET/devtools/share/findbugs/latest" ALT_OUTPUTDIR=/home/buildd/openjdk-6-6b11/openjdk/control/build/linux-s390/corba ALT_BOOTDIR=/home/buildd/openjdk-6-6b11/bootstrap/jdk1.6.0 ALT_JDK_IMPORT_PATH=/home/buildd/openjdk-6-6b11/bootstrap/jdk1.6.0 ALT_LANGTOOLS_DIST=/home/buildd/openjdk-6-6b11/openjdk/control/build/linux-s390/langtools/dist all)
make[3]: Entering directory `/home/buildd/openjdk-6-6b11/openjdk/corba/make'
Begin Processing SUBDIRS: tools javax org sun com
>>>Recursively making tools build @ Mon Nov  8 00:34:16 UTC 2010 ...
make[4]: Entering directory `/home/buildd/openjdk-6-6b11/openjdk/corba/make/tools'
Begin Processing SUBDIRS: strip_properties idlj logutil
>>>Recursively making strip_properties build @ Mon Nov  8 00:34:16 UTC 2010 ...
make[5]: Entering directory `/home/buildd/openjdk-6-6b11/openjdk/corba/make/tools/strip_properties'
/bin/echo -e "Main-Class: build.tools.stripproperties.StripProperties" > /home/buildd/openjdk-6-6b11/openjdk/control/build/linux-s390/corba/btclasses/stripproperties_manifest.mf
/home/buildd/openjdk-6-6b11/bootstrap/jdk1.6.0/bin/javac  -J-XX:ThreadStackSize=768 -J-client -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -encoding ascii -d /home/buildd/openjdk-6-6b11/openjdk/control/build/linux-s390/corba/btclasses \
            -sourcepath ../../tools/src ../../tools/src/build/tools/stripproperties/StripProperties.java
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
make[5]: *** [/home/buildd/openjdk-6-6b11/openjdk/control/build/linux-s390/corba/btjars/stripproperties.jar] Error 1
make[5]: Leaving directory `/home/buildd/openjdk-6-6b11/openjdk/corba/make/tools/strip_properties'
make[4]: *** [build] Error 1
make[4]: Leaving directory `/home/buildd/openjdk-6-6b11/openjdk/corba/make/tools'
make[3]: *** [build] Error 1
make[3]: Leaving directory `/home/buildd/openjdk-6-6b11/openjdk/corba/make'
make[2]: *** [corba-build] Error 2
make[2]: Leaving directory `/home/buildd/openjdk-6-6b11/openjdk/control/make'
make[1]: *** [stamps/icedtea.stamp] Error 2
make[1]: Leaving directory `/home/buildd/openjdk-6-6b11'
make: *** [stamps/build] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

The failure is also reproducable with a machine with 4G of RAM, so it's not a
buildd problem of too few RAM.  Given that the limits are explicitly set I suppose
they need to be raised?  (s390 does only provide for a maximum of 2G virtual
memory, though.)

Kind regards
Philipp Kern

[1] http://release.debian.org/proposed-updates/stable.html