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

2021-12-07 Thread Jessica Clarke
Control: reassign -1 binutils
Control: retitle -1 binutils: Hijacks libctf library name on (k)FreeBSD

On 7 Dec 2021, at 15:25, Jessica Clarke  wrote:
> 
> On 7 Dec 2021, at 15:09, Andreas Beckmann  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



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

2021-12-07 Thread Jessica Clarke
On 7 Dec 2021, at 15:09, Andreas Beckmann  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...

Jess



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

2021-12-07 Thread Andreas Beckmann
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.


Andreas