[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
Sun Aug 13 19:21:43 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 breun):
`openjdk11-graalvm` still has a `openjdk11-graalvm-native-image` subport
which runs `${java_home}/bin/gu remove native-image` on deactivation, so I
guess that should be fine? Or does the probleem seem to be that this
command doesn't remove everything that the install counterpart installed?
`openjdk19-graalvm` has already been obsoleted and replaced by
`openjdk20-graalvm`, which no longer has a separate subport for native
image support, but includes it.
The [https://github.com/macports/macports-
ports/commit/30d11901cc9927c643c8bc2f29557d67d7fae98c update to
openjdk17-graalvm 17.0.7] indeed removed the `openjdk17-graalvm-native-
image` subport, because this feature got included in the main
`openjdk17-graalvm` update. If the deactivation ran, then the
`${java_home}/bin/gu remove native-image` should have been run on
deactivation.
Is this problem only this 1 file getting left behind, or are there more
that need to be cleaned up?
--
Ticket URL: <https://trac.macports.org/ticket/67935#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list