Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1079673 - FTBFS: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed
Summary: FTBFS: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_froze...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pycairo
Version: rawhide
Hardware: powerpc
OS: Linux
high
high
Target Milestone: ---
Assignee: John (J5) Palmieri
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker PPCTracker
TreeView+ depends on / blocked
 
Reported: 2014-03-22 21:34 UTC by Karsten Hopp
Modified: 2014-05-21 13:31 UTC (History)
4 users (show)

Fixed In Version: pycairo-1.8.10-10.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-21 13:31:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log (26.21 KB, text/x-log)
2014-03-22 21:34 UTC, Karsten Hopp
no flags Details
Patch fixing bug (1.43 KB, patch)
2014-05-21 13:24 UTC, Jakub Čajka
no flags Details | Diff

Description Karsten Hopp 2014-03-22 21:34:15 UTC
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:

Comment 1 Dan Horák 2014-05-20 08:13:09 UTC
The tests seems to pass when built on F-20, so maybe a different Cairo or something like that.

Comment 2 Jakub Čajka 2014-05-21 13:24:32 UTC
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.

Comment 3 Dan Horák 2014-05-21 13:31:23 UTC
Thanks a lot, Jakub, closing.


Note You need to log in before you can comment on or make changes to this bug.