Public bug reported:

lintian-brush is currently failing to build in Ubuntu Focal with the
following error message:

======================================================================
FAIL: test_add_new (lintian_brush.tests.test_run.ChangelogAddEntryTests)
lintian_brush.tests.test_run.ChangelogAddEntryTests.test_add_new
----------------------------------------------------------------------
testtools.testresult.real._StringException: log: {{{
0.641  creating repository in 
file:///tmp/testbzr-u3mwvh6p.tmp/lintian_brush.tests.test_run.ChangelogAddEntryTests.test_add_new/work/.bzr/.
0.643  creating branch <breezy.bzr.branch.BzrBranchFormat7 object at 
0x7f43a98f8b50> in 
file:///tmp/testbzr-u3mwvh6p.tmp/lintian_brush.tests.test_run.ChangelogAddEntryTests.test_add_new/work/
0.648  trying to create missing lock 
'/tmp/testbzr-u3mwvh6p.tmp/lintian_brush.tests.test_run.ChangelogAddEntryTests.test_add_new/work/.bzr/checkout/dirstate'
0.649  opening working tree 
'/tmp/testbzr-u3mwvh6p.tmp/lintian_brush.tests.test_run.ChangelogAddEntryTests.test_add_new/work'
}}}

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/lintian_brush/tests/test_run.py", line 844, in 
test_add_new
    self.assertEqual([
  File "/usr/lib/python3/dist-packages/breezy/tests/__init__.py", line 1315, in 
assertEqual
    raise AssertionError("%snot equal:\na = %s\nb = %s\n"
AssertionError: not equal:
a = ['lintian-brush (0.36) UNRELEASED; urgency=medium', '', '  * Add a foo', '']
b = ['lintian-brush (0.35ubuntu1) UNRELEASED; urgency=medium',
 '',
 '  * Add a foo',
 '']


Looks like the test fails because the expected changelog message doesn't take 
into account that Ubuntu increase version numbers slightly different that 
Debian. Either adjusting the expected message (or ignoring the test) makes the 
package build successfully. (I could propose a patch, but I wasn't sure how to 
approach it without an existing debian/patches directory)

Btw, lintian-brush failing to build is also blocking the new silver-
platter version which require a newer lintian-brush.

** Affects: lintian-brush (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: silver-platter (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: focal ftbfs

** Also affects: silver-platter (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1852909

Title:
  lintian-brush 0.38 FTBFS due to Ubuntu number in changelog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lintian-brush/+bug/1852909/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to