[MacPorts] #43444: gmp @6.0.0_0: couldn't create cache file (errno=Permission denied) (was: gmp @6.0.0_0 - build failure)

MacPorts noreply at macports.org
Mon Apr 21 19:10:42 PDT 2014


#43444: gmp @6.0.0_0: couldn't create cache file (errno=Permission denied)
----------------------+--------------------------------
  Reporter:  grrr@…   |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.2.1
Resolution:  invalid  |   Keywords:
      Port:  gmp      |
----------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * cc: mcalhoun@…, ryandesign@… (added)
 * resolution:   => invalid


Comment:

 The log contains lots of lines like this:

 {{{
 clang: error: couldn't create cache file
 '/var/folders/h4/8yyrxjpd10df9d922l81br540000gp/T/xcrun_db-FyeS8X6f'
 (errno=Permission denied)
 }}}

 Why is permission denied to create these temporary files?

 This doesn't sound like a gmp- or MacPorts-specific problem, but rather a
 permissions problem with a central OS-provided directory. I would expect
 you to see similar errors compiling other ports, or other software, or
 just doing other routine things on your computer, until you fix this.

 See also previous reports of this type of error: #41095, #41643, #42076,
 #43282. The suggestion in several of those was to delete the directory
 that has the incorrect permissions, which presumably allows the OS to re-
 create it with the correct permissions.

-- 
Ticket URL: <https://trac.macports.org/ticket/43444#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list