Hello community, here is the log from the commit of package java-1_7_0-icedtea checked in at Sat May 31 12:22:23 CEST 2008. -------- --- arch/i386/java-1_7_0-icedtea/java-1_7_0-icedtea.changes 2008-05-26 16:47:05.000000000 +0200 +++ /mounts/work_src_done/STABLE/java-1_7_0-icedtea/java-1_7_0-icedtea.changes 2008-05-29 16:06:00.000000000 +0200 @@ -1,0 +2,6 @@ +Thu May 29 16:00:27 CEST 2008 - bk@suse.de + +- Raise ulimit for x86_64 to and add a second make attempt (handling + races in the unstable icedtea JVM) to increase build yield for rpms + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ java-1_7_0-icedtea.spec ++++++ --- /var/tmp/diff_new_pack.F32303/_old 2008-05-31 12:21:27.000000000 +0200 +++ /var/tmp/diff_new_pack.F32303/_new 2008-05-31 12:21:27.000000000 +0200 @@ -15,7 +15,7 @@ %define openjdkver b24 %define origin icedtea Version: %{icedteaver}_%{openjdkver} -Release: 8 +Release: 9 Summary: Java runtime environment preview based on OpenJDK 7 Group: Development/Libraries/Java License: GPL v2 only; - with the OpenJDK Assembly Exception and the GNU Classpath Exception @@ -82,7 +82,7 @@ ## Build-time and script-time only definitions: # # the Java VM of the icedtea bootstrap JDK needs a HUGE amount of virtual memory: -%define do_ulimit if [ %_arch = x86_64 ];then ulimit -v 4400000;else ulimit -v 3072000;fi +%define do_ulimit if [ %_arch = x86_64 ];then ulimit -v 5120000;else ulimit -v 3072000;fi # # Standard JPackage directories and symbolic links: # @@ -137,17 +137,11 @@ outright removal between now and the time that the Java SE 7 Platform Specification is finalized. -For developing Java applications, it is therefore recommended to use -Java Environment which providing a Java Specification such as an Java -Environment based on OpenJDK 6 or java-1_6_0-sun (Sun Java 6). OpenJDK -6 packages for openSUSE can be found at: - - -_ALL&p=1&q_ - +For developing Java applications, it is therefore recommended to use a +Java Environment providing a released Java Specification such as Java +SE 6 which is provided by OpenJDK 6 or java-1_6_0-sun (Sun Java 6). For information regarding Java on openSUSE, see: - http://en.opensuse.org/Java @@ -310,7 +304,8 @@ patch_openjdk -p0 # hack for binutils/linker issue sed -i -e "s@-ljpeg@/%{_libdir}/libjpeg.so@" openjdk/jdk/make/sun/jpeg/Makefile -make +# Bootstrap icedtea fails sometimes claiming having not enough memory, retry once: +make || make pushd java-access-bridge-%{accessver} export JAVA_HOME=$(pwd)/../%{buildoutputdir}/j2sdk-image export PATH=$JAVA_HOME/bin:$PATH @@ -746,6 +741,9 @@ %{_jvmdir}/%{jredir}/lib/%{archinstall}/gcjwebplugin.so %changelog +* Thu May 29 2008 bk@suse.de +- Raise ulimit for x86_64 to and add a second make attempt (handling + races in the unstable icedtea JVM) to increase build yield for rpms * Mon May 26 2008 bk@suse.de - Fix typo in the %%{jvmjarlink} update (also needed to fix the build) - Fix %%pre script for updating from older packages with wrong jvmjardir ++++++ check-build.sh ++++++ --- arch/i386/java-1_7_0-icedtea/check-build.sh 2008-05-26 18:38:05.000000000 +0200 +++ /mounts/work_src_done/STABLE/java-1_7_0-icedtea/check-build.sh 2008-05-29 15:23:04.000000000 +0200 @@ -16,11 +16,11 @@ case $BUILD_BASENAME in *x86_64) # - # 3MB is enough most times, but strangely sometimes needs more, - # it may depend on the number of CPUs for example: - # On janacek at least it seems to need >4GB sometimes: + # 3MB ulimit -v is enough on non-x86_64, but strangely x86_64 + # fails sometimes with various out-of-memory errors (example + # error is appended at the end of this script): # - VIRTUAL_SPACE_NEEDED=9120000 + VIRTUAL_SPACE_NEEDED=10240000 esac # The JVM needs LOTS of virtual memory when compiling the big stuff: @@ -41,3 +41,162 @@ exit 0 +======================================================================== + +Failed attempt in x86_64: + +Limit Virtual Memory to 9140628 (ulimit -v) +xenakis started 'build --clean arch/x86_64/java-1_7_0-icedtea/java-1_7_0-icedtea.spec' at Tue May 27 16:45:50 CEST 2008. + +Building for x86_64 +... ++ make +mkdir -p bootstrap +rm -f bootstrap/jdk1.6.0 +ln -sf /etc/alternatives/java_sdk_icedtea bootstrap/jdk1.6.0; \ + if ! bootstrap/jdk1.6.0/bin/java -version ; \ + then \ + echo "bootstrap/jdk1.6.0/bin/java" \ + "cannot be found or is corrupted." ; \ + exit 1; \ + fi +java version "1.7.0" +IcedTea Runtime Environment (build 1.7.0-b24) +IcedTea 64-Bit Server VM (build 1.7.0-b24, mixed mode) +mkdir -p stamps +touch stamps/bootstrap-directory-symlink.stamp +for copy_dir in `cat tools-copy/tools-jdk-copy-files.txt` ; \ + do \ + mkdir -p hotspot-tools/$copy_dir ; \ + cp -pPRf openjdk/jdk/src/share/classes/$copy_dir/* \ + hotspot-tools/$copy_dir ; \ + done +for copy_dir in `cat tools-copy/tools-langtools-copy-files.txt` ; \ + do \ + mkdir -p hotspot-tools/$copy_dir ; \ + cp -pPRf openjdk/langtools/src/share/classes/$copy_dir/* \ + hotspot-tools/$copy_dir ; \ + done +for copy_dir in `cat tools-copy/tools-corba-copy-files.txt` ; \ + do \ + mkdir -p hotspot-tools/$copy_dir ; \ + cp -pPRf openjdk/corba/src/share/classes/$copy_dir/* \ + hotspot-tools/$copy_dir ; \ + done +for copy_dir in `cat tools-copy/tools-jaxws-copy-files.txt` ; \ + do \ + mkdir -p hotspot-tools/$copy_dir ; \ + cp -pPRf openjdk/jaxws/src/share/classes/$copy_dir/* \ + hotspot-tools/$copy_dir ; \ + done +mkdir -p stamps +touch stamps/hotspot-tools-copy-source-files.stamp +find hotspot-tools -name '*.java' | sort > hotspot-tools-source-files.txt +mkdir -p lib/hotspot-tools +if ! test -f stamps/icedtea-ecj.stamp ; \ + then \ + /etc/alternatives/java_sdk_icedtea/bin/javac -J-Xmx512m -g -d lib/hotspot-tools -bootclasspath '' -source 1.6 \ + -sourcepath 'rt:hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:generated' \ + @hotspot-tools-source-files.txt ; \ + else \ + /usr/src/packages/BUILD/icedtea-1.5/bootstrap/jdk1.6.0/bin/javac -J-Xmx512m -g -d lib/hotspot-tools \ + -bootclasspath '' -source 1.6 \ + -sourcepath 'rt:hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:generated' \ + @hotspot-tools-source-files.txt ; \ + fi +Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded + at java.util.zip.ZipFile.getEntry(ZipFile.java:168) + at java.util.jar.JarFile.getEntry(JarFile.java:223) + at java.util.jar.JarFile.getJarEntry(JarFile.java:206) + at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:774) + at sun.misc.URLClassPath.getResource(URLClassPath.java:188) + at java.net.URLClassLoader$1.run(URLClassLoader.java:212) + at java.security.AccessController.doPrivileged(Native Method) + at java.net.URLClassLoader.findClass(URLClassLoader.java:208) + at java.lang.ClassLoader.loadClass(ClassLoader.java:323) + at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) + at java.lang.ClassLoader.loadClass(ClassLoader.java:268) + at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2401) + at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1424) + at java.util.ResourceBundle.findBundle(ResourceBundle.java:1383) + at java.util.ResourceBundle.findBundle(ResourceBundle.java:1310) + at java.util.ResourceBundle.findBundle(ResourceBundle.java:1310) + at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1252) + at java.util.ResourceBundle.getBundle(ResourceBundle.java:733) + at com.sun.tools.javac.util.Messages.add(Messages.java:80) + at com.sun.tools.javac.util.Messages.<init>(Messages.java:66) + at com.sun.tools.javac.main.Main.getLocalizedString(Main.java:480) + at com.sun.tools.javac.main.Main.resourceMessage(Main.java:454) + at com.sun.tools.javac.main.Main.compile(Main.java:397) + at com.sun.tools.javac.main.Main.compile(Main.java:312) + at com.sun.tools.javac.main.Main.compile(Main.java:303) + at com.sun.tools.javac.Main.compile(Main.java:82) + at com.sun.tools.javac.Main.main(Main.java:67) +make: *** [stamps/hotspot-tools-class-files.stamp] Error 1 +error: Bad exit status from /var/tmp/rpm-tmp.16932 (%build) + + +RPM build errors: + Bad exit status from /var/tmp/rpm-tmp.16932 (%build) + +======================================================================== + +Failed attempt in beta-x86_64 on xenakis: + +mkdir -p stamps +touch stamps/hotspot-tools-class-files.stamp +mkdir -p bootstrap/jdk1.7.0/jre/lib/ +if ! test -f stamps/icedtea-ecj.stamp ; \ + then \ + /etc/alternatives/java_sdk_icedtea/bin/jar cf bootstrap/jdk1.7.0/jre/lib/tools.jar -C lib/hotspot-tools com -C lib/hotspot-tools sun \ + -C lib/hotspot-tools org -C lib/hotspot-tools gnu -C lib/hotspot-tools java \ + -C lib/hotspot-tools javax ; \ + else \ + /usr/src/packages/BUILD/icedtea-1.5/bootstrap/jdk1.6.0/bin/jar cf bootstrap/jdk1.7.0/jre/lib/tools.jar -C lib/hotspot-tools com -C lib/hotspot-tools sun \ + -C lib/hotspot-tools org -C lib/hotspot-tools gnu -C lib/hotspot-tools java \ + -C lib/hotspot-tools javax ; \ + fi +# +# An unexpected error has been detected by Java Runtime Environment: +# +# java.lang.OutOfMemoryError: requested 32744 bytes for ChunkPool::allocate. Out of swap space? +# +# Internal Error (allocation.cpp:117), pid=13068, tid=1083214160 +# Error: ChunkPool::allocate +# +# Java VM: IcedTea 64-Bit Server VM (1.7.0-b24 mixed mode linux-amd64) +# An error report file with more information is saved as: +# /usr/src/packages/BUILD/icedtea-1.5/hs_err_pid13068.log +# +# If you would like to submit a bug report, please visit: +# http://icedtea.classpath.org/bugzilla +# The crash happened outside the Java Virtual Machine in native code. +# See problematic frame for where to report the bug. +# +/bin/sh: line 9: 13068 Aborted /etc/alternatives/java_sdk_icedtea/bin/jar cf bootstrap/jdk1.7.0/jre/lib/tools.jar -C lib/hotspot-tools com -C lib/hotspot-tools sun -C lib/hotspot-tools org -C lib/hotspot-tools gnu -C lib/hotspot-tools java -C lib/hotspot-tools javax + +===================================================================== + +On s390x, build sometimes fails with: + +build-classes-javah: + [pcompile] Generating 8 resource files to /usr/src/packages/BUILD/icedtea-1.5/openjdk/build/linux-s390x/langtools/build/gensrc + [javac] Compiling 8 source files to /usr/src/packages/BUILD/icedtea-1.5/openjdk/build/linux-s390x/langtools/build/classes + [javac] Compiling 8 source files to /usr/src/packages/BUILD/icedtea-1.5/openjdk/build/linux-s390x/langtools/build/classes + [javac] Note: Some input files use unchecked or unsafe operations. + [javac] Note: Recompile with -Xlint:unchecked for details. + [javac] # + [javac] # An unexpected error has been detected by Java Runtime Environment: + [javac] # + [javac] # Internal Error (os_linux_zero.cpp:144), pid=9586, tid=2199861680464 + [javac] # Error: caught unhandled signal 11 + [javac] # + [javac] # Java VM: IcedTea 64-Bit Core VM (1.7.0-b24 interpreted mode linux-s390) + [javac] # An error report file with more information is saved as: + [javac] # /usr/src/packages/BUILD/icedtea-1.5/openjdk/langtools/hs_err_pid9586.log + [javac] # + [javac] # If you would like to submit a bug report, please visit: + [javac] # http://icedtea.classpath.org/bugzilla + [javac] # + + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de