Problem with gdb port

Christoph Kukulies kuku at
Wed Apr 6 14:31:41 UTC 2022

I’m gettig the following:

$ sudo port install gdb
--->  Computing dependencies for gdb
The following dependencies will be installed:  boehmgc
Continue? [Y/n]: 
--->  Fetching archive for boehmgc
--->  Attempting to fetch boehmgc-8.0.6_0.darwin_20.x86_64.tbz2 from
--->  Attempting to fetch boehmgc-8.0.6_0.darwin_20.x86_64.tbz2.rmd160 from
--->  Installing boehmgc @8.0.6_0
--->  Activating boehmgc @8.0.6_0
--->  Cleaning boehmgc
--->  Fetching archive for gdb
--->  Attempting to fetch gdb-11.2_0.darwin_20.x86_64.tbz2 from
--->  Attempting to fetch gdb-11.2_0.darwin_20.x86_64.tbz2.rmd160 from
--->  Installing gdb @11.2_0
--->  Activating gdb @11.2_0
Error: Failed to activate gdb: Image error: /opt/local/include/ansidecl.h is being used by the active binutils port.  Please deactivate this port first, or use 'port -f activate gdb' to force the activation.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gdb/gdb/main.log for details.
Error: Follow if you believe there is a bug.
Error: Processing of port gdb failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3363 bytes
Desc: not available
URL: <>

More information about the macports-users mailing list