Discussion:
Bug#911090: libapt-pkg5.0: incompatible with apt/stretch
Andreas Beckmann
2018-10-15 15:12:10 UTC
Permalink
Package: libapt-pkg5.0
Version: 1.7.0
Severity: serious

Hi,

I just did a partial upgrade on a stretch+buster+sid development
system resulting in apt-get erroring out with

apt-get: relocation error: /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0: symbol _ZN3URIcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time reference

Looks like some Breaks may be needed ...

probably the relevant package mixture:

ii apt 1.4.8 amd64 commandline package manager
ii dpkg 1.19.2 amd64 Debian package management system
ii libapt-pkg5.0:amd64 1.7.0 amd64 package management runtime library


Andreas
Julian Andres Klode
2018-10-15 16:18:58 UTC
Permalink
Post by Andreas Beckmann
Package: libapt-pkg5.0
Version: 1.7.0
Severity: serious
Hi,
I just did a partial upgrade on a stretch+buster+sid development
system resulting in apt-get erroring out with
apt-get: relocation error: /usr/lib/x86_64-linux-gnu/libapt-private.so.0.0: symbol _ZN3URIcvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEB5cxx11Ev version APTPKG_5.0 not defined in file libapt-pkg.so.5.0 with link time reference
Looks like some Breaks may be needed ...
So, I think this affects more than just apt. gcc 7 broke the ABI
by adding a new mangling

URI::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >()

and only linking to that. It seems that some new gcc version then
got rid of the old one

URI::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >[abi:cxx11]()

and now it's crashing.

And that's a problem for _every_ library with operator string(), not
just apt.
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en
Debian Bug Tracking System
2018-10-22 11:12:05 UTC
Permalink
tag -1 pending
Bug #911090 [libapt-pkg5.0] libapt-pkg5.0: incompatible with apt/stretch
Added tag(s) pending.
--
911090: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911090
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Andreas Beckmann
2018-10-22 12:42:04 UTC
Permalink
Control: clone -1 -2
Control: reassign -2 g++-8
Control: retitle -2 g++-8: removal of old abi mangling breaks compatibility with stretch
Post by Julian Andres Klode
So, I think this affects more than just apt. gcc 7 broke the ABI
by adding a new mangling
URI::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >()
and only linking to that. It seems that some new gcc version then
got rid of the old one
URI::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >[abi:cxx11]()
and now it's crashing.
And that's a problem for _every_ library with operator string(), not
just apt.
Andreas
Debian Bug Tracking System
2018-10-22 12:45:17 UTC
Permalink
Post by Andreas Beckmann
clone -1 -2
Bug #911090 [libapt-pkg5.0] libapt-pkg5.0: incompatible with apt/stretch
Bug 911090 cloned as bug 911599
Post by Andreas Beckmann
reassign -2 g++-8
Bug #911599 [libapt-pkg5.0] libapt-pkg5.0: incompatible with apt/stretch
Bug reassigned from package 'libapt-pkg5.0' to 'g++-8'.
No longer marked as found in versions apt/1.7.0.
Ignoring request to alter fixed versions of bug #911599 to the same values previously set
Post by Andreas Beckmann
retitle -2 g++-8: removal of old abi mangling breaks compatibility with stretch
Bug #911599 [g++-8] libapt-pkg5.0: incompatible with apt/stretch
Changed Bug title to 'g++-8: removal of old abi mangling breaks compatibility with stretch' from 'libapt-pkg5.0: incompatible with apt/stretch'.
--
911090: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911090
911599: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911599
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Debian Bug Tracking System
2018-11-12 11:36:10 UTC
Permalink
Your message dated Mon, 12 Nov 2018 11:34:00 +0000
with message-id <E1gMATg-0008Q9-***@fasolo.debian.org>
and subject line Bug#911090: fixed in apt 1.8.0~alpha1
has caused the Debian Bug report #911090,
regarding libapt-pkg5.0: incompatible with apt/stretch
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 ***@bugs.debian.org
immediately.)
--
911090: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911090
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...