Source: devscripts
Version: 2.23.2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230323 ftbfs-bookworm

Hi,

During a rebuild of all packages in testing (bookworm), 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; \
> 
> checkbashisms syntax OK
> perl -I ../lib -c debcheckout; \
> 
> build-rdeps syntax OK
> perl -I ../lib -c debcommit; \
> 
> debc syntax OK
> perl -I ../lib -c debdiff; \
> 
> dd-list syntax OK
> perl -I ../lib -c debi; \
> 
> chdist syntax OK
> perl -I ../lib -c debpkg; \
> 
> deb-why-removed syntax OK
> perl -I ../lib -c debrebuild; \
> 
> debpkg syntax OK
> perl -I ../lib -c debsnap; \
> 
> debcommit syntax OK
> perl -I ../lib -c debuild; \
> 
> debchange syntax OK
> perl -I ../lib -c dep3changelog; \
> 
> debdiff syntax OK
> perl -I ../lib -c desktop2menu; \
> 
> debi syntax OK
> perl -I ../lib -c dget; \
> 
> debcheckout syntax OK
> perl -I ../lib -c dpkg-depcheck; \
> 
> dep3changelog syntax OK
> perl -I ../lib -c dscverify; \
> 
> debsnap syntax OK
> perl -I ../lib -c git-deborig; \
> 
> debuild syntax OK
> bts syntax OK
> perl -I ../lib -c grep-excuses; \
> 
> 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; \
> 
> mass-bug syntax OK
> perl -I ../lib -c mk-origtargz; \
> 
> dpkg-depcheck syntax OK
> dget 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; \
> 
> debrebuild syntax OK
> git-deborig syntax OK
> perl -I ../lib -c rmadison; \
> 
> perl -I ../lib -c salsa; \
> 
> namecheck syntax OK
> plotchangelog syntax OK
> perl -I ../lib -c svnpath; \
> 
> 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
> transition-check syntax OK
> bash -n archpath
> 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
> rc-alert syntax OK
> bash -n getbuildlog
> bash -n list-unreleased
> bash -n ltnu
> bash -n manpage-alert
> bash -n mergechanges
> 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
> tagpending syntax OK
> mk-origtargz syntax OK
> py3versions: no X-Python3-Version in control file, using supported versions
> python3.11 setup.py test
> who-permits-upload syntax OK
> uscan syntax OK
> salsa 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_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_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_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_rts_formatter 
> (devscripts.test.test_control.ControlTestCase.test_rts_formatter) ... ok
> test_rts_parsing 
> (devscripts.test.test_control.ControlTestCase.test_rts_parsing) ... 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
> FAIL
> 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
> 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
> 
> ======================================================================
> FAIL: test_pylint (devscripts.test.test_pylint.PylintTestCase.test_pylint)
> Test: Run pylint on Python source code.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/scripts/devscripts/test/test_pylint.py", line 82, in 
> test_pylint
>     self.fail("\n".join(msgs))
> AssertionError: pylint found issues:
> ************* Module debootsnap
> debootsnap:192:12: W0719: Raising too general exception: Exception 
> (broad-exception-raised)
> ************* Module deb-janitor
> deb-janitor:98:4: R1720: Unnecessary "else" after "raise", remove the "else" 
> and de-indent the code inside it (no-else-raise)
> deb-janitor:294:8: R1705: Unnecessary "else" after "return", remove the 
> "else" and de-indent the code inside it (no-else-return)
> ************* Module sadt
> sadt:349:27: R1735: Consider using '{"name": package, "version": None, 
> "arch": None}' instead of a call to 'dict'. (use-dict-literal)
> 
> ----------------------------------------------------------------------
> Ran 17 tests in 14.999s
> 
> 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/03/23/devscripts_2.23.2_testing.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230323;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230323&fusertaguser=lu...@debian.org&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.

Reply via email to