Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#38333 - [libcap] 2.23-1 fails to include linux/capability.h
Attached to Project:
Arch Linux
Opened by Rodrigo Rivas Costa (rodrigorc) - Tuesday, 31 December 2013, 15:28 GMT
Last edited by Allan McRae (Allan) - Thursday, 02 January 2014, 06:32 GMT
Opened by Rodrigo Rivas Costa (rodrigorc) - Tuesday, 31 December 2013, 15:28 GMT
Last edited by Allan McRae (Allan) - Thursday, 02 January 2014, 06:32 GMT
|
DetailsDescription:
The file "/usr/include/sys/capability.h" contains the following line: #include <uapi/linux/capability.h> But that file does not exist! The directory "/usr/include/uapi" is provided by package "linux-api-headers", which also provides "/usr/includelinux/capability.h", that seems to be the one needed. So I'm unsure if it is a bug in libcap, in linux-api-headers or just an inconsistency/incompatibility between versions. For now patching the include line solves the problem and everything seems to compile just fine. Additional info: * libcap-2.23-1 * linux-api-headers-3.12.4-1 Steps to reproduce: Try to compile anything depending on libcap and it will fail: $ ./configure checking for capability.h: no |
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 02 January 2014, 06:32 GMT
Reason for closing: Fixed
Additional comments about closing: libcap 2.23-2
Thursday, 02 January 2014, 06:32 GMT
Reason for closing: Fixed
Additional comments about closing: libcap 2.23-2