building icedtea-7 on ARM
Andrew Hughes
gnu.andrew at redhat.com
Sat Mar 1 08:56:48 PST 2014
----- Original Message -----
> >>> >>> Should the PAX issue be fixed in HEAD?
> >>> >>>
> >>> >>> - Grant
> >>> >>>
> >>> >>
> >>> >> Should be now if you update.
> >>> >
> >>> >
> >>> > I get the following:
> >>>
> >>> I just noticed the icedtea-7.9999.ebuild has been updated so I'm
> >>> trying that now. I get the following error from the ebuild:
> >>>
> >>> !!! A file is not listed in the Manifest:
> >>> '/var/lib/layman/java/dev-java/icedtea/files/openjdk6-prefer_source.patch'
> >>>
> >>> But the fix is easy:
> >>>
> >>> # ebuild icedtea-7.9999.ebuild manifest
> >>>
> >>
> >> There's no such file...
> >
> >
> > You're right, sorry. I deleted and re-added the java overlay and
> > tried again but it fails with:
>
>
> Is this compiling for anyone else on ARM? Any idea on my error?
>
> [javac] Exception in thread "main" java.lang.NoSuchMethodError:
> java.util.Locale.getDefault(Ljava/util/Locale$Category;)Ljava/util/Locale;
>
> - Grant
>
>
> > [echo] +---------------------------------------+
> > [echo] + Starting ant project jaxws +
> > [echo] +---------------------------------------+
> >
> > -javac-jar-exists:
> >
> > sanity:
> > [echo] Sanity Settings:
> > [echo] ant.home=/usr/share/ant-core
> > [echo] ant.version=Apache Ant(TM) version 1.9.1 compiled on
> > February 20 2014
> > [echo] ant.java.version=1.6
> > [echo] java.home=/usr/lib/icedtea6/jre
> > [echo] java.version=1.6.0_29
> > [echo] os.name=Linux
> > [echo] os.arch=arm
> > [echo] os.version=3.13.3-gentoo
> > [echo]
> > bootstrap.dir=/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/langtools/dist/bootstrap
> > [echo]
> > javac.jar=/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/langtools/dist/bootstrap/lib/javac.jar
> > [echo]
> > langtools.jar=/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/langtools/dist/lib/classes.jar
> > [echo] javac.memoryInitialSize=256m
> > [echo] javac.memoryMaximumSize=512m
> > [echo] javac.source=7
> > [echo] javac.debug=true
> > [echo] javac.target=7
> > [echo] javac.version.opt=
> > [echo] javac.lint.opts=
> > [echo] javac.no.jdk.warnings=-XDignore.symbol.file=true
> > [echo]
> > output.dir=/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/jaxws
> > [echo]
> > build.dir=/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/jaxws/build
> > [echo]
> > dist.dir=/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/jaxws/dist
> > [echo]
> > jdk.topdir=/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk-boot/jdk
> > [echo]
> > jdk.gensrcdir=/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/generated.build
> > [echo]
> >
> > init:
> > [mkdir] Created dir:
> > /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/jaxws/build
> > [mkdir] Created dir:
> > /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/jaxws/build/classes
> > [mkdir] Created dir:
> > /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/jaxws/dist
> > [mkdir] Created dir:
> > /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/jaxws/dist/lib
> >
> > compile:
> > [javac] Compiling 2749 source files to
> > /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk.build-boot/jaxws/build/classes
> > [javac] Exception in thread "main" java.lang.NoSuchMethodError:
> > java.util.Locale.getDefault(Ljava/util/Locale$Category;)Ljava/util/Locale;
> > [javac] at java.text.MessageFormat.<init>(MessageFormat.java:362)
> > [javac] at java.text.MessageFormat.format(MessageFormat.java:835)
> > [javac] at
> > com.sun.tools.javac.util.JavacMessages.getLocalizedString(JavacMessages.java:200)
> > [javac] at
> > com.sun.tools.javac.util.JavacMessages.getLocalizedString(JavacMessages.java:141)
> > [javac] at
> > com.sun.tools.javac.util.JavacMessages.getLocalizedString(JavacMessages.java:135)
> > [javac] at
> > com.sun.tools.javac.main.Main.getLocalizedString(Main.java:585)
> > [javac] at com.sun.tools.javac.main.Main.bugMessage(Main.java:503)
> > [javac] at com.sun.tools.javac.main.Main.compile(Main.java:484)
> > [javac] at com.sun.tools.javac.main.Main.compile(Main.java:353)
> > [javac] at com.sun.tools.javac.main.Main.compile(Main.java:342)
> > [javac] at com.sun.tools.javac.main.Main.compile(Main.java:333)
> > [javac] at com.sun.tools.javac.Main.compile(Main.java:76)
> > [javac] at com.sun.tools.javac.Main.main(Main.java:61)
> >
> > BUILD FAILED
> > /var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk-boot/jaxws/build.xml:155:
> > Compile failed; see the compiler error output for details.
> >
> > Total time: 9 minutes 2 seconds
> > make[4]: *** [all] Error 1
> > make[4]: Leaving directory
> > `/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk-boot/jaxws/make'
> > make[3]: *** [jaxws-build] Error 2
> > make[3]: Leaving directory
> > `/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk-boot'
> > make[2]: *** [build_product_image] Error 2
> > make[2]: Leaving directory
> > `/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk-boot'
> > make[1]: *** [jdk_only] Error 2
> > make[1]: Leaving directory
> > `/var/tmp/portage/dev-java/icedtea-7.9999/work/icedtea-9999/openjdk-boot'
> > make: *** [stamps/icedtea-boot.stamp] Error 2
> >
> > - Grant
>
I think this may be related to the build VM. I'll try and replicate it next week,
but in the meantime, you could try using JAVA_PKG_FORCE_VM=gcj-jdk.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07
More information about the distro-pkg-dev
mailing list