#36637: GDB port is incompatible with GCC -----------------------------+-------------------------------- Reporter: david.krauss@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: gdb | -----------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid * milestone: MacPorts Future => Comment: gdb is not incompatible with gcc; gdb merely has a build-time conflict with cctools-headers: {{{ $ sudo port install gdb ---> Computing dependencies for gdb ---> Fetching distfiles for gdb ---> Verifying checksum(s) for gdb ---> Extracting gdb ---> Configuring gdb Error: gdb cannot be built while cctools-headers is active. Error: Please deactivate cctools-headers and try again. Error: You can reactivate cctools-headers again later. Error: org.macports.configure for port gdb returned: cctools-headers is active }}} Do what it says: deactivate cctools-headers, then install gdb, then re- activate cctools-headers. This will fail of course: {{{ $ sudo port deactivate cctools-headers ---> Deactivating cctools-headers @829_0 ---> Unable to deactivate cctools-headers @829_0, the following ports depend on it: ---> cctools @829_2+llvm31 }}} For the purposes of installing gdb, we don't care about cctools, and we're going to re-activate cctools-headers again as soon as we're done installing gdb, so it's fine to force the deactivation to make this work: {{{ $ sudo port -f deactivate cctools-headers ---> Deactivating cctools-headers @829_0 ---> Unable to deactivate cctools-headers @829_0, the following ports depend on it: ---> cctools @829_2+llvm31 Warning: Deactivate forced. Proceeding despite dependencies. $ sudo port install gdb ... $ sudo port activate cctools-headers ---> Activating cctools-headers @829_0 ---> Cleaning cctools-headers }}} -- Ticket URL: <https://trac.macports.org/ticket/36637#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS