[Pkg-sysvinit-devel] Bug#657676: sysvinit: FTBFS on kfreebsd due to missing sys/signalfd.h
Roger Leigh
rleigh at codelibre.net
Fri Jan 27 23:10:13 UTC 2012
severity 657676 serious
thanks
On Fri, Jan 27, 2012 at 11:50:15PM +0100, Guillem Jover wrote:
> On Fri, 2012-01-27 at 21:42:17 +0000, Roger Leigh wrote:
> > startpar.c:45:26: fatal error: sys/signalfd.h: No such file or directory
> > 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?
Unsure. We were on 0.53.1, and the new version is 0.58. It merged
all of the existing Debian patchset, so is desirable from this POV.
The lack of upstream version control or changelog (that I'm aware of)
does not help matters. Possibly we can back out just the signalfd
change, or add kfreebsd/hurd-specific ifdefs for its use.
Looking at the source, I see no evidence of actual signalfd usage,
so just not including the header may fix this universally. Certainly
removing it on Linux does not break compilation.
> Also this seems should be of serious severity instead?
Yes, I set this with reportbug, not sure why it's normal. Setting
appropriately.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
More information about the Pkg-sysvinit-devel
mailing list