Bug 80399

Summary: Wrong architecture detected on Macs
Product: pycairo Reporter: Christian Mertes <cmertes>
Component: generalAssignee: Steve Chaplin <d74n5pohf9>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Christian Mertes 2014-06-23 13:27:18 UTC
When trying to install py2cairo-1.10.0 on a Mac Pro running Mac OS 10.9.3 on an Intel Xeon E5, the cflags are full of "-arch i386" options, as well as "-arch x86_64". However, the i386 options come last. This leads to an "Undefined symbols for architecture i386" error. A possible culprit might be that uname -p returns "i386" instead of "x86_64" like it does on my Linux 64 bit machine.

Removing all "'-arch', 'i386'" entries from the lists in build_directory/c4che/_cache.py after ./waf configure leads to a clean install.
Comment 1 Christoph Reiter 2017-07-05 15:11:33 UTC
Since 1.11 pycairo uses distutils for building. There is a good chance that
this bug no longer occurs with the new system. If there are still problems
please file a bug: https://github.com/pygobject/pycairo/issues

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.