[Pkg-sysvinit-devel] Bug#657676: sysvinit: FTBFS on kfreebsd due to missing sys/signalfd.h

Guillem Jover guillem at debian.org
Fri Jan 27 22:50:15 UTC 2012


Hi!

On Fri, 2012-01-27 at 21:42:17 +0000, Roger Leigh wrote:
> Package: sysvinit
> Version: 2.88dsf-19
> Severity: normal
> 
> cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -W -Wall -D_GNU_SOURCE  -DACCTON_OFF  -c -o last.o last.c
> cc -Wl,-z,relro  last.o oldutmp.h   -o last
> cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -W -Wall -D_GNU_SOURCE  -DACCTON_OFF  -c -o mesg.o mesg.c
> cc -Wl,-z,relro  mesg.o   -o mesg
> make[2]: Leaving directory `/build/buildd-sysvinit_2.88dsf-19-kfreebsd-amd64-q08mr8/sysvinit-2.88dsf/src'
> /usr/bin/make  -C startpar
> make[2]: Entering directory `/build/buildd-sysvinit_2.88dsf-19-kfreebsd-amd64-q08mr8/sysvinit-2.88dsf/startpar'
> gcc   -D_GNU_SOURCE  -Wall -W -pipe -DVERSION=\"0.58\" -DNOTSUSE -c startpar.c
> startpar.c:45:26: fatal error: sys/signalfd.h: No such file or directory
> compilation terminated.
> make[2]: *** [startpar.o] Error 1
> make[2]: Leaving directory `/build/buildd-sysvinit_2.88dsf-19-kfreebsd-amd64-q08mr8/sysvinit-2.88dsf/startpar'
> make[1]: *** [override_dh_auto_build] Error 2
> make[1]: Leaving directory `/build/buildd-sysvinit_2.88dsf-19-kfreebsd-amd64-q08mr8/sysvinit-2.88dsf'
> make: *** [build] Error 2
> 
> This needs a kfreebsd workaround (also fails on kfreebsd-i386).

signalfd is a Linux only interface (see [0]), BSD based systems can use
kqueue instead, also Solaris through libkqueue, for GNU/Hurd I'm not sure
what's the equivalent. In any case this worked fine with -18, so given
the extent of this regression wouldn't reverting back to the previous
startpar be the ideal solution for now? Or does the new code base give
significant improvements?

Also this seems should be of serious severity instead?

[0] <http://www.hadrons.org/~guillem/debian/ports/porting>

thanks,
guillem





More information about the Pkg-sysvinit-devel mailing list