Source: debdry Version: 0.2.2-1 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200321 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > debian/rules build > dh build --with python3 --buildsystem=pybuild > dh_update_autotools_config -O--buildsystem=pybuild > dh_auto_configure -O--buildsystem=pybuild > I: pybuild base:217: python3.7 setup.py config > running config > I: pybuild base:217: python3.8 setup.py config > running config > dh_auto_build -O--buildsystem=pybuild > I: pybuild base:217: /usr/bin/python3.7 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib > copying debdrylib/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib > copying debdrylib/tree.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib > copying debdrylib/auto.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib > copying debdrylib/debdry.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib > running build_scripts > creating build > creating build/scripts-3.7 > copying and adjusting debdry -> build/scripts-3.7 > copying git-debdry-build -> build/scripts-3.7 > changing mode of build/scripts-3.7/debdry from 644 to 755 > I: pybuild base:217: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_debdry/build/debdrylib > copying debdrylib/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_debdry/build/debdrylib > copying debdrylib/tree.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_debdry/build/debdrylib > copying debdrylib/auto.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_debdry/build/debdrylib > copying debdrylib/debdry.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_debdry/build/debdrylib > running build_scripts > creating build/scripts-3.8 > copying and adjusting debdry -> build/scripts-3.8 > copying git-debdry-build -> build/scripts-3.8 > changing mode of build/scripts-3.8/debdry from 644 to 755 > dh_auto_test -O--buildsystem=pybuild > I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build; > python3.7 -m unittest discover -v > test_plainfield (test.test_control.TestCombine) ... ERROR > test_smartfield_plain (test.test_control.TestCombine) ... ERROR > test_smartfield_smart (test.test_control.TestCombine) ... ERROR > test_plainfield (test.test_control.TestDiff) ... ERROR > test_smartfield_plain (test.test_control.TestDiff) ... ERROR > test_smartfield_smart (test.test_control.TestDiff) ... ERROR > test_deps (test.test_fieldmerge.TestDeps) ... > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_fieldmerge.py:61: > DeprecationWarning: Please use assertEqual instead. > self.assertEquals(f.to_string(), result) > ok > test_plain (test.test_fieldmerge.TestDeps) ... ok > test_plain (test.test_fieldmerge.TestUploaders) ... ok > test_smart (test.test_fieldmerge.TestUploaders) ... ok > test_1 (test.test_tree.TestParse) ... ok > > ====================================================================== > ERROR: test_plainfield (test.test_control.TestCombine) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_control.py", > line 59, in test_plainfield > """) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_control.py", > line 43, in assertCombines > c = c1.combine("control", "./control", c2) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 314, in combine > res.write() > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 293, in write > outfd.write(self.to_string()) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 282, in to_string > sections.append(self.source.to_string()) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 417, in to_string > return apt_pkg.rewrite_section(section, self.REWRITE_ORDER, > AttributeError: module 'apt_pkg' has no attribute 'rewrite_section' > > ====================================================================== > ERROR: test_smartfield_plain (test.test_control.TestCombine) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_control.py", > line 74, in test_smartfield_plain > """) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_control.py", > line 43, in assertCombines > c = c1.combine("control", "./control", c2) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 314, in combine > res.write() > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 293, in write > outfd.write(self.to_string()) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 282, in to_string > sections.append(self.source.to_string()) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 417, in to_string > return apt_pkg.rewrite_section(section, self.REWRITE_ORDER, > AttributeError: module 'apt_pkg' has no attribute 'rewrite_section' > > ====================================================================== > ERROR: test_smartfield_smart (test.test_control.TestCombine) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_control.py", > line 89, in test_smartfield_smart > """) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_control.py", > line 43, in assertCombines > c = c1.combine("control", "./control", c2) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 314, in combine > res.write() > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 293, in write > outfd.write(self.to_string()) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 282, in to_string > sections.append(self.source.to_string()) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 417, in to_string > return apt_pkg.rewrite_section(section, self.REWRITE_ORDER, > AttributeError: module 'apt_pkg' has no attribute 'rewrite_section' > > ====================================================================== > ERROR: test_plainfield (test.test_control.TestDiff) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_control.py", > line 115, in test_plainfield > """) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_control.py", > line 99, in assertDiffs > c = c1.diff("control", "./control", c2) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 335, in diff > res.write() > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 293, in write > outfd.write(self.to_string()) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 282, in to_string > sections.append(self.source.to_string()) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 417, in to_string > return apt_pkg.rewrite_section(section, self.REWRITE_ORDER, > AttributeError: module 'apt_pkg' has no attribute 'rewrite_section' > > ====================================================================== > ERROR: test_smartfield_plain (test.test_control.TestDiff) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_control.py", > line 130, in test_smartfield_plain > """) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_control.py", > line 99, in assertDiffs > c = c1.diff("control", "./control", c2) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 335, in diff > res.write() > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 293, in write > outfd.write(self.to_string()) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 282, in to_string > sections.append(self.source.to_string()) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 417, in to_string > return apt_pkg.rewrite_section(section, self.REWRITE_ORDER, > AttributeError: module 'apt_pkg' has no attribute 'rewrite_section' > > ====================================================================== > ERROR: test_smartfield_smart (test.test_control.TestDiff) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_control.py", > line 145, in test_smartfield_smart > """) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/test/test_control.py", > line 99, in assertDiffs > c = c1.diff("control", "./control", c2) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 335, in diff > res.write() > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 293, in write > outfd.write(self.to_string()) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 282, in to_string > sections.append(self.source.to_string()) > File > "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build/debdrylib/tree.py", line > 417, in to_string > return apt_pkg.rewrite_section(section, self.REWRITE_ORDER, > AttributeError: module 'apt_pkg' has no attribute 'rewrite_section' > > ---------------------------------------------------------------------- > Ran 11 tests in 0.004s > > FAILED (errors=6) > E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_debdry/build; python3.7 -m unittest > discover -v > dh_auto_test: error: pybuild --test -i python{version} -p "3.7 3.8" returned > exit code 13 The full build log is available from: http://qa-logs.debian.net/2020/03/21/debdry_0.2.2-1_unstable.log 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! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.