Permission denied writing temp file during restore_ports.tcl on macOS sierra

Kendall Shaw kendall.shaw at workday.com
Thu Apr 20 18:19:32 UTC 2017


I didn’t figure out the problem. But, after uninstalling macports completely and reinstalling, at least gmp has installed and I am reinstalling the high level ports with lots of dependencies now instead of using restore_ports.tcl

From: macports-users <macports-users-bounces at lists.macports.org> on behalf of Kendall Shaw <kendall.shaw at workday.com>
Date: Thursday, April 20, 2017 at 9:30 AM
To: macports-users <macports-users at lists.macports.org>
Subject: Permission denied writing temp file during restore_ports.tcl on macOS sierra

Building gmp fails because it can’t write to a directory that it creates in /var/folders/xx/_blah/T:

:info:build make: error: couldn't create cache file '/var/folders/sr/_cb62lmn0v36cvbz11hjgy7r0000gn/T/xcrun_db-eQZtJHV5' (errno=Permission denied)

Changing permissions using chmod -R g+w  /var/folders/sr/_cb62lmn0v36cvbz11hjgy7r0000gn doesn’t change, it still creates a directory and then says it can’t write to it. And I’ve tried a few variations of this changing group and ownership

Do you know what needs to be done?

Kendall


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20170420/65ee66ae/attachment.html>


More information about the macports-users mailing list