[MacPorts] #49682: gdb does not install on El Capitan
#49682: gdb does not install on El Capitan ----------------------------+-------------------------------- Reporter: stiefschmied@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: gdb El Capitan | Port: ----------------------------+-------------------------------- gdb can not be installed on El Capitan, most likely due to Apple's "rootless system" feature. System: OSX 10.11.1. "sudo port install gdb" does not give an error message, but nevertheless gdb is not available. -- Ticket URL: <https://trac.macports.org/ticket/49682> MacPorts <https://www.macports.org/> Ports system for OS X
#49682: gdb does not install on El Capitan -----------------------------+-------------------------------- Reporter: stiefschmied@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: gdb | -----------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: gdb El Capitan => elcapitan * port: => gdb Comment: "sudo port install gdb" should produce some output: either showing a successful installation or showing an error. Please show us the exact output you get from running that command. gdb builds fine for me on OS X 10.11.1. If it fails for you, it should print the location of a main.log file which you should attach to this ticket. -- Ticket URL: <https://trac.macports.org/ticket/49682#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49682: gdb does not install on El Capitan -----------------------------+-------------------------------- Reporter: stiefschmied@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: gdb | -----------------------------+-------------------------------- Comment (by stiefschmied@…): The installation log is attached. It seems to install something, but I can not find "gdb" after installation. I was expecting to find "/opt/local/bin/gdb" but it is not there. -- Ticket URL: <https://trac.macports.org/ticket/49682#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49682: gdb does not install on El Capitan -----------------------------+-------------------------------- Reporter: stiefschmied@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: elcapitan Port: gdb | -----------------------------+-------------------------------- Comment (by khindenburg@…): If it installs, this will likely display the binaries {{{ $ port contents gdb | grep bin /opt/local/bin/ggdb /opt/local/libexec/gnubin/gdb }}} Note that 10.11 has SIP, so the notes given doesn't appear to be possible to change. "You will need to make sure /System/Library/LaunchDaemons/com.apple.taskgated.plist has the '-p' option" https://en.wikipedia.org/wiki/System_Integrity_Protection -- Ticket URL: <https://trac.macports.org/ticket/49682#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49682: gdb does not install on El Capitan -----------------------------+-------------------------------- Reporter: stiefschmied@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: elcapitan Port: gdb | -----------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Replying to [comment:2 stiefschmied@…]:
The installation log is attached. It seems to install something, but I can not find "gdb" after installation. I was expecting to find "/opt/local/bin/gdb" but it is not there.
The transcript you attached shows gdb was successfully installed. The gdb port does not provide /opt/local/bin/gdb; it provides /opt/local/bin/ggdb. As Kurt mentioned above, use "port contents" to discover what a port installs. If you want to call the program as "gdb" instead of "ggdb" you can add /opt/local/libexec/gnubin to your PATH environment variable, however note that several other GNU programs install into that directory and making them available in the PATH might be problematic on OS X. An alternative would be to define a shell alias for gdb in your shell startup file. -- Ticket URL: <https://trac.macports.org/ticket/49682#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts