[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1011678: marked as done (python-apt: FTBFS: deblistparser.h:48:65: error: ‘pkgTagSection::Key’ has not been declared)



Your message dated Sun, 24 Jul 2022 16:19:03 +0000
with message-id <E1oFeJr-000AT9-J2@fasolo.debian.org>
and subject line Bug#1011678: fixed in apt 2.5.2
has caused the Debian Bug report #1011678,
regarding python-apt: FTBFS: deblistparser.h:48:65: error: ‘pkgTagSection::Key’ has not been declared
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1011678: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011678
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: python-apt
Version: 2.3.0
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@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=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@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.

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 2.5.2
Done: Julian Andres Klode <jak@debian.org>

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1011678@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 24 Jul 2022 17:57:24 +0200
Source: apt
Architecture: source
Version: 2.5.2
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Closes: 1011678
Changes:
 apt (2.5.2) unstable; urgency=medium
 .
   [ Julian Andres Klode ]
   * Mark broken reverse depends for upgrade (LP: #1974196)
   * Upgrade all binaries in a source package
 .
   [ Michael Vogt ]
   * apt-pkg: (re)export pkgTagSection::Key to fix FTBFS in python-apt
     (Closes: #1011678)
Checksums-Sha1:
 bae8223aa06c03482e2b65649564980511d47f48 2933 apt_2.5.2.dsc
 f94c5b559df5dbf7d91395eb28f25affe76bbccf 2252960 apt_2.5.2.tar.xz
 0c97b883880efc2d289591c0b7e3ffab96754503 7454 apt_2.5.2_source.buildinfo
Checksums-Sha256:
 5bc7d3737d6e281a32ca59c785747cc9f23eafaa5b71ee2d9016b7290f2c54fe 2933 apt_2.5.2.dsc
 cc5c374c2831c9e390d9c5f08029a81c3ca2b778abc0dd1426c81c657628fe9d 2252960 apt_2.5.2.tar.xz
 9944c63063d245aeb080cbf9eb43023fd637a95992752a2f9a482a01cbe00705 7454 apt_2.5.2_source.buildinfo
Files:
 6652a5cc53387f86c7844b7eaf4f1adc 2933 admin important apt_2.5.2.dsc
 ce2d6d318e2113e9710127e13d5b3e14 2252960 admin important apt_2.5.2.tar.xz
 15d3c16bd10653157dd4e6f89419d9bb 7454 admin important apt_2.5.2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEET7WIqEwt3nmnTHeHb6RY3R2wP3EFAmLdbKoPHGpha0BkZWJp
YW4ub3JnAAoJEG+kWN0dsD9xpjcP/09tYpKG0RWuA5NiCzZhvYBEIlYObR5w9kvF
MHrb07OOFSKdxDQT16PN5Yvh++oHbWpYQFoXxH5ckgjN7ryfE5X+6laEiH9ZetVk
8qYGjUj1B36BRd2FqloShT70AubLOwHtx9wwA8jwMmyk2wbqeTPe6JS1FtR6/Hi2
CcYlKDhCaf2TBqoYHusFvMDB0hz5HZN3N6iCaQZvcMDZajWDaotu+qbZiD/Uu4JM
mBfneywYI5iXCHVsqsKt6o5I17bWTkm/jDyEChMj2Un2u/3QSxSRl2VPL7+6ltX4
j056TG3oPU7MwkLt/LWGYdL8/Nd0wru+EAXqFeII6OeDFFTRk2rq1Q4UXghGw/oc
2Kv8sA6O6DRwr/BMKALzvGyPUi1rQZrHLmTLS0M/gq/OS6SVtu6f4EDTSdKWSZIw
RAg95FE9C9bnOaUVAFl6HTJGsXLtbUzf48o+9+48AlpzQzt+r3tCrCgey8N+xheW
9NCwx6i9LqzygceceyoIct1WzUv4bMrpSl10I8uTSG2fVppvUx5ZghS2ESUfao6V
7BH05KPk28TSXBXe8v721vXcwMVcxjZpFgoiMHFr0a4NOawY4tbLPdF3xOsAhvYt
k1CFYyVEpd1M/UcKhcRCC4B692sf8ixlYeUpgx2Vf9sbmUltQXK1wulcLqsYbtNz
Ufy4O/UA
=rB2v
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: