tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.91k stars 329 forks source link

Unpacking XCode CLI Tools 14.2 fails #386

Open ghost opened 1 year ago

ghost commented 1 year ago

OS: Artix Linux (basically just Arch without systemd) XCode Command Line Tools: version 14.2

I did a fresh git clone of both the cctools and osxcross repos today. When I run:

./tools/gen_sdk_package_tools_dmg.sh Command_Line_Tools_for_Xcode_14.2.dmg

It works fine until this error:

Unpacking ~/Downloads/src/osxcross/Command_Line_Tools_for_Xcode_14.2.dmg ...
/home/pingveno/Downloads/src/osxcross/target/SDK/tools/bin/7z e -so "~/Downloads/src/osxcross/Command_Line_Tools_for_Xcode_14.2.dmg"  "Command Line Developer Tools/Command Line Tools*.pkg" > "Command Line Tools.pkg"

7-Zip [64] 9.38 beta  Copyright (c) 1999-2014 Igor Pavlov  2015-01-03
p7zip Version 9.38.1 (locale=C,Utf16=off,HugeFiles=on,8 CPUs)

Command Line Error:
Cannot find archive
~
Removing /home/MY_USERNAME/Downloads/src/osxcross/build/tmp_4428 ...

I made sure I had all the dependencies needed beforehand. And the .dmg file does exist.

CrossScarDev commented 9 months ago

Just give it the full path and that should fix the problem