[MacPorts] #66732: gdb @12.1.0 fails to build on Monterey 12.6.2 on M1 Max
MacPorts
noreply at macports.org
Sat Jan 21 06:44:49 UTC 2023
#66732: gdb @12.1.0 fails to build on Monterey 12.6.2 on M1 Max
---------------------+------------------------
Reporter: yiorgb | Owner: (none)
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: | Keywords: gdb, arm64
Port: gdb |
---------------------+------------------------
Comment (by kencu):
gdb doesn't yet work as arm64, so x86_64 is all you can have on an M1 Mac.
If that is still of use to you, then this file:
{{{
/opt/local/lib/libintl.dylib
}}}
needs to be built as universal. I guess it was picked up during the build,
but may not be listed in the deps of gdb, I'll have to check.
This should fix you up:
{{{
sudo port -f deactivate gettext-runtime
sudo port -v install gettext-runtime +universal
}}}
and then:
{{{
sudo port clean gdb
sudo port -v install gdb
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66732#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list