[Bug 2030] New: [IcedTea7] Version 7.2.5.2 not compiling on ARM Gentoo

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Tue Oct 7 17:41:26 UTC 2014


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2030

            Bug ID: 2030
           Summary: [IcedTea7] Version 7.2.5.2 not compiling on ARM Gentoo
           Product: IcedTea
           Version: 7-hg
          Hardware: arm
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: IcedTea
          Assignee: gnu.andrew at redhat.com
          Reporter: aldo.mazzeo at gmail.com
                CC: unassigned at icedtea.classpath.org

I tried to compile icedtea 7.2.5.2 on ARM Gentoo by using the ebuild delivered
in the java overlay, but compilation ended with

touch stamps/icedtea-boot.stamp
mkdir -p
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/tapset
; \
grep "client IGNORE"
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build/j2sdk-image/jre/lib/arm/jvm.cfg;
\
if test $? -eq 0; then \
  /bin/sed -e '/\/client\/libjvm.so/d' \
    <
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/tapset/hotspot.stp
\
    >
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/tapset/hotspot.stp;
\
  /bin/sed -e '/\/client\/libjvm.so/d' \
    <
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/tapset/hotspot_jni.stp
\
    >
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/tapset/hotspot_jni.stp;
\
  /bin/sed -e '/\/client\/libjvm.so/d' \
    <
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/tapset/hotspot_gc.stp
\
    >
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/tapset/hotspot_gc.stp;
\
else \
  cp
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/tapset/hotspot.stp
\
   
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/tapset/hotspot.stp;
\
  cp
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/tapset/hotspot_jni.stp
\
   
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/tapset/hotspot_jni.stp;
\
  cp
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/tapset/hotspot_gc.stp
\
   
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/tapset/hotspot_gc.stp;
\
fi; \
cp
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/tapset/jstack.stp
\
 
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/tapset/jstack.stp
if [ -e
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/jre/lib
] ; then \
  cp -v
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/tz.properties \
   
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/jre/lib;
\
fi
if [ -e
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/bin/java
] ; then \
 
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/bin/java
-cp
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/cryptocheck.build
TestCryptoLevel ; \
fi
touch stamps/add-archive-boot.stamp
'/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/tz.properties' ->
'/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build-boot/j2sdk-image/jre/lib/tz.properties'
grep:
/var/tmp/portage/dev-java/icedtea-7.2.5.2/work/icedtea-2.5.2/openjdk.build/j2sdk-image/jre/lib/arm/jvm.cfg:
No such file or directory
touch stamps/add-tzdata-support-boot.stamp
touch stamps/add-systemtap-boot.stamp
Exception in thread "main" java.lang.NullPointerException
        at java.lang.Throwable.fillInStackTrace(Throwable.java:783)
        at java.lang.Throwable.<init>(Throwable.java:250)
        at java.lang.Exception.<init>(Exception.java:54)
        at java.lang.RuntimeException.<init>(RuntimeException.java:51)
        at java.lang.NullPointerException.<init>(NullPointerException.java:60)
        at TestCryptoLevel.main(TestCryptoLevel.java:46)
make: *** [stamps/check-crypto-boot.stamp] Error 1

What I did before compiling icedtea is to install GCJ, just like explained in
https://forums.gentoo.org/viewtopic-t-960598-start-0.html .

As far as I could see, the issue was already examined in
http://openjdk.5641.n7.nabble.com/Re-building-icedtea-7-on-ARM-td173063.html ,
but I can't find a final solution there, anyway.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20141007/ab9e00d6/attachment.html>


More information about the distro-pkg-dev mailing list