[MacPorts] #36727: gdb 7.5 BFD unknown load command & Unable to find Mach task port
MacPorts
noreply at macports.org
Thu Jan 10 09:05:07 PST 2013
#36727: gdb 7.5 BFD unknown load command & Unable to find Mach task port
-------------------------+----------------------
Reporter: jb_duffy@… | Owner: dweber@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: gdb |
-------------------------+----------------------
Comment (by dave@…):
Interesting; codesigning doesn't solve the problem for me. My
/usr/bin/gdb works, but my /opt/local/bin/ggdb doesn't. The only
differences I can ''see'' are in the files' extended attributes:
{{{
cube:/tmp/bld/modhist/debug dave% codesign --verify --verbose $(which gdb)
$(which ggdb)
/usr/bin/gdb: valid on disk
/usr/bin/gdb: satisfies its Designated Requirement
/opt/local/bin/ggdb: valid on disk
/opt/local/bin/ggdb: satisfies its Designated Requirement
cube:/tmp/bld/modhist/debug dave% ls -l@ $(which gdb) $(which ggdb)
-rwxr-sr-x 1 root wheel 5206576 Jan 10 10:53 /opt/local/bin/ggdb
-rwxr-xr-x@ 1 root wheel 11032 Nov 27 14:29 /usr/bin/gdb
com.apple.cs.CodeDirectory 112
com.apple.cs.CodeRequirements 80
com.apple.cs.CodeSignature 1346
}}}
However, I don't know how to produce those attributes on ggdb, nor do I
know what the correct numbers would be.
--
Ticket URL: <https://trac.macports.org/ticket/36727#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list