[MacPorts] #42428: Aquaterm fails to build due to StripNIB failures
MacPorts
noreply at macports.org
Thu Nov 27 20:51:02 PST 2014
#42428: Aquaterm fails to build due to StripNIB failures
------------------------+--------------------
Reporter: mfuhrer@… | Owner: g5pw@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: aquaterm |
------------------------+--------------------
Comment (by ajdudman@…):
I too see this with port aquaterm and other ports using Xcode to build
them. I am on OS X 10.10.1 system with Xcode 6.1. The build log message
from ibtool is confusing and poorly done. This is a bug in Xcode,
specifically /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool
does not respect the environment's TMPDIR setting, instead in my case, it
wants to write to files under "/opt/.TemporaryItems/". I mount a separate
disk for Macports at mountpoint "/opt/". Look a Console.app's log. I
have five messages like this one:
{{{
11/27/14 9:49:16.838 PM sandboxd[19157]: ([19155]) ibtoold(19155) deny
file-write-create /opt/.TemporaryItems/folders.509/TemporaryItems/(A
Document Being Saved By ibtool)
}}}
509 is user macports uid number. The workaround is to either disable
sandbox with 'set portsandbox_profile ""' in pre-build and pre-destroot
procedures, or better yet expand the sandbox for Yosemite/Xcode. I chose
the latter. See the attached patch. After patching macports source, be
sure to reinstall, so that the change takes effect. Just after your
failed port aquaterm build, be sure to look at sandbox message. You might
need a different location.
--
Ticket URL: <https://trac.macports.org/ticket/42428#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list