The first ARM (Apple Silicon) bottles are here, help us test them
Help needed
Our Apple Silicon CI is ready, hardware- and software-wise. We have built our first ARM bottles, and they are working fine on our testing machines. But before we go on building as many bottles as possible, we want to have more exposure of these bottles, and gather feedback. There are, necessarily, some kinks to work out in brew itself (and its bottling process) for ARM, since we're deploying to a new platform, and we want to make sure we identify as many as possible before we start mass-bottling.
What can you do? Test those new ARM bottles on your ARM Macs, and report below if you have any failure, problem, or other weirdness.
How to report an issue? Create a post below, and include:
- what you were doing (the command)
- what the output was (and give the full output in a link)
- the output of
brew configin all cases (without it, for us it's like using a crystal ball)
What bottles are available?
autoconf automake bash bison boost
c-ares cairo cmake cscope fontconfig
freetype gdbm gettext git glib
gmp icu4c isl jpeg jsonlint
krb5 libevent libffi libomp libpng
libsodium libtiff libtool libyaml little-cms2
lua lzo meson mpfr mysql
ncurses ninja node [email protected] p11-kit
pcre pcre2 perl pixman pkg-config
protobuf [email protected] readline ruby sphinx-doc
sqlite tcl-tk vim xz zsh
List available with:
cd $(brew --repo homebrew/core)/Formula ; grep -l :arm64_big_sur *.rb | sed 's/.rb$//' | xargs
Do you want any confirmation that something works as expected, or only specific issues found?
@unitof good question. Things should be working, and I don't want to be flooded with “works for me too”-type posts, so let's go for: please only report issues/negative outcomes/problems with the bottles.
On the other hand, if things are working for you with one or more of these bottle, a 🚀 or ❤️ or other emoji response to this post will let me count if people have been actively testing, or not.
In the list of bottles for ARM is node. But when I tried to install it homebrew started compiling node. Dependencies (gdbm, xz, [email protected], icu4c) were installed without any compilation.
$ brew install node
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 1 formula.
Warning: You are running macOS on a arm64 CPU architecture.
We do not provide support for this (yet).
Reinstall Homebrew under Rosetta 2 until we support it.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
unsupported configuration.
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.18.1_1.arm64_big_sur.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/d5ae1727d7a669559f4f9333d165006ee5d2d7282a3e3a7aa1a28fddcdac6da2?response-content-disposition=attachment%3Bfilename%3D%22gdbm-1.18.1_1.arm64_big_
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.5.arm64_big_sur.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/409cface94d33051d3d5280af662e99c3e9d19a2a44d64e1d09a8af9717495d7?response-content-disposition=attachment%3Bfilename%3D%22xz-5.2.5.arm64_big_sur.b
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/python%403.9-3.9.0_5.arm64_big_sur.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/5d890c25f640aa43b37102c7a922a723fa94886f8c8acb1e916eb267c297d526?response-content-disposition=attachment%3Bfilename%3D%22python%403.9-3.9.0_5.arm
######################################################################## 100.0%
==> Downloading https://homebrew.bintray.com/bottles/icu4c-67.1.arm64_big_sur.bottle.tar.gz
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/0d03423f2a4a557fc04a021fad963ab71d05b9129693887522dde996aff8c9f9?response-content-disposition=attachment%3Bfilename%3D%22icu4c-67.1.arm64_big_sur
######################################################################## 100.0%
==> Downloading https://registry.npmjs.org/npm/-/npm-7.0.15.tgz
######################################################################## 100.0%
==> Downloading https://nodejs.org/dist/v15.4.0/node-v15.4.0.tar.gz
######################################################################## 100.0%
==> Installing dependencies for node: gdbm, xz, [email protected] and icu4c
==> Installing node dependency: gdbm
==> Pouring gdbm-1.18.1_1.arm64_big_sur.bottle.tar.gz
🍺 /opt/homebrew/Cellar/gdbm/1.18.1_1: 25 files, 876.2KB
==> Installing node dependency: xz
==> Pouring xz-5.2.5.arm64_big_sur.bottle.tar.gz
🍺 /opt/homebrew/Cellar/xz/5.2.5: 95 files, 1.4MB
==> Installing node dependency: [email protected]
==> Pouring [email protected]_5.arm64_big_sur.bottle.tar.gz
==> /opt/homebrew/Cellar/[email protected]/3.9.0_5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/opt/homebrew/Cellar/[email protected]/3.9.0_5/bin --install-lib=/opt/homebrew/lib/py
==> /opt/homebrew/Cellar/[email protected]/3.9.0_5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/opt/homebrew/Cellar/[email protected]/3.9.0_5/bin --install-lib=/opt/homebrew/lib/py
==> /opt/homebrew/Cellar/[email protected]/3.9.0_5/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/opt/homebrew/Cellar/[email protected]/3.9.0_5/bin --install-lib=/opt/homebrew/lib/py
==> Caveats
Python has been installed as
/opt/homebrew/bin/python3
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
/opt/homebrew/opt/[email protected]/libexec/bin
You can install Python packages with
pip3 install <package>
They will install into the site-package directory
/opt/homebrew/lib/python3.9/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺 /opt/homebrew/Cellar/[email protected]/3.9.0_5: 4,453 files, 72.8MB
==> Installing node dependency: icu4c
==> Pouring icu4c-67.1.arm64_big_sur.bottle.tar.gz
==> Caveats
icu4c is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS provides libicucore.dylib (but nothing else).
If you need to have icu4c first in your PATH run:
echo 'export PATH="/opt/homebrew/opt/icu4c/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="/opt/homebrew/opt/icu4c/sbin:$PATH"' >> ~/.zshrc
For compilers to find icu4c you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/icu4c/lib"
export CPPFLAGS="-I/opt/homebrew/opt/icu4c/include"
For pkg-config to find icu4c you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/icu4c/lib/pkgconfig"
==> Summary
🍺 /opt/homebrew/Cellar/icu4c/67.1: 258 files, 72.4MB
==> Installing node
==> ./configure --prefix=/opt/homebrew/Cellar/node/15.4.0 --without-npm --with-intl=system-icu
==> make install
==> node /private/tmp/node-20201209-18177-7237f/node-v15.4.0/npm_bootstrap/bin/npm-cli.js install -ddd --global --prefix=/opt/homebrew/Cellar/node/15.4.0/libexec ~/Library/Caches/Homebrew/downl
🍺 /opt/homebrew/Cellar/node/15.4.0: 3,288 files, 54.6MB, built in 11 minutes 58 seconds
==> Caveats
==> [email protected]
Python has been installed as
/opt/homebrew/bin/python3
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
/opt/homebrew/opt/[email protected]/libexec/bin
You can install Python packages with
pip3 install <package>
They will install into the site-package directory
/opt/homebrew/lib/python3.9/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
==> icu4c
icu4c is keg-only, which means it was not symlinked into /opt/homebrew,
because macOS provides libicucore.dylib (but nothing else).
If you need to have icu4c first in your PATH run:
echo 'export PATH="/opt/homebrew/opt/icu4c/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="/opt/homebrew/opt/icu4c/sbin:$PATH"' >> ~/.zshrc
For compilers to find icu4c you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/icu4c/lib"
export CPPFLAGS="-I/opt/homebrew/opt/icu4c/include"
For pkg-config to find icu4c you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/icu4c/lib/pkgconfig"
So, node has a built bottle for ARM, or not?
node has an arm bottle listed in the formula bottle block.
How to report an issue? Create a post below, and include:
- ...
- the output of brew config in all cases (without it, for us it's like using a crystal ball)
@deepj a bottle for node was built, but the node 15.4.0 update later today erased it. I am rebuilding, it should be available in ~15 minutes (brew upgrade should bring it to you)
Edit: the node bottle is back: https://github.com/Homebrew/homebrew-core/commit/231c437a1caeeb38e33ab6524a27e9bd2c0d170d
Is there a brew command that lists bottles?
Is there a
brewcommand that lists bottles?
@galak I put this together to list all bottles, part of the jq logic was from another issue in this repo. (sorry whoever you are, I don't remember 😦)
brew info --json=v1 --all | jq -r "map(select(.bottle.stable.files.arm64_big_sur) | .name) | unique | .[]"
It does take ~30s to run since it's loading all the formulae available, but it works. 🤷🏻
Here's something that will take much less than 30 seconds:
cd $(brew --repo homebrew/core)/Formula
rg -l ':arm64_big_sur'
If you don't like the .rb suffix,
cd $(brew --repo homebrew/core)/Formula
rg -l ':arm64_big_sur' | xargs -I{} basename {} .rb
You may wish to do brew update before rg to make sure your local copy of the Homebrew/core repo is up to date.
[email protected] didn't install from a bottle for me. (it did compile, just didn't come from the bottle.) literally everything else on that list worked though.
can I nominate Erlang 23.1.5 for a bottle next ;)
Thanks for the report, @idyll. Could you please include the following information?
How to report an issue? Create a post below, and include:
- what you were doing (the command)
- what the output was (and give the full output in a link)
- the output of brew config in all cases (without it, for us it's like using a crystal ball)
- brew upgrade readline
- output: https://gist.github.com/idyll/5d0760dcb080275e664014a7ee8eb0ef
- brew config:
HOMEBREW_VERSION: 2.6.1-25-gfc921bb
ORIGIN: https://github.com/Homebrew/brew
HEAD: fc921bb640f1fc60eaa263db50fbeccf3fc66324
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 93697825da4944984a7b496f565fc01f4d0c63ad
Core tap last commit: 25 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: vi
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 12.0 build 1200
Git: 2.24.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.0.1-arm64
CLT: N/A
Xcode: 12.2
Rosetta 2: false
This is why you didn't get a bottle:
Warning: Building [email protected] from source:
The bottle needs the Apple Command Line Tools to be installed.
You can install them, if desired, with:
xcode-select --install
From your brew config:
...
CLT: N/A
...
@idyll thanks for the report. The reason is stated in the output, our Python bottles need the command-line tools:
Warning: Building [email protected] from source:
The bottle needs the Apple Command Line Tools to be installed.
You can install them, if desired, with:
xcode-select --install
So it's expected behaviour that on your system (without CLT) they build from source.
Very strange. I am 99% sure I installed the CLT. But the CLT installation stuff has been so problematic with Big Sur that I think I've installed it 30 times throughout the course of the beta.
And I just tried and it installed. So. 🤷
Very strange. I am 99% sure I installed the CLT. But the CLT installation stuff has been so problematic with Big Sur that I think I've installed it 30 times throughout the course of the beta.
And I just tried and it installed. So. 🤷
In my experience, the Big Sur "Beta" + XCode "Beta" Command Line Tools often needed to be downloaded separately, specifically from the dev download portal. When the M1 arrived, I avoided the Beta Channel for this single reason.
brew install protobuf has error!
==> Downloading https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c97 Already downloaded: /Users/hejiahao/Library/Caches/Homebrew/downloads/e99698a932bde9f5fb8ca552923ae339984f284e1c7764df95c12175f573c0d7--six-1.15.0.tar.gz ==> Downloading https://github.com/protocolbuffers/protobuf/releases/download/v3.14.0/protobuf-all-3. Already downloaded: /Users/hejiahao/Library/Caches/Homebrew/downloads/703fe5ff9c3437b572add06c8fb8f734731cf4650ea84d5052c934839a14313d--protobuf-all-3.14.0.tar.gz ==> ./configure --prefix=/opt/homebrew/Cellar/protobuf/3.14.0 --with-zlib ==> make
==> make check
==> make install ==> /opt/homebrew/opt/[email protected]/bin/python3 -c import setuptools... --no-user-cfg install --prefix=/ ==> /opt/homebrew/opt/[email protected]/bin/python3 -c import setuptools... --no-user-cfg install --prefix=/ Last 15 lines from /Users/hejiahao/Library/Logs/Homebrew/protobuf/06.python3: --prefix=/opt/homebrew/Cellar/protobuf/3.14.0/libexec --install-scripts=/opt/homebrew/Cellar/protobuf/3.14.0/libexec/bin --single-version-externally-managed --record=installed.txt --cpp_implementation
Traceback (most recent call last):
File "
Do not report this issue to Homebrew/brew or Homebrew/core!
brew install [email protected]
`==> /opt/homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/bin/pip install -v --no-deps --no-binary :all: -- ==> /opt/homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/bin/pip install -v --no-deps --no-binary :all: -- ==> /opt/homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/bin/pip install -v --no-deps --no-binary :all: -- ==> /opt/homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/bin/pip install -v --no-deps --no-binary :all: -- ==> /opt/homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/bin/pip install -v --no-deps --no-binary :all: -- ==> /opt/homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/bin/pip install -v --no-deps --no-binary :all: -- Last 15 lines from /Users/hejiahao/Library/Logs/Homebrew/sphinx-doc/15.pip: requirement.install( File "/opt/Homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 856, in install six.reraise(*exc.parent) File "/opt/Homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/lib/python3.9/site-packages/pip/_vendor/six.py", line 703, in reraise raise value File "/opt/Homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/lib/python3.9/site-packages/pip/_internal/operations/install/legacy.py", line 74, in install runner( File "/opt/Homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 273, in runner call_subprocess( File "/opt/Homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 242, in call_subprocess raise InstallationError(exc_msg) pip._internal.exceptions.InstallationError: Command errored out with exit status 1: /opt/Homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-89sd1ogr/setup.py'"'"'; file='"'"'/private/tmp/pip-req-build-89sd1ogr/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-sxwedzx3/install-record.txt --single-version-externally-managed --compile --install-headers /opt/Homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/include/site/python3.9/MarkupSafe Check the logs for full command output. WARNING: You are using pip version 20.2.4; however, version 20.3.1 is available. You should consider upgrading via the '/opt/Homebrew/Cellar/sphinx-doc/3.3.1_1/libexec/bin/python -m pip install --upgrade pip' command. Removed build tracker: '/private/tmp/pip-req-tracker-dfp0nn_m'
Do not report this issue to Homebrew/brew or Homebrew/core! `
brew config :
HOMEBREW_VERSION: 2.6.0-51-gedb7496-dirty ORIGIN: https://mirrors.ustc.edu.cn/brew.git HEAD: edb7496630d3c6febab6003bf421eb072f1391bd Last commit: 8 days ago Core tap ORIGIN: https://mirrors.ustc.edu.cn/homebrew-core.git Core tap HEAD: 88132eb4a1c8993a28c1a15b6ff2b1caf1b45f22 Core tap last commit: 8 days ago Core tap branch: master HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_REPOSITORY: /opt/homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_MAKE_JOBS: 8 Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby CPU: octa-core 64-bit dunno Clang: 12.0 build 1200 Git: 2.24.3 => /Library/Developer/CommandLineTools/usr/bin/git Curl: 7.64.1 => /usr/bin/curl macOS: 11.0.1-arm64 CLT: 12.2.0.0.1.1604076827 Xcode: N/A Rosetta 2: false
Your brew and homebrew-core are out of date
Core tap HEAD: 88132eb4a1c8993a28c1a15b6ff2b1caf1b45f22Core tap last commit: 8 days ago
This is your problem. There are no ARM bottles yet at this commit hash. You can try brew update, but I'm not sure if the mirror you're using is up to date either.