[MacPorts] #41643: gtk3 fails to configure on mavericks
#41643: gtk3 fails to configure on mavericks ------------------------------+-------------------------------- Reporter: simonblanchard@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: mavericks | Port: gtk3 ------------------------------+-------------------------------- gtk3 config fails with the following message Error: org.macports.configure for port gtk3 returned: Non-fat file: /opt/local/lib/libatk-1.0.dylib is architecture: x86_64 lipo: error: couldn't create cache file '/var/folders/k0/nfgrqrs52gv8qd3z483664kw0000gp/T/xcrun_db-mdcabxdD' (errno=Permission denied) -- Ticket URL: <https://trac.macports.org/ticket/41643> MacPorts <http://www.macports.org/> Ports system for OS X
#41643: gtk3 fails to configure on mavericks -------------------------------+------------------------ Reporter: simonblanchard@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: gtk3 | -------------------------------+------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… * cc: simonblanchard@… (removed) Old description:
gtk3 config fails with the following message
Error: org.macports.configure for port gtk3 returned: Non-fat file: /opt/local/lib/libatk-1.0.dylib is architecture: x86_64 lipo: error: couldn't create cache file '/var/folders/k0/nfgrqrs52gv8qd3z483664kw0000gp/T/xcrun_db-mdcabxdD' (errno=Permission denied)
New description: gtk3 config fails with the following message {{{ Error: org.macports.configure for port gtk3 returned: Non-fat file: /opt/local/lib/libatk-1.0.dylib is architecture: x86_64 lipo: error: couldn't create cache file '/var/folders/k0/nfgrqrs52gv8qd3z483664kw0000gp/T/xcrun_db-mdcabxdD' (errno=Permission denied) }}} -- Comment: That shouldn't be. gtk3 does declare a dependency on atk, so it you're building gtk3 universal (I assume you are?) then MacPorts should have automatically built atk universal first. The log shows this was not a clean attempt, so please [https://guide.macports.org/chunked/project.html#project.tickets.prerequisite... clean and try again] before we investigate further. -- Ticket URL: <https://trac.macports.org/ticket/41643#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41643: gtk3 fails to configure on mavericks -------------------------------+------------------------ Reporter: simonblanchard@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: gtk3 | -------------------------------+------------------------ Comment (by simonblanchard@…): Cleaned and tried again. Same result. -- Ticket URL: <https://trac.macports.org/ticket/41643#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41643: gtk3 fails to configure on mavericks -------------------------------+------------------------ Reporter: simonblanchard@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: gtk3 | -------------------------------+------------------------ Comment (by cal@…): What are the permissions of `/var/folders/k0/nfgrqrs52gv8qd3z483664kw0000gp` and `/var/folders/k0/nfgrqrs52gv8qd3z483664kw0000gp/T`? I've recently had a similar case that caused my builds to slow down considerably. Removing `/var/folders/k0` fixed that in my case, maybe you could try that (it's only a temporary file after all). I wouldn't expect that to cause the mismatch, though. Can you (just to double check) provide the output of `file /opt/local/lib/libatk-1.0.dylib` and `port -v installed atk`? -- Ticket URL: <https://trac.macports.org/ticket/41643#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41643: gtk3 fails to configure on mavericks -------------------------------+------------------------ Reporter: simonblanchard@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: gtk3 | -------------------------------+------------------------ Comment (by simonblanchard@…): {{{ krusty\simonb[7]: ls -ld /var/folders/k0/nfgrqrs52gv8qd3z483664kw0000gp/T/ drwx------ 2 root macports 68 Nov 25 10:14 /var/folders/k0/nfgrqrs52gv8qd3z483664kw0000gp/T/ krusty\simonb[8]: ls -ld /var/folders/k0/nfgrqrs52gv8qd3z483664kw0000gp/ drwxr-xr-x 4 macports macports 136 Nov 25 10:14 /var/folders/k0/nfgrqrs52gv8qd3z483664kw0000gp/ krusty\simonb[9]: ls -ld /var/folders/k0/ drwxr-xr-x 3 root wheel 102 Oct 25 09:01 /var/folders/k0/ }}} {{{ krusty\simonb[1]: file /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libatk-1.0.dylib: Mach-O 64-bit dynamically linked shared library x86_64 krusty\simonb[2]: port -v installed atk The following ports are currently installed: atk @2.10.0_0 (active) platform='darwin 13' archs='x86_64' }}} Fixed with {{{ krusty\simonb[10]: sudo rm -rf /var/folders/k0/ }}} Thanks -- Ticket URL: <https://trac.macports.org/ticket/41643#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41643: gtk3 fails to configure on mavericks -------------------------------+------------------------ Reporter: simonblanchard@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: mavericks Port: gtk3 | -------------------------------+------------------------ Changes (by cal@…): * status: new => closed * resolution: => worksforme Comment: I'm not sure where those problems come from, but they do seem to cause weird problems. I wonder why the tools print "error" but don't abort instead of misbehaving. Glad you could solve this, though. -- Ticket URL: <https://trac.macports.org/ticket/41643#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts