Bug 80399 - Wrong architecture detected on Macs
Summary: Wrong architecture detected on Macs
Status: RESOLVED FIXED
Alias: None
Product: pycairo
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Steve Chaplin
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-23 13:27 UTC by Christian Mertes
Modified: 2017-07-05 15:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.