[Bug 280814] lang/openjdk11 does not build in 2024Q3-branch

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Aug 2024 12:22:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280814

            Bug ID: 280814
           Summary: lang/openjdk11 does not build in 2024Q3-branch
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: wolfgang@lyxys.ka.sub.org

lang/openjdk11-11.0.23+9.1 (the version currently in the 2024Q3 branch) does
not build in poudriere in FreeBSD 13.3.

Reason is CLANG/LLVM 12.0.1 reporting:
------------------------
[00:02:00] …/src/jdk.pack/share/native/common-unpack/unpack.cpp:703:32: error:
implicit conversion from '(anonymous enum at
/wrkdirs/usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.23-9-1/src/jdk.pack/share/native/common-unpack/constants.h:49:1)'
to 'int' changes value from 4294959104 to -8192 [-Werror,-Wconstant-conversion]
[00:02:00]   if (testBit(archive_options, AO_UNUSED_MBZ)) {
[00:02:00]       ~~~~~~~                  ^~~~~~~~~~~~~
[00:02:00] 1 error generated.
------------------------

As we are only in the middle of the quarter, could we get a buildable version
into the quarterly branch?

Thanks in advance,
Wolfgang

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