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
mymac:~ % brew config
HOMEBREW_VERSION: 4.2.19-68-ge3e927f
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: e3e927f688566a395d363d0e388796ec3b4601b6
Last commit: 7 hours ago
Core tap HEAD: fdfacfa705b6f48cb093c2621eb735599de28067
Core tap last commit: 3 hours ago
Core tap JSON: 24 Apr 13:00 UTC
Core cask tap HEAD: 7ccf3731547b5fb175f587e33ad18489c8b12c97
Core cask tap last commit: 6 hours ago
Core cask tap JSON: 24 Apr 13:00 UTC
HOMEBREW_PREFIX: /Users/my/homebrew
HOMEBREW_REPOSITORY: /Users/my/homebrew
HOMEBREW_CELLAR: /Users/my/homebrew/Cellar
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: nano
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_AUTO_UPDATE: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /Users/my/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: octa-core 64-bit kabylake
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 14.1-x86_64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.3
mymac:~ %
Output of brew doctor
mymac:~ % brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!Warning: Some installed casks are deprecated or disabled.You should find replacements for the following casks: wkhtmltopdfWarning: Some installed kegs have no formulae!This means they were either deleted or installed manually.You should find replacements for the following formulae: python-pyparsing libgnomecanvas python-markupsafeWarning: Some installed formulae are deprecated or disabled.You should find replacements for the following formulae: cloudflared gqview gtk-chtheme libglade[email protected][email protected] python-pytz[email protected][email protected] ufrawWarning: You have unlinked kegs in your Cellar.Leaving kegs unlinked can lead to build-trouble and cause formulae that depend onthose kegs to fail to run properly once built. Run `brew link` on these: libhandy[email protected]Warning: You have uncommitted modifications to Homebrew/homebrew-core.If this is a surprise to you, then you should stash these modifications.Stashing returns Homebrew to a pristine state but can be undoneshould you later need to do so for some reason. cd /Users/my/homebrew/Library/Taps/homebrew/homebrew-core && git stash -u && git clean -d -fUncommitted files: M Formula/e/ext4fuse.rb M Formula/s/sshfs.rbWarning: Your Homebrew's prefix is not /usr/local.
Many of Homebrew's bottles (binary packages) can only be used with the default prefix.Consider uninstalling Homebrew and reinstalling into the default prefix.It is expected behaviour that some formulae will fail to build in this unsupported configuration.It is expected behaviour that Homebrew will be buggy and slow.Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask forhelp from Homebrew or its maintainers on social media.
You may ask forhelpin Homebrew's discussions but are unlikely to receive a response.Try to figure out the problem yourself and submit a fix as a pull request.We will review it but may or may not accept it.
Description of issue
When updating some formulae (e.g. scrcpy, ffmpeg) I get errors that gcc cannot be found.
I must admit I have an Intel Macbook running Sonoma where the Homebrew folder is still in the wrong place (/Users/me/homebrew rather than /usr/local) as I did not know by then (several years ago) that the recommenden folder is /usr/local.
I got errors after brew update and brew upgrade after repeated attempts. I have the latest tools Xcode from the App Store (15.3).
I got this:
patching file 'zlib/configure'
patching file 'zlib/configure.ac'
==> Applying gcc-xcode15-warnings.diff
patching file 'gcc/config/aarch64/darwin.h'
patching file 'libgfortran/libgfortran.spec.in'
==> ../configure --prefix=/Users/klaas/homebrew/opt/gcc --libdir=/Users/klaas/homebrew/opt/gcc/lib/gcc/current --disable-nls --enable-checking=release --with-gcc-major-version-only --enable-languages=c,c+
==> make
Last 15 lines from /Users/klaas/Library/Logs/Homebrew/gcc/02.make:
In file included from ../../gcc/system.h:233:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/vector:321:
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:813:5: error: expected expression
return std::use_facet<ctype<_CharT> >(__loc).is(ctype_base::cntrl, __c);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [cp/module.o] Error 1
rm gcc.pod
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
Do not report this issue to Homebrew/brew or Homebrew/homebrew-core!
These open issues may also help:
gcc: error in catching C++ exceptions https://github.com/Homebrew/homebrew-core/issues/162714
Do not report this issue: you are running in an unsupported configuration.
Finally I want to move the whole homebrew stuff to /opt/local where it belongs but how should I do this ?
My idea is : brew bundle dump
Then reinstalling it (how ?)
and then restoring by brew bundle --file ~/my-folder/Brewfile
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Output of
brew config
Output of
brew doctor
Description of issue
When updating some formulae (e.g. scrcpy, ffmpeg) I get errors that gcc cannot be found.
I must admit I have an Intel Macbook running Sonoma where the Homebrew folder is still in the wrong place (/Users/me/homebrew rather than /usr/local) as I did not know by then (several years ago) that the recommenden folder is /usr/local.
I got errors after
brew update
andbrew upgrade
after repeated attempts. I have the latest tools Xcode from the App Store (15.3).I got this:
Finally I want to move the whole homebrew stuff to /opt/local where it belongs but how should I do this ?
My idea is :
brew bundle dump
Then reinstalling it (how ?)
and then restoring by
brew bundle --file ~/my-folder/Brewfile
Does anyone know this ?
Beta Was this translation helpful? Give feedback.
All reactions