[blfs-book] [BLFS Trac] #4965: pygobject-3.12.1

BLFS Trac trac at linuxfromscratch.org
Wed Apr 16 09:10:59 PDT 2014

#4965: pygobject-3.12.1
 Reporter:  fo           |       Owner:  fo
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  7.6
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |

Comment (by fo):

 There is one test that recurrently fails:

 FAIL: test_out_glist (test_atoms.TestGdkAtom)
 Traceback (most recent call last):
   File "/home/fernando/tmp/paco-
 build-2014.04.16-10h04m00s/pygobject-3.12.1/tests/test_atoms.py", line 80,
 in test_out_glist
     self.assertTrue('Rel X' in axes_names)
 AssertionError: False is not true

 I never find anything about this other than what I have previously

 Today, I lost all morning trying different ways of disabling it. Last one,
 and simpler one:

       sed -i '/test_out_glist/ i\    @unittest.expectedFailure' \

 This makes the test an expected failure.

 For module 2, the result is:

 Ran 963 tests in 9.733s

 OK (skipped=3, expected failures=7, unexpected successes=3)
 test_object (compat_test_pygtk.TestATKCompat) ... ok
 test_alignment (compat_test_pygtk.TestGTKCompat) ... ok
 test_box (compat_test_pygtk.TestGTKCompat) ... ok
 test_buttons (compat_test_pygtk.TestGTKCompat) ... ok
 test_combobox_entry (compat_test_pygtk.TestGTKCompat) ... ok
 test_enums (compat_test_pygtk.TestGTKCompat) ... ok
 test_flags (compat_test_pygtk.TestGTKCompat) ... ok
 test_gdk_window (compat_test_pygtk.TestGTKCompat) ... ok
 test_keysyms (compat_test_pygtk.TestGTKCompat) ... ok
 test_pixbuf (compat_test_pygtk.TestGTKCompat) ... ok
 test_pixbuf_formats (compat_test_pygtk.TestGTKCompat) ... ok
 test_pixbuf_loader (compat_test_pygtk.TestGTKCompat) ... ok
 test_size_request (compat_test_pygtk.TestGTKCompat) ... ok
 test_style (compat_test_pygtk.TestGTKCompat) ... ok
 test_error_underline_path (compat_test_pygtk.TestPangoCairoCompat) ... ok
 test_layout (compat_test_pygtk.TestPangoCompat) ... ok

 Ran 16 tests in 0.095s

 For module 3, the result is:

 Ran 963 tests in 9.997s

 FAILED (skipped=104, expected failures=6, unexpected successes=1)
 source id: 179
 Makefile:815: recipe for target 'check-local' failed
 make[2]: *** [check-local] Error 1
 make[2]: Leaving directory '/home/fernando/tmp/paco-
 Makefile:643: recipe for target 'check-am' failed
 make[1]: *** [check-am] Error 2
 make[1]: Leaving directory '/home/fernando/tmp/paco-
 Makefile:657: recipe for target 'check-recursive' failed
 make: *** [check-recursive] Error 1
 make: Leaving directory '/home/fernando/tmp/paco-


 If there is no other solution, I will include the sed with a comment, as
 optional, but I have no idea why the other tests fail in module 3.

 Thanks in advance for any comments/solution/etc.

Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4965#comment:2>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch

More information about the blfs-book mailing list