:: [devuan-dev] bug#865: Subject: pyth…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Jeffrey Cliff
Päiväys:  
Vastaanottaja: Devuan Bug Tracking System
Aihe: [devuan-dev] bug#865: Subject: python3-apt: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
Package: python3-apt
X-Debbugs-CC: jeff cliff<jeffrey.cliff@???>
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