Bug 90800 - configure: abort if __NR_kcmp is undefined
Summary: configure: abort if __NR_kcmp is undefined
Status: RESOLVED WONTFIX
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-01 11:01 UTC by krichter722
Modified: 2016-06-07 10:54 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description krichter722 2015-06-01 11:01:06 UTC
Seems like a systemcall is missing which should be checked in `configure`. See https://travis-ci.org/krichter722/systemd/builds/64894404 for details.

experienced with 3d7dc8e4f9273ed0f14116ee7400718b7459df0d
Comment 1 Daniel Mack 2015-06-05 19:46:52 UTC
Hmm, your kernel headers seem to be too old. Travis gives you a 12.04 Ubuntu image, right? I've just recently tested various CI tools to integrate them into our new GitHub infrastructure, and failed to use 12.04 as base for that. The kernel headers are not the only reason, also various other libraries don't match the minimum requirement.

FWIW, I found that Semaphore CI works well for us, as they provide a 14.04 image that has the necessary packages available. You might wanna have a look at that. Our own integration tests are now run every time something is pushed to master or when a new pull request is openend:

  https://semaphoreci.com/systemd/systemd
Comment 2 krichter722 2015-06-06 11:43:04 UTC
I'm not so eager to get it working, but I want to report missing checks in `configure`. Prerequisites should be checked.
Comment 3 Lennart Poettering 2015-06-08 16:50:58 UTC
kcmp was introduced with kernel 3.5, back in 2012. That's *really* old. We currently claim to support kernel 3.7 with systemd, but nothing older. 

I'd be willing to add a patch that aborts configure if __NR_kcmp is not defined.
Comment 4 Lennart Poettering 2016-06-07 10:54:00 UTC
Closing, as today's systemd versions don#t support such old kernels anyway.


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.