#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 J.Gilbey@…): Hi! Here's the dtrace exploration: {{{ Julian-Mac:~ $ ls -lash /usr/bin/dtrace ls: /usr/bin/dtrace: No such file or directory Julian-Mac:~ $ which dtrace /usr/sbin/dtrace Julian-Mac:~ $ ls -lash /usr/sbin/dtrace 40 -rwxr-xr-x 1 root wheel 49K 18 Oct 00:46 /usr/sbin/dtrace }}} So no, there's no SUID dtrace. Hmmm. As you say, I have no idea why the build even tries to use dtrace; somewhere in the configuration step, it must have decided that dtrace was a sensible thing to do. I checked in configure.ac; it tests for the presence of dtrace. dtrace is then used, if it exists, in rts/ghc.mk, as defined by the variable USE_DTRACE. I don't see any obvious way around this (besides editing the makefile), but I also don't understand why it doesn't test for sufficient privileges to actually be able to run dtrace. Julian -- Ticket URL: <https://trac.macports.org/ticket/48612#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X