Open Bominfood opened 7 months ago
make all-gcc BOOT_LDFLAGS=-Wl,-headerpad_max_install_names
Last 15 lines from /Users/jeff/Library/Logs/Homebrew/arm-none-eabi-gcc@8/02.make:
/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-20240309-68850-94cdl7/gcc-8.5.0/gcc -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/. -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../include -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libcpp/include -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/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-20240309-68850-94cdl7/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-20240309-68850-94cdl7/gcc-8.5.0/gcc -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/. -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../include -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libcpp/include -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/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-20240309-68850-94cdl7/gcc-8.5.0/gcc/gcc-ar.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=\"nm\" -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-20240309-68850-94cdl7/gcc-8.5.0/gcc -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/. -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../include -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libcpp/include -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libbacktrace -o gcc-nm.o -MT gcc-nm.o -MMD -MP -MF ./.deps/gcc-nm.TPo gcc-nm.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=\"ranlib\" -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-20240309-68850-94cdl7/gcc-8.5.0/gcc -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/. -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../include -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libcpp/include -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libbacktrace -o gcc-ranlib.o -MT gcc-ranlib.o -MMD -MP -MF ./.deps/gcc-ranlib.TPo gcc-ranlib.c
clang++ -fno-PIE -c -DHOST_GENERATOR_FILE -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-20240309-68850-94cdl7/gcc-8.5.0/gcc -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/. -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../include -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libcpp/include -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libbacktrace -o gengtype.o -MT gengtype.o -MMD -MP -MF ./.deps/gengtype.TPo /private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/gengtype.c
clang++ -fno-PIE -c -DHOST_GENERATOR_FILE -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 -Wno-error -DHAVE_CONFIG_H -I. -I. -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/. -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../include -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libcpp/include -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/../libbacktrace -o gengtype-lex.o -MT gengtype-lex.o -MMD -MP -MF ./.deps/gengtype-lex.TPo /private/tmp/arm-none-eabi-gccA8-20240309-68850-94cdl7/gcc-8.5.0/gcc/gengtype-lex.c
20 errors generated.
make[1]: *** [gcov.o] Error 1
make[1]: *** Waiting for unfinished jobs....
rm gcc.pod
make: *** [all-gcc] Error 2
This is what I get when I run brew install qmk/qmk/qmk
on my M2 mac
any ideas on how to solve the problem im also running on an m2 mac, and thatts pretty uch the exact problem i have
Getting same issue. Sonoma 14.2.1 M2 Pro, Homebrew 4.2.12
yes we found it was a problem across what we think is all m1/2/3 macs with this dependency of qmk brew reinstall arm-none-eabi-gcc@8
Same issue here, Sonoma 14.4 M3 Pro:
$ brew --version
Homebrew 4.2.12-29-g58b84c3
Reinstalling arm-none-eabi-gcc@8
results in this:
brew reinstall arm-none-eabi-gcc@8
==> Fetching osx-cross/arm/arm-none-eabi-gcc@8
==> Downloading https://gist.githubusercontent.com/DavidEGrayson/88bceb3f4e62f45725ecbb9248366300/raw/c1
Already downloaded: /Users/alex.shearn/Library/Caches/Homebrew/downloads/def654fc009e1286443dbc4e1baa98eeeaee383d419d8a1d15200ab895520379--gcc-11-arm-darwin.patch
==> Downloading https://sourceware.org/pub/newlib/newlib-3.3.0.tar.gz
Already downloaded: /Users/alex.shearn/Library/Caches/Homebrew/downloads/87c5eebef5bcc8ee4096bcb0c8e15c2adb07ce16f0717b87ba7587a66a8ceaf9--newlib-3.3.0.tar.gz
==> Downloading https://ftp.gnu.org/gnu/gcc/gcc-8.5.0/gcc-8.5.0.tar.xz
Already downloaded: /Users/alex.shearn/Library/Caches/Homebrew/downloads/f2092ba5952c9c44d95063a07d4661fab20de4703b728a8dddefd5a4387e90d0--gcc-8.5.0.tar.xz
==> Reinstalling 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-20240313-28896-i0m6wb/gcc-8.5.0/configure --prefix=/ --target=arm-n
==> make all-gcc BOOT_LDFLAGS=-Wl,-headerpad_max_install_names
Last 15 lines from /Users/alex.shearn/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_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=]
@fauxpark any ideas?
None at all. Something has evidently changed...somewhere...as it was previously compiling fine as of a while back. I still have the formula installed, but running brew reinstall
fails with the same thing.
Same issue here. Sonoma 14.4, M1 Pro. I've tried to reinstall a lower version of Xcode Command Line Tools(I tried 15.1), it works. Hoping help you.
Today, I was able to successfully run
brew install qmk/qmk/qmk
on my M2 mbp
Yep, the QMK CLI is now bottled for M1 users on Sonoma 14.2 and up. This issue can be closed.
Same, confirming on Sonoma 14.4 M3 Pro - install worked fine, as did the dependencies (gcc etc).
make[1]: [gcov.o] Error 1 make[1]: Waiting for unfinished jobs.... rm gcc.pod make: *** [all-gcc] Error 2