OpenJDK packages don't build on my machine
I tried using abuild -rd
to build openjdk8 and abuild rootbld
to build openjdk8, 9 and 11; but none of them work, with the following error: (or similar, with version n-1 and n for jdk version n)
…
checking if packaged modules are kept... yes (default)
checking for version string... 11.0.6+10-alpine-r0
checking for javac... no
checking for java... /usr/bin/java
configure: Found potential Boot JDK using java(c) in PATH
configure: Potential Boot JDK found at /usr/lib/jvm/java-10-openjdk is incorrect JDK version (Picked up _JAVA_OPTIONS: ); ignoring
configure: (Your Boot JDK version must be one of: 10 11)
configure: Found potential Boot JDK using well-known locations (in /usr/lib/jvm/java-10-openjdk)
configure: Potential Boot JDK found at /usr/lib/jvm/java-10-openjdk is incorrect JDK version (Picked up _JAVA_OPTIONS: ); ignoring
configure: (Your Boot JDK version must be one of: 10 11)
configure: Found potential Boot JDK using well-known locations (in /usr/lib/jvm/default-jvm)
configure: Potential Boot JDK found at /usr/lib/jvm/default-jvm is incorrect JDK version (Picked up _JAVA_OPTIONS: ); ignoring
configure: (Your Boot JDK version must be one of: 10 11)
configure: Could not find a valid Boot JDK.
configure: This might be fixed by explicitly setting --with-boot-jdk
configure: error: Cannot continue
configure exiting with result code 1
>>> ERROR: openjdk11: build failed
>>> ERROR: openjdk11: rootbld failed
>>> openjdk11: Cleaning up build chroot
Here's a full log: jdk.log
Could someone try to reproduce?