Opened 12 years ago
Closed 12 years ago
#36563 closed defect (fixed)
Bizarre Xcode permissions problem
Reported by: | royliu@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.1.99 |
Keywords: | Cc: | anddam (Andrea D'Amore) | |
Port: |
Description
I recently upgraded to Xcode 4.5.1 (along with Command Line Tools), and I have been getting the following.
error: couldn't create directory /var/folders/d_/bpdgfp1n3z97kh7wl3m79lj00000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/QuickLookPlugin-Prefix-gbcgytovtbjwlkfdpkqeuzxvcyey: Operation not permittedwarning: unable to open file /var/folders/d_/bpdgfp1n3z97kh7wl3m79lj00000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/QuickLookPlugin-Prefix-gbcgytovtbjwlkfdpkqeuzxvcyey/QuickLookPlugin-Prefix.pch.dia for serializing diagnostics (Error opening output file '/var/folders/d_/bpdgfp1n3z97kh7wl3m79lj00000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/QuickLookPlugin-Prefix-gbcgytovtbjwlkfdpkqeuzxvcyey/QuickLookPlugin-Prefix.pch.dia') [-Wserialized-diagnostics] error: unable to open output file '/var/folders/d_/bpdgfp1n3z97kh7wl3m79lj00000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/QuickLookPlugin-Prefix-gbcgytovtbjwlkfdpkqeuzxvcyey/QuickLookPlugin-Prefix.pch.pth': 'Error opening output file '/var/folders/d_/bpdgfp1n3z97kh7wl3m79lj00000gp/C/com.apple.Xcode.502/SharedPrecompiledHeaders/QuickLookPlugin-Prefix-gbcgytovtbjwlkfdpkqeuzxvcyey/QuickLookPlugin-Prefix.pch.pth''
I've observed this problem in the build processes of transmission
and gimp-app
. Please find the build log for transmission
attached. It if helps, I am on 10.8.2.
Attachments (2)
Change History (7)
Changed 12 years ago by royliu@…
comment:2 Changed 12 years ago by anddam (Andrea D'Amore)
I experienced the same with graphviz-gui-devel, the /var/folders/* paths seemed to have correct permissions, macports:macports owned from /var/folders/*/* downward. In my case changing working directory to $worksrcdir and manually issuing the build command succesfully built the package.
I reproduced the same issue several times with cleaning between port build runs, after a certain clean it built and I cannot reproduce anymore. Yes, this is weird.
edit: I still have the issue, it happens in destroot phase while I was searching it in build phase. I'm attaching log as well.
comment:3 Changed 12 years ago by neverpanic (Clemens Lang)
Owner: | changed from macports-tickets@… to jmr@… |
---|
This is probably caused by sandboxing introduced in macports trunk.
Changed 12 years ago by anddam (Andrea D'Amore)
Attachment: | graphviz-gui-devel.log added |
---|
comment:5 Changed 12 years ago by jmroot (Joshua Root)
Component: | ports → base |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | 2.1.2 → 2.1.99 |
Assuming the version field was set wrong then.
The transmission build log.