[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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

Am 05.09.2013 17:29, schrieb Robert Millan:
> Michael Biebl:
>> Source: libgtop2
>> Version: 2.28.5-1
>> Severity: serious
>> User: debian-bsd@lists.debian.org
>> Usertags: kfreebsd
>> libgtop2 FTBFS [1] with the following error:
>> make[4]: Entering directory `/«PKGBUILDDIR»/sysdeps/common'
>> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -I../../sysdeps/freebsd -I../../include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-kfreebsd-gnu/glib-2.0/include     -D_FORTIFY_SOURCE=2  -Winline 	-Wall 	-std=gnu89 	-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 	-Wnested-externs -Wpointer-arith 	-Wcast-align -Wsign-compare 	-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o error.lo error.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../.. -I../../sysdeps/freebsd -I../../include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-kfreebsd-gnu/glib-2.0/include -D_FORTIFY_SOURCE=2 -Winline -Wall -std=gnu89 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c error.c  -fPIC -DPIC -o .libs/error.o
>> In file included from ../../glibtop.h:58:0,
>>                  from ../../include/glibtop/error.h:30,
>>                  from error.c:27:
>> ../../sysdeps/freebsd/glibtop_machine.h:26:19: fatal error: nlist.h: No such file or directory
>>  #include <nlist.h>
>>                    ^
>> Would be great if the kfreebsd porters have a look at this and provide a patch.
> -#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.

[1] seems to indicate that this is rather a bug in libbsd-dev.

> then build-depend on libbsd-dev.

Afaics this should already been pulled in via libkvm-dev.


[1] https://lists.debian.org/debian-bsd/2011/07/msg00248.html

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

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: