qmk / homebrew-qmk Goto Github PK
View Code? Open in Web Editor NEWQMK Homebrew Formulae
License: MIT License
QMK Homebrew Formulae
License: MIT License
While attempting to run brew install qmk/qmk/qmk
, the command fails with the following output:
Cloning into '/usr/local/Homebrew/Library/Taps/qml/homebrew-qmk'...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Error: Failure while executing; `git clone https://github.com/qml/homebrew-qmk /usr/local/Homebrew/Library/Taps/qml/homebrew-qmk --origin=origin` exited with 128.
This is on Mac OS version: 10.15.7 and brew version: 3.1.2
Sonoma 14.2.1 M2 Pro
Homebrew 4.2.12
==> Installing qmk/qmk/qmk dependency: osx-cross/arm/arm-none-eabi-gcc@8
==> Patching
==> Applying gcc-11-arm-darwin.patch
patching file 'gcc/config/host-darwin.c'
==> /private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/configure --prefix=/ --target=arm-none-eabi --enable-languages=c --with-ld=/opt/homebrew/opt/arm-none-eabi-binutils/bin/arm-none-eabi-ld --with-as=/opt/homebrew/opt/arm-none-eabi-binutil
==> make all-gcc BOOT_LDFLAGS=-Wl,-headerpad_max_install_names
Last 15 lines from /Users/tim/Library/Logs/Homebrew/arm-none-eabi-gcc@8/02.make:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__format/formatter_bool.h:20:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__format/formatter_integral.h:32:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/locale:202:
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__locale:811:8: error: expected ';' at end of declaration
iscntrl(_CharT __c, const locale& __loc)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
clang++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/. -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../include -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../libcpp/include -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../libbacktrace -o collect-utils.o -MT collect-utils.o -MMD -MP -MF ./.deps/collect-utils.TPo /private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/collect-utils.c
clang++ -fno-PIE -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/. -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../include -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../libcpp/include -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../libbacktrace -o lto-wrapper.o -MT lto-wrapper.o -MMD -MP -MF ./.deps/lto-wrapper.TPo /private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/lto-wrapper.c
clang++ -fno-PIE -c -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"//lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"//libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"8.5.0\" -DDEFAULT_REAL_TARGET_MACHINE=\"arm-none-eabi\" -DDEFAULT_TARGET_MACHINE=\"arm-none-eabi\" -DSTANDARD_BINDIR_PREFIX=\"//bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" -DACCEL_DIR_SUFFIX=\"\" -DTARGET_SYSTEM_ROOT=\"/opt/homebrew/Cellar/arm-none-eabi-gcc@8/8.5.0_1\" -DCONFIGURE_SPECS="\"\"" -DTARGET_MACHINE=\"arm-none-eabi\" -DTARGET_SYSTEM_ROOT=\"/opt/homebrew/Cellar/arm-none-eabi-gcc@8/8.5.0_1\" -DPERSONALITY=\"ar\" -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/. -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../include -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../libcpp/include -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/../libbacktrace -o gcc-ar.o -MT gcc-ar.o -MMD -MP -MF ./.deps/gcc-ar.TPo /private/tmp/arm-none-eabi-gccA8-20240312-41359-t4ucmn/gcc-8.5.0/gcc/gcc-ar.c
20 errors generated.
make[1]: *** [gcov.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm gcc.pod
make: *** [all-gcc] Error 2
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/osx-cross/homebrew-arm/issues
No response
This is the whole log, any help is greatly appreciated.
Last login: Sat Sep 10 20:35:01 on ttys000
UserName@Users-Mac-mini ~ % brew install qmk/qmk/qmk
==> Downloading https://files.pythonhosted.org/packages/d7/d8/05696357e0311f5b5c
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/d46628d315f103ea527907020cf5f6c94365bbb549783f75a794526482afb672--appdirs-1.4.4.tar.gz
==> Downloading https://files.pythonhosted.org/packages/05/f8/67851ae4fe5396ba68
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/d80b401c80fa060d397ef1e894495831c216b23802b5943dfd8ac212e3e31f6f--argcomplete-2.0.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/1a/cb/c4ffeb41e7137b2375
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/8108507f92eecf1db105ec3399ff5b1c928af0968c17e2c9f6fc4b8ab7c1801f--attrs-22.1.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/2b/65/24d033a9325ce42ccb
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/cd3c0455424aa953b463cc8c3e88bda00024799daba38cc4ccea21c114aa5158--colorama-0.4.5.tar.gz
==> Downloading https://files.pythonhosted.org/packages/6a/ab/88d67f02024700b48c
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/f1545a11fd229c96a9d0f72b7028be9698be626008009829b9fdea774f414101--dotty_dict-1.3.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/ee/48/d53580d30b1fabf25d
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/4727d0b748b50e2e4f5fc42c047873878b3acf304a09b3b89d933855dd178535--halo-0.0.31.tar.gz
==> Downloading https://files.pythonhosted.org/packages/e0/2a/87d8d87343c9be4f83
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/5f08cde856aeda7005a327dd63dadc71658841bb4ebb1a42f7dc372c8783e653--hid-1.0.5.tar.gz
==> Downloading https://files.pythonhosted.org/packages/82/e5/0b56d723a76ca67aba
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/8acb1b2658a24095b64da16979200ec54f83525a38700902cc6f125b05d70371--hjson-3.1.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/fb/f3/44393ff5be9008b922
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/5251ccdd36fae541cc4d2fc83394cb79e492846ef1ba9a484203d30434034cf3--jsonschema-4.13.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/45/87/e86645d758a4401c8c
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/cb11b132d31dbe503e62ecf5e3c89fc1f33e804b9e3920826bb28e0fa94d300b--log_symbols-0.0.14.tar.gz
==> Downloading https://files.pythonhosted.org/packages/92/c0/3377091d68d98f7448
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/4eae820ef084c651ba53c34792df6f4889cfef58879cf2b41f626a76b7693f8d--milc-1.6.6.tar.gz
==> Downloading https://files.pythonhosted.org/packages/8c/92/2975b464d9926dc667
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/bc794bd01f698c8c5f21e3dc88b94aff82b239596e0bbdcf7f157c74dc329c3c--Pillow-9.2.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/e0/ef/5905cd3642f2337d44
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/9fa20b611f82473c8c9d488adcec4b4c581c79c54080d8a46b2979a67720868b--Pygments-2.13.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/42/ac/455fdc7294acc4d415
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/dc555fdd34304dbbde680a019283ec640b66188e51afe042e85db9a6a2075a39--pyrsistent-0.18.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/1e/7d/ae3f0a63f41e4d2f6c
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/9539dfa1f22434f69c7dc3a036dd8901eab0d487816cb11aa706e220b6d967ca--pyserial-3.5.tar.gz
==> Downloading https://files.pythonhosted.org/packages/d9/6e/433a5614132576289b
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/e34b8c197df27ea358bb20b554183616eb7d38ee383c4f254133e71f8370816b--pyusb-1.2.1.tar.gz
==> Downloading https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f19
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/3090f0022e8388f5c3bbff25d19f54b7af62562659cbf599e5f7fb044f280199--six-1.16.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/d3/91/bb331f0a43e04d950a
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/97375e1304f55f3a8697849128ced63c797b28555b69ee9528d20fc9034097d2--spinners-0.0.24.tar.gz
==> Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/2f663a83eb738377295cb9dece37a7fa4dea54dbfb7b86bcacf96bc2035bc58d--termcolor-1.1.0.tar.gz
==> Downloading https://files.pythonhosted.org/packages/52/4a/27caeef7f15316271a
Already downloaded: /Users/UserName/Library/Caches/Homebrew/downloads/776e677253669e66640dff7c339bafea6566673f9d7565a6bb05bc00fedd3e96--qmk-1.1.1.tar.gz
==> Installing qmk from qmk/qmk
==> python3 -m venv --system-site-packages /opt/homebrew/Cellar/qmk/1.1.1/libexec
==> /opt/homebrew/Cellar/qmk/1.1.1/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/qmk--appdirs-20220911-38195
==> /opt/homebrew/Cellar/qmk/1.1.1/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/qmk--argcomplete-20220911-3
==> /opt/homebrew/Cellar/qmk/1.1.1/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/qmk--attrs-20220911-38195-j
==> /opt/homebrew/Cellar/qmk/1.1.1/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/qmk--colorama-20220911-3819
==> /opt/homebrew/Cellar/qmk/1.1.1/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/qmk--dotty-dict-20220911-38
==> /opt/homebrew/Cellar/qmk/1.1.1/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/qmk--halo-20220911-38195-jr
==> /opt/homebrew/Cellar/qmk/1.1.1/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/qmk--hid-20220911-38195-uvd
==> /opt/homebrew/Cellar/qmk/1.1.1/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/qmk--hjson-20220911-38195-j
==> /opt/homebrew/Cellar/qmk/1.1.1/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/qmk--jsonschema-20220911-38
Last 15 lines from /Users/UserName/Library/Logs/Homebrew/qmk/10.pip:
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /opt/homebrew/Cellar/qmk/1.1.1/libexec/bin/python3.10 /opt/homebrew/Cellar/qmk/1.1.1/libexec/lib/python3.10/site-packages/pip/pip-runner.py install --ignore-installed --no-user --prefix /private/tmp/pip-build-env-7mbpp4of/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- hatchling hatch-vcs hatch-fancy-pypi-readme
cwd: [inherit]
Installing build dependencies: finished with status 'error'
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Do not report this issue to Homebrew/brew or Homebrew/core!
UserName@Users-Mac-mini ~ %
No response
homebrew install still lists libelf as a dependency.
libelf is deprecated and no longer maintained
No response
qmk 1.1.1_1 does not build on arm_ventura since pip cannot build its dependency pillow.
System information and environment are enclosed in the build log for pillow.
Worked through this with u/Erovia on discord.
Trying to install as above.
import setuptools, tokenize
__file__ = 'setup.py'
exec(compile(getattr(tokenize, 'open', open)(__file__).read()
.replace('\r\n', '\n'), __file__, 'exec'))
--no-user-cfg
install
--prefix=/private/tmp/qmk--homebrew-virtualenv-20200615-92033-c2kdig/target
--install-scripts=/private/tmp/qmk--homebrew-virtualenv-20200615-92033-c2kdig/target/bin
--single-version-externally-managed
--record=installed.txt
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'setuptools'
Python is up to date and working at 3.7.3 (with a parallel 2.7 version still)
pip is version 20.1.1
setuptools is 44.1.1
Brew/macos/xcode as follows
HOMEBREW_VERSION: 2.4.0
ORIGIN: https://github.com/Homebrew/brew
HEAD: 28ed0801ed5807e176e62a3ba66e47ec867ec17d
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: f47c509c1d86b879287b9a4165f5d6038c07b7c2
Core tap last commit: 24 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.Qk6KoAkkU0/org.macosforge.xquartz:0
HOMEBREW_MAKE_JOBS: 16
CPU: 16-core 64-bit skylake
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1103
Git: 2.23.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 1.8.0_202
macOS: 10.15.4-x86_64
CLT: 11.5.0.0.1.1588476445
Xcode: 11.5
XQuartz: 2.7.11 => /opt/X11
Any suggestions from the macos/brew users of the qmk contributors would be appreciated.
Please let me know if there is any further info that would help.
i'm trying to install qmk without success. Have been encountering various errors; with the most recent error being above. i'm not sure what it is and will appreciate some help in setting up QMK. Thanks.
i've appended the log below.
Last login: Thu Feb 29 17:18:40 on ttys000
adrnlow@Adrians-MacBook-Pro-2 ~ % brew list
==> Formulae
aom jpeg-turbo mpdecimal
arm-none-eabi-binutils lame mpfr
arm-none-eabi-gcc@8 leptonica nettle
asdf libass opencore-amr
autoconf libbluray openjpeg
automake libevent openssl
avr-binutils libffi openssl@3
avr-gcc@8 libftdi opus
avrdude libimagequant p11-kit
boost libmpc pcre
bootloadhid libogg pcre2
ca-certificates libpng pillow
cairo libraqm pixman
clang-format libsamplerate python
confuse libsndfile [email protected]
coreutils libsoxr qmk
dfu-programmer libtasn1 readline
dfu-util libtiff rtmpdump
ffmpeg libtool rubberband
flac libunistring sdl2
fontconfig libusb snappy
freetype libusb-compat speex
frei0r libvorbis sqlite
fribidi libvpx tcl-tk
gdbm libx11 teensy_loader_cli
gettext libxau tesseract
giflib libxcb theora
glib libxdmcp unbound
gmp libxext unixodbc
gnutls libxrender webp
graphite2 libyaml x264
harfbuzz little-cms2 x265
hid_bootloader_cli lz4 xorgproto
hidapi lzo xvid
icu4c m4 xz
isl make zstd
jpeg mdloader
adrnlow@Adrians-MacBook-Pro-2 ~ % asdf list ruby
3.3.0
adrnlow@Adrians-MacBook-Pro-2 ~ % qmk setup
zsh: /usr/local/bin/qmk: bad interpreter: @@HOMEBREW_CELLAR@@/qmk/1.1.2_4/libexec/bin/python: no such file or directory
adrnlow@Adrians-MacBook-Pro-2 ~ % brew doctor
Your system is ready to brew.
adrnlow@Adrians-MacBook-Pro-2 ~ % brew update
Already up-to-date.
adrnlow@Adrians-MacBook-Pro-2 ~ % brew install qmk/qmk/qmk
qmk 1.1.2_4 is already installed but outdated (so it will be upgraded).
==> Downloading https://ghcr.io/v2/qmk/qmk/qmk/manifests/1.1.5
curl: (22) The requested URL returned error: 404
==> Fetching qmk/qmk/qmk
==> Downloading https://ghcr.io/v2/qmk/qmk/qmk/blobs/sha256:3e6280308efd18258c31287023d4c7e72003028f7efd2d8e01ef266a5103d2d8
Already downloaded: /Users/adrnlow/Library/Caches/Homebrew/downloads/27aa0783b1ef2085def30fff70fdbc3f0b9df4b4cc23d82a865ead0ef87c6bb2--qmk--1.1.5.ventura.bottle.tar.gz
==> Upgrading qmk/qmk/qmk
1.1.2_4 -> 1.1.5
==> Pouring qmk--1.1.5.ventura.bottle.tar.gz
Error: /usr/local/Cellar/qmk/1.1.5 is not a directory
adrnlow@Adrians-MacBook-Pro-2 ~ % qmk upgrade
zsh: /usr/local/bin/qmk: bad interpreter: @@HOMEBREW_CELLAR@@/qmk/1.1.2_4/libexec/bin/python: no such file or directory
adrnlow@Adrians-MacBook-Pro-2 ~ % brew update qmk
Error: This command updates brew itself, and does not take formula names.
Use brew upgrade qmk
instead.
adrnlow@Adrians-MacBook-Pro-2 ~ % brew upgrade qmk
==> Upgrading 1 outdated package:
qmk/qmk/qmk 1.1.2_4 -> 1.1.5
==> Fetching qmk/qmk/qmk
==> Downloading https://files.pythonhosted.org/packages/d7/d8/05696357e0311f5b5c316d7b95f46c669dd9c15aaeecbb48c7d0aeb88c40/appdir
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/f0/a2/ce706abe166457d5ef68fac3ffa6cf0f93580755b7d5f883c456e94fab7b/argcom
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/e3/fc/f800d51204003fa8ae392c4e8278f256206e7a919b708eef054f5f4b650d/attrs-
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colora
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/6a/ab/88d67f02024700b48cd8232579ad1316aa9df2272c63049c27cc094229d6/dotty_
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/ee/48/d53580d30b1fabf25d0d1fcc3f5b26d08d2ac75a1890ff6d262f9f027436/halo-0
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/50/b8/5f470948262b6cdda8e1b2382b19f67c57eacda1e07a14322807b911e0ce/hid-1.
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/82/e5/0b56d723a76ca67abadbf7fb71609fb0ea7e6926e94fcca6c65a85b36a0e/hjson-
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/36/3d/ca032d5ac064dff543aa13c984737795ac81abc9fb130cd2fcff17cfabc7/jsonsc
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/45/87/e86645d758a4401c8c81914b6a88470634d1785c9ad09823fa4a1bd89250/log_sy
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/3c/7f/f13f3cbdbc0284440cee8a3a4a0aeccde2f99c51f6c1f81f3a5bc033f11e/milc-1
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/f8/3e/32cbd0129a28686621434cbf17bb64bf1458bfb838f1f668262fefce145c/pillow
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/55/59/8bccf4157baf25e4aa5a0bb7fa3ba8600907de105ebc22b0c78cfbf6f565/pygmen
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/ce/3a/5031723c09068e9c8c2f0bc25c3a9245f2b1d1aea8396c787a408f2b95ca/pyrsis
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/1e/7d/ae3f0a63f41e4d2f6cb66a5b57197850f919f59e558159a4dd3a818f5082/pyseri
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/d9/6e/433a5614132576289b8643fe598dd5d51b16e130fd591564be952e15bb45/pyusb-
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/d3/91/bb331f0a43e04d950a710f402a0986a54147a35818df0e1658551c8d12e1/spinne
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/10/56/d7d66a84f96d804155f6ff2873d065368b25a07222a6fd51c4f24ef6d764/termco
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/f5/c8/d5c5dabc9b19ee7c03748f354004e5f311470cb5d1373e33670160be368b/types-
########################################################################################################################## 100.0%
==> Downloading https://files.pythonhosted.org/packages/64/20/cec7ce9b7c05307209542427f417d005f082771596ab0f628f6a888b8aee/qmk-1.
########################################################################################################################## 100.0%
==> Upgrading qmk/qmk/qmk
1.1.2_4 -> 1.1.5
==> python3 -m venv --system-site-packages --without-pip /usr/local/Cellar/qmk/1.1.5/libexec
==> python3 -m pip --python=/usr/local/Cellar/qmk/1.1.5/libexec/bin/python install /private/tmp/qmk--appdirs-20240229-27363-ia0fk
==> python3 -m pip --python=/usr/local/Cellar/qmk/1.1.5/libexec/bin/python install /private/tmp/qmk--argcomplete-20240229-27363-j
==> python3 -m pip --python=/usr/local/Cellar/qmk/1.1.5/libexec/bin/python install /private/tmp/qmk--attrs-20240229-27363-zvjrri/
==> python3 -m pip --python=/usr/local/Cellar/qmk/1.1.5/libexec/bin/python install /private/tmp/qmk--colorama-20240229-27363-pyvy
==> python3 -m pip --python=/usr/local/Cellar/qmk/1.1.5/libexec/bin/python install /private/tmp/qmk--dotty-dict-20240229-27363-wl
==> python3 -m pip --python=/usr/local/Cellar/qmk/1.1.5/libexec/bin/python install /private/tmp/qmk--halo-20240229-27363-peqr7r/h
==> python3 -m pip --python=/usr/local/Cellar/qmk/1.1.5/libexec/bin/python install /private/tmp/qmk--hid-20240229-27363-8wxeiy/hi
==> python3 -m pip --python=/usr/local/Cellar/qmk/1.1.5/libexec/bin/python install /private/tmp/qmk--hjson-20240229-27363-puv077/
==> python3 -m pip --python=/usr/local/Cellar/qmk/1.1.5/libexec/bin/python install /private/tmp/qmk--jsonschema-20240229-27363-bv
==> python3 -m pip --python=/usr/local/Cellar/qmk/1.1.5/libexec/bin/python install /private/tmp/qmk--log-symbols-20240229-27363-o
==> python3 -m pip --python=/usr/local/Cellar/qmk/1.1.5/libexec/bin/python install /private/tmp/qmk--milc-20240229-27363-kyf2dl/m
==> python3 -m pip --python=/usr/local/Cellar/qmk/1.1.5/libexec/bin/python install /private/tmp/qmk--pillow-20240229-27363-4ea1bf
Last 15 lines from /Users/adrnlow/Library/Logs/Homebrew/qmk/13.python3:
1 error generated.
error: command '/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang' failed with exit code 1
error: subprocess-exited-with-error
× Building wheel for pillow (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /usr/local/Cellar/qmk/1.1.5/libexec/bin/python /usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /private/tmp/tmpbs63ic0u
cwd: /private/tmp/qmk--pillow-20240229-27363-4ea1bf/pillow-10.2.0
Building wheel for pillow (pyproject.toml): finished with status 'error'
ERROR: Failed building wheel for pillow
Failed to build pillow
ERROR: Could not build wheels for pillow, which is required to install pyproject.toml-based projects
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/qmk/homebrew-qmk/issues
adrnlow@Adrians-MacBook-Pro-2 ~ %
brew install qmk/qmk/qmk
and brew tap qmk/qmk
run into an error
> brew tap qmk/qmk
Error:
homebrew-core is a shallow clone.
To `brew update`, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
This command may take a few minutes to run due to the large size of the repository.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
==> Tapping qmk/qmk
Cloning into '/usr/local/Homebrew/Library/Taps/qmk/homebrew-qmk'...
remote: Enumerating objects: 527, done.
remote: Counting objects: 100% (87/87), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 527 (delta 47), reused 78 (delta 41), pack-reused 440 (from 1)
Receiving objects: 100% (527/527), 88.89 KiB | 0 bytes/s, done.
Resolving deltas: 100% (310/310), done.
Checking connectivity... done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/qmk/homebrew-qmk/Formula/qmk.rb
qmk: undefined method `on_arm' for Formulary::FormulaNamespace557ef0844d1f67c9536fc3f101472437::Qmk:Class
Error: Cannot tap qmk/qmk: invalid syntax in tap!
It never worked via brew. I used to run QMK in a docker container, then I figured how to install it with a pip (port install dfu-utils avrdude avr-binutils avr-gcc avr-libc
+ pip install qmk
) but it all was supposed to be a temporary solution. I want to make it work via brew.
Here is the error I am seeing when I run brew install qmk/qmk/qmk
Last 15 lines from /Users/austy/Library/Logs/Homebrew/qmk/10.pip:
requirement.install(
File "/usr/local/Cellar/qmk/0.0.36/libexec/lib/python3.9/site-packages/pip/_internal/req/req_install.py", line 856, in install
six.reraise(*exc.parent)
File "/usr/local/Cellar/qmk/0.0.36/libexec/lib/python3.9/site-packages/pip/_vendor/six.py", line 703, in reraise
raise value
File "/usr/local/Cellar/qmk/0.0.36/libexec/lib/python3.9/site-packages/pip/_internal/operations/install/legacy.py", line 74, in install
runner(
File "/usr/local/Cellar/qmk/0.0.36/libexec/lib/python3.9/site-packages/pip/_internal/utils/subprocess.py", line 273, in runner
call_subprocess(
File "/usr/local/Cellar/qmk/0.0.36/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: /usr/local/Cellar/qmk/0.0.36/libexec/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-req-build-xhqkxt92/setup.py'"'"'; __file__='"'"'/private/tmp/pip-req-build-xhqkxt92/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-b632yznf/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/qmk/0.0.36/libexec/include/site/python3.9/coverage Check the logs for full command output.
WARNING: You are using pip version 20.2.4; however, version 20.3 is available.
You should consider upgrading via the '/usr/local/Cellar/qmk/0.0.36/libexec/bin/python -m pip install --upgrade pip' command.
I have done quite a bit of troubleshooting and I can't see why it's seeing pip as 20.2.4 when my Mac is seeing it as 20.3
python3 -m pip --version
pip 20.3 from /Users/austy/Library/Python/3.8/lib/python/site-packages/pip (python 3.8)
Any help here would be nice. I'm assuming it's going to be something simple I'm just being blind.
Operating System: macOS & Windows (WSL2)
Steps:
brew install qmk/qmk/qmk
or python3 -m pip install --user qmk
qmk setup
either with or with out a cloned version after completedImportError: cannot import name 'format_ansi' from 'milc'
results from the commandI manually edited the ruby file the defines the version and rolled back to 1.21.0
, brew reinstall qmk
, and the cli tool resumed working, I believe there just might be an issue with the exports from the python module, but I don't know enough to be certain.
The install goes great until this comes back:
Downloading https://github.com/qmk/homebrew-qmk/releases/download/qmk-0.3.0/
#=#=#
curl: (22) The requested URL returned error: 404
Error: Failed to download resource "qmk"
Download failed: https://github.com/qmk/homebrew-qmk/releases/download/qmk-0.3.0/qmk-0.3.3.catalina.bottle.tar.gz
I tried to download the file myself and drop it into the homebrew folder that everything else was going to, but it still didn't work.
Installing on OS Big Sur from freshly updated Homebrew
When I install qmk with brew, it installs the packages avr-gcc@8 and arm-gcc-bin@8. As a result, the executables arm-none-eabi-gcc
and avr-gcc
are installed, but those packages don't link those executables to /opt/homebrew/bin
(prefix may vary). Since they were not linked to a folder I already have in my path, qmk setup
asks if I want to install them.
NOTE: I'm running an M1 Macbook Pro. I'm not sure how the architecture affects the final config.
Would it be a good idea to update the caveats to let the user know that the required binaries may not be linked and to suggest that they run the following and update their paths?
brew link avr-gcc@8
brew link arm-gcc-bin@8
When I do this, it tells me exactly what to add to .bashrc
.
Warning: avr-gcc@8 is keg-only and must be linked with `--force`.
If you need to have this software first in your PATH instead consider running:
echo 'export PATH="/opt/homebrew/opt/avr-gcc@8/bin:$PATH"' >> /Users/chad/.bash_profile
Warning: arm-gcc-bin@8 is keg-only and must be linked with `--force`.
If you need to have this software first in your PATH instead consider running:
echo 'export PATH="/opt/homebrew/opt/arm-gcc-bin@8/bin:$PATH"' >> /Users/chad/.bash_profile
Hello! I'm unable to use qmk cli on my m1 macbook. Can this be upgrade to support m1 macs?
homebrew qmk/qmk/qmk
qmk setup
Error message appears:
/usr/local/bin/qmk: bad interpreter: /usr/local/Cellar/qmk/1.1.1/libexec/bin/python3.10: no such file or directory
Notes
/usr/local/Cellar/qmk/1.1.1/libexec/bin/python3.10
exists, and points to ../../../../../opt/[email protected]/Frameworks/Python.framework/Versions/3.10/bin/python3.10
Reference
I believe fixing this will fix qmk/qmk_firmware#19882
Workaround
Manually installing python 3.10 with brew install [email protected]
works around this issue.
Thanks for the useful project!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.