Bug 243260

Summary: java/openjdk11: fails to build on ARCH=aarch64
Product: Ports & Packages Reporter: Jonathan Chen <jonc>
Component: Individual Port(s)Assignee: freebsd-java (Nobody) <java>
Status: Closed Not A Bug    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (java)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Jonathan Chen 2020-01-11 02:38:45 UTC
I'm attempt to crossbuild openjdk-11 for ARCH=aarch64, but the build is currently failing when it checks the bootstrap:

...
checking if packaged modules are kept... yes (default)
checking for version string... 11.0.5+10-1
configure: Found potential Boot JDK using configure arguments
configure: Potential Boot JDK found at /usr/local/bootstrap-openjdk11 is incorre
ct JDK version (#); ignoring
configure: (Your Boot JDK version must be one of: 10 11)
configure: error: The path given by --with-boot-jdk does not contain a valid Boo
t JDK
configure exiting with result code 1
===>  Script "configure" failed unexpectedly.
Please report the problem to java@FreeBSD.org [maintainer] and attach the
"/construction/xports/java/openjdk11/work/openjdk-jdk11u-jdk-11.0.5-10-1/config.
log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
Comment 1 Jonathan Chen 2020-01-11 02:55:37 UTC
Looks like a problem with qemu-aarch64-static instead. The bootstrap-java binary fails with SIGILL on the crossbuild host, but succeeds an a native RPI3 host.