Bug 235209 - sys-libs/libcap-2.11 - first install fails - _makenames.c:10:28: error: sys/capability.h: No such file or directory
|
Bug#:
235209
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: zimous@matfyz.cz
|
|
Component: Library
|
|
|
URL:
|
|
Summary: sys-libs/libcap-2.11 - first install fails - _makenames.c:10:28: error: sys/capability.h: No such file or directory
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-08-19 18:16 0000
|
First install (not reinstall or upgrade) of libcap-2.11 fails due to missing
header "sys/capability.h":
...
_makenames.c:10:28: error: sys/capability.h: No such file or directory
_makenames.c:25: error: invalid application of 'sizeof' to incomplete type
'struct __user_cap_data_struct'
make[1]: *** [_makenames] Error 1
make[1]: Leaving directory
`/var/build/paludis/sys-libs-libcap-2.11/work/libcap-2.11/libcap'
make: *** [all] Error 2
...
The missing header is part of libcap itself and hence is missing when
installing for the first time. See also the URL pointing to sourcemage
bugzilla.
A simple workaround is to install libcap-2.10 and then upgrade.
Please post your `emerge --info' too.