-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Cannot install formulae on Linux when $HOMEBREW_INSTALL_FROM_API
is set
#13890
Comments
$HOMEBREW_INSTALL_FROM_API
is set$HOMEBREW_INSTALL_FROM_API
is set
Though with that said, it shouldn't be failing with the error you have so we'll look into that. |
Yikes, what an error! I'm not as familiar with the Linux details so I'm not sure at first glance what's causing this. Should we blanket fail for |
We may be able to get it to work once |
Because those must always be built from source (unless we're on Ubuntu 22.04)? |
We have bottles for them (relocatable for GCC, but not relocatable for glibc), but they require postinstall to be run. They're less broken now without postinstall than they used to be, but I still don't recommend installing them without postinstall. |
In terms of the error itself however: the cause is because |
Do you think printing a message telling users to run the Looks like |
A populated If that works, it will be ok to defer to the end since we won't be running any binaries (except |
Quick fix might be a simple method override when we create the formula subclass. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Tried this on an Ubuntu 18.04 container that pulled In |
brew config
outputbrew 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)?
install a formula when
$HOMEBREW_INSTALL_FROM_API
is set.What happened (include all command output)?
https://gist.github.com/kidonng/9961307053babce8e093539063687d46
What did you expect to happen?
Formula installed succesfully.
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: