[MacPorts] #36563: Bizarre Xcode permissions problem
#36563: Bizarre Xcode permissions problem ----------------------+-------------------------------- Reporter: royliu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ----------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/36563> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36563: Bizarre Xcode permissions problem -----------------------+-------------------------------- Reporter: royliu@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | -----------------------+-------------------------------- Comment (by and.damore@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/36563#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36563: Bizarre Xcode permissions problem -----------------------+------------------- Reporter: royliu@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | -----------------------+------------------- Changes (by cal@…): * owner: macports-tickets@… => jmr@… Comment: This is probably caused by sandboxing introduced in macports trunk. -- Ticket URL: <https://trac.macports.org/ticket/36563#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36563: Bizarre Xcode permissions problem -----------------------+------------------- Reporter: royliu@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: | -----------------------+------------------- Comment (by and.damore@…): Updating base to r98904 solved my issue. -- Ticket URL: <https://trac.macports.org/ticket/36563#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36563: Bizarre Xcode permissions problem -----------------------+-------------------- Reporter: royliu@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.1.99 Resolution: fixed | Keywords: Port: | -----------------------+-------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed * version: 2.1.2 => 2.1.99 * component: ports => base Comment: Assuming the version field was set wrong then. -- Ticket URL: <https://trac.macports.org/ticket/36563#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts