[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 06:49:49 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 ryandesign):

 Replying to [comment:6 breun]:
 > I don’t mind changing the Java ports to install their files under the
 MacPorts prefix and only creating a symlink under
 `/Library/Java/JavaVirtualMachines`, but I don’t see how that would fix
 this issue.

 As Josh said, it would not fix this issue.

 > As I understand it, the builbots apparently had the conflicting file
 still on them from a previous installation where uninstalling the GraalVM
 port didn’t remove them? Do you have any idea how that could have
 happened? When I uninstall this port on my machine, the file is gone.

 As Josh said, it was "the *-native-image subports, e.g. openjdk17-graalvm-
 native-image". Those subports used to contain:

 {{{#!tcl
         if {[regexp {(?i)native-image} [exec ${java_home}/bin/gu list]
 match]} {
             system "sudo ${java_home}/bin/gu remove native-image"
         }
 }}}

 Presumably at some point either the regexp did not match the `gu list`
 output or else the `gu remove native-image` command failed.

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


More information about the macports-tickets mailing list