Opened 9 years ago

Closed 9 years ago

#48426 closed defect (duplicate)

gdb @7.9.1_0 conflict with binutils

Reported by: MarinosK (Marinos Koutsomichalis) Owned by: stuartwesterman (Stuart Westerman)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: gdb binutils

Description

I get the following error

Error: org.macports.activate for port gdb returned: 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.
Please see the log file for port gdb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gdb/gdb/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gdb failed

isn't there any way to resolve this conflict and still have both gdb and lldb installed ?

Change History (3)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: gdb removed
Owner: changed from macports-tickets@… to stuartwesterman@…

comment:2 Changed 9 years ago by stuartwesterman (Stuart Westerman)

I have lldb without having binutils installed:

wei@r [~]$ which ggdb
/opt/local/bin/ggdb
wei@r [~]$ which lldb
/usr/bin/lldb
wei@r [~]$ lldb --version
lldb-330.0.48
wei@r [~]$ 

Isn't there a way you can get lldb without installing binutils? It appears that binutils breaks other ports.

Version 0, edited 9 years ago by stuartwesterman (Stuart Westerman) (next)

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #43591.

Note: See TracTickets for help on using tickets.