Source: python-apt Version: 2.3.0 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20220525 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g > -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat > -Werror=format-security -g -fwrapv -O2 -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wno-write-strings -DDATE="Oct 22 2021" > -DTIME="10:21:54" -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC > -I/usr/include/python3.9 -c python/acquire-item.cc -o > build/temp.linux-x86_64-3.9/python/acquire-item.o -std=c++11 > -Wno-write-strings -DAPT_8_CLEANER_HEADERS -DAPT_9_CLEANER_HEADERS > -DAPT_10_CLEANER_HEADERS -DPY_SSIZE_T_CLEAN > In file included from python/apt_pkgmodule.h:19, > from python/acquire-item.cc:24: > /usr/include/apt-pkg/deblistparser.h:48:65: error: ‘pkgTagSection::Key’ has > not been declared > 48 | bool ParseDepends(pkgCache::VerIterator &Ver, pkgTagSection::Key > Key, > | ^~~ > error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 > E: pybuild pybuild:369: build: plugin distutils failed with: exit code=1: > /usr/bin/python3.9 setup.py build > I: pybuild base:239: /usr/bin/python3 setup.py build > running build > running build_py > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt > copying apt/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt > copying apt/package.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt > copying apt/cdrom.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt > copying apt/debfile.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt > copying apt/auth.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt > copying apt/cache.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt > copying apt/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt/progress > copying apt/progress/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt/progress > copying apt/progress/base.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt/progress > copying apt/progress/text.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt/progress > creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/aptsources > copying aptsources/__init__.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/aptsources > copying aptsources/distinfo.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/aptsources > copying aptsources/distro.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/aptsources > copying aptsources/sourceslist.py -> > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/aptsources > copying apt/py.typed -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_apt/build/apt > running build_ext > building 'apt_pkg' extension > creating build/temp.linux-x86_64-3.10 > creating build/temp.linux-x86_64-3.10/python > x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g > -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat > -Werror=format-security -g -fwrapv -O2 -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -Wno-write-strings -DDATE="Oct 22 2021" > -DTIME="10:21:54" -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC > -I/usr/include/python3.10 -c python/acquire-item.cc -o > build/temp.linux-x86_64-3.10/python/acquire-item.o -std=c++11 > -Wno-write-strings -DAPT_8_CLEANER_HEADERS -DAPT_9_CLEANER_HEADERS > -DAPT_10_CLEANER_HEADERS -DPY_SSIZE_T_CLEAN > In file included from python/apt_pkgmodule.h:19, > from python/acquire-item.cc:24: > /usr/include/apt-pkg/deblistparser.h:48:65: error: ‘pkgTagSection::Key’ has > not been declared > 48 | bool ParseDepends(pkgCache::VerIterator &Ver, pkgTagSection::Key > Key, > | ^~~ > error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 > E: pybuild pybuild:369: build: plugin distutils failed with: exit code=1: > /usr/bin/python3 setup.py build > dh_auto_build: error: pybuild --build -i python{version} -p "3.9 3.10" > returned exit code 13 > make[1]: *** [debian/rules:20: override_dh_auto_build] Error 25 The full build log is available from: http://qa-logs.debian.net/2022/05/25/python-apt_2.3.0_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&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 marking 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.