brew gist-logs <formula> link OR brew config AND brew doctor output
: 3.6.0-24-g5524b30
ORIGIN: https://github.com/Homebrew/brew
HEAD: 5524b302d83a54660c49e850b3bc1558371c2fbc
Last commit: 27 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 6f7e54470b33fe838ac4fbccd47d743a8baee15d
Core tap last commit: 24 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: 3650
HOMEBREW_MAKE_JOBS: 1
HOMEBREW_NO_AUTO_UPDATE: set
Homebrew Ruby: 2.6.8 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.8_1/bin/ruby
CPU: single-core 64-bit haswell
Clang: N/A
Git: 2.25.1 => /bin/git
Curl: 7.68.0 => /bin/curl
Kernel: Linux 5.15.0-1019-azure x86_64 GNU/Linux
OS: Ubuntu 20.04.5 LTS (focal)
Host glibc: 2.31
/usr/bin/gcc: 9.4.0
/usr/bin/ruby: N/A
glibc: 2.35
gcc@11: 11.3.0
xorg: N/A
```brew doctor
Your system is ready to brew```
Verification
What were you trying to do (and why)?
actions/runner-images projects installs zstd from brew on Ubuntu 18.04 and 20.04 (just to make sure it is always present in the system as customers demand it a lot). With homebrew 3.6.0 gcc@11 has become a mandatory dependency for any package, so we decided to add gcc@11 into our list (put it first), and expected zstd's explicit installation to be quietly ignored as it is pulled by gcc itself in anyway (but we still want to keep it listed explicitly, just in case).
What happened (include all command output)?
After test CI runs we have noticed that brew experienced linkge problems for gcc an it tries to rebuild itself from sources, while it should not. See build runs
What did you expect to happen?
zstd installation ignored and no linkage problems for gcc@11
Step-by-step reproduction instructions (by running brew commands)
`brew install gcc@11`
`brew install zstd`
brew gist-logs <formula>link ORbrew configANDbrew doctoroutputVerification
brew updateand am still able to reproduce my issue.brew doctorand that did not fix my problem.What were you trying to do (and why)?
actions/runner-images projects installs zstd from brew on Ubuntu 18.04 and 20.04 (just to make sure it is always present in the system as customers demand it a lot). With homebrew 3.6.0 gcc@11 has become a mandatory dependency for any package, so we decided to add gcc@11 into our list (put it first), and expected zstd's explicit installation to be quietly ignored as it is pulled by gcc itself in anyway (but we still want to keep it listed explicitly, just in case).
What happened (include all command output)?
After test CI runs we have noticed that brew experienced linkge problems for gcc an it tries to rebuild itself from sources, while it should not. See build runs
What did you expect to happen?
zstd installation ignored and no linkage problems for gcc@11
Step-by-step reproduction instructions (by running
brewcommands)