[MacPorts] #66133: openjdk11-graalvm doesn't allow mirroring distfiles

MacPorts noreply at macports.org
Tue Nov 1 08:52:34 UTC 2022


#66133: openjdk11-graalvm doesn't allow mirroring distfiles
------------------------+-------------------------------
 Reporter:  ryandesign  |      Owner:  breun
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.0
 Keywords:              |       Port:  openjdk11-graalvm
------------------------+-------------------------------
 openjdk11-graalvm deliberately does not allow distfiles to be mirrored:

 {{{#!tcl
 # This port uses prebuilt binaries; 'NoMirror' makes sure MacPorts doesn't
 mirror/distribute these third-party binaries
 license          GPL-2 NoMirror
 }}}

 I don't understand the comment. Just because a port installs a binary
 doesn't mean we want to prohibit mirroring distfiles.

 If the developers of this software prohibit redistribution, then yes we
 should prevent mirroring, but we should also prevent distribution of
 binaries.

 Prohibiting mirroring distfiles causes fetch failure on older macOS
 versions:

 https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/204750/steps
 /install-port/logs/stdio

 {{{
 --->  graalvm-ce-java11-darwin-amd64-22.3.0.tar.gz does not exist in
 /opt/local/var/macports/distfiles/openjdk11-graalvm
 --->  Attempting to fetch graalvm-ce-java11-darwin-amd64-22.3.0.tar.gz
 from https://github.com/graalvm/graalvm-ce-
 builds/releases/download/vm-22.3.0/
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed

   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 DEBUG: Fetching distfile failed: SSL certificate problem: Invalid
 certificate chain
 Error: Failed to fetch openjdk11-graalvm: SSL certificate problem: Invalid
 certificate chain
 }}}

 Please check your other ports if similar changes are needed there.

-- 
Ticket URL: <https://trac.macports.org/ticket/66133>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list