Your message dated Wed, 04 Dec 2024 17:32:29 +0000
with message-id <e1titej-00byzt...@fasolo.debian.org>
and subject line Bug#1088262: fixed in python-apt 2.9.2
has caused the Debian Bug report #1088262,
regarding python-apt: ImportError:
/usr/lib/python3/dist-packages/apt_pkg.cpython-312-x86_64-linux-gnu.so:
undefined symbol:
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
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 ow...@bugs.debian.org
immediately.)
--
1088262: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088262
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-apt
Version: 2.9.1
Severity: serious
Seems the latest version of python-apt has some serious regressions as
https://tracker.debian.org/pkg/python-apt shows wide-spread
autopkgtest failures.
In a clean Debian unstable container a simple installation is failing with:
Hit:1 http://deb.debian.org/debian sid InRelease
Get:2 http://deb.debian.org/debian sid/main all Contents (deb) [43.5 MB]
Get:3 http://deb.debian.org/debian sid/main amd64 Contents (deb) [15.8 MB]
Traceback (most recent call last):
File "/usr/lib/cnf-update-db", line 3, in <module>
import apt_pkg
ImportError:
/usr/lib/python3/dist-packages/apt_pkg.cpython-312-x86_64-linux-gnu.so:
undefined symbol:
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm,
version APTPKG_6.0
Fetched 59.3 MB in 13s (4620 kB/s)
Reading package lists...
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if
/usr/bin/test -w /var/lib/command-not-found/ -a -e
/usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code
Error: error building at STEP "RUN apt-get install -q --yes
command-not-found && apt-get update -q": error while running
runtime: exit status 100
Please take a look what is going on.
Please also consider using better CI before uploads.
I don't know if the root cause of these are the same, but a simple
Salsa CI test run at
https://salsa.debian.org/otto/python-apt/-/pipelines/769109 errors on:
dpkg-buildpackage: info: source package python-apt
dpkg-buildpackage: info: source version 2.9.1+salsaci+20241126+1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Julian Andres Klode <j...@debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean --with python3,sphinxdoc --buildsystem=pybuild
dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py clean
Traceback (most recent call last):
File "/builds/otto/python-apt/debian/output/source_dir/setup.py",
line 141, in <module>
setup(
~~~~~^
name="python-apt",
^^^^^^^^^^^^^^^^^^
...<15 lines>...
platforms="posix",
^^^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line
117, in setup
return distutils.core.setup(**attrs)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py",
line 145, in setup
_setup_distribution = dist = klass(attrs)
~~~~~^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 333,
in __init__
self.metadata.version = self._normalize_version(self.metadata.version)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 369,
in _normalize_version
normalized = str(Version(version))
~~~~~~~^^^^^^^^^
File "/usr/lib/python3/dist-packages/packaging/version.py", line
202, in __init__
raise InvalidVersion(f"Invalid version: {version!r}")
packaging.version.InvalidVersion: Invalid version: '2.9.1+salsaci+20241126+1'
E: pybuild pybuild:389: clean: plugin distutils failed with: exit
code=1: python3.13 setup.py clean
dh_auto_clean: error: pybuild --clean -i python{version} -p "3.13
3.12" returned exit code 13
make: *** [debian/rules:17: clean] Error 25
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
If you want, I can submit a MR for you to enable Salsa CI in
apt-python. However I wanted to check first if you want help, as in my
previous submissions you have been rather dismissive to getting
assistance and bug fixes
(https://salsa.debian.org/jak/command-not-found/-/merge_requests/8,
https://salsa.debian.org/apt-team/apt/-/merge_requests/348).
--- End Message ---
--- Begin Message ---
Source: python-apt
Source-Version: 2.9.2
Done: Julian Andres Klode <j...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-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 1088...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Julian Andres Klode <j...@debian.org> (supplier of updated python-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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 04 Dec 2024 18:04:04 +0100
Source: python-apt
Architecture: source
Version: 2.9.2
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <de...@lists.debian.org>
Changed-By: Julian Andres Klode <j...@debian.org>
Closes: 1088262 1088402
Changes:
python-apt (2.9.2) unstable; urgency=medium
.
* aptsources: Distribution IDs are now lowercase
* aptsources: Handle missing VERSION_ID in os-release (Closes: #1088402)
* Hack around toolchain to pick std symbols from libstdc++ (Closes: #1088262)
* Update mirrors
* Strings are really lower case now, but old ones should continue to work
Checksums-Sha1:
cf91d693d12b1228be639f82e4d4640a04b25768 2358 python-apt_2.9.2.dsc
f58e73ea5d6c8c9dc51c5c7da9e86ad0d111fed6 347516 python-apt_2.9.2.tar.xz
e69af214b586025764711c6e18901f5d22fd1721 10007
python-apt_2.9.2_source.buildinfo
Checksums-Sha256:
6191535591e9c5c772f8d1735b739107e2472b1ff8d23bd9dbf04cdce347bf76 2358
python-apt_2.9.2.dsc
0af91adbdd4fcec97bc5cb430d6ab243c07c73b77d0aa6bc0fb0ceeef6e91979 347516
python-apt_2.9.2.tar.xz
0e41b094a05b6d70e2350e05c1e904b995235a93e6256e100bd73d4115c90f9e 10007
python-apt_2.9.2_source.buildinfo
Files:
be07eb4fb97b7364878453e6cf69c850 2358 python optional python-apt_2.9.2.dsc
f4be7ca6754faaa8fa0d9248af25dfd9 347516 python optional python-apt_2.9.2.tar.xz
75fc7197315f20e07026be2a56ef9119 10007 python optional
python-apt_2.9.2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEET7WIqEwt3nmnTHeHb6RY3R2wP3EFAmdQi6cPHGpha0BkZWJp
YW4ub3JnAAoJEG+kWN0dsD9xNQ4QAJKkOW2kq7RqpPdR2rMG95pX3hvgR/GxSgMo
hDEes4+joaYqGTkwwYT0pdj7fu80AkADmWFioEjFH4KN6OiEcEjc48cbJy0Niqy+
DtY4f9TKLbM9u7YZwq0ofksidISnJgwXiTo242w29ji3tgvdqdqhF19v04UqoLKx
43NqK7F1BeyI1ah2XHfGT7WJm33s6X8LZHHm4Rx47T5zQACaSL6+Ox1MOHrl5NaZ
w/HPolMKoy9ifoQSMt1oTt6aPx3LbRmZPaW1zaeTEi0d1tT8ViuboL4H46EKckyL
rSk9BfQJ334I4noUlJgSxKJqzWx8xC8D7XnAw8/AQ7+E8KQVkLw9uySPoHm4j/vD
w213iUySdCaH0krBX35B4LeiQIv564cbDlX6HN5eIgAZRY2YCLuXKqazEj3i4a2w
MKhNRODDP4YWTVsIxjf8fAi/yzEJgSrOJALue3an2Wqra0dmP3np2UVr4sDCKu0G
vOMPYlBMvwvsjtdNGEpihEQHp0LWPO7SZp4N4otfN7Ff6j3bis75EisAw96fPQaK
mpR67vN7UMmrSCCD8ahL7vnXZmM/xrWjoXlufuk5KwXyvDcRLgO/qINMvPqUno/P
HlLR4TcnP8+II42GkU9nfUmXMzaylcG5Kbidt1Q96HghpN9bcXH2C5m/RBFE/maG
uDiRqXEV
=ez74
-----END PGP SIGNATURE-----
pgpds67PtayRL.pgp
Description: PGP signature
--- End Message ---