Replies: 3 comments 6 replies
-
I think this is the patchelf bug. See Homebrew/homebrew-core#126054. There should be a workaround there too. |
Beta Was this translation helpful? Give feedback.
4 replies
-
I delete the whole Homebrew, and newly install the Homebrew from the very beginning. ==> Installing curl dependency: gcc
==> Pouring gcc-13.1.0.x86_64_linux.bottle.tar.gz
Warning: The post-install step did not complete successfully
You can try again using:
brew postinstall gcc
==> An exception occurred within a child process:
ErrorDuringExecution: Failure while executing; `/home/linuxbrew/.linuxbrew/Cellar/gcc/13.1.0/bin/gcc-13 -print-libgcc-file-name` was terminated by uncaught signal SEGV. Here's the output:
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/popen.rb:12:in `popen_read'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/utils/popen.rb:16:in `safe_popen_read'
/home/linuxbrew/.linuxbrew/opt/gcc/.brew/gcc.rb:151:in `post_install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1170:in `block (2 levels) in run_post_install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:978:in `with_logging'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1169:in `block in run_post_install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:498:in `with_env'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1158:in `run_post_install'
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/postinstall.rb:24:in `<main>' |
Beta Was this translation helpful? Give feedback.
0 replies
-
Are you able to still use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Additional Info
Output of
brew config
Output of
brew doctor
Description of issue
Today I run
brew upgrade
and it says:Warning: The post-install step did not complete successfully You can try again using: brew postinstall gcc
But when I run
brew postinstall --debug gcc
, it still fails:Beta Was this translation helpful? Give feedback.
All reactions