Aquaterm fails to build due to StripNIB failures (Ticket #42428)
Andrew Dudman
ajdudman at sbcglobal.net
Tue Dec 9 19:39:23 PST 2014
Hello everyone,
mojca invited me to post here for feedback. The scope of the problem is beyond the aquaterm port. The failure may occur in other ports built by Xcode. I am on an OS X 10.10.1 system with Xcode 6.1. ibtool does not respect the environments 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/“. The system error log has five messages like this:
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)
The sandbox needs to be enlarged to allow file writes to ".TemporaryItems/" directory. At the subject ticket, I have already submitted a preliminary patch of "base/src/port1.0/portsandbox.tcl”. My question is, “What directory path does ibtool and/or ibtoold use for temporary items on your system?”
Furthermore, I have found I need something like:
allow file-write* (regex #\”^/opt/.TemporaryItems/\”)
and not just a regex for a subdirectory of that.
Cheers for Macports — I use it daily,
Andrew
More information about the macports-dev
mailing list