building icedtea-7 on ARM

Grant emailgrant at gmail.com
Fri Feb 21 18:32:05 PST 2014


>> >> >> >>>>> > Has the new ARM stuff made it in?
>> >> >> >>>>> >
>> >> >> >>>>> > - Grant
>> >> >> >>>>> Its in the pipe, probably by next Monday...
>> >> >> >>>>>
>> >> >> >>>>> Chris
>> >> >> >>>>>
>> >> >> >>>>
>> >> >> >>>> http://icedtea.classpath.org/hg/icedtea7-forest/hotspot/rev/0a9100ca5a41
>> >> >> >>>> --
>> >> >> >>>> Andrew :)
>> >> >> >>>
>> >> >> >>>
>> >> >> >>> Many thanks Andrew and Chris!  I'm compiling now.  Tarballs haven't
>> >> >> >>> changed, just the patch needs to be applied?  Any idea when new
>> >> >> >>> tarballs will be ready?
>> >> >> >>>
>> >> >> >>> - Grant
>> >> >> >>
>> >> >> >>
>> >> >> >> I have the new tarballs and I get:
>> >> >> >>
>> >> >> >> Checking patches/boot/arm32.patch
>> >> >> >
>> >> >> >
>> >> >> > Or maybe the patch isn't necessary with the new tarballs?  I'll find
>> >> >> > out
>> >> >> > soon.
>> >> >> >
>> >> >> > - Grant
>> >> >>
>> >> >>
>> >> >> I get the following without the patch:
>> >> >>
>> >> >> INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>> >> >> INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
>> >> >> INFO: STRIP_POLICY=no_strip
>> >> >> INFO: ZIP_DEBUGINFO_FILES=1
>> >> >> make[3]: Entering directory
>> >> >> `/var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/openjdk-boot/jdk/make'
>> >> >> INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
>> >> >> INFO: /usr/bin/objcopy cmd found so will create .debuginfo files.
>> >> >> INFO: STRIP_POLICY=no_strip
>> >> >> INFO: ZIP_DEBUGINFO_FILES=1
>> >> >> make[3]: *** No rule to make target `specified'.  Stop.
>> >> >>
>> >> >> - Grant
>> >> >>
>> >> >
>> >> > What/how are you building, because I see no such patch?
>> >>
>> >>
>> >> I'm building with icedtea-7.9999.ebuild on Gentoo.  I added the patch
>> >> myself after you referenced it earlier:
>> >
>> > Updating it now. Are you altering the tarballs in the ebuild?
>>
>>
>> Yes sir:
>>
>> CORBA_TARBALL="16906c5a09da.tar.gz"
>> JAXP_TARBALL="d7085aad637f.tar.gz"
>> JAXWS_TARBALL="4aeccc3040fa.tar.gz"
>> JDK_TARBALL="3162252ff26b.tar.gz"
>> LANGTOOLS_TARBALL="f75a642c2913.tar.gz"
>> OPENJDK_TARBALL="fc5d15cc35b4.tar.gz"
>> HOTSPOT_TARBALL="f30e87f16d90.tar.gz"
>> CACAO_TARBALL="e215e36be9fc.tar.gz"
>> JAMVM_TARBALL="jamvm-ac22c9948434e528ece451642b4ebde40953ee7e.tar.gz"
>>
>> Should the PAX issue be fixed in HEAD?
>>
>> - Grant
>>
>
> Should be now if you update.


I get the following:

Buildfile: /var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/openjdk-boot/jaxws/build.xml

-banner:
     [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-r2/work/icedtea-9999/openjdk.build-boot/langtools/dist/bootstrap
     [echo] javac.jar=/var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/openjdk.build-boot/langtools/dist/bootstrap/lib/javac.jar
     [echo] langtools.jar=/var/tmp/portage/dev-java/icedtea-7.9999-r2/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-r2/work/icedtea-9999/openjdk.build-boot/jaxws
     [echo] build.dir=/var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/openjdk.build-boot/jaxws/build
     [echo] dist.dir=/var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/openjdk.build-boot/jaxws/dist
     [echo] jdk.topdir=/var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/openjdk-boot/jdk
     [echo] jdk.gensrcdir=/var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/generated.build
     [echo]

init:
    [mkdir] Created dir:
/var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/openjdk.build-boot/jaxws/build
    [mkdir] Created dir:
/var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/openjdk.build-boot/jaxws/build/classes
    [mkdir] Created dir:
/var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/openjdk.build-boot/jaxws/dist
    [mkdir] Created dir:
/var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/openjdk.build-boot/jaxws/dist/lib

compile:
    [javac] Compiling 2749 source files to
/var/tmp/portage/dev-java/icedtea-7.9999-r2/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-r2/work/icedtea-9999/openjdk-boot/jaxws/build.xml:155:
Compile failed; see the compiler error output for details.

Total time: 9 minutes 9 seconds
make[4]: *** [all] Error 1
make[4]: Leaving directory
`/var/tmp/portage/dev-java/icedtea-7.9999-r2/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-r2/work/icedtea-9999/openjdk-boot'
make[2]: *** [build_product_image] Error 2
make[2]: Leaving directory
`/var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/openjdk-boot'
make[1]: *** [jdk_only] Error 2
make[1]: Leaving directory
`/var/tmp/portage/dev-java/icedtea-7.9999-r2/work/icedtea-9999/openjdk-boot'
make: *** [stamps/icedtea-boot.stamp] Error 2

- Grant


More information about the distro-pkg-dev mailing list