HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK enabled by default? #305
Replies: 2 comments 8 replies
-
Not sure about your specific question, but to save you the trouble of typing
|
Beta Was this translation helpful? Give feedback.
-
I think this was an intentional change, but I can understand why it's confusing. Hopefully, this explanation will help a little bit. First, you mentioned you're new to Homebrew (welcome!) so I'll mention that on Intel macs, we distribute pretty much all of our software with bottles. That's the supported way of installing anything with Homebrew, so it's atypical for a user to need to build from source. For Intel macs, we've already gone through and built bottles for all the formulae, but we haven't yet had the opportunity to do so for ARM. However, we're just getting ready to start doing so! Once we officially support ARM macs, most software will be installable from the bottles which will save users lots of time and pain. However, we have to start from scratch with this, which means that most formulae won't have these bottles for quite some time. We can't build bottles until all of the dependencies also have working bottles, so it's quite a process. Because installing from a bottle is the typical "Homebrew way to install things," it will be surprising to many users if things need to build from source. This is especially annoying for those formulae that will fail when building from source after hours of waiting. Previously, That way, once more formulae have bottles, it will be immediately apparent to users whether or not the formula they're trying to install works on ARM. If it does, it will likely have a bottle. If not, it's a warning that the formula they're trying to install likely won't work. This will save users lots of time and effort because they won't have to wait for long builds to fail just at the end. So, to summarize: yes, this is slightly more inconvenient at the moment (although as Carlo mentioned, Hope this helps give some context |
Beta Was this translation helpful? Give feedback.
-
I'm using homebrew on an M1 Mac. For the first few weeks these Macs were out, "brew install ..." would work for a LOT of stuff. I'm new to homebrew, but it seemed to build from source all the time, since there were no bottles.
Starting this week or so, something like "brew install hexedit" gives:
Running
brew install --build-from-source hexedit
works.Why won't brew automatically fall back to source if there is no bottle? I thought HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK would force this no-fallback behaviour, but I haven't set that, so why won't brew fallback to source?
Beta Was this translation helpful? Give feedback.
All reactions