Source: devscripts
Version: 2.23.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20230216 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/scripts'
> perl -I ../lib -c bts; \
>
> perl -I ../lib -c build-rdeps; \
>
> perl -I ../lib -c chdist; \
>
> perl -I ../lib -c checkbashisms; \
>
> perl -I ../lib -c cvs-debuild; \
>
> perl -I ../lib -c dd-list; \
>
> perl -I ../lib -c deb-why-removed; \
>
> perl -I ../lib -c debc; \
>
> cvs-debuild syntax OK
> perl -I ../lib -c debchange; \
>
> build-rdeps syntax OK
> perl -I ../lib -c debcheckout; \
>
> debc syntax OK
> perl -I ../lib -c debcommit; \
>
> chdist syntax OK
> perl -I ../lib -c debdiff; \
>
> deb-why-removed syntax OK
> perl -I ../lib -c debi; \
>
> debcommit syntax OK
> perl -I ../lib -c debpkg; \
>
> debchange syntax OK
> perl -I ../lib -c debrebuild; \
>
> debpkg syntax OK
> perl -I ../lib -c debsnap; \
>
> checkbashisms syntax OK
> perl -I ../lib -c debuild; \
>
> debcheckout syntax OK
> perl -I ../lib -c dep3changelog; \
>
> debdiff syntax OK
> debi syntax OK
> perl -I ../lib -c desktop2menu; \
>
> perl -I ../lib -c dget; \
>
> bts syntax OK
> perl -I ../lib -c dpkg-depcheck; \
>
> dd-list syntax OK
> perl -I ../lib -c dscverify; \
>
> dep3changelog syntax OK
> perl -I ../lib -c git-deborig; \
>
> debsnap syntax OK
> perl -I ../lib -c grep-excuses; \
>
> debuild syntax OK
> perl -I ../lib -c hardening-check; \
>
> desktop2menu syntax OK
> perl -I ../lib -c mass-bug; \
>
> grep-excuses syntax OK
> perl -I ../lib -c mk-build-deps; \
>
> dget syntax OK
> dpkg-depcheck syntax OK
> perl -I ../lib -c mk-origtargz; \
>
> mass-bug syntax OK
> perl -I ../lib -c namecheck; \
>
> perl -I ../lib -c origtargz; \
>
> dscverify syntax OK
> perl -I ../lib -c plotchangelog; \
>
> hardening-check syntax OK
> perl -I ../lib -c rc-alert; \
>
> git-deborig syntax OK
> perl -I ../lib -c rmadison; \
>
> debrebuild syntax OK
> namecheck syntax OK
> perl -I ../lib -c salsa; \
>
> perl -I ../lib -c svnpath; \
>
> plotchangelog syntax OK
> perl -I ../lib -c tagpending; \
>
> rmadison syntax OK
> perl -I ../lib -c transition-check; \
>
> svnpath syntax OK
> perl -I ../lib -c uscan; \
>
> origtargz syntax OK
> perl -I ../lib -c who-permits-upload; \
>
> mk-build-deps syntax OK
> bash -n annotate-output
> bash -n archpath
> transition-check syntax OK
> bash -n cowpoke
> bash -n cvs-debi
> bash -n cvs-debrelease
> bash -n dcmd
> bash -n deb-reversion
> bash -n debclean
> bash -n debrelease
> bash -n debrepro
> bash -n debrsign
> bash -n debsign
> bash -n diff2patches
> bash -n dpkg-genbuilddeps
> bash -n dscextract
> bash -n edit-patch
> bash -n getbuildlog
> bash -n list-unreleased
> bash -n ltnu
> rc-alert syntax OK
> bash -n manpage-alert
> bash -n mergechanges
> tagpending syntax OK
> bash -n nmudiff
> bash -n pts-subscribe
> bash -n run_bisect
> bash -n run_bisect_qemu
> bash -n uupdate
> bash -n what-patch
> bash -n who-uploads
> bash -n whodepends
> bash -n wnpp-alert
> bash -n wnpp-check
> mk-origtargz syntax OK
> who-permits-upload syntax OK
> py3versions: no X-Python3-Version in control file, using supported versions
> python3.11 setup.py test
> salsa syntax OK
> uscan syntax OK
> running test
> WARNING: Testing via this command is deprecated and will be removed in a
> future version. Users looking for a generic test entry point independent of
> test runner are encouraged to use tox.
> running egg_info
> creating devscripts.egg-info
> writing devscripts.egg-info/PKG-INFO
> writing dependency_links to devscripts.egg-info/dependency_links.txt
> writing top-level names to devscripts.egg-info/top_level.txt
> writing manifest file 'devscripts.egg-info/SOURCES.txt'
> reading manifest file 'devscripts.egg-info/SOURCES.txt'
> writing manifest file 'devscripts.egg-info/SOURCES.txt'
> running build_ext
> test_black (devscripts.test.test_black.BlackTestCase.test_black)
> Test: Run black code formatter on Python source code. ... Running following
> command:
> black --check --diff debbisect debdiff-apply debootsnap deb-janitor
> reproducible-check sadt suspicious-source wrap-and-sort devscripts setup.py
> FAIL
> test_flake8 (devscripts.test.test_flake8.Flake8TestCase.test_flake8)
> Test: Run flake8 on Python source code. ... Running following command:
> /usr/bin/python3.11 -m flake8 --ignore=E203,W503 --max-line-length=88
> debbisect debdiff-apply debootsnap deb-janitor reproducible-check sadt
> suspicious-source wrap-and-sort devscripts setup.py
> ok
> test_deb-janitor (devscripts.test.test_help.HelpTestCase.test_deb-janitor)
> ... ok
> test_debbisect (devscripts.test.test_help.HelpTestCase.test_debbisect) ... ok
> test_debdiff-apply
> (devscripts.test.test_help.HelpTestCase.test_debdiff-apply) ... ok
> test_debootsnap (devscripts.test.test_help.HelpTestCase.test_debootsnap) ...
> ok
> test_reproducible-check
> (devscripts.test.test_help.HelpTestCase.test_reproducible-check) ... ok
> test_sadt (devscripts.test.test_help.HelpTestCase.test_sadt) ... ok
> test_suspicious-source
> (devscripts.test.test_help.HelpTestCase.test_suspicious-source) ... ok
> test_wrap-and-sort
> (devscripts.test.test_help.HelpTestCase.test_wrap-and-sort) ... ok
> test_args (devscripts.test.test_logger.LoggerTestCase.test_args) ... ok
> test_command (devscripts.test.test_logger.LoggerTestCase.test_command) ... ok
> test_no_args (devscripts.test.test_logger.LoggerTestCase.test_no_args) ... ok
> test_pylint (devscripts.test.test_pylint.PylintTestCase.test_pylint)
> Test: Run pylint on Python source code. ... Running following command:
> pylint --rcfile=/<<PKGBUILDDIR>>/scripts/devscripts/test/pylint.conf --
> debbisect debdiff-apply debootsnap deb-janitor reproducible-check sadt
> suspicious-source wrap-and-sort devscripts setup.py
> ok
> test_isort (devscripts.test.test_isort.IsortTestCase.test_isort)
> Test: Run isort on Python source code. ... Running following command:
> isort --check-only --diff debbisect debdiff-apply debootsnap deb-janitor
> reproducible-check sadt suspicious-source wrap-and-sort devscripts setup.py
> ok
> test_rts_formatter
> (devscripts.test.test_control.ControlTestCase.test_rts_formatter) ... ok
> test_rts_parsing
> (devscripts.test.test_control.ControlTestCase.test_rts_parsing) ... ok
>
> ======================================================================
> FAIL: test_black (devscripts.test.test_black.BlackTestCase.test_black)
> Test: Run black code formatter on Python source code.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/<<PKGBUILDDIR>>/scripts/devscripts/test/test_black.py", line 43, in
> test_black
> self.fail(
> AssertionError: black found code that needs reformatting:
> --- wrap-and-sort 2023-02-04 23:33:58 +0000
> +++ wrap-and-sort 2023-02-17 01:22:52.071736 +0000
> @@ -193,11 +193,10 @@
> return True
> return False
>
>
> class InstallContent:
> -
> __slots__ = ("content", "comments")
>
> def __init__(self, content, comments=None):
> self.content = content
> self.comments = comments
> --- debootsnap 2023-02-04 23:33:58 +0000
> +++ debootsnap 2023-02-17 01:22:52.157018 +0000
> @@ -652,11 +652,10 @@
> for source in sources:
> print(source.deb_line(), end="")
> sys.exit(0)
>
> with tempfile.TemporaryDirectory() as tmpdirname:
> -
> download_packages(tmpdirname, sources, pkgs, nativearch,
> foreignarches)
>
> create_repo(tmpdirname, pkgs)
>
> newpkgs = run_mmdebstrap(
> --- sadt 2023-02-04 23:33:58 +0000
> +++ sadt 2023-02-17 01:22:52.164410 +0000
> @@ -129,11 +129,10 @@
> def close(self):
> pass
>
>
> class DefaultProgress(Progress):
> -
> _hourglass = r"/-\|"
>
> def __init__(self):
> self._counter = 0
> self._output = False
>
> ----------------------------------------------------------------------
> Ran 17 tests in 13.372s
>
> FAILED (failures=1)
> Test failed: <unittest.runner.TextTestResult run=17 errors=0 failures=1>
> error: Test failed: <unittest.runner.TextTestResult run=17 errors=0
> failures=1>
> make[3]: *** [Makefile:103: test_py] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/scripts'
> make[2]: *** [Makefile:68: test_scripts] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: *** [Makefile:43: test] Error 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j8 test returned exit code 2
The full build log is available from:
http://qa-logs.debian.net/2023/02/16/devscripts_2.23.1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230216;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230216&[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.