[MacPorts] #69440: openjdk21 @21.0.2_1: build fails with missing symbols

MacPorts noreply at macports.org
Wed Mar 19 16:35:16 UTC 2025


#69440: openjdk21 @21.0.2_1: build fails with missing symbols
--------------------------+--------------------
  Reporter:  cooljeanius  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.9.1
Resolution:               |   Keywords:
      Port:  openjdk21    |
--------------------------+--------------------

Comment (by jmpalacios):

 Replying to [comment:26 breun]:
 > Replying to [comment:24 jmpalacios]:
 > > Apologies, I must have sped through the comments, but I certainly
 didn't catch that the request was to uninstall libunwind.
 > >
 > > That being said, I didn't have libunwind installed to begin with when
 I first tried installing any of the Java ports, and they all still failed
 to build locally.
 >
 > Back the error may also have been different then. I guess the logs from
 those attempts are lost?
 >
 > This ticket was originally opened for `openjdk21`. If you’re up for it
 you could maybe try doing an installation of that from source?
 >
 > OpenJDK 23 also reaches end of support with the release of OpenJDK 24
 next week, so that could also be a good opportunity to test.

 Absolutely, love to help out!

 So, to get started, I just made sure all my installed ports are clean
 (port clean --all installed), there are no leave ports installed, and that
 libunwind is NOT installed. And, with that, I'm attempting to install
 openjdk24 from source (port -d install -s openjdk24)… but, strangely
 enough, that's pulling in openjdk23-zulu as a dependency, rather than
 openjdk24-zulu. Is that expected?

 I see the Portfile has 'set boot_feature 23' towards the top, and that the
 zulu dependency relies on that variable (set bootjdk_port
 openjdk${boot_feature}-zulu). Maybe a bump to 24 there was missed?

 Please let me know and I'll resume my testing, thanks!

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


More information about the macports-tickets mailing list