Bug 90800

Summary: configure: abort if __NR_kcmp is undefined
Product: systemd Reporter: krichter722
Component: generalAssignee: systemd-bugs
Status: RESOLVED WONTFIX QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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.