build-containers icon indicating copy to clipboard operation
build-containers copied to clipboard

Use extract_xcode.py instead of compiling pbzx

Open adamscott opened this issue 1 year ago • 1 comments

This PR adds extract_xcode.py to do what it says.

Capture d’écran, le 2024-08-22 à 09 09 17

For an unknown reason, as shown above, xar of the VM refuses to extract the Xcode_15.4.xip file on my MacBook Pro. (for the record, the SHA256 sum of the file is alright). But with extract_xcode.py, it works OK. As extract_xcode.py contains the pbzx algorithm, no need to compile the C project.

I suggest we replace the existing algorithm for compatibility reasons.

adamscott avatar Aug 22 '24 14:08 adamscott

While this branch did get me passed the xar extract, which is great, I still wasnt able to compile osx, getting the following errors:

osx.log

-- Performing Test HAVE_CXX_FLAG_WD654 -- Performing Test HAVE_CXX_FLAG_WD654 - Failed -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed -- Performing Test HAVE_CXX_FLAG_COVERAGE -- Performing Test HAVE_CXX_FLAG_COVERAGE - Success -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile

I have it working on my windows machine which is x86_64 suspect this doesnt build on aarch64 though I'm still unclear why.

zynga-jpetersen avatar Sep 11 '24 17:09 zynga-jpetersen