[Bug 269816] java/openjdk8 fails to build in poudriere-devel with configure error "incorrect JDK version"

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 25 Feb 2023 02:40:05 UTC

            Bug ID: 269816
           Summary: java/openjdk8 fails to build in poudriere-devel with
                    configure error "incorrect JDK version"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: java@FreeBSD.org
          Reporter: void@f-m.fm
          Assignee: java@FreeBSD.org
             Flags: maintainer-feedback?(java@FreeBSD.org)
 Attachment #240400 text/plain
         mime type:

Created attachment 240400
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240400&action=edit
poudriere build log


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] =======================<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
[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
[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] 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 !!!

You are receiving this mail because:
You are the assignee for the bug.