Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 702566

Summary: sys-libs/libcap-2.28 : libcap_psx_test.c:3:10: fatal error: sys/capability.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sys-libs:libcap-2.28:20191211-071219.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-12-11 18:01:19 UTC
./psx_test_wrap PASSED
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -g   libcap_psx_test.c -o libcap_psx_test -L/var/tmp/portage/sys-libs/libcap-2.28/work/libcap-2.28-abi_x86_64.amd64/tests/../libcap -lcap -L/var/tmp/portage/sys-libs/libcap-2.28/work/libcap-2.28-abi_x86_64.amd64/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create --static
libcap_psx_test.c:3:10: fatal error: sys/capability.h: No such file or directory
    3 | #include <sys/capability.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20191211-051621

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *



Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)





repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 11 Dec 2019 03:47:46 +0000

emerge -qpvO sys-libs/libcap
[ebuild  N    ] sys-libs/libcap-2.28  USE="pam (split-usr) -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-12-11 18:01:22 UTC
Created attachment 599196 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-11 18:01:25 UTC
Created attachment 599198 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-12-11 18:01:28 UTC
Created attachment 599200 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-12-11 18:01:31 UTC
Created attachment 599202 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-12-11 18:01:34 UTC
Created attachment 599204 [details]
sys-libs:libcap-2.28:20191211-071219.log
Comment 6 Toralf Förster gentoo-dev 2019-12-11 18:01:37 UTC
Created attachment 599206 [details]
temp.tbz2
Comment 7 Robert Schultz 2019-12-11 23:54:02 UTC
Fails for me too, same exact error.

version 2.27 works fine.
Comment 8 Sammy Pfeiffer 2019-12-12 03:53:38 UTC
Also fails on amd64 & x86 on Gentoo Prefix.
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-12-12 15:21:08 UTC
Please test =sys-libs/libcap-2.28-r1 and report back
Comment 10 Toralf Förster gentoo-dev 2019-12-12 19:55:29 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #9)
> Please test =sys-libs/libcap-2.28-r1 and report back

solved
Comment 11 Robert Schultz 2019-12-12 21:04:53 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #9)
> Please test =sys-libs/libcap-2.28-r1 and report back

Confirmed. 2.28-r1 works just great. Thanks.