Subject: Re: [bug#41871] [PATCH 0/7] IcedTea: Build (efficiently) on aarch64-linux

From: Efraim Flashner <[email-masked]>
Date: Thu, 29 Oct 2020 15:15:26 +0200

On Wed, Oct 28, 2020 at 10:35:08AM -0400, Simon South wrote:
> Efraim Flashner <[email-masked]> writes:
> > On Mon, Sep 14, 2020 at 03:24:15PM +0200, Ricardo Wurmus wrote:
> >> This looks really great!  I have yet to read the patches in 41748 and
> >> 41648, but these patches here look good to me...
> >
> > I had this on my TODO list for a while and I seem to have forgotten
> > about it. Since at least one of the patches was applied to staging I'm
> > testing them on staging now. Assuming no problems on x86_64 and aarch64
> > I'll go ahead and push them.
> 
> Wonderful. Thank you both for looking at these changes.
> 
> If they're able to be applied in time, it'll be possible to list
> "Support for Java applications on aarch64-linux" among the new features
> in Guix 1.2.0.
> 

All three versions of icedtea built with no problems on x86_64.
icedtea-2 failed the first time through on aarch64. I'm sending it
through again.

<..snip..>
#   org.w3c.dom.events
#   org.w3c.dom.bootstrap
#   org.w3c.dom.ls
#   org.xml.sax
#   org.xml.sax.ext
#   org.xml.sax.helpers
/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/bootstrap/jdk1.6.0/bin/java -XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput -Xmx1536m -
Xms512m -XX:PermSize=32m -XX:MaxPermSize=160m "-Xbootclasspath/p:/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build/langtools/dist/bootstrap/lib/javadoc.jar:/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build/langtools/dist/bootstrap/lib/javac.jar:/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build/langtools/dist/bootstrap/lib/doclets.jar" -jar /tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build/langtools/dist/bootstrap/lib/javadoc.jar -bootclasspath "/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build/classes"  -d /tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build/docs/api \
  @/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build/tmp/docs/doctmp/coredocs.options @/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build/tmp/docs/doctmp/coredocs.packages
../../src/share/classes/java/awt/color/ICC_Profile.java:1073: warning - Tag @see: missing '#': "activateDeferredProfile()"
../../src/share/classes/java/text/NumberFormat.java:305: warning - @param argument "toAppendTo" is not a parameter name.
../../src/share/classes/java/text/NumberFormat.java:305: warning - @param argument "pos" is not a parameter name.
../../src/share/classes/java/util/Calendar.java:1720: warning - Tag @see: can't find setInternallySetState(int) in java.util.Calendar
../../src/share/classes/java/util/Currency.java:700: warning - @throws tag has no arguments.
../../src/share/classes/java/util/concurrent/ArrayBlockingQueue.java:867: warning - Tag @see: can't find floor(double) in java.util.concurrent.ArrayBlockingQueue
../../src/share/classes/javax/swing/plaf/nimbus/NimbusStyle.java:854: warning - @return tag has no arguments.
../../src/share/classes/javax/swing/plaf/nimbus/NimbusStyle.java:926: warning - @return tag has no arguments.
/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build/impsrc/javax/xml/bind/JAXBContext.java:262: warning - Tag @see: reference not found: S 7.4.1 "Named Packages" in Java Language Specification</a>
make[4]: *** [Makefile:325: /tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk.build/docs/api/index.html] Error 143
make[4]: Leaving directory '/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk/jdk/make/docs'
make[3]: *** [Makefile:263: docs] Error 1
make[3]: Leaving directory '/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk/jdk/make'
make[2]: *** [make/jdk-rules.gmk:93: jdk-build] Error 2
make[2]: Leaving directory '/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk'
make[1]: *** [Makefile:251: build_product_image] Error 2
make[1]: Leaving directory '/tmp/guix-build-icedtea-2.6.13.drv-0/icedtea-2.6.13/openjdk'
make: *** [Makefile:2463: stamps/icedtea.stamp] Error 2
command "make" "-j" "2" failed with status 2
builder for `/gnu/store/n9p75jv705bdf0983xrbw5142fw1fp7z-icedtea-2.6.13.drv' failed with exit code 1
@ build-failed /gnu/store/n9p75jv705bdf0983xrbw5142fw1fp7z-icedtea-2.6.13.drv - 1 builder for `/gnu/store/n9p75jv705bdf0983xrbw5142fw1fp7z-icedtea-2.6.13.drv' failed with exit code 1
derivation '/gnu/store/n9p75jv705bdf0983xrbw5142fw1fp7z-icedtea-2.6.13.drv' offloaded to 'pine64' failed: build of `/gnu/store/n9p75jv705bdf0983xrbw5142fw1fp7z-icedtea-2.6.13.drv' failed
build of /gnu/store/n9p75jv705bdf0983xrbw5142fw1fp7z-icedtea-2.6.13.drv failed
View build log at '/var/log/guix/drvs/n9/p75jv705bdf0983xrbw5142fw1fp7z-icedtea-2.6.13.drv.bz2'.
cannot build derivation `/gnu/store/ci079q2b5max3j0vvia94q0ccbqxwh0q-icedtea-3.7.0.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/ci079q2b5max3j0vvia94q0ccbqxwh0q-icedtea-3.7.0.drv' failed

real    1581m16.100s
user    2m9.646s
sys     0m16.733s

-- 
Efraim Flashner   <[email-masked]>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted