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
If I run ci-macos.yml with runs-on: macos-13 (or 12) instead of runs-on: macos-latest it works, which is the quick fix.
But, if I run it on macos-latest aka macos-14:
First it complains that libtool is missing (ref) and when pip3 installs build it refuses to install the package due to it being an "externally-managed-environment" (ref). OK, so I work around it with the following:
Thanks for your analysis @Ben-Meister. The last piece of the puzzle is that on ARM macs, Homebrew gets installed in /opt/homebrew instead of /usr/local for some reason, and this path is not included in the default include / linker paths, so we have to add it manually.
From
https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image :
Additionally, per the Current List of Images (https://github.com/actions/runner-images),
macos-latest
is pointing tomacos-14
which is arm64, not x64.If I run
ci-macos.yml
withruns-on: macos-13
(or 12) instead ofruns-on: macos-latest
it works, which is the quick fix.But, if I run it on
macos-latest
akamacos-14
:First it complains that
libtool
is missing (ref) and when pip3 installs build it refuses to install the package due to it being an "externally-managed-environment" (ref). OK, so I work around it with the following:But now we get the following when it's time to build:
And it didn't throw any error when installing hidapi earlier:
I have attached logs from the bad runs and a good run for reference.
1-logs_23416837081 Externally Managed Error.zip
2-logs_23417917674 libtool Missing.zip
3-logs_23418156127 libhidapi Missing.zip
logs_23419707015 GOOD OSX 12 run.zip
The text was updated successfully, but these errors were encountered: