maintainer-feedback requested: [Bug 269816] java/openjdk8 fails to build in poudriere-devel with configure error "incorrect JDK version"
Date: Sat, 25 Feb 2023 02:40:05 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-java (Nobody) <java@FreeBSD.org> for maintainer-feedback: Bug 269816: java/openjdk8 fails to build in poudriere-devel with configure error "incorrect JDK version" https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269816 --- Description --- Hello, This is on a brand new 13.2 poudriere jail on amd64 with minimal jailname-make.conf and latest portstree fetched around 2320 UTC on 24th Feb. Attached is the log of the build. java/openjdk8 fails to build in poudriere-devel in configure here: ### [00:00:30] checking whether to build JFR... true [00:00:30] configure: Found potential Boot JDK using configure arguments [00:00:30] configure: Potential Boot JDK found at /usr/local/bootstrap-openjdk8 is incorrect JDK version (Error occurred during initialization of VM); ignoring [00:00:30] configure: (Your Boot JDK must be version 7 or 8) [00:00:30] configure: error: The path given by --with-boot-jdk does not contain a valid Boot JDK [00:00:30] =========================================================================== [00:00:30] =======================<phase: build >============================ [00:00:30] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 [00:00:30] ===> Building for openjdk8-8.362.09.1_2 [00:00:30] gmake[1]: Entering directory '/wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u362-b09.1' [00:00:30] No configurations found for /wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u362-b09.1/! Please run configure to create a configuration. [00:00:30] Makefile:55: *** Cannot continue. Stop. [00:00:30] gmake[1]: Leaving directory '/wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u362-b09.1' [00:00:30] ===> Compilation failed unexpectedly. [00:00:30] Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to [00:00:30] the maintainer. [00:00:30] *** Error code 1 [00:00:30] [00:00:30] Stop. [00:00:30] make: stopped in /usr/ports/java/openjdk8 [00:00:30] =>> Cleaning up wrkdir [00:00:30] ===> Cleaning for openjdk8-8.362.09.1_2 [00:00:30] build of java/openjdk8 | openjdk8-8.362.09.1_2 ended at Fri Feb 24 23:27:20 GMT 2023 [00:00:30] build time: 00:00:30 [00:00:30] !!! build failure encountered !!!