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

Julien Cristau jcristau at debian.org
Thu Sep 5 17:42:59 UTC 2013


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).

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130905/10814a0c/attachment-0002.sig>


More information about the pkg-gnome-maintainers mailing list