You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the `--cask` flag.
Warning: cmake 3.29.2 is already installed and up-to-date.
To reinstall 3.29.2, run:
brew reinstall cmake
Warning: pkg-config 0.29.2_3 is already installed and up-to-date.
To reinstall 0.29.2_3, run:
brew reinstall pkg-config
Error: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew)!
To rerun under ARM use:
arch -arm64 brew install ...
To install under x86_64, install Homebrew into /usr/local.
Error: Process completed with exit code 1.
I noticed that running uname -m returns x86_64. That seems a little fishy if the image is actually arm64.
ReenigneArcher
changed the title
macOS-14 (latest) homebrew confused about cpu architecture since
macOS-14 (latest) homebrew confused about cpu architecture
Apr 28, 2024
Hello @ReenigneArcher. Thanks for your report. Unfortunately we do not maintain CodeQL here. Please fill related in github/codeql-action repo . I am closing this issue as not runner-images related but if you have additional questions feel free to ask.
Description
macos-latest tag now points to macos-14-arm64, under this architecture homebrew has issues installing some packages.
The following command:
Results in:
I noticed that running
uname -m
returnsx86_64
. That seems a little fishy if the image is actuallyarm64
.Platforms affected
Runner images affected
Image version and build link
Image: macos-14-arm64
Version: 20240422.3
Included Software: https://github.com/actions/runner-images/blob/macos-14-arm64/20240422.3/images/macos/macos-14-arm64-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-14-arm64%2F20240422.3
Is it regression?
Yes. macos-12 (when it was macos-latest) https://github.com/actions/runner-images/releases/tag/macOS-12%2F20240418.1
Expected behavior
Homebrew properly detects image architecture, and uname properly reports it.
Actual behavior
Homebrew doesn't properly detect image architecture and uname doesn't properly report it.
Repro steps
Run this workflow: https://github.com/ReenigneArcher/brew-error-reproduction/blob/master/.github/workflows/brew_error.yml
The text was updated successfully, but these errors were encountered: