[MacPorts] #67935: openjdk11-graalvm, openjdk17-graalvm, openjdk19-graalvm: buildbot activation fails: file LICENSE_NATIVEIMAGE.txt already exists and does not belong to a registered port
MacPorts
noreply at macports.org
Thu Aug 10 00:33:57 UTC 2023
#67935: openjdk11-graalvm, openjdk17-graalvm, openjdk19-graalvm: buildbot
activation fails: file LICENSE_NATIVEIMAGE.txt already exists and does not
belong to a registered port
-------------------------------------------------+-------------------------
Reporter: mascguy | Owner: breun
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: openjdk11-graalvm, |
openjdk17-graalvm, openjdk19-graalvm |
-------------------------------------------------+-------------------------
Comment (by mascguy):
Ah, makes sense, thanks for detail Ryan!
Going forward, I'd strongly recommend that all of our JDK-related ports be
installed into the MacPorts tree (perhaps under
`${prefix}/libexec/java/openjdkXXXXX`, or wherever it makes the most
sense).
And then create a symlink in
`/Library/Java/JavaVirtualMachines/openjdkXXXX`, to the target.
This is an approach I've been using for years, across numerous Java
versions. And it works beautifully.
Better still, that symlink could be optional, perhaps only installed via a
subport [selected via a variant].
With the caveat that our Java PG should search the agreed-upon standard
area within MacPorts, to avoid requiring that a symlink exist.
--
Ticket URL: <https://trac.macports.org/ticket/67935#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list