[MacPorts] #71049: openjdk21 @21.0.4+7: error: use of undeclared identifier 'NSBundleExecutableArchitectureARM64' on 10.14 and 10.15

MacPorts noreply at macports.org
Tue Oct 8 10:37:09 UTC 2024


#71049: openjdk21 @21.0.4+7: error: use of undeclared identifier
'NSBundleExecutableArchitectureARM64' on 10.14 and 10.15
---------------------------+-----------------------------
  Reporter:  sambthompson  |      Owner:  breun
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.2
Resolution:                |   Keywords:  catalina mojave
      Port:  openjdk21     |
---------------------------+-----------------------------

Comment (by sambthompson):

 Temporary patch PR submitted for openjdk17 and openjdk21. openjdk11 not
 affected as the ​JDK-8266242 backport was only applied to the
 openjdk11-oracle version upstream.

 Have also reported to upstream (including the patch) and am awaiting the
 issue of a report ID or follow-up questions.

 Further review of [https://openjdk.org/groups/build/doc/building.html
 Oracle's build instructions] suggests building with less than Xcode 13 is
 not supported, so a possibility the report will be rejected and the
 patches won't be temporary (although hopefully considered minor enough to
 accept):

 Notable comments:
 > It is recommended that you use at least macOS 13 (Ventura) and Xcode 14,
 but earlier versions may also work.
 ...
 > The oldest supported version of Xcode is 13.0.

-- 
Ticket URL: <https://trac.macports.org/ticket/71049#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list