Opened 11 years ago

Closed 11 years ago

Last modified 7 years ago

#43444 closed defect (invalid)

gmp @6.0.0_0: couldn't create cache file (errno=Permission denied)

Reported by: grrr@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), ryandesign (Ryan Carsten Schmidt)
Port: gmp

Description

Attempting to upgrade from 5.1.2_0, tried multiple times and have port clean gmp. Log attached.

Attachments (1)

main.log (600.6 KB) - added by grrr@… 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by grrr@…

Attachment: main.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mcalhoun@… ryandesign@… added
Resolution: invalid
Status: newclosed
Summary: gmp @6.0.0_0 - build failuregmp @6.0.0_0: couldn't create cache file (errno=Permission denied)

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.

comment:2 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Has duplicated #54704.

Note: See TracTickets for help on using tickets.