Bug 31963 - fails to build on (k)freebsd : sys/signalfd.h: No such file or directory
Summary: fails to build on (k)freebsd : sys/signalfd.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: PolicyKit
Classification: Unclassified
Component: daemon (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: David Zeuthen (not reading bugmail)
QA Contact: David Zeuthen (not reading bugmail)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-28 17:46 UTC by Michael Biebl
Modified: 2011-02-23 09:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Allow building on Non-Linux platforms without signalfd() (2.69 KB, patch)
2010-12-06 07:15 UTC, Martin Pitt
Details | Splinter Review

Description Michael Biebl 2010-11-28 17:46:35 UTC
Version: 0.99

Since version 0.99, policykit fails to build on (k)freebsd, as it uses signalfd unconditionally.

The Debian bug report is 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602476

The complete build log
https://buildd.debian.org/fetch.cgi?pkg=policykit-1&arch=kfreebsd-amd64&ver=0.99-1&stamp=1288927440&file=log&as=raw
Comment 1 Martin Pitt 2010-12-06 07:15:14 UTC
Created attachment 40833 [details] [review]
Allow building on Non-Linux platforms without signalfd()

I tested this by temporarily moving away my sys/signalfd.h. This gracefully handles the inavailabilty and keeps the current behaviour on Linux.
Comment 2 David Zeuthen (not reading bugmail) 2011-02-23 09:03:49 UTC
I just fixed this in another way:

 http://cgit.freedesktop.org/PolicyKit/commit/?id=02155a23eb27715d5d1d73c8ed1af417d1579bf5


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.