Re: log4cpp backport wrongly uses v5 in package name, breaks stuff
On Mon, 08 May 2017 at 15:40:07 +0200, Daniel Pocock wrote:
> jessie: log4cpp 1.0.4
Actually liblog4cpp5, which is liblog4cpp.so.5 with the g++ 4 ABI.
> sid/stretch/jessie-bpo: log4cppv5 1.1.1
Actually liblog4cpp5v5, which is meant to mean liblog4cpp.so.5 with the
g++ 5 ABI - the bug is that liblog4cpp5v5/jessie-backports is actually
liblog4cpp.so.5 with the g++ 4 ABI (because it was built by g++ from
jessie), so it needs to be named liblog4cpp5 like the jessie version.
> Did you look at the SONAME in each of the binaries and does that need to
> change in the backport or the sid/stretch version?
The SONAME stays the same, liblog4cpp.so.5. The SONAME is part of the
upstream build system, and there is no general way to make it
dependent on the libstdc++ ABI against which you compiled identical
source: that's why the liblog4cpp5v5 package needs Breaks/Replaces on
liblog4cpp5, because they both contain liblog4cpp.so.5.
S
Reply to: