Open AkbarTheGreat opened 1 year ago
I encountered this as well. I "translated" the package names to ubuntu-specific ones myself, but still got an error like this:
Error while extracting archive:(Metadata): bzip2 support not compiled in. (Success)
Which was definitely not a (Success)
so I had to find and install bzip2 libraries, remove the tools that gen_sdk_package_pbzx.sh
built, and let it rebuild them with bzip2 support.
These comments were super helpful!
Thanks for the dependency list:
sudo apt install clang make libssl-dev lzma-dev libxml2-dev cmake cpio liblzma-dev libbz2-dev bzip2
I was confused why after installing those, I was still hitting bzip2 support not compiled in
. Removing the current build assets:
rm -R build
Then re-running worked:
./tools/gen_sdk_package_pbzx.sh Xcode_16.1.xip
Thanks!
I'm in the process of updating my sdk tarball, doing so inside of an ubuntu Docker container. The section https://github.com/tpoechtrager/osxcross#packing-the-sdk-on-linux---method-1-xcode--80 lists packages to install, but on Ubuntu I had to install several more (as well as a few APT naming conventions which don't match, but that's easily navigable)
The full set of packages I needed to install were: clang make libssl-dev lzma-dev libxml2-dev cmake cpio liblzma-dev libbz2-dev bzip2
The lzma/liblzma distinction may be Ubuntu-specific, since I'd expect lzma-dev to include liblzma-dev, but I'm unsure. But it would be nice to include cmake, cpio, libbz2-devel, and bzip2 at least in the list of packages required, for convenience.