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

Bug#1088398: marked as done (libapt-pkg has fluctuating ABI)



Your message dated Fri, 14 Feb 2025 23:02:03 +0000
with message-id <E1tj4h9-003im2-38@fasolo.debian.org>
and subject line Bug#1088398: fixed in apt 2.9.28+exp1
has caused the Debian Bug report #1088398,
regarding libapt-pkg has fluctuating ABI
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.)


-- 
1088398: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088398
Debian Bug Tracking System
Contact owner@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 <jak@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: apt
Source-Version: 2.9.28+exp1
Done: Julian Andres Klode <juliank@ubuntu.com>

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 1088398@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <juliank@ubuntu.com> (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: Sat, 08 Feb 2025 13:48:27 +0100
Source: apt
Binary: apt apt-dbgsym apt-doc apt-transport-https apt-utils apt-utils-dbgsym libapt-pkg-dev libapt-pkg-doc libapt-pkg7.0 libapt-pkg7.0-dbgsym
Architecture: source amd64 all
Version: 2.9.28+exp1
Distribution: experimental
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <juliank@ubuntu.com>
Description:
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - transitional package for https support
 apt-utils  - package management related utility programs
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg7.0 - package management runtime library
Closes: 1088398
Changes:
 apt (2.9.28+exp1) experimental; urgency=medium
 .
   * Rebuild with libapt-pkg7.0 soname; some minor ABI adjustments are
     still on the way before this enters unstable, notable differences:
     - The C++ standard library symbols are not re-exported anymore
       (Closes: #1088398)
     - We use smart pointers in a bunch more places
     - std::string_view replaces APT::StringView (thanks to наб)
Checksums-Sha1:
 3e35ba578d9eaaa4381e5bdb74bcde70a73fdd14 3182 apt_2.9.28+exp1.dsc
 25ba4bed328f9509509a3240da43b46d8f2c0e3d 2394512 apt_2.9.28+exp1.tar.xz
 6c6c2f2117bfe587b551d993a19cc7a4faa5df90 8922920 apt-dbgsym_2.9.28+exp1_amd64.deb
 fabad831e001b389bf48a6bad4d2522093efa4cf 263460 apt-doc_2.9.28+exp1_all.deb
 eeff2cbc63828d2615c66f766413228c348280d5 35500 apt-transport-https_2.9.28+exp1_all.deb
 0fc2e900bb011ff7f54d8fbcd8a5117b7df5c36c 1755936 apt-utils-dbgsym_2.9.28+exp1_amd64.deb
 ace8fd023fdffd34e587415c10096c75221b4c7f 331148 apt-utils_2.9.28+exp1_amd64.deb
 293c9175e51c756b86725a8de51f3713c4c694b5 12703 apt_2.9.28+exp1_amd64.buildinfo
 842a158199fc4d82c9399b302548ff3744a432ec 1434896 apt_2.9.28+exp1_amd64.deb
 b939606ecc99b5a30d505a499677ab8f43438105 131116 libapt-pkg-dev_2.9.28+exp1_amd64.deb
 e569130b811de014582b7bac2e114b376c9edeb6 960592 libapt-pkg-doc_2.9.28+exp1_all.deb
 0edb08e6f187a1b8b3e6b48bc62fe9f43d7a72cf 12526504 libapt-pkg7.0-dbgsym_2.9.28+exp1_amd64.deb
 bdac58c5374f7cf147bb1a734afe4d3ecb2a0f58 1098632 libapt-pkg7.0_2.9.28+exp1_amd64.deb
Checksums-Sha256:
 6edeed09180a0b793b71f6121eb2656ecf9db6a6ec120fd498cbce95e69cbf46 3182 apt_2.9.28+exp1.dsc
 70c31cfbb5c43a3722bedcf1a762f1c638e7a4c6624a12ba00b7bcd89161c917 2394512 apt_2.9.28+exp1.tar.xz
 3cdead9ad5ef2a5bbbc07d5f9291d5ec2dccb4d55b2b7bb2f7e11d7bbbc85b42 8922920 apt-dbgsym_2.9.28+exp1_amd64.deb
 b38e0d5b794aba46cfd3576094d98310cbeb7edff696174afcb873b8141c4aaa 263460 apt-doc_2.9.28+exp1_all.deb
 cffe893f69031dd4abfe1939b09fc738cc7f649a007748480efe99f02e43c862 35500 apt-transport-https_2.9.28+exp1_all.deb
 91f83be3dd526dd1ca357a0fa095afa3b0364191d69f1644eabbe20a0dbbb69c 1755936 apt-utils-dbgsym_2.9.28+exp1_amd64.deb
 7c6b74f936c7830f33d607b3a302f3c265706bc3c0bdc9c59bf0f91067ecc7eb 331148 apt-utils_2.9.28+exp1_amd64.deb
 1ae9b3e479bcbb1f214130a8ede9ec8315118729b7966fc2138550faf93c7331 12703 apt_2.9.28+exp1_amd64.buildinfo
 293d0e0892eb598d7b113542209da3e1133e2bc6c538e79fc2619fb73ea6f18e 1434896 apt_2.9.28+exp1_amd64.deb
 c946d9912df4c0aa42335dce66679fec02d203e90e0ed131c45f35e98b6fe443 131116 libapt-pkg-dev_2.9.28+exp1_amd64.deb
 1337d8f76c9c660a78153afee5398e7b4f6e10e7982451e60cbe057f4716663c 960592 libapt-pkg-doc_2.9.28+exp1_all.deb
 dbcf58b81405facca5a46aa14725080e82660496e83d75d987f4b17e6cbb3b09 12526504 libapt-pkg7.0-dbgsym_2.9.28+exp1_amd64.deb
 e4d34638f221fb8964cd2a78bcb04b419312e18159ee31d00523f6def7ece90c 1098632 libapt-pkg7.0_2.9.28+exp1_amd64.deb
Files:
 26be3589e3601b2315ee278c94cb636d 3182 admin required apt_2.9.28+exp1.dsc
 856b7eafeecc6c7ec29f702d2660107d 2394512 admin required apt_2.9.28+exp1.tar.xz
 db4c4a0b7c629df50efdc2fce417d49d 8922920 debug optional apt-dbgsym_2.9.28+exp1_amd64.deb
 a6331563133e9dae53a5b28693293fad 263460 doc optional apt-doc_2.9.28+exp1_all.deb
 ce19256c5bd0259c8f8be9e16731dd6d 35500 oldlibs optional apt-transport-https_2.9.28+exp1_all.deb
 f305c87d17b0c2f844599a4450f9a435 1755936 debug optional apt-utils-dbgsym_2.9.28+exp1_amd64.deb
 2cd40c326553210ceee286b4e39d096d 331148 admin required apt-utils_2.9.28+exp1_amd64.deb
 28703e8160361783e8665436ee3f869b 12703 admin required apt_2.9.28+exp1_amd64.buildinfo
 204c400931c5008de4fd7c589c1232dd 1434896 admin required apt_2.9.28+exp1_amd64.deb
 139660de2a8f7c6eb8dfc352396591f5 131116 libdevel optional libapt-pkg-dev_2.9.28+exp1_amd64.deb
 dd41d7f2f606696bb469d6e528584dbf 960592 doc optional libapt-pkg-doc_2.9.28+exp1_all.deb
 149083f5705ee46949e48703663bf2bd 12526504 debug optional libapt-pkg7.0-dbgsym_2.9.28+exp1_amd64.deb
 8278f64835176cd851a37f2a0c19e72a 1098632 libs optional libapt-pkg7.0_2.9.28+exp1_amd64.deb


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

wsG7BAEBCgBvBYJnp6jQCRBvpFjdHbA/cUcUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmes5nhgP4WCGTfLpmkYcI8rOCZfwFdFihvycOIbnoyY
YxYhBE+1iKhMLd55p0x3h2+kWN0dsD9xAAA1Sw/+KLPkcjFVy8GZAVS9QAWRgb9f
m3gk1e5Rk/AOfN0V0Ev1W4pT6nt+kvxty75bP9wVJMrZUZod7DnBDqUHJKGRZ+JZ
njpijx4rRzueGY+R1mhFVw/zKljvsslLZRlYEoQYoX7U6RyQYGaYujCRLcn/Khfx
8un79x5eJpkiCmb2PBJYLW7FTrFOZvjzkmM7d20DsCtZbnxletQf01cjOxNPXhNw
MzoMSsm9RUyw0fU07wIWZHbcWIp+kiET3DA/MG3h10wgGuF18O4S8WvvVuGDYWwq
AnNRlxcdDtvoZz1VdE3h6IoUfmtBDm5Fj1GKa+tVnhNfK4I3TqCQ9Ppep09Eu4eQ
ZfNxlv3PXTTv8X3CnkxyKzEOBL3FGuR+c63RkcKkhwNbaQD3U7iq0AGQ1wrpAd12
gpE4mhuXtDCRUEtJ9rkxYKl3ZFRhlqlxFcrWNFv1XtfUt5HTSGSiWJxZ96i6qPUC
9bqav/I6AXk8DzzLHNAEVmx/LGT7egiQGaa/hm05zRM/rXAKMNR0bH37KWa21PuF
MegTIIcX8l84gbwWK4ybDL8ra9VzleSPCN9MbubvexxGoP1IajazhdYoWpS41i3t
Q6HsgVBdsX6FGI2wATdztvmV49NF+TxCiWLPey7cfIUYRwXkLtyUY5oMBVFfXy17
MHyQPwK2c6RqKaljxSo=
=zpAN
-----END PGP SIGNATURE-----

Attachment: pgp74rE8wEnYC.pgp
Description: PGP signature


--- End Message ---

Reply to: