[MacPorts] #71126: MacOSX10.13.sdk fails to install on 10.15 Catalina

MacPorts noreply at macports.org
Sat Oct 19 16:26:38 UTC 2024


#71126: MacOSX10.13.sdk fails to install on 10.15 Catalina
------------------------------+------------------------
  Reporter:  rmottola         |      Owner:  ryandesign
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:  catalina
      Port:  MacOSX10.13.sdk  |
------------------------------+------------------------

Old description:

> First as proposed, I got the sdk file.
> That is a little more complicated, I logged in into downloads, but got a
> permission error when getting the file from the URL port gives.
>
> If I "copy address" I get
> https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_macOS_10.13_for_Xcode_9.3/Command_Line_Tools_macOS_10.13_for_Xcode_9.3.dmg
>
> Compared to:
> https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_macOS_10.13_for_Xcode_9.3/Command_Line_Tools_macOS_10.13_for_Xcode_9.3.dmg
>
> Which looks correct? Perhaps apple checks the path from which the URL is
> called.
>
> Anyway, install fails with:
>
> _opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_MacOSX.sdk/MacOSX10.13.sdk/work/Command_Line_Tools_macOS_10.13_for_Xcode_9.3:
> /opt/local/bin/xar -xOf /tmp/mports.YCMViY/Command\ Line\ Tools\ \(macOS\
> High\ Sierra\ version\ 10.13\).pkg CLTools_SDK_macOS1013.pkg/Payload |
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_MacOSX.sdk/MacOSX10.13.sdk/work/pbzx
> | /opt/local/bin/bsdcpio -idmu --quiet
> Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
> :debug:extract system: /usr/bin/hdiutil detach /tmp/mports.YCMViY
> :info:extract "disk2" ejected.
> :error:extract we don't appear to have extracted everything properly
> :error:extract Failed to extract MacOSX10.13.sdk: extract problem
> :debug:extract Error code: NONE
> :debug:extract Backtrace: extract problem
> :debug:extract     while executing
> :debug:extract "$procedure $targetname"
> :error:extract See /opt/local/var/macports/logs/

New description:

 First as proposed, I got the sdk file.
 That is a little more complicated, I logged in into downloads, but got a
 permission error when getting the file from the URL port gives.

 If I "copy address" I get
 https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_macOS_10.13_for_Xcode_9.3/Command_Line_Tools_macOS_10.13_for_Xcode_9.3.dmg

 Compared to:
 https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_macOS_10.13_for_Xcode_9.3/Command_Line_Tools_macOS_10.13_for_Xcode_9.3.dmg

 Which looks correct? Perhaps apple checks the path from which the URL is
 called.

 Anyway, install fails with:

 {{{
 _opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_MacOSX.sdk/MacOSX10.13.sdk/work/Command_Line_Tools_macOS_10.13_for_Xcode_9.3:
 /opt/local/bin/xar -xOf /tmp/mports.YCMViY/Command\ Line\ Tools\ \(macOS\
 High\ Sierra\ version\ 10.13\).pkg CLTools_SDK_macOS1013.pkg/Payload |
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_MacOSX.sdk/MacOSX10.13.sdk/work/pbzx
 | /opt/local/bin/bsdcpio -idmu --quiet
 Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 :debug:extract system: /usr/bin/hdiutil detach /tmp/mports.YCMViY
 :info:extract "disk2" ejected.
 :error:extract we don't appear to have extracted everything properly
 :error:extract Failed to extract MacOSX10.13.sdk: extract problem
 :debug:extract Error code: NONE
 :debug:extract Backtrace: extract problem
 :debug:extract     while executing
 :debug:extract "$procedure $targetname"
 :error:extract See /opt/local/var/macports/logs/
 }}}

--

Comment (by ryandesign):

 Replying to [ticket:71126 rmottola]:
 > First as proposed, I got the sdk file.
 > That is a little more complicated, I logged in into downloads, but got a
 permission error when getting the file from the URL port gives.
 >
 > If I "copy address" I get
 https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_macOS_10.13_for_Xcode_9.3/Command_Line_Tools_macOS_10.13_for_Xcode_9.3.dmg
 >
 > Compared to:
 >
 https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_macOS_10.13_for_Xcode_9.3/Command_Line_Tools_macOS_10.13_for_Xcode_9.3.dmg
 >
 > Which looks correct? Perhaps apple checks the path from which the URL is
 called.

 To the best of my knowledge, the instructions printed by the port were
 correct when I wrote them, but Apple has rearranged their URLs before; I
 consider it likely that they have done so again since the last time I
 reviewed the port's instructions.

 > Anyway, install fails with:
 >
 > {{{
 >
 _opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_MacOSX.sdk/MacOSX10.13.sdk/work/Command_Line_Tools_macOS_10.13_for_Xcode_9.3:
 /opt/local/bin/xar -xOf /tmp/mports.YCMViY/Command\ Line\ Tools\ \(macOS\
 High\ Sierra\ version\ 10.13\).pkg CLTools_SDK_macOS1013.pkg/Payload |
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_MacOSX.sdk/MacOSX10.13.sdk/work/pbzx
 | /opt/local/bin/bsdcpio -idmu --quiet
 Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 > :debug:extract system: /usr/bin/hdiutil detach /tmp/mports.YCMViY
 > :info:extract "disk2" ejected.
 > :error:extract we don't appear to have extracted everything properly
 > :error:extract Failed to extract MacOSX10.13.sdk: extract problem
 > :debug:extract Error code: NONE
 > :debug:extract Backtrace: extract problem
 > :debug:extract     while executing
 > :debug:extract "$procedure $targetname"
 > :error:extract See /opt/local/var/macports/logs/
 > }}}

 This message gets printed if
 /System/Library/CoreServices/SystemVersion.plist did not get extracted.
 What did get extracted into your work directory?

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


More information about the macports-tickets mailing list