Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#41643 closed defect (worksforme)

gtk3 fails to configure on mavericks

Reported by: simonblanchard@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: mkae (Marko Käning)
Port: gtk3

Description (last modified by ryandesign (Ryan Schmidt))

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)

Attachments (2)

main.log.gz (975 bytes) - added by simonblanchard@… 7 years ago.
Log of failing config
main.log.2.gz (975 bytes) - added by simonblanchard@… 7 years ago.
clean log

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by simonblanchard@…

Attachment: main.log.gz added

Log of failing config

comment:1 Changed 7 years ago by simonblanchard@…

Cc: simonblanchard@… added

Cc Me!

comment:2 Changed 7 years ago by ryandesign (Ryan Schmidt)

Cc: simonblanchard@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…

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 clean and try again before we investigate further.

comment:3 Changed 7 years ago by simonblanchard@…

Cleaned and tried again. Same result.

Changed 7 years ago by simonblanchard@…

Attachment: main.log.2.gz added

clean log

comment:4 Changed 7 years ago by neverpanic (Clemens Lang)

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?

comment:5 Changed 7 years ago 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

comment:6 Changed 7 years ago by neverpanic (Clemens Lang)

Resolution: worksforme
Status: newclosed

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.

comment:7 Changed 6 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

Hit me just now also:

--->  Configuring gtk3
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/5v/h7rh73297k1dtrw6yzbv19sh0000gp/T/xcrun_db-BEyx71Bg' (errno=Permission denied)

Above fix worked as well.

Last edited 6 years ago by mkae (Marko Käning) (previous) (diff)
Note: See TracTickets for help on using tickets.