Linuxbrew / brew

:beer::penguin: The Homebrew package manager for Linux
https://linuxbrew.sh
BSD 2-Clause "Simplified" License
2.66k stars 237 forks source link

Linuxbrew no longer uses a bottle when installing binutils #811

Closed andrewyatz closed 6 years ago

andrewyatz commented 6 years ago

Not sure if this has been raised before (please slap me down otherwise). Recently I have noticed that binutils attempts to recompile itself on my Linuxbrew installations. I do not install to the ~linuxbrew/.brew location and am using a non-standard root. However I am sure that binutils could be installed using a relocatable bottle.

Has anything changed recently in brew to stop this feature?

jonchang commented 6 years ago

You can try brew install --force-bottle binutils

andrewyatz commented 6 years ago

Hi. That does work and brew doesn't complain. However it's really odd that brew now chooses not to use the binutils bottle.

On Wed, 15 Aug 2018 at 16:29, Jonathan Chang notifications@github.com wrote:

You can try brew install --force-bottle binutils

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Linuxbrew/brew/issues/811#issuecomment-413234381, or mute the thread https://github.com/notifications/unsubscribe-auth/AAK5GVZdtD7FX4_d_dND3rEBzO3-7Upfks5uRD5ogaJpZM4V-TLV .

jonchang commented 6 years ago

Yes, it's a known issue, Homebrew could be better at detecting whether bottles could be relocated.

jonchang commented 6 years ago

Actually, binutils is a special case, check out https://github.com/Linuxbrew/brew/wiki/Build-a-portable-bottle

jonchang commented 6 years ago

Fixed in https://github.com/Linuxbrew/homebrew-core/commit/5041f9e7a6b2ab41c75827fc8fd05b29a09939f7

andrewyatz commented 6 years ago

Fantastic thank you :)

On Wed, 15 Aug 2018 at 17:00, Jonathan Chang notifications@github.com wrote:

Fixed in Linuxbrew/homebrew-core@5041f9e https://github.com/Linuxbrew/homebrew-core/commit/5041f9e7a6b2ab41c75827fc8fd05b29a09939f7

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Linuxbrew/brew/issues/811#issuecomment-413244105, or mute the thread https://github.com/notifications/unsubscribe-auth/AAK5Gb_cumszTPZtHSQlA3ZcC2NAhOyrks5uREWkgaJpZM4V-TLV .