On Dec 9, 2014, at 9:39 PM, Andrew Dudman wrote: > 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.
Surely it doesn't specifically need /opt/.TemporaryItems, but rather perhaps .TemporaryItems at the root of the volume, which in your case just happens to be /opt. On my single-volume system, there is no .TemporaryItems folder at the root of the volume and things work fine. I don't know where ibtool puts its temporary items. Would be nice if it supported $TMPDIR. Have you filed a bug report with Apple about that deficiency? If not, please do. _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
