[MacPorts] #48612: ghc build failed on dtrace
MacPorts
noreply at macports.org
Tue Dec 8 15:26:06 PST 2015
#48612: ghc build failed on dtrace
-------------------------+----------------------------
Reporter: J.Gilbey@… | Owner: kitchen.andy@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: ghc |
-------------------------+----------------------------
Comment (by cal@…):
I'm surprised the build actually uses dtrace, especially since it's
useless without root privileges on OS X, and we do builds as unprivileged
user.
Is your dtrace a standard installation? What's the output of `ls -lash
/usr/bin/dtrace`?
And here's to random guessing: Did you by any chance put a SUID bit on
dtrace? MacPorts' builds are sandboxed, and SUID binaries cannot be run in
sandboxed environments. They fail with this exact error message.
Console.app would also contain a message about this. You can temporarily
disable the use of sandboxing by putting `enable_sandbox no` into
`macports.conf`, but please don't keep it as the default.
--
Ticket URL: <https://trac.macports.org/ticket/48612#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list