Created attachment 877675 [details] build.log Description of problem: The latest pycairo fails on PPC during the unit tests: + py.test ============================= test session starts ============================== platform linux2 -- Python 2.7.6 -- pytest-2.4.2 collected 7 items api_test.py ...... examples_test.py F =================================== FAILURES =================================== ________________________________ test_snippets _________________________________ def test_snippets(): '''Run all snippets in png,pdf,ps,svg mode and check they exit successfully. This will create *.{pdf,png,ps,svg} output files in examples/cairo_snippets/snippets/ ''' def doSnippets(name): retcode = subprocess.call('python %s -s' % name, shell=True) assert retcode == 0, 'Error: retcode == {0}'.format(retcode) os.chdir(os.path.join(os.path.dirname(__file__), '..', 'examples', 'cairo_snippets')) if cairo.HAS_PDF_SURFACE: > doSnippets('snippets_pdf.py') ../../test/examples_test.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'snippets_pdf.py' def doSnippets(name): retcode = subprocess.call('python %s -s' % name, shell=True) > assert retcode == 0, 'Error: retcode == {0}'.format(retcode) E AssertionError: Error: retcode == -6 ../../test/examples_test.py:22: AssertionError ------------------------------- Captured stderr -------------------------------- python: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed. ====================== 1 failed, 6 passed in 0.40 seconds ====================== Version-Release number of selected component (if applicable): pycairo-1.8.10-8.fc21 How reproducible: Steps to Reproduce: 1. ppc-koji build--scratch f21 pycairo-1.8.10-8.fc21.src.rpm 2. 3. Actual results: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1726804 Expected results: Additional info:
The tests seems to pass when built on F-20, so maybe a different Cairo or something like that.
Created attachment 897971 [details] Patch fixing bug lyx-font was missing on ppc from build dependencies, that caused test to fail. Added patch fixing this bug to attachment.
Thanks a lot, Jakub, closing.