swiftwasm / swift

WebAssembly support for the Swift programming language
https://swiftwasm.org
1.32k stars 28 forks source link

Provide builds for macOS Big Sur on Apple Silicon #1305

Closed MaxDesiatov closed 3 years ago

MaxDesiatov commented 4 years ago

We're gonna need toolchain builds for both x86 and arm64 🥺

0xTim commented 3 years ago

Sorry I meant to post this a while back, but currently unable to build on Apple Silicon on Bug Sur 11.0.1 RC2, though it looks like a Homebrew issue with Python 3.9

tim@Mac swiftwasm % ./swift/utils/webassembly/ci.sh
+++ dirname ./swift/utils/webassembly/ci.sh
++ cd ./swift/utils/webassembly/../../..
++ pwd
+ SOURCE_PATH=/Users/tim/dev/0xTim/swiftwasm
+ SWIFT_PATH=/Users/tim/dev/0xTim/swiftwasm/swift
+ UTILS_PATH=/Users/tim/dev/0xTim/swiftwasm/swift/utils/webassembly
+ case $(uname -s) in
++ uname -s
+ DEPENDENCIES_SCRIPT=/Users/tim/dev/0xTim/swiftwasm/swift/utils/webassembly/macos/install-dependencies.sh
+ HOST_SUFFIX=macosx-x86_64
+ BUILD_SCRIPT=/Users/tim/dev/0xTim/swiftwasm/swift/utils/webassembly/build-toolchain.sh
+ RUN_TEST_BIN=/Users/tim/dev/0xTim/swiftwasm/swift/utils/run-test
+ TARGET_BUILD_DIR=/Users/tim/dev/0xTim/swiftwasm/target-build/Ninja-Release
+ /Users/tim/dev/0xTim/swiftwasm/swift/utils/webassembly/macos/install-dependencies.sh
+ [[ ! -z '' ]]
+ brew install cmake ninja llvm sccache
Warning: Sorry, Homebrew does not support your computer's CPU architecture!
Warning: You are using macOS 11.0.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this pre-release version.

==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/33a9d
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/573dcefa80443b028c1a54ab98b23a130bbef9e8a696e6682d2ff29dbcfdcb18--arm64-3.9.patch
==> Downloading https://files.pythonhosted.org/packages/a7/e0/30642b9c2df516506d
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/6c4cd84935cccfee61e433509bdda7951ea6b77ae5db203b1e708eea72d93603--setuptools-50.3.2.zip
==> Downloading https://files.pythonhosted.org/packages/0b/f5/be8e741434a4bf4ce5
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/8420c2f6f4c2831dfbd1b0e1caa05c0c044729c31b52f8884a785a56038ad0e7--pip-20.2.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/83/72/611c121b6bd15479cb
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/1aa1a9563d6af09f2712c180679dfd512aac6c710fc3fb573175e88eaa7c6de3--wheel-0.35.1.tar.gz
==> Downloading https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tar.xz
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/d37370983bfa2dfe731256050c2097e61210550756783e4623a6eb9a8812b210--Python-3.9.0.tar.xz
==> Downloading https://files.pythonhosted.org/packages/06/8c/eb8a0ae49eba5be054
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/b4e86049c816dde47c7a914a6db0f94a5688cb385de88d3bb08edd041e561aa6--virtualenv-20.1.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/d7/d8/05696357e0311f5b5c
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/d46628d315f103ea527907020cf5f6c94365bbb549783f75a794526482afb672--appdirs-1.4.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/2f/83/1eba07997b8ba58d92
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/b25916e85753e80fccf86f2f1ba088b86d1a82c93cd36bdb72613c81cb830c55--distlib-0.3.1.zip
==> Downloading https://files.pythonhosted.org/packages/14/ec/6ee2168387ce015463
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/6132211d03cc3113b135a5b72510e3b6ea1df5bf527eb89d71c3f45085c252a7--filelock-3.0.12.tar.gz
==> Downloading https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f4
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/e99698a932bde9f5fb8ca552923ae339984f284e1c7764df95c12175f573c0d7--six-1.15.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f8
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/6fe7e7241e703f9e3f03f1600efd5a1f03bb466b8bc79871d35be3da87239d71--alabaster-0.7.12.tar.gz
==> Downloading https://files.pythonhosted.org/packages/34/18/8706cfa5b2c73f5a54
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/8d4c478d299c27ce1162824cbaa27104239a9a486c58cc763a911281d905d0ea--Babel-2.8.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/40/a7/ded59fa294b85ca206
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/6d38870043164763b1340f7ac33977f902c5fe9864bc10e7fe2b25fa55064281--certifi-2020.6.20.tar.gz
==> Downloading https://files.pythonhosted.org/packages/fc/bb/a5768c230f9ddb03ac
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/de28644dd0ba2aaf30228e9b28ba90366e333e7a34e1b1f97cf85d0edd0cb278--chardet-3.0.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/2f/e0/3d435b34abd2d62e82
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/bee502905dc3428f44a8c0cb547106a3931a395c3c2cf973848a0c0032fc0998--docutils-0.16.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ea/b7/e0e3c1c467636186c3
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/70659672fb0872c9cfb410161104337eae58aca1a607a5c63a2a452757d6faf0--idna-2.10.tar.gz
==> Downloading https://files.pythonhosted.org/packages/e4/9f/0452b459c8ba97e07c
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/ce4f2407ec2acdfd8aa5357f5d14900318ec172b8f6d77eb3cba4f9bc72db9d3--imagesize-1.2.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/64/a7/45e11eebf2f15bf987
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/35edb62c9dadaf8a485c3064d37cdab7bbbc38de4365ade27167eff7bfe70ef1--Jinja2-2.11.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfa
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/ef7c3d863a1666e25931c26c999dd56b38582d198b145c01c2909f386351bc46--MarkupSafe-1.1.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/55/fd/fc1aca9cf51ed2f2c1
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/618253f89f8800b545faf121702b2204b673a275fb39b80c65ced932f251f034--packaging-20.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/5d/0e/ff13c055b014d634ed
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/3f5e8c5dd84d5fe9df30847774768dfee7fcd4838a3d7bcf5da71eba0fcd5224--Pygments-2.7.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/c1/47/dfc9c342c9842bbe00
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/f62c96d488908268a2499dd686ece4b13d1deb6000d0cbda1fc4742d22397d0e--pyparsing-2.4.7.tar.gz
==> Downloading https://files.pythonhosted.org/packages/09/07/448a8887c719545060
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/dd971a84c902bf675b90c04965899326f00110c5395df7d08d76084e85379eb5--pytz-2020.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/da/67/672b422d9daf073652
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/7e1ce5456c1e5077e6702980eb352f8eca9dc685bf8b03f5376e6311756bb99d--requests-2.24.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f4
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/e99698a932bde9f5fb8ca552923ae339984f284e1c7764df95c12175f573c0d7--six-1.15.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/21/1b/6b8bbee253195c61ae
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/548ae4f5d5a61192f0db37a495ba492b82ce584701c64246b178a37278210c2a--snowballstemmer-2.0.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/9f/01/ad9d4ebbceddbed997
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/1570c2b2bf9ce0b9c5e994a7ada997dff2474f85f5a7db7f3d27644d82bdf0e7--sphinxcontrib-applehelp-1.0.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/98/33/dc28393f16385f722c
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/857c58712c97e9ef60252ece34766e3701540fa8bc51528ce47b4cc90dc1d90c--sphinxcontrib-devhelp-1.0.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/c9/2e/a7a5fef38327b7f643
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/9b0d74c2bbdeb91290b2d9a1c27e660211551417f3a88e1925c7e94d970a6ed0--sphinxcontrib-htmlhelp-1.0.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/b2/e8/9ed3830aeed71f17c0
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/0cac3fdf6ce0ddabef294d3fbde4de8265e0c47f14daaa259388f4dd1805549c--sphinxcontrib-jsmath-1.0.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/b1/8e/c4846e59f38a5f2b4a
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/8e4c6f7bdec732ed005f10a8bfc2cb56e0487656133ad214825ab85e0beecfbd--sphinxcontrib-qthelp-1.0.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ac/86/021876a9dd4eac9dae
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/7d31dacff6edf58aa41b3a127e8f3c8040b26e29b936fbfe56b1946997216127--sphinxcontrib-serializinghtml-1.1.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/76/d9/bbbafc76b18da70645
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/47890e4c7cab2e21b9889016c51732facbd7d61d69aad84c6f091bdd872be0af--urllib3-1.25.11.tar.gz
==> Downloading https://files.pythonhosted.org/packages/e7/66/e9bc0151c3d796f262
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/02f3fe919e20769777befaee72a243800cc9a2996c6ca0f262dd1b9c6c2f354b--Sphinx-3.3.0.tar.gz
==> Downloading https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/bb11533563004cdfcffb2210c073677f4146dbea89c1b48e9471a96cb1be0069--cmake-3.18.4.tar.gz
Error: cmake 3.18.2 is already installed
To upgrade to 3.18.4, run `brew upgrade cmake`.
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/33a9d
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/573dcefa80443b028c1a54ab98b23a130bbef9e8a696e6682d2ff29dbcfdcb18--arm64-3.9.patch
==> Downloading https://files.pythonhosted.org/packages/a7/e0/30642b9c2df516506d
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/6c4cd84935cccfee61e433509bdda7951ea6b77ae5db203b1e708eea72d93603--setuptools-50.3.2.zip
==> Downloading https://files.pythonhosted.org/packages/0b/f5/be8e741434a4bf4ce5
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/8420c2f6f4c2831dfbd1b0e1caa05c0c044729c31b52f8884a785a56038ad0e7--pip-20.2.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/83/72/611c121b6bd15479cb
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/1aa1a9563d6af09f2712c180679dfd512aac6c710fc3fb573175e88eaa7c6de3--wheel-0.35.1.tar.gz
==> Downloading https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tar.xz
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/d37370983bfa2dfe731256050c2097e61210550756783e4623a6eb9a8812b210--Python-3.9.0.tar.xz
==> Downloading https://files.pythonhosted.org/packages/06/8c/eb8a0ae49eba5be054
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/b4e86049c816dde47c7a914a6db0f94a5688cb385de88d3bb08edd041e561aa6--virtualenv-20.1.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/d7/d8/05696357e0311f5b5c
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/d46628d315f103ea527907020cf5f6c94365bbb549783f75a794526482afb672--appdirs-1.4.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/2f/83/1eba07997b8ba58d92
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/b25916e85753e80fccf86f2f1ba088b86d1a82c93cd36bdb72613c81cb830c55--distlib-0.3.1.zip
==> Downloading https://files.pythonhosted.org/packages/14/ec/6ee2168387ce015463
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/6132211d03cc3113b135a5b72510e3b6ea1df5bf527eb89d71c3f45085c252a7--filelock-3.0.12.tar.gz
==> Downloading https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f4
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/e99698a932bde9f5fb8ca552923ae339984f284e1c7764df95c12175f573c0d7--six-1.15.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f8
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/6fe7e7241e703f9e3f03f1600efd5a1f03bb466b8bc79871d35be3da87239d71--alabaster-0.7.12.tar.gz
==> Downloading https://files.pythonhosted.org/packages/34/18/8706cfa5b2c73f5a54
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/8d4c478d299c27ce1162824cbaa27104239a9a486c58cc763a911281d905d0ea--Babel-2.8.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/40/a7/ded59fa294b85ca206
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/6d38870043164763b1340f7ac33977f902c5fe9864bc10e7fe2b25fa55064281--certifi-2020.6.20.tar.gz
==> Downloading https://files.pythonhosted.org/packages/fc/bb/a5768c230f9ddb03ac
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/de28644dd0ba2aaf30228e9b28ba90366e333e7a34e1b1f97cf85d0edd0cb278--chardet-3.0.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/2f/e0/3d435b34abd2d62e82
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/bee502905dc3428f44a8c0cb547106a3931a395c3c2cf973848a0c0032fc0998--docutils-0.16.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ea/b7/e0e3c1c467636186c3
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/70659672fb0872c9cfb410161104337eae58aca1a607a5c63a2a452757d6faf0--idna-2.10.tar.gz
==> Downloading https://files.pythonhosted.org/packages/e4/9f/0452b459c8ba97e07c
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/ce4f2407ec2acdfd8aa5357f5d14900318ec172b8f6d77eb3cba4f9bc72db9d3--imagesize-1.2.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/64/a7/45e11eebf2f15bf987
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/35edb62c9dadaf8a485c3064d37cdab7bbbc38de4365ade27167eff7bfe70ef1--Jinja2-2.11.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfa
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/ef7c3d863a1666e25931c26c999dd56b38582d198b145c01c2909f386351bc46--MarkupSafe-1.1.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/55/fd/fc1aca9cf51ed2f2c1
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/618253f89f8800b545faf121702b2204b673a275fb39b80c65ced932f251f034--packaging-20.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/5d/0e/ff13c055b014d634ed
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/3f5e8c5dd84d5fe9df30847774768dfee7fcd4838a3d7bcf5da71eba0fcd5224--Pygments-2.7.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/c1/47/dfc9c342c9842bbe00
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/f62c96d488908268a2499dd686ece4b13d1deb6000d0cbda1fc4742d22397d0e--pyparsing-2.4.7.tar.gz
==> Downloading https://files.pythonhosted.org/packages/09/07/448a8887c719545060
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/dd971a84c902bf675b90c04965899326f00110c5395df7d08d76084e85379eb5--pytz-2020.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/da/67/672b422d9daf073652
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/7e1ce5456c1e5077e6702980eb352f8eca9dc685bf8b03f5376e6311756bb99d--requests-2.24.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f4
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/e99698a932bde9f5fb8ca552923ae339984f284e1c7764df95c12175f573c0d7--six-1.15.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/21/1b/6b8bbee253195c61ae
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/548ae4f5d5a61192f0db37a495ba492b82ce584701c64246b178a37278210c2a--snowballstemmer-2.0.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/9f/01/ad9d4ebbceddbed997
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/1570c2b2bf9ce0b9c5e994a7ada997dff2474f85f5a7db7f3d27644d82bdf0e7--sphinxcontrib-applehelp-1.0.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/98/33/dc28393f16385f722c
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/857c58712c97e9ef60252ece34766e3701540fa8bc51528ce47b4cc90dc1d90c--sphinxcontrib-devhelp-1.0.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/c9/2e/a7a5fef38327b7f643
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/9b0d74c2bbdeb91290b2d9a1c27e660211551417f3a88e1925c7e94d970a6ed0--sphinxcontrib-htmlhelp-1.0.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/b2/e8/9ed3830aeed71f17c0
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/0cac3fdf6ce0ddabef294d3fbde4de8265e0c47f14daaa259388f4dd1805549c--sphinxcontrib-jsmath-1.0.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/b1/8e/c4846e59f38a5f2b4a
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/8e4c6f7bdec732ed005f10a8bfc2cb56e0487656133ad214825ab85e0beecfbd--sphinxcontrib-qthelp-1.0.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ac/86/021876a9dd4eac9dae
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/7d31dacff6edf58aa41b3a127e8f3c8040b26e29b936fbfe56b1946997216127--sphinxcontrib-serializinghtml-1.1.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/76/d9/bbbafc76b18da70645
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/47890e4c7cab2e21b9889016c51732facbd7d61d69aad84c6f091bdd872be0af--urllib3-1.25.11.tar.gz
==> Downloading https://files.pythonhosted.org/packages/e7/66/e9bc0151c3d796f262
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/02f3fe919e20769777befaee72a243800cc9a2996c6ca0f262dd1b9c6c2f354b--Sphinx-3.3.0.tar.gz
==> Downloading https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/bb11533563004cdfcffb2210c073677f4146dbea89c1b48e9471a96cb1be0069--cmake-3.18.4.tar.gz
==> Downloading https://github.com/ninja-build/ninja/commit/2f3e5275e2ea67cb6344
######################################################################## 100.0%
==> Downloading https://github.com/ninja-build/ninja/archive/v1.10.1.tar.gz
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/d0aa9bad5dd53f5822123f0a4f79d76f23c7921c6f076b2a92b20bf3ac80b137--ninja-1.10.1.tar.gz
Error: ninja 1.10.1_1 is already installed
To upgrade to 1.10.1_3, run `brew upgrade ninja`.
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/33a9d
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/573dcefa80443b028c1a54ab98b23a130bbef9e8a696e6682d2ff29dbcfdcb18--arm64-3.9.patch
==> Downloading https://files.pythonhosted.org/packages/a7/e0/30642b9c2df516506d
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/6c4cd84935cccfee61e433509bdda7951ea6b77ae5db203b1e708eea72d93603--setuptools-50.3.2.zip
==> Downloading https://files.pythonhosted.org/packages/0b/f5/be8e741434a4bf4ce5
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/8420c2f6f4c2831dfbd1b0e1caa05c0c044729c31b52f8884a785a56038ad0e7--pip-20.2.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/83/72/611c121b6bd15479cb
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/1aa1a9563d6af09f2712c180679dfd512aac6c710fc3fb573175e88eaa7c6de3--wheel-0.35.1.tar.gz
==> Downloading https://www.python.org/ftp/python/3.9.0/Python-3.9.0.tar.xz
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/d37370983bfa2dfe731256050c2097e61210550756783e4623a6eb9a8812b210--Python-3.9.0.tar.xz
==> Downloading https://files.pythonhosted.org/packages/06/8c/eb8a0ae49eba5be054
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/b4e86049c816dde47c7a914a6db0f94a5688cb385de88d3bb08edd041e561aa6--virtualenv-20.1.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/d7/d8/05696357e0311f5b5c
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/d46628d315f103ea527907020cf5f6c94365bbb549783f75a794526482afb672--appdirs-1.4.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/2f/83/1eba07997b8ba58d92
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/b25916e85753e80fccf86f2f1ba088b86d1a82c93cd36bdb72613c81cb830c55--distlib-0.3.1.zip
==> Downloading https://files.pythonhosted.org/packages/14/ec/6ee2168387ce015463
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/6132211d03cc3113b135a5b72510e3b6ea1df5bf527eb89d71c3f45085c252a7--filelock-3.0.12.tar.gz
==> Downloading https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f4
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/e99698a932bde9f5fb8ca552923ae339984f284e1c7764df95c12175f573c0d7--six-1.15.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f8
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/6fe7e7241e703f9e3f03f1600efd5a1f03bb466b8bc79871d35be3da87239d71--alabaster-0.7.12.tar.gz
==> Downloading https://files.pythonhosted.org/packages/34/18/8706cfa5b2c73f5a54
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/8d4c478d299c27ce1162824cbaa27104239a9a486c58cc763a911281d905d0ea--Babel-2.8.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/40/a7/ded59fa294b85ca206
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/6d38870043164763b1340f7ac33977f902c5fe9864bc10e7fe2b25fa55064281--certifi-2020.6.20.tar.gz
==> Downloading https://files.pythonhosted.org/packages/fc/bb/a5768c230f9ddb03ac
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/de28644dd0ba2aaf30228e9b28ba90366e333e7a34e1b1f97cf85d0edd0cb278--chardet-3.0.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/2f/e0/3d435b34abd2d62e82
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/bee502905dc3428f44a8c0cb547106a3931a395c3c2cf973848a0c0032fc0998--docutils-0.16.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ea/b7/e0e3c1c467636186c3
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/70659672fb0872c9cfb410161104337eae58aca1a607a5c63a2a452757d6faf0--idna-2.10.tar.gz
==> Downloading https://files.pythonhosted.org/packages/e4/9f/0452b459c8ba97e07c
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/ce4f2407ec2acdfd8aa5357f5d14900318ec172b8f6d77eb3cba4f9bc72db9d3--imagesize-1.2.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/64/a7/45e11eebf2f15bf987
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/35edb62c9dadaf8a485c3064d37cdab7bbbc38de4365ade27167eff7bfe70ef1--Jinja2-2.11.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfa
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/ef7c3d863a1666e25931c26c999dd56b38582d198b145c01c2909f386351bc46--MarkupSafe-1.1.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/55/fd/fc1aca9cf51ed2f2c1
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/618253f89f8800b545faf121702b2204b673a275fb39b80c65ced932f251f034--packaging-20.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/5d/0e/ff13c055b014d634ed
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/3f5e8c5dd84d5fe9df30847774768dfee7fcd4838a3d7bcf5da71eba0fcd5224--Pygments-2.7.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/c1/47/dfc9c342c9842bbe00
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/f62c96d488908268a2499dd686ece4b13d1deb6000d0cbda1fc4742d22397d0e--pyparsing-2.4.7.tar.gz
==> Downloading https://files.pythonhosted.org/packages/09/07/448a8887c719545060
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/dd971a84c902bf675b90c04965899326f00110c5395df7d08d76084e85379eb5--pytz-2020.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/da/67/672b422d9daf073652
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/7e1ce5456c1e5077e6702980eb352f8eca9dc685bf8b03f5376e6311756bb99d--requests-2.24.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f4
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/e99698a932bde9f5fb8ca552923ae339984f284e1c7764df95c12175f573c0d7--six-1.15.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/21/1b/6b8bbee253195c61ae
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/548ae4f5d5a61192f0db37a495ba492b82ce584701c64246b178a37278210c2a--snowballstemmer-2.0.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/9f/01/ad9d4ebbceddbed997
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/1570c2b2bf9ce0b9c5e994a7ada997dff2474f85f5a7db7f3d27644d82bdf0e7--sphinxcontrib-applehelp-1.0.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/98/33/dc28393f16385f722c
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/857c58712c97e9ef60252ece34766e3701540fa8bc51528ce47b4cc90dc1d90c--sphinxcontrib-devhelp-1.0.2.tar.gz
==> Downloading https://files.pythonhosted.org/packages/c9/2e/a7a5fef38327b7f643
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/9b0d74c2bbdeb91290b2d9a1c27e660211551417f3a88e1925c7e94d970a6ed0--sphinxcontrib-htmlhelp-1.0.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/b2/e8/9ed3830aeed71f17c0
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/0cac3fdf6ce0ddabef294d3fbde4de8265e0c47f14daaa259388f4dd1805549c--sphinxcontrib-jsmath-1.0.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/b1/8e/c4846e59f38a5f2b4a
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/8e4c6f7bdec732ed005f10a8bfc2cb56e0487656133ad214825ab85e0beecfbd--sphinxcontrib-qthelp-1.0.3.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ac/86/021876a9dd4eac9dae
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/7d31dacff6edf58aa41b3a127e8f3c8040b26e29b936fbfe56b1946997216127--sphinxcontrib-serializinghtml-1.1.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/76/d9/bbbafc76b18da70645
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/47890e4c7cab2e21b9889016c51732facbd7d61d69aad84c6f091bdd872be0af--urllib3-1.25.11.tar.gz
==> Downloading https://files.pythonhosted.org/packages/e7/66/e9bc0151c3d796f262
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/02f3fe919e20769777befaee72a243800cc9a2996c6ca0f262dd1b9c6c2f354b--Sphinx-3.3.0.tar.gz
==> Downloading https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake
Already downloaded: /Users/tim/Library/Caches/Homebrew/downloads/bb11533563004cdfcffb2210c073677f4146dbea89c1b48e9471a96cb1be0069--cmake-3.18.4.tar.gz
==> Downloading https://github.com/llvm/llvm-project/commit/c86f56e32e724c6018e5
######################################################################## 100.0%
==> Downloading https://github.com/llvm/llvm-project/commit/31e5f7120bdd2f763376
######################################################################## 100.0%
==> Downloading https://github.com/llvm/llvm-project/commit/3c7bfbd6831b21442297
######################################################################## 100.0%
==> Downloading https://github.com/llvm/llvm-project/commit/c4d7536136b331bada07
######################################################################## 100.0%
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/6166a
######################################################################## 100.0%
==> Downloading https://github.com/llvm/llvm-project/releases/download/llvmorg-1
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws
######################################################################## 100.0%
==> Installing dependencies for llvm: python@3.9, sphinx-doc and cmake
==> Installing llvm dependency: python@3.9
==> Patching
==> Applying arm64-3.9.patch
patching file Lib/_osx_support.py
patching file Lib/ctypes/macholib/dyld.py
patching file Lib/ctypes/test/test_macholib.py
patching file Lib/distutils/tests/test_build_ext.py
patching file Lib/test/test_bytes.py
patching file Lib/test/test_platform.py
patching file Lib/test/test_posix.py
patching file Lib/test/test_time.py
patching file Lib/test/test_unicode.py
patching file Mac/BuildScript/build-installer.py
patching file Mac/README.rst
patching file Mac/Tools/pythonw.c
patching file Modules/_ctypes/callbacks.c
patching file Modules/_ctypes/callproc.c
patching file Modules/_ctypes/ctypes.h
patching file Modules/_ctypes/malloc_closure.c
patching file Modules/getpath.c
patching file Modules/posixmodule.c
patching file Modules/timemodule.c
patching file Python/bootstrap_hash.c
patching file Python/pytime.c
patching file configure
patching file configure.ac
patching file pyconfig.h.in
patching file setup.py
==> ./configure --prefix=/usr/local/Cellar/python@3.9/3.9.0_1 --enable-ipv6 --da
==> make
Last 15 lines from /Users/tim/Library/Logs/Homebrew/python@3.9/02.make:
clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_uuidmodule.o -L/usr/local/lib -o build/lib.macosx-11.0-arm64-3.9/_uuid.cpython-39-darwin.so
clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/xxlimited.o -L/usr/local/lib -o build/lib.macosx-11.0-arm64-3.9/xxlimited.cpython-39-darwin.so
clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_multiprocessing/multiprocessing.o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_multiprocessing/semaphore.o -L/usr/local/lib -o build/lib.macosx-11.0-arm64-3.9/_multiprocessing.cpython-39-darwin.so
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -DWITH_APPINIT=1 -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tcl.framework/Headers -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Headers -I./Include -I. -I/usr/local/include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0 -c /private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/tkappinit.c -o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/tkappinit.o -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks -Wno-strict-prototypes
clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_tkinter.o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/tkappinit.o -L/usr/local/lib -o build/lib.macosx-11.0-arm64-3.9/_tkinter.cpython-39-darwin.so -Wl,-F,/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks,-framework,Tcl,-framework,Tk
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I_ctypes/darwin -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include/ffi -I./Include -I. -I/usr/local/include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0 -c /private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/callbacks.c -o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/callbacks.o -DPy_BUILD_CORE_MODULE -DUSING_MALLOC_CLOSURE_DOT_C=1 -DMACOSX -DUSING_APPLE_OS_LIBFFI=1 -DHAVE_FFI_PREP_CIF_VAR=1 -DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I_ctypes/darwin -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include/ffi -I./Include -I. -I/usr/local/include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0 -c /private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/callproc.c -o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/callproc.o -DPy_BUILD_CORE_MODULE -DUSING_MALLOC_CLOSURE_DOT_C=1 -DMACOSX -DUSING_APPLE_OS_LIBFFI=1 -DHAVE_FFI_PREP_CIF_VAR=1 -DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -DHAVE_EXPAT_CONFIG_H=1 -DXML_POOR_ENTROPY=1 -DUSE_PYEXPAT_CAPI -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/expat -I./Include -I. -I/usr/local/include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0 -c /private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/pyexpat.c -o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/pyexpat.o -Wno-unreachable-code
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I_ctypes/darwin -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include/ffi -I./Include -I. -I/usr/local/include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0 -c /private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/cfield.c -o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/cfield.o -DPy_BUILD_CORE_MODULE -DUSING_MALLOC_CLOSURE_DOT_C=1 -DMACOSX -DUSING_APPLE_OS_LIBFFI=1 -DHAVE_FFI_PREP_CIF_VAR=1 -DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I_ctypes/darwin -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include/ffi -I./Include -I. -I/usr/local/include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0 -c /private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/malloc_closure.c -o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/malloc_closure.o -DPy_BUILD_CORE_MODULE -DUSING_MALLOC_CLOSURE_DOT_C=1 -DMACOSX -DUSING_APPLE_OS_LIBFFI=1 -DHAVE_FFI_PREP_CIF_VAR=1 -DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1
clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/expat/xmlparse.o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/expat/xmlrole.o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/expat/xmltok.o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/pyexpat.o -L/usr/local/lib -o build/lib.macosx-11.0-arm64-3.9/pyexpat.cpython-39-darwin.so
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I_ctypes/darwin -I/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include/ffi -I./Include -I. -I/usr/local/include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Include -I/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0 -c /private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/stgdict.c -o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/stgdict.o -DPy_BUILD_CORE_MODULE -DUSING_MALLOC_CLOSURE_DOT_C=1 -DMACOSX -DUSING_APPLE_OS_LIBFFI=1 -DHAVE_FFI_PREP_CIF_VAR=1 -DHAVE_FFI_PREP_CLOSURE_LOC=1 -DHAVE_FFI_CLOSURE_ALLOC=1
clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/_ctypes.o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/callbacks.o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/callproc.o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/cfield.o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/malloc_closure.o build/temp.macosx-11.0-arm64-3.9/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0/Modules/_ctypes/stgdict.o -L/usr/local/lib -lffi -ldl -o build/lib.macosx-11.0-arm64-3.9/_ctypes.cpython-39-darwin.so
/bin/sh: line 1: 19720 Killed: 9               DYLD_FRAMEWORK_PATH=/private/tmp/python@3.9-20201111-11497-1xi5vrg/Python-3.9.0 CC='clang' LDSHARED='clang -bundle -undefined dynamic_lookup -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk   ' OPT='-DNDEBUG -g -fwrapv -O3 -Wall' _TCLTK_INCLUDES='' _TCLTK_LIBS='' ./python.exe -E ./setup.py $quiet build
make: *** [sharedmods] Error 137

Do not report this issue to Homebrew/brew or Homebrew/core!

These open issues may also help:
`brew install awscli` depends on python 3.9 fails installation  https://github.com/Homebrew/homebrew-core/issues/63990
Problem installing matplotlib for jupyterlab venv in python 3.9 https://github.com/Homebrew/homebrew-core/issues/63544
gjs: migrate to python@3.9 https://github.com/Homebrew/homebrew-core/pull/63464
onnxruntime: migrate to python@3.9 https://github.com/Homebrew/homebrew-core/pull/63358
twtxt: migrate to python@3.9 https://github.com/Homebrew/homebrew-core/pull/62449
binwalk: migrate to python@3.9 https://github.com/Homebrew/homebrew-core/pull/62260
global: migrate to python@3.9 https://github.com/Homebrew/homebrew-core/pull/62319
distcc: migrate to python@3.9 https://github.com/Homebrew/homebrew-core/pull/62288
keepassc: migrate to python@3.9 https://github.com/Homebrew/homebrew-core/pull/62341
Beats 7.9.3 and python@3.9 migration https://github.com/Homebrew/homebrew-core/pull/63381

Error: You are using macOS 11.0.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this pre-release version.
MaxDesiatov commented 3 years ago

@0xTim thanks for the update! It does look like a Python 3.9 issue. Let's hope that after Big Sur is officially released in a couple of days they'll prioritise fixing this.

MaxDesiatov commented 3 years ago

Probably need to wait for this commit to land in some patch version of Python 3.9 https://github.com/python/cpython/commit/41761933c1c30bb6003b65eef1ba23a83db4eae4

MaxDesiatov commented 3 years ago

And here's an umbrella issue in their bug tracker https://bugs.python.org/issue41100

MaxDesiatov commented 3 years ago

Python can be installed now, but I'm having problems with sccache: https://github.com/mozilla/sccache/issues/880

MaxDesiatov commented 3 years ago

BTW, our binary toolchain built on x86 Catalina works without issue so far, apparently Rosetta kicks in automatically. 🤩

MaxDesiatov commented 3 years ago

Another important dependency that isn't supported on Apple Silicon yet is Wasmer: https://github.com/wasmerio/wasmer/issues/1814

ephemer commented 3 years ago

@MaxDesiatov looks like the Wasmer, sccache and python issues are resolved now. Can this ticket be closed?

MaxDesiatov commented 3 years ago

Thanks for checking, I'll keep this open until we have CI set up for Apple Silicon. I've also clarified the title to point our that we're primarily interested in Big Sur for Apple Silicon. Catalina builds for x86 should work fine on x86 Big Sur.

MaxDesiatov commented 3 years ago

Closing as resolved. 5.5 and dev snapshots had arm64 archives for a while now, I just need to update carton to detect them, which is tracked in https://github.com/swiftwasm/carton/issues/262