On 2014-04-22 20:40 +0200, Sven Joachim wrote:

> On 2014-04-22 09:46 +0200, Vincent Bernat wrote:
>
>> Package: ncurses-bin
>> Version: 5.9+20140118-1
>> Severity: wishlist
>>
>> Hi!
>>
>> Shouldn't ncursesw5-config and ncurses5-config be shipped with their
>> respective -dev packages?
>
> The problem here is that these scripts are not quite identical across
> architectures (different value of libdir), breaking coinstallability of
> the -dev packages.  See the discussion in #480437 and #689131.

It seems that this can be fixed by completely suppressing the output of
the --libdir option.  This is what Fedora is doing, I think I'll just
steal their patch.

>> Otherwise, a configure script may succeed
>> while the appropriate files are not present.
>
> Surely such a configure script would be buggy, it needs to test whether
> linking with -lncurses(w) actually works.  The mere presence of the
> -config scripts cannot guarantee that in all cases anyway (think of
> cross compilation).

This problem still persists if you only have a -dev package for the
wrong architecture.  I don't think there is much we can do about that,
other than advocate the use of pkg-config.

Cheers,
       Sven


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to