Opened 3 weeks ago
Last modified 11 days ago
#71126 assigned defect
MacOSX10.13.sdk fails to install on 10.15 Catalina
Reported by: | rmottola (Riccardo) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | catalina | Cc: | |
Port: | MacOSX10.13.sdk |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
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/
Attachments (1)
Change History (5)
Changed 3 weeks ago by rmottola (Riccardo)
comment:1 Changed 3 weeks ago by rmottola (Riccardo)
Owner: | set to ryandesign |
---|---|
Status: | new → assigned |
comment:2 follow-up: 3 Changed 2 weeks ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
Replying to 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
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?
comment:3 follow-up: 4 Changed 11 days ago by rmottola (Riccardo)
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
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.
The link is correct, but I think apple checks the referrer and not a raw link, something the art. The links look identical, aren't they?
This message gets printed if /System/Library/CoreServices/SystemVersion.plist did not get extracted. What did get extracted into your work directory?
Where? I check this:
% pwd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_MacOSX.sdk/MacOSX10.13.sdk/work
I see this:
% ls -l total 104 drwxr-xr-x 2 macports wheel 64 Oct 19 09:38 Command_Line_Tools_macOS_10.13_for_Xcode_9.3 -rwxr-xr-x 1 macports wheel 49952 Oct 25 20:44 pbzx % du -sh * 0B Command_Line_Tools_macOS_10.13_for_Xcode_9.3 52K pbzx
I suppose the extraction is incomplete?
comment:4 Changed 11 days ago by ryandesign (Ryan Carsten Schmidt)
Replying to rmottola:
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
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.
The link is correct, but I think apple checks the referrer and not a raw link, something the art. The links look identical, aren't they?
Ah yes, they are indeed identical. Maybe they do check the referrer now. I have not verified your issue today. It used to work.
% ls -l total 104 drwxr-xr-x 2 macports wheel 64 Oct 19 09:38 Command_Line_Tools_macOS_10.13_for_Xcode_9.3 -rwxr-xr-x 1 macports wheel 49952 Oct 25 20:44 pbzx % du -sh * 0B Command_Line_Tools_macOS_10.13_for_Xcode_9.3 52K pbzxI suppose the extraction is incomplete?
It looks like nothing (0 bytes) got extracted.
The xar port, which is involved in the extraction, was recently updated; maybe the new version doesn't work right. You could try downgrading to an older xar.
install log