Bug#721886: FTBFS on kfreebsd-*: glibtop_machine.h:26:19: fatal error: nlist.h: No such file or directory

Michael Biebl biebl at debian.org
Thu Sep 5 17:52:13 UTC 2013


Am 05.09.2013 19:42, schrieb Julien Cristau:
> On Thu, Sep  5, 2013 at 19:40:18 +0200, Michael Biebl wrote:
> 
>> Am 05.09.2013 19:29, schrieb Julien Cristau:
>>> On Thu, Sep  5, 2013 at 17:50:18 +0200, Michael Biebl wrote:
>>>> Am 05.09.2013 17:29, schrieb Robert Millan:
>>>>> -#include <nlist.h>
>>>>> +#include <bsd/nlist.h>
>>>>
>>>> Does that also work with FreeBSD so can be pushed upstream?
>>>> Apparently libgtop2 has native FreeBSD support and I wonder if nslist.h
>>>> is using a different location on  FreeBSD.
>>>>
>>> In xorg-server added `pkg-config --cflags libbsd-overlay` to CPPFLAGS
>>> from debian/rules.  Lets the code expecting bsd headers on bsd work
>>> without patching.
>>
>> That's confusing tbh. Why is libbsd-dev using different paths in the
>> first place which requires such hacks?
>>
> Because the normal bsd paths would conflict with gnu libc-dev headers
> (maybe not for nlist.h, but for others).

Why do libc-dev and libbsd-dev have conflicting files in the first place
and why not move just the conflicting (BSD) files to bsd/ ?

Apparently libgtop2 built just fine in the past with libbsd-dev, so this
looks like a recent regression in that package.

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130905/2bba1e5a/attachment-0001.sig>


More information about the pkg-gnome-maintainers mailing list