Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397393 - dev-python/pycairo-1.10.0-r2 suffers a test failure build with pypy-1`.7
Summary: dev-python/pycairo-1.10.0-r2 suffers a test failure build with pypy-1`.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2012-01-02 13:59 UTC by Ian Delaney (RETIRED)
Modified: 2012-06-02 11:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
my emerge --info (emerge.info,4.90 KB, text/plain)
2012-01-02 13:59 UTC, Ian Delaney (RETIRED)
Details
the build log (pycairo_build.log,25.37 KB, text/plain)
2012-01-02 14:00 UTC, Ian Delaney (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-01-02 13:59:27 UTC
Created attachment 297673 [details]
my emerge --info

FEATURES test set. std use flags;

______________________ ERROR collecting test/api_test.py _______________________
test/api_test.py:12: in <module>
>   import cairo
E   ImportError: No module named cairo
____________________ ERROR collecting test/examples_test.py ____________________
test/examples_test.py:11: in <module>
>   import cairo
E   ImportError: No module named cairo
=========================== 2 error in 0.32 seconds ============================
 * ERROR: dev-python/pycairo-1.10.0-r2 failed (test phase):
 *   Testing failed with PyPy 1.7 (Python 2.7) in python_test_function() function
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-01-02 14:00:02 UTC
Created attachment 297675 [details]
the build log
Comment 2 Arfrever Frehtes Taifersar Arahesis 2012-01-03 01:34:45 UTC
Build system seems to have CPython-specific assumptions.
I have restricted PyPy ABIs.
Comment 3 Marien Zwart (RETIRED) gentoo-dev 2012-06-02 11:59:46 UTC
Confirmed the build system just does not work right: it uses python-config (and finds python-config-2.7 from cpython 2.7 when building with pypy) and ends up installing /usr/lib64/python2.7/site-packages/cairo/_cairo.pypy-18.so which just isn't going to work. Restricted pypy for now, we'll probably need pypy to install a python-config before this can be fixed properly.