Bug#1001276: ctfutils: library conflict on libctf.so.0 with libctf0
Control: reassign -1 binutils
Control: retitle -1 binutils: Hijacks libctf library name on (k)FreeBSD
On 7 Dec 2021, at 15:25, Jessica Clarke <jrtc27@debian.org> wrote:
>
> On 7 Dec 2021, at 15:09, Andreas Beckmann <anbe@debian.org> 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
Reply to: