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

Full log


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

Received: (at submit) by bugs.devuan.org; 4 Dec 2024 17:24:06 +0000
Return-Path: <jeffrey.cliff@gmail.com>
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 04 Dec 2024 17:24:06 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id AWCWMQWQUGdQaQAAmSBk0A
	(envelope-from <jeffrey.cliff@gmail.com>)
	for <bugs@devuan.org>; Wed, 04 Dec 2024 17:23:17 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id B0214586; Wed,  4 Dec 2024 17:23:17 +0000 (UTC)
Authentication-Results: email.devuan.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=HojGt0aS;
	dkim-atps=neutral
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,
	T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::535; helo=mail-ed1-x535.google.com; envelope-from=jeffrey.cliff@gmail.com; receiver=<UNKNOWN> 
Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535])
	by email.devuan.org (Postfix) with ESMTPS id E04473AD
	for <submit@bugs.devuan.org>; Wed,  4 Dec 2024 17:23:16 +0000 (UTC)
Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-5d122cf8dd1so367447a12.2
        for <submit@bugs.devuan.org>; Wed, 04 Dec 2024 09:23:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1733332996; x=1733937796; darn=bugs.devuan.org;
        h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
         :date:message-id:reply-to;
        bh=kKb2P6TdMabUJH1VhK4z4H/JBguocQAncuOeIrkXBik=;
        b=HojGt0aSy8e/W7FxvKFxSGX4g/9iNXoNm/0ePtmLtlBIJQ6Mxa1x4nN1bC0OsTFS4U
         BzAXuSRpGSFBH63XKRrUEZ0bzpaYmP+fX6FWLQUUsM1dYAkm38uzR6534t/hokwCA6D5
         0SipOw91YSdTZCuj/k1bcgroNkKuR5XYXEPFsjJAoqDNrrczTh2IWte1V0+cTLStDLrW
         /bsMcRVvWvMCivl4AkP+A9WWTXsROzVZkpz6MSPp4p0AdvGkgxeTgXvDWz8e1A92VD3J
         3S/rPnHoKFMplUzMSt7XH/U5+KC/+VU93Jm3CkTk15ITTQzJnR8IExrqjjRP5KtdVF6w
         04dg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1733332996; x=1733937796;
        h=to:subject:message-id:date:from:mime-version:x-gm-message-state
         :from:to:cc:subject:date:message-id:reply-to;
        bh=kKb2P6TdMabUJH1VhK4z4H/JBguocQAncuOeIrkXBik=;
        b=ikn2a6yDlAh9UypLbHiBEUb6RKxV+P7UlalUYmuewaMJ6tXcPX6gYFYhkMXLbP4D8e
         VeHnXn25hM//O57sNPpOMZc9X9CAQjpdczv4kKPfrpWDeYi2wxK7Dv14rP09SX/u8ms3
         e3mrVR6Yfu9PxuTfmldthAEzcOX51VI1EBOPdr55aFL2hFPIiB6x82UXORkVTrmhexpL
         2y+nQpSnFzHv/qBKNub3mt5224vzUA/TiOL+VIUadwS+k5Ng6EuWRifi/5HeXvY63gCS
         EXQmUIxhEKOXZB6ZNzUAH0BtZ9xzCLVNZxg+KFlZ+u1/Qim+dXPfDDkhDQFhXY2TX8BG
         BgxQ==
X-Gm-Message-State: AOJu0YzS15G5txD0Oqlc8t/rekrEhsIF0fpA1n6DByCfyOOCxcKduQ5J
	cW026tA51ZuqNI5U9UreaiRhpLeTl6KBom5+StPVI+WMz2Zi5K9hB9QybklfGu7G3iBhAtJIs4e
	45o2kJ8mcgtI8LghAXFtJD2mWrxAGdMI2
X-Gm-Gg: ASbGnct35H2obz4qAmwuUKS7Rj693yp5s+2n/tvr2TW5ydxH3BG1XYbCFhtmQZmpvCV
	zk/8vjnUR1wk7k7trbVYVFR22aZiJfncx9G89rQ2FdCNlJ0K40DVwh+MhnYcPSvVeGg==
X-Google-Smtp-Source: AGHT+IHChlTfGXsNOpXuj3ycJoUP9+0zw4H3BXRfNRs+aSCuirHIMUSwmiaJWJ9e6HPJ4RS++wbG1W1P3pI7VLhdQIg=
X-Received: by 2002:a05:6402:510b:b0:5d0:e73c:b7f6 with SMTP id
 4fb4d7f45d1cf-5d113d089a7mr5188412a12.31.1733332995562; Wed, 04 Dec 2024
 09:23:15 -0800 (PST)
MIME-Version: 1.0
From: Jeffrey Cliff <jeffrey.cliff@gmail.com>
Date: Wed, 4 Dec 2024 11:23:03 -0600
Message-ID: <CAAR2Wu_AfoTRdXSS=3gxQk_W7GSav61dxjxdtXSYnBp=636E5A@mail.gmail.com>
Subject: Subject: python3-apt: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Content-Type: text/plain; charset="UTF-8"
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

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: Wed Mar 12 00:50:06 2025;