Bug#1001276: ctfutils: library conflict on libctf.so.0 with libctf0

Jessica Clarke <[email protected]> Tue, 7 Dec 2021 15:35:43 +0000
Newsgroups gmane.linux.debian.ports.bsd
Message-ID <F709D6FD-65EB-4884-84B7-0BA09D0BF5F5__24154.9713815161$1638891566$gmane$org@debian.org>
Control: reassign -1 binutils
Control: retitle -1 binutils: Hijacks libctf library name on (k)FreeBSD

On 7 Dec 2021, at 15:25, Jessica Clarke <[email protected]> wrote:
> 
> On 7 Dec 2021, at 15:09, Andreas Beckmann <[email protected]> wrote:
>> 
>> Package: ctfutils
>> Version: 10.3~svn297264-2
>> Severity: serious
>> 
>> Hi,
>> 
>> there is a (potential) library conflict:
>> 
>> ctfutils (src:ctfutils):	/usr/lib/libctf.so.0
>> libctf0 (src:binutils):		/usr/lib/$DEB_HOST_MULTIARCH/libctf.so.0
>> 
>> I don't know if the libraries could be used as replacements of each
>> other, but if both packages are installed, only one of libraries will
>> be used to resolve dependencies of other shared libraries or binaries.
> 
> *sigh* What is the plan for building binutils on real FreeBSD? Because
> that has a libctf (albeit, now at .2) in the base system that will
> conflict. Is this just a GNU-written replacement we should disable in
> binutils on kfreebsd-*? Presumably that’s what they do on FreeBSD…

Regardless, this is binutils’s bug, it can’t just hijack libraries,
especially those that are OS-provided system libraries like libctf.

Jess