openjdk11 port compilation problem (Your Boot JDK version must be one of: 10 11)
For Vanilla install of hardenedbsd, i tried to install devel/bazel but i gave problem which seems fixed on freebsd side long ago but for hardenedbsd seems a problem. in addition this, i tried to compile devel/bazel on freebsd 13 , i can be able to compile without errors. it means there is no problem on freebsd side.
Error log files are
first try and openjdk11 config.log bazel-hbsd-build-2022-02-23.zip
2nd and 3rd times. bazel-hbsd-build-2022-02-23-2.log
bazel-hbsd-build-2022-02-23-3.log
checking for time... /usr/bin/time
checking for flock... no
checking for dtrace... /usr/sbin/dtrace
checking for gpatch... no
checking for patch... /usr/bin/patch
checking bash version... 5.1.16
checking if bash supports pipefail... yes
checking if bash supports errexit (-e)... yes
checking pkg-config is at least version 0.9.0... yes
checking for default LOG value...
checking headless only... no
checking for graphviz dot... no, cannot generate full docs
checking for pandoc... no, cannot generate full docs
checking full docs... no, missing dependencies
checking for cacerts file... /usr/ports/java/openjdk11/files/cacerts
checking if packaged modules are kept... yes (default)
checking for version string... 11.0.14+9-1
configure: Found potential Boot JDK using configure arguments
configure: Potential Boot JDK found at /usr/local/bootstrap-openjdk11 is incorrect 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 Boot JDK
configure exiting with result code 1
===> Script "configure" failed unexpectedly.
Please report the problem to java@FreeBSD.org [maintainer] and attach the
"/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.14-9-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).
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/java/openjdk11
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/bazel