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

Robert Millan rmh at debian.org
Thu Sep 5 15:29:34 UTC 2013


Michael Biebl:
> Source: libgtop2
> Version: 2.28.5-1
> Severity: serious
> User: debian-bsd at 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>

then build-depend on libbsd-dev.

-- 
Robert Millan




More information about the pkg-gnome-maintainers mailing list