woglinde/meta-java — Issue #6: OE QA: jamvm_git use system /usr/share/classpath/glibj.zip during build.
Author: xranby
Created: 2012-01-06 00:20:20+00:00
State: open

| jikes -bootclasspath /usr/share/classpath/glibj.zip -d classes ./jamvm/java/lang/JarLauncher.java ./jamvm/java/lang/VMClassLoaderData.java ./jamvm/ThreadInfoHelper.java ./java/lang/VMRuntime.java ./java/lang/VMClass.java ./java/lang/VMClassLoader.java ./java/lang/VMString.java ./java/lang/VMThread.java ./java/lang/VMThrowable.java ./java/lang/reflect/VMConstructor.java ./java/lang/reflect/VMField.java ./java/lang/reflect/VMMethod.java ./java/security/VMAccessController.java ./gnu/classpath/VMSystemProperties.java ./sun/reflect/annotation/AnnotationInvocationHandler.java ./gnu/classpath/VMStackWalker.java
|
| Issued 1 system warning:
|
| *** Semantic Warning: I/O warning: "No such file or directory" while trying to open /usr/share/classpath/glibj.zip.
| make[6]: *** [classes.zip] Segmentation fault
| make[6]: Leaving directory `/home/xranby/oe-core/build/tmp-eglibc/work/armv5te-oe-linux-gnueabi/jamvm-1.5.5+1.6.0-devel+git1+4617da717ecb05654ea5bb9572338061106a414d-r0/git/src/classlib/gnuclasspath/lib'

A quick and dirty workaround to make the package build:
sudo ln -s /home/xranby/oe-core/build/tmp-eglibc/sysroots/i686-linux/usr/share/classpath/glibj.zip /usr/share/classpath/glibj.zip

This needs to be fixed properly so that jamvm_git.bb use the OE built glibj.zip during compilation and generation of the rt.jar.