What prevents [email protected] from using a bottle (with a non-default prefix)? #888
Replies: 1 comment 3 replies
-
Try running |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the non-default Homebrew prefix,
~/.brew
. I understand that with this configuration, some formulae that are not relocatable will need to be built from source.One such formula is
[email protected]
. When installing it without any additional flags, I get this message:I was wondering whether this was something that I could try to resolve, so first I used
brew install --build-bottle [email protected]
, which (after more than 2 hours) was successful. Then, I usedbrew bottle --verbose [email protected]
to see if I could fix any errors I saw. This was the output I got:Strangely enough, I don't see any errors; in fact, it looks like it decided that it was, in fact, relocatable (am I interpreting this output correctly?).
I'm not here to ask for it to be fixed, but I was wondering why Homebrew decided to build
[email protected]
from source. If[email protected]
is, in fact, relocatable, then what other criteria decides whether Homebrew builds from source or tries to use a bottle when a non-default prefix is used?Note: I'm asking specifically about
[email protected]
because it's what I tested;ghc
also decides to build from source, and I assume it would be the same, but I haven't tried it myself due to the long build times.Beta Was this translation helpful? Give feedback.
All reactions