pygobject ftbfs in 18.04 LTS

Bug #1813591 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pygobject (Ubuntu)
Fix Released
High
Unassigned
Bionic
Fix Released
High
Jeremy Bícha

Bug Description

Impact
------
pygobject doesn't build from source which means someone would need to fix that problem before fixing any bugs in the pygobject package for Ubuntu 18.04 LTS.

Test Case
---------
Does pygobject build successfully?

Regression Potential
--------------------
pygobject 3.28 is the intended version to match glib 2.56 but it missed the deadline for Ubuntu 18.04 LTS. So this fix is cherry-picking a small commit to fix the build tests with 18.04's glib2.0 2.56.

The only change that is made in this upload is to the tests. There should be no effect on anything else.

https://gitlab.gnome.org/GNOME/pygobject/commit/550bd7c7

Original Bug Report
-------------------
according to
http://people.canonical.com/~doko/ftbfs-report/test-rebuild-20181222-bionic.html

pygobject ftbfs.

======================================================================
FAIL: test_filenames (test_glib.TestGLib)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_glib.py", line 66, in test_filenames
    self.assertTrue(isinstance(res, bytes))
AssertionError: False is not true

----------------------------------------------------------------------
Ran 1211 tests in 4.072s

FAILED (failures=1, skipped=4, expected failures=12)

 torture test 1 (10000 iterations): 0.012186 secs
 torture test 2 (10000 iterations): 0.068459 secs
 torture test 3 (10000 iterations): 0.029216 secs
 torture test 4 (10000 iterations): 0.065890 secs
 ====
 Total: 0.175751 sec
Makefile:905: recipe for target 'check.real' failed
make[5]: *** [check.real] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-3.6/tests'
Makefile:900: recipe for target 'check-local' failed
make[4]: *** [check-local] Error 2
Makefile:738: recipe for target 'check-am' failed
make[3]: *** [check-am] Error 2
Makefile:691: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1

Matthias Klose (doko)
Changed in pygobject (Ubuntu):
importance: Undecided → High
Changed in pygobject (Ubuntu Bionic):
importance: Undecided → High
tags: added: ftbfs rls-bb-incoming
Jeremy Bícha (jbicha)
Changed in pygobject (Ubuntu Bionic):
assignee: nobody → Jeremy Bicha (jbicha)
Changed in pygobject (Ubuntu):
status: New → Fix Released
Changed in pygobject (Ubuntu Bionic):
status: New → Triaged
Jeremy Bícha (jbicha)
description: updated
Jeremy Bícha (jbicha)
Changed in pygobject (Ubuntu Bionic):
status: Triaged → In Progress
Jeremy Bícha (jbicha)
tags: added: bionic
removed: rls-bb-incoming
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Matthias, or anyone else affected,

Accepted pygobject into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/pygobject/3.26.1-2ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in pygobject (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
Jeremy Bícha (jbicha) wrote :
tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pygobject - 3.26.1-2ubuntu1

---------------
pygobject (3.26.1-2ubuntu1) bionic; urgency=medium

  * Update Vcs fields for ubuntu/bionic branch
  * Cherry-pick fix-tests-with-newest-glib.patch:
    - Fix pygobject build test failure with glib2.0 2.56 (LP: #1813591)

 -- Jeremy Bicha <email address hidden> Tue, 29 Jan 2019 07:46:03 -0500

Changed in pygobject (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for pygobject has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.