Why Homebrew always build from sources after "brew install package"? #162
Replies: 2 comments 10 replies
-
Homebrew config: ❯ brew config |
Beta Was this translation helpful? Give feedback.
-
I have the same issue. I know that, on my case, I changed some brew configuration file to always force compile...and now I do not remember where I made this change :( I had a problem with the version of MacOS and the hardware platform. Executing apps was generating error 13. After some investigations, it was caused by a new version of MacOS (10.15) on a non-MacOS 11.15 supported hardware. Mac OS 11.15 assumes a minimum CPU type, which was making homebrew to use a pre-compiled binary for that minimum CPU. The minimum CPU had some opcodes that my current CPU does not support. So, two options were possible (1) change homebrew to always compile (2) downgrade to MacOS 11.13. I tried option (1) and then option (2), forgetting to change the configuration file back to its original contents. Now homebrew always compile when installing and I do not remember where the configuration file is....
|
Beta Was this translation helpful? Give feedback.
-
Here is the command output:
❯ brew install htop
Updating Homebrew...
Warning: You are using macOS 11.1.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
pre-release version.
==> Downloading https://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
######################################################################## 100.0%
==> Downloading https://git.savannah.gnu.org/cgit/config.git/snapshot/config-0b5188819ba6091770064adf26360b204113317e.tar.gz
-#O#- # #
==> Downloading https://ftp.gnu.org/gnu/automake/automake-1.16.2.tar.xz
######################################################################## 100.0%
==> Downloading https://github.com/Homebrew/formula-patches/raw/e5fbd46a25e35663059296833568667c7b572d9a/libtool/dynamic_lookup-11.patch
==> Downloading from https://raw.githubusercontent.com/Homebrew/formula-patches/e5fbd46a25e35663059296833568667c7b572d9a/libtool/dynamic_lookup-11.patch
######################################################################## 100.0%
==> Downloading https://ftp.gnu.org/gnu/libtool/libtool-2.4.6.tar.xz
######################################################################## 100.0%
==> Downloading https://pkgconfig.freedesktop.org/releases/pkg-config-0.29.2.tar.gz
######################################################################## 100.0%
==> Downloading https://ftp.gnu.org/gnu/ncurses/ncurses-6.2.tar.gz
######################################################################## 100.0%
==> Downloading https://github.com/htop-dev/htop/archive/3.0.2.tar.gz
==> Downloading from https://codeload.github.com/htop-dev/htop/tar.gz/3.0.2
######################################################################## 100.0%
==> Installing dependencies for htop: autoconf, automake, libtool, pkg-config and ncurses
==> Installing htop dependency: autoconf
==> ./configure --prefix=/usr/local/Cellar/autoconf/2.69 --with-lispdir=/usr/local/Cellar/autoconf/2.69/share/emacs/site-lisp/autoconf
==> make install
🍺 /usr/local/Cellar/autoconf/2.69: 68 files, 3.0MB, built in 7 seconds
==> Installing htop dependency: automake
==> ./configure --prefix=/usr/local/Cellar/automake/1.16.2_1
Beta Was this translation helpful? Give feedback.
All reactions