Closed riccardodivirgilio closed 2 years ago
Thanks for the report. Can you clarify the exact steps for reproducing this error? In particular:
.log
files contained in the build/macOS
folder, and a (recursive) listing of the contents of the build/macOS/Support
folder.The logs you have provided suggest that either OpenSSL hasn't been compiled, or that something is being messed up in the construction of paths. However, the 3.10-b2 build ran through CI yesterday; and I've just done a clean run on git checkout 3730a2a95, and it worked fine, so I'm not sure where it's going off the rails.
Ok I've done the procedure again. I downloaded the repo at this commit, which should be tag 3.10, not 3.10-b2:
https://github.com/beeware/Python-Apple-support/archive/53e554e12b564e67ee7b49d5a5998c2bfce89341.zip
This is the output of the command.
This is the compressed archive with all folders under build/macOS
The directories under build/macOS/support
seems to be empty π€?
3 directories, 0 files
testarmmacmini4:Python-Apple-support-53e554e12b564e67ee7b49d5a5998c2bfce89341 testmngr$ tree build/macOS/Support -f
build/macOS/Support
βββ build/macOS/Support/BZip2.xcframework
βββ build/macOS/Support/OpenSSL.xcframework
βββ build/macOS/Support/XZ.xcframework
I have also tried to build using the commit you suggested, but it seems to fail in the very same way.
Ok - the repository has moved on substantially since that tag; it's probable that the problem you're seeing has been resolved. I'd suggest that you should update to a formally tagged release, and start there.
I've tried again using 3.10
branch:
wget https://github.com/beeware/Python-Apple-support/archive/refs/heads/3.10.zip
and 3.10-b2
tag:
wget https://github.com/beeware/Python-Apple-support/archive/refs/tags/3.10-b2.zip
they fail in the same way. Am I missing something? should I use another branch/tag?
Thanks.
Ah - now I see it. You're using the Command Line tools. You need to use a full Xcode install. The build process uses xcodebuild to construct the XCframework.
Describe the bug Unable to finish the build process successfully by running
make macOS
on a very recent 3.10 tag. https://github.com/beeware/Python-Apple-support/tree/3.10To Reproduce run
make macOS
Environment: Mac Mini M1, macOS 12.0.1, xcode-select version 2392.
Stdout