[MacPorts] #41166: gdb @7.6 Staging into destroot failed
MacPorts
noreply at macports.org
Sun Aug 23 15:30:58 PDT 2015
#41166: gdb @7.6 Staging into destroot failed
---------------------------+-------------------------------
Reporter: nimrodomer@… | Owner: stuartwesterman@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: gdb |
---------------------------+-------------------------------
Comment (by mtb19@…):
Here's a possible work-around (for systems with `dseditgroup`):
{{{
% # add current user to procmod
% sudo dseditgroup -o edit -a "$( whoami )" -t user procmod
% port install gdb
...
% # remove user from procmod
% sudo dseditgroup -o edit -d "$( whoami )" -t user procmod
}}}
Adapted from [https://support.apple.com/en-us/HT202112 this source].
You'll still get this warning after installation:
{{{
You will need to make sure
/System/Library/LaunchDaemons/com.apple.taskgated.plist has the '-p'
option, e.g.
<key>ProgramArguments</key>
<array>
<string>/usr/libexec/taskgated</string>
<string>-sp</string>
</array>
Due to kernel caching, you usually need to restart Mac OS X for this
option to effect.
}}}
But at least it installs. (If you're curious about the motivation of the
warning, see [http://gaetanmasson.com/use-gdb-from-macports-on-
os-x-10-9-mavericks/ this explanation].)
--
Ticket URL: <https://trac.macports.org/ticket/41166#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list