Devuan bug report logs - #865
Subject: python3-apt: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm

version graph

Package: python3-apt; Maintainer for python3-apt is (unknown); Source for python3-apt is src:python-apt.

Reported by: Jeffrey Cliff <jeffrey.cliff@gmail.com>

Date: Wed, 4 Dec 2024 17:26:02 UTC

Severity: normal

Tags: debian

Fixed in version 2.9.2

Done: Mark Hindley <mark@hindley.org.uk>

Forwarded to https://bugs.debian.org/1088262

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, jeffrey.cliff@gmail.com, devuan-dev@lists.dyne.org:
bug#865; Package python3-apt. (Wed, 04 Dec 2024 17:26:02 GMT) (full text, mbox, link).


Acknowledgement sent to Jeffrey Cliff <jeffrey.cliff@gmail.com>:
New bug report received and forwarded. Copy sent to jeffrey.cliff@gmail.com, devuan-dev@lists.dyne.org.

Your message specified a Severity: in the pseudo-header, but the severity value important was not recognised. The default severity normal is being used instead. The recognised values are: critical, grave, normal, minor, wishlist.

(Wed, 04 Dec 2024 17:26:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Jeffrey Cliff <jeffrey.cliff@gmail.com>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: Subject: python3-apt: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
Date: Wed, 4 Dec 2024 11:23:03 -0600
Package: python3-apt
X-Debbugs-CC: jeff cliff<jeffrey.cliff@gmail.com>
Severity: important

# reportbug reportbug

results in

Traceback (most recent call last):
  File "/usr/bin/reportbug", line 40, in <module>
    from reportbug import utils
  File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 45, in <module>
    import apt
  File "/usr/lib/python3/dist-packages/apt/__init__.py", line 21, 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

[ie reportbug is broken and doesn't run at all]

any packages removed/added via either apt on the commandline or aptitude
*do* seem to get added/removed but with a similar warning

ie apt installing bb results in

...
Get:7 https://repo.jing.rocks/devuan/merged unstable/main amd64 bb
amd64 1.3rc1-13 [1,002 kB]
Get:8 https://repo.jing.rocks/devuan/merged unstable/main amd64
libdecor-0-plugin-1-gtk amd64 0.2.2-2 [22.7 kB]
Fetched 2,649 kB in 2s (1,174 kB/s)
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 5, in <module>
    from apt_listchanges.apt_listchanges import main
  File "/usr/lib/python3/dist-packages/apt_listchanges/apt_listchanges.py",
line 36, 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
...

note: i don't have cython3 installed

cython3:
  Installed: (none)
  Candidate: 3.0.11+dfsg-1+b1

devuan: excalibur/ceres
kernel: linux (libre)+a few patches: Linux wicksell
6.12.0-gnu-librelibre-c23-gnm #2 SMP PREEMPT_DYNAMIC Fri Nov 29
15:14:29 CST 2024 x86_64 GNU/Linux

/etc/apt/sources.list was
deb https://repo.jing.rocks/devuan/merged unstable main
deb-src https://repo.jing.rocks/devuan/merged unstable main

tried adding

deb https://repo.jing.rocks/devuan/merged ceres main
deb-src https://repo.jing.rocks/devuan/merged ceres main

no change

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#865; Package python3-apt. (Wed, 04 Dec 2024 21:26:01 GMT) (full text, mbox, link).


Message #8 received at 865@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Jeffrey Cliff <jeffrey.cliff@gmail.com>, 865@bugs.devuan.org, Andreas Messer <andi@bastelmap.de>
Subject: Re: bug#865: Subject: python3-apt: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
Date: Wed, 4 Dec 2024 21:23:07 +0000
Jeffrey

Thanks for this.

Andreas,

I wonder if this is because Debian's python3-apt here has been built against their
more recent apt.

I think we are going to have to keep more closely aligned wrt Debian apt
versions to avoid this.

What do you think?

Best wishes

Mark

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#865; Package python3-apt. (Wed, 04 Dec 2024 21:42:01 GMT) (full text, mbox, link).


Acknowledgement sent to B Stack <bgstack15@gmail.com>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. (Wed, 04 Dec 2024 21:42:02 GMT) (full text, mbox, link).


Message #13 received at 865@bugs.devuan.org (full text, mbox, reply):

From: B Stack <bgstack15@gmail.com>
To: Mark Hindley <mark@hindley.org.uk>, 865@bugs.devuan.org, devuan developers internal list <devuan-dev@lists.dyne.org>
Cc: Jeffrey Cliff <jeffrey.cliff@gmail.com>, Andreas Messer <andi@bastelmap.de>
Subject: Re: [devuan-dev] bug#865: Subject: python3-apt: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
Date: Wed, 4 Dec 2024 16:39:53 -0500
Is this somehow separate from upstream bug
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088262 ?

B. Stack

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#865; Package python3-apt. (Wed, 04 Dec 2024 21:50:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mark Hindley <mark@hindley.org.uk>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. (Wed, 04 Dec 2024 21:50:02 GMT) (full text, mbox, link).


Message #18 received at 865@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: B Stack <bgstack15@gmail.com>
Cc: 865@bugs.devuan.org, Jeffrey Cliff <jeffrey.cliff@gmail.com>, Andreas Messer <andi@bastelmap.de>
Subject: Re: bug#865: Subject: python3-apt: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
Date: Wed, 4 Dec 2024 21:46:50 +0000
Control: tags -1 debian
Control: upstream -1 https://bugs.debian.org/1088262 

On Wed, Dec 04, 2024 at 04:39:53PM -0500, B Stack wrote:
> Is this somehow separate from upstream bug

No!

> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088262 ?

I was just looking for a matching Debian bug and couldn't find it.

Thanks!

So, Jeffrey,  

It looks as it version 2.9.2 uploaded to Debian today should fix it.

Can you try and report back?

Thanks

Mark

Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 865-submit@bugs.devuan.org. (Wed, 04 Dec 2024 21:50:03 GMT) (full text, mbox, link).


Set bug forwarded-to-address to 'https://bugs.debian.org/1088262'. Request was from Mark Hindley <mark@hindley.org.uk> to control@bugs.devuan.org. (Wed, 04 Dec 2024 22:02:01 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#865; Package python3-apt. (Thu, 05 Dec 2024 01:16:01 GMT) (full text, mbox, link).


Acknowledgement sent to Jeffrey Cliff <jeffrey.cliff@gmail.com>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. (Thu, 05 Dec 2024 01:16:01 GMT) (full text, mbox, link).


Message #27 received at 865@bugs.devuan.org (full text, mbox, reply):

From: Jeffrey Cliff <jeffrey.cliff@gmail.com>
To: Mark Hindley <mark@hindley.org.uk>
Cc: B Stack <bgstack15@gmail.com>, 865@bugs.devuan.org, Andreas Messer <andi@bastelmap.de>
Subject: Re: bug#865: Subject: python3-apt: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
Date: Wed, 4 Dec 2024 19:14:39 -0600
Downloaded source to 2.9.2 via git clone of
https://salsa.debian.org/apt-team/python-apt
debuilded it using debuild -us -uc -b
installed using dpkg -i resulting deb file
and this issue no longer presents itself


On Wed, Dec 4, 2024 at 3:46 PM Mark Hindley <mark@hindley.org.uk> wrote:
>
> Control: tags -1 debian
> Control: upstream -1 https://bugs.debian.org/1088262
>
> On Wed, Dec 04, 2024 at 04:39:53PM -0500, B Stack wrote:
> > Is this somehow separate from upstream bug
>
> No!
>
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088262 ?
>
> I was just looking for a matching Debian bug and couldn't find it.
>
> Thanks!
>
> So, Jeffrey,
>
> It looks as it version 2.9.2 uploaded to Debian today should fix it.
>
> Can you try and report back?
>
> Thanks
>
> Mark



--
------------------------------------------------------------------------------------------------
End the campaign to Cancel Richard Stallman - go to stallmansupport.org !
------------------------------------------------------------------------------------------------

Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. (Thu, 05 Dec 2024 07:24:01 GMT) (full text, mbox, link).


Notification sent to Jeffrey Cliff <jeffrey.cliff@gmail.com>:
bug acknowledged by developer. (Thu, 05 Dec 2024 07:24:02 GMT) (full text, mbox, link).


Message #32 received at 865-done@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: 865-done@bugs.devuan.org
Subject: Fixed in Debian #1088262
Date: Thu, 5 Dec 2024 07:22:29 +0000
Version: 2.9.2

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#865; Package python3-apt. (Thu, 05 Dec 2024 08:20:02 GMT) (full text, mbox, link).


Acknowledgement sent to Andreas Messer <andi@bastelmap.de>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. (Thu, 05 Dec 2024 08:20:02 GMT) (full text, mbox, link).


Message #37 received at 865@bugs.devuan.org (full text, mbox, reply):

From: Andreas Messer <andi@bastelmap.de>
To: Jeffrey Cliff <jeffrey.cliff@gmail.com>
Cc: Mark Hindley <mark@hindley.org.uk>, B Stack <bgstack15@gmail.com>, 865@bugs.devuan.org
Subject: Re: bug#865: Subject: python3-apt: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
Date: Thu, 5 Dec 2024 09:17:08 +0100
[Message part 1 (text/plain, inline)]
Hi,

Am Wed, Dec 04, 2024 at 07:14:39PM -0600 schrieb Jeffrey Cliff:
> Downloaded source to 2.9.2 via git clone of
> https://salsa.debian.org/apt-team/python-apt
> debuilded it using debuild -us -uc -b
> installed using dpkg -i resulting deb file
> and this issue no longer presents itself

Thank you for the feedback! 

@Mark: So I assume there is no hurry to re-package the next apt version.
(I'll probaly do this today anyways) Currently I would like to stick
with tracking the Debian testing branch when re-packaging for our unstable
branch since I already had some experience with diverging versions on 
Debian unstable & testing during feature freeze.

And Btw, thanks to Mark & B Stack sorting this out.

Cheers,
Andreas

-- 
gnuPG keyid: 8C2BAF51
fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu Dec 19 19:06:19 2024;