Problem with gdb port

Christoph Kukulies kuku at kukulies.org
Wed Apr 6 14:59:59 UTC 2022


I followed the recommended steps to deactivate binutils. Finally I got something not being called gdb, but ggdb.

And running it tells me I gotta codesign the binary.

OK, als I got through this codesigning process but at some point I’m asked ${which gdb}

Before I dare to run the script with this macro from which I would expect that it would fail anyway, I’m asking: would it be safe to renam or link ggdb to gdb?

—
Christoph



> Am 06.04.2022 um 16:31 schrieb Christoph Kukulies <kuku at kukulies.org>:
> 
> 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 https://packages.macports.org/boehmgc <https://packages.macports.org/boehmgc>
> --->  Attempting to fetch boehmgc-8.0.6_0.darwin_20.x86_64.tbz2.rmd160 from https://packages.macports.org/boehmgc <https://packages.macports.org/boehmgc>
> --->  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 https://packages.macports.org/gdb <https://packages.macports.org/gdb>
> --->  Attempting to fetch gdb-11.2_0.darwin_20.x86_64.tbz2.rmd160 from https://packages.macports.org/gdb <https://packages.macports.org/gdb>
> --->  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 https://guide.macports.org/#project.tickets <https://guide.macports.org/#project.tickets> if you believe there is a bug.
> Error: Processing of port gdb failed
> $

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220406/e791c804/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3363 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20220406/e791c804/attachment.bin>


More information about the macports-users mailing list