[MacPorts] #68116: openjdk11-temurin: fetch failure

MacPorts noreply at macports.org
Sat Sep 2 06:38:11 UTC 2023


#68116: openjdk11-temurin: fetch failure
------------------------+-------------------------------
 Reporter:  ryandesign  |      Owner:  breun
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:  lion        |       Port:  openjdk11-temurin
------------------------+-------------------------------
 openjdk11-temurin (and probably other similar jdk ports) fails to fetch on
 older systems:

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

 {{{
 --->  OpenJDK11U-jdk_x64_mac_hotspot_11.0.20.1_1.tar.gz does not exist in
 /opt/local/var/macports/distfiles/openjdk11-temurin
 --->  Attempting to fetch OpenJDK11U-
 jdk_x64_mac_hotspot_11.0.20.1_1.tar.gz from
 https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.20.1%2B1/
   % 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

   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0DEBUG: Fetching distfile failed: error:1407742E:SSL
 routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
 Error: Failed to fetch openjdk11-temurin: error:1407742E:SSL
 routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
 DEBUG: Error code: NONE
 }}}

 It's fetching from upstream rather than a MacPorts mirror because the port
 is configured not to mirror:

 https://build.macports.org/builders/jobs-
 mirror/builds/628067/steps/mirror/logs/stdio

 {{{
 Not mirroring openjdk11-temurin due to license
 }}}

 The Portfile contains these lines, but the comment doesn't explain why:

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

 Why is the port configured this way?

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


More information about the macports-tickets mailing list