Source: debiancontributors
Version: 0.7.8-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:310: /usr/bin/python3.12 setup.py build
> I: pybuild base:310: /usr/bin/python3 setup.py build
> COLUMNS=200 help2man --name='Manage contributions to contributors.debian.org'
> --section=1 --version-string="0.7.8" --no-info ./dc-tool > dc-tool.1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build; python3.12
> -m unittest discover -v
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_submission.py:75:
> SyntaxWarning: invalid escape sequence '\('
> self.assertRegexpMatches(s.auth_token, "setup\(")
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_submission.py:81:
> SyntaxWarning: invalid escape sequence '\('
> self.assertRegexpMatches(s.auth_token, "setup\(")
> test_gitdirs (test.test_mine_bts.TestMineBts.test_gitdirs)
> Test gitdirs scanner ...
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/debiancontributors/scanners/bts.py:58:
> ResourceWarning: unclosed file <_io.BufferedReader name=5>
> scan.scan_dir(d)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/debiancontributors/scanners/bts.py:58:
> ResourceWarning: unclosed file <_io.BufferedReader name=7>
> scan.scan_dir(d)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_email_scanner (test.test_mine_email.TestMineEmail.test_email_scanner)
> Test email scanner ... ok
> test_gitdirs (test.test_mine_git.TestMineGit.test_gitdirs)
> Test gitdirs scanner ... ok
> test_gitlogs (test.test_mine_git.TestMineGit.test_gitlogs)
> Test gitlogs scanner ... skipped 'no idea where to find my git repo when not
> run from the git checkout'
> test_gitlogs_authormap (test.test_mine_git.TestMineGit.test_gitlogs_authormap)
> Test gitlogs scanner ... skipped 'no idea where to find my git repo when not
> run from the git checkout'
> testGetKey (test.test_parser.TestParser.testGetKey) ... ERROR
> testGetKeyDateOrNone (test.test_parser.TestParser.testGetKeyDateOrNone) ...
> ERROR
> testGetKeyInt (test.test_parser.TestParser.testGetKeyInt) ... ERROR
> testGetKeySequence (test.test_parser.TestParser.testGetKeySequence) ... ERROR
> testGetKeySequenceOrObject
> (test.test_parser.TestParser.testGetKeySequenceOrObject) ... ERROR
> testGetKeyString (test.test_parser.TestParser.testGetKeyString) ... ERROR
> testGetKeyUnicode (test.test_parser.TestParser.testGetKeyUnicode) ... ERROR
> testFullData (test.test_submission.TestSubmission.testFullData) ... ERROR
> testIdentifier (test.test_submission.TestSubmission.testIdentifier) ... ERROR
> testMinimalData (test.test_submission.TestSubmission.testMinimalData) ...
> ERROR
> test_auth_token (test.test_submission.TestSubmission.test_auth_token) ...
> skipped 'no idea where to find my setup.py when not run from the git checkout'
> test_auto (test.test_types.TestTypes.test_auto) ... ERROR
> test_bad_contribution (test.test_types.TestTypes.test_bad_contribution) ... ok
> test_bad_identifier (test.test_types.TestTypes.test_bad_identifier) ... ok
> test_identifier (test.test_types.TestTypes.test_identifier)
> Test Identifier operations ... ERROR
>
> ======================================================================
> ERROR: testGetKey (test.test_parser.TestParser.testGetKey)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_parser.py",
> line 26, in testGetKey
> self.assertEquals(parser.get_key({"foo": "bar"}, "foo"), "bar")
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestParser' object has no attribute 'assertEquals'. Did you
> mean: 'assertEqual'?
>
> ======================================================================
> ERROR: testGetKeyDateOrNone (test.test_parser.TestParser.testGetKeyDateOrNone)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_parser.py",
> line 70, in testGetKeyDateOrNone
> self.assertEquals(parser.get_key_date_or_none({"foo": "2013-11-16"},
> "foo"), date(2013, 11, 16))
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestParser' object has no attribute 'assertEquals'. Did you
> mean: 'assertEqual'?
>
> ======================================================================
> ERROR: testGetKeyInt (test.test_parser.TestParser.testGetKeyInt)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_parser.py",
> line 30, in testGetKeyInt
> self.assertEquals(parser.get_key_int({"foo": "7"}, "foo"), 7)
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestParser' object has no attribute 'assertEquals'. Did you
> mean: 'assertEqual'?
>
> ======================================================================
> ERROR: testGetKeySequence (test.test_parser.TestParser.testGetKeySequence)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_parser.py",
> line 54, in testGetKeySequence
> self.assertEquals(parser.get_key_sequence({"foo": []}, "foo"), [])
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestParser' object has no attribute 'assertEquals'. Did you
> mean: 'assertEqual'?
>
> ======================================================================
> ERROR: testGetKeySequenceOrObject
> (test.test_parser.TestParser.testGetKeySequenceOrObject)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_parser.py",
> line 62, in testGetKeySequenceOrObject
> self.assertEquals(parser.get_key_sequence_or_object({"foo": []}, "foo"),
> [])
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestParser' object has no attribute 'assertEquals'. Did you
> mean: 'assertEqual'?
>
> ======================================================================
> ERROR: testGetKeyString (test.test_parser.TestParser.testGetKeyString)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_parser.py",
> line 36, in testGetKeyString
> self.assertEquals(parser.get_key_string({"foo": "7"}, "foo"), "7")
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestParser' object has no attribute 'assertEquals'. Did you
> mean: 'assertEqual'?
>
> ======================================================================
> ERROR: testGetKeyUnicode (test.test_parser.TestParser.testGetKeyUnicode)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_parser.py",
> line 44, in testGetKeyUnicode
> self.assertEquals(parser.get_key_unicode({"foo": "7"}, "foo"), "7")
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestParser' object has no attribute 'assertEquals'. Did you
> mean: 'assertEqual'?
>
> ======================================================================
> ERROR: testFullData (test.test_submission.TestSubmission.testFullData)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_submission.py",
> line 55, in testFullData
> self.assertEquals(res, [{
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestSubmission' object has no attribute 'assertEquals'. Did
> you mean: 'assertEqual'?
>
> ======================================================================
> ERROR: testIdentifier (test.test_submission.TestSubmission.testIdentifier)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_submission.py",
> line 30, in testIdentifier
> self.assertEquals(i.type, "login")
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestSubmission' object has no attribute 'assertEquals'. Did
> you mean: 'assertEqual'?
>
> ======================================================================
> ERROR: testMinimalData (test.test_submission.TestSubmission.testMinimalData)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_submission.py",
> line 43, in testMinimalData
> self.assertEquals(res, [{
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestSubmission' object has no attribute 'assertEquals'. Did
> you mean: 'assertEqual'?
>
> ======================================================================
> ERROR: test_auto (test.test_types.TestTypes.test_auto)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_types.py",
> line 97, in test_auto
> self.assertEquals(i.type, "login")
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestTypes' object has no attribute 'assertEquals'. Did you
> mean: 'assertEqual'?
>
> ======================================================================
> ERROR: test_identifier (test.test_types.TestTypes.test_identifier)
> Test Identifier operations
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build/test/test_types.py",
> line 31, in test_identifier
> self.assertEquals(iem.type, "email")
> ^^^^^^^^^^^^^^^^^
> AttributeError: 'TestTypes' object has no attribute 'assertEquals'. Did you
> mean: 'assertEqual'?
>
> ----------------------------------------------------------------------
> Ran 20 tests in 0.029s
>
> FAILED (errors=12, skipped=3)
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_debiancontributors/build; python3.12
> -m unittest discover -v
> I: pybuild base:310: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_debiancontributors/build; python3.11
> -m unittest discover -v
> test_gitdirs (test.test_mine_bts.TestMineBts.test_gitdirs)
> Test gitdirs scanner ...
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_debiancontributors/build/debiancontributors/scanners/bts.py:58:
> ResourceWarning: unclosed file <_io.BufferedReader name=5>
> scan.scan_dir(d)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_debiancontributors/build/debiancontributors/scanners/bts.py:58:
> ResourceWarning: unclosed file <_io.BufferedReader name=7>
> scan.scan_dir(d)
> ResourceWarning: Enable tracemalloc to get the object allocation traceback
> ok
> test_email_scanner (test.test_mine_email.TestMineEmail.test_email_scanner)
> Test email scanner ... ok
> test_gitdirs (test.test_mine_git.TestMineGit.test_gitdirs)
> Test gitdirs scanner ... ok
> test_gitlogs (test.test_mine_git.TestMineGit.test_gitlogs)
> Test gitlogs scanner ... skipped 'no idea where to find my git repo when not
> run from the git checkout'
> test_gitlogs_authormap (test.test_mine_git.TestMineGit.test_gitlogs_authormap)
> Test gitlogs scanner ... skipped 'no idea where to find my git repo when not
> run from the git checkout'
> testGetKey (test.test_parser.TestParser.testGetKey) ...
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_debiancontributors/build/test/test_parser.py:26:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(parser.get_key({"foo": "bar"}, "foo"), "bar")
> ok
> testGetKeyDateOrNone (test.test_parser.TestParser.testGetKeyDateOrNone) ... ok
> testGetKeyInt (test.test_parser.TestParser.testGetKeyInt) ... ok
> testGetKeySequence (test.test_parser.TestParser.testGetKeySequence) ... ok
> testGetKeySequenceOrObject
> (test.test_parser.TestParser.testGetKeySequenceOrObject) ... ok
> testGetKeyString (test.test_parser.TestParser.testGetKeyString) ... ok
> testGetKeyUnicode (test.test_parser.TestParser.testGetKeyUnicode) ... ok
> testFullData (test.test_submission.TestSubmission.testFullData) ...
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_debiancontributors/build/test/test_submission.py:55:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(res, [{
> ok
> testIdentifier (test.test_submission.TestSubmission.testIdentifier) ... ok
> testMinimalData (test.test_submission.TestSubmission.testMinimalData) ... ok
> test_auth_token (test.test_submission.TestSubmission.test_auth_token) ...
> skipped 'no idea where to find my setup.py when not run from the git checkout'
> test_auto (test.test_types.TestTypes.test_auto) ...
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_debiancontributors/build/test/test_types.py:97:
> DeprecationWarning: Please use assertEqual instead.
> self.assertEquals(i.type, "login")
> ok
> test_bad_contribution (test.test_types.TestTypes.test_bad_contribution) ... ok
> test_bad_identifier (test.test_types.TestTypes.test_bad_identifier) ... ok
> test_identifier (test.test_types.TestTypes.test_identifier)
> Test Identifier operations ...
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_debiancontributors/build/test/test_types.py:69:
> DeprecationWarning: Please use assertNotEqual instead.
> self.assertNotEquals(iem, ilo)
> ok
>
> ----------------------------------------------------------------------
> Ran 20 tests in 0.018s
>
> OK (skipped=3)
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11"
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/debiancontributors_0.7.8-4_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.