Intel Mac: Mach-O patching skipped when zerobrew prefix is longer than Homebrew prefix
Author: jonirringsCreated Mar 8, 2026Updated Jun 1, 2026
Labelstype: bugarea: iopriority: highplatform: x86_64platform: macosstatus: accepted
Hello,
I picked my old mbp with intel CPU to try zerobrew, and found the gpgconf in GnuPG x86_64 build with hardcoded path:
strings `which gpgconf` | rg -i cellar
/usr/local/Cellar/gnupg/2.4.9/bin
/usr/local/Cellar/gnupg/2.4.9/libexec
/usr/local/Cellar/gnupg/2.4.9/lib/gnupg
/usr/local/Cellar/gnupg/2.4.9/share/gnupg
/usr/local/Cellar/gnupg/2.4.9/share/localeand failed to start
gpgconf --launch gpg-agent
gpgconf: error running '/usr/local/Cellar/gnupg/2.4.9/bin/gpg-agent': probably not installed
gpgconf: Configuration file of component GPG Agent is broken
gpgconf: Note: Use the command "gpg-agent --gpgconf-test" to get details.it there any way to fix this?
Source: lucasgelfond/zerobrew