-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gcc@12 overrides basic commands #111236
Comments
That is the designed behavior, Homebrew on Linux shadows system binaries by design. |
Shouldn't versioned formulae be keg-only though? Here we have a case about |
You can just delete |
@carlocab oh! Indeed, Shows that there is |
Because |
Because many of our builds look for Fortran as |
@carlocab thanks for the hint and sorry for the noise! We have removed the gfortran's symlink from the images by now. |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Our customer runs a code which invokes
gfortran
. It looks like brew-provided gfortran is not versioned, and as a result brew's provided command is used rather than the system-supplied one. More info can be found here: actions/runner-images#6274What happened (include all command output)?
which -a gfortran
shows you brew gfortran
What did you expect to happen?
system gfortran is used, not the brew's one
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: