Bug 6026 - util-linux: build setpriv requires libcap-ng
Summary: util-linux: build setpriv requires libcap-ng
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.6
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 1.6 M5
Assignee: Robert Yang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-24 09:10 UTC by Robert Yang
Modified: 2014-03-25 10:36 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Yang 2014-03-24 09:10:46 UTC
There might me such a failure when build util-linux with the meta-selinux layer:

[snip]
izers -Wredundant-decls -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnested-externs -Wpointer-arith -Wstrict-prototypes -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types -pipe -mapcs-frame -c -o misc-utils/cal.o misc-utils/cal.c
sys-utils/setpriv.c:21:20: fatal error: cap-ng.h: No such file or directory
 #include <cap-ng.h>
                    ^
compilation terminated.
[snip]

build setpriv requires libcap-ng