On 2026-02-22 at 23:28:55 UTC-0500 (Mon, 23 Feb 2026 15:28:55 +1100)
Dave Horsfall <[email protected]>
is rumored to have said:
[ I usually post as "[email protected]" but I'm having problems with
Optusnet ]
High Sierra 10.13.6 on MacBook Pro (13-inch, Mid 2010).
Trying to build "gnuplot" it sees "aquaterm" as a dependancy and fails
when
trying to build "xcrun" with ":info:build xcrun: error: unable to exec
Xcode native xcrun (Permission denied)."
The main.log file is attached (and some of those warnings look a bit
suss
to me).
Yes, I ran "port clean all" first.
Where have I stuffed up?
Your Xcode and/or Command Line Tools installations are broken.
The 'xcrun' program is not something MacPorts is building, it is part
of the Xcode complex that can be used to find the 'right' development
tool (cc, ar, nm, clang, ld, etc.) or to run one of those tools. From
the man page:
xcrun provides a means to locate or invoke developer tools
from the command-line, without requiring users to modify
Makefiles or otherwise take inconvenient measures to support
multiple Xcode tool chains.
The "unable to exec Xcode native xcrun (Permission denied)." error
strikes me as odd, since that claims there's a permissions problem,
which is extremely unlikely unless you've done something like chmod'ing
/usr/bin/xcrun.
--
Bill Cole