Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Installation issue: #82

Closed
jose-elias-alvarez opened this issue Oct 22, 2024 · 2 comments
Closed

[Bug] Installation issue: #82

jose-elias-alvarez opened this issue Oct 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jose-elias-alvarez
Copy link

Describe the Bug

Running brew install qmk/qmk/qmk errors out at the following step:

==> Installing qmk/qmk/qmk
==> Pouring qmk--1.1.5_1.arm64_sonoma.bottle.tar.gz
Error: No such file or directory - /opt/homebrew/bin/qmk

This leaves a qmk executable in $PATH, but trying to run it throws a different error:

exec: Failed to execute process '/opt/homebrew/bin/qmk': The file specified the interpreter '/opt/homebrew/Cellar/qmk/1.1.5_1/libexec/bin/python', which is not an executable command.

cat /opt/homebrew/bin/qmk shows the following shebang:

#!/opt/homebrew/Cellar/qmk/1.1.5_1/libexec/bin/python

On my system, that's a symlink pointing at the following:

/opt/homebrew/Cellar/qmk/1.1.5_1/libexec/bin/python@ -> ../../../../../opt/[email protected]/Frameworks/Python.framework/Versions/3.12/bin/python3.12

That file doesn't exist, so I tried brew install [email protected] and everything works, but if that specific Python version is a dependency of the qmk formula, I don't know why it was missing.

Additional Context?

I am on an M1 MacBook Pro running macOS Sequoia 15.0.1.

I would normally assume that something is wrong with my system, but I reinstalled QMK via Homebrew a couple of weeks ago without issues, so I don't know what changed. I also spotted this issue on the main QMK repo, indicating that others may be having the same issue.

@jose-elias-alvarez jose-elias-alvarez added the bug Something isn't working label Oct 22, 2024
@fauxpark
Copy link
Member

The qmk formula depends on python, which I guess is now pointed at [email protected], however the bottle would have been built for 3.12 (hence why it can't find that installation and works after manually installing). I'll get the formula updated in a bit.

@fauxpark
Copy link
Member

Should be fixed as of #83.

I've added the Sequoia runner to the test-bot workflow so that GHA can build and publish bottles for it, but the AVR and ARM toolchains over on osx-cross need to be bottled for Sequoia first for that to work. For the moment Brew should simply download the Sonoma bottle instead and that'll work just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants