./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"
Created attachment 599196 [details] emerge-info.txt
Created attachment 599198 [details] emerge-history.txt
Created attachment 599200 [details] environment
Created attachment 599202 [details] etc.portage.tbz2
Created attachment 599204 [details] sys-libs:libcap-2.28:20191211-071219.log
Created attachment 599206 [details] temp.tbz2
Fails for me too, same exact error. version 2.27 works fine.
Also fails on amd64 & x86 on Gentoo Prefix.
Please test =sys-libs/libcap-2.28-r1 and report back
(In reply to Lars Wendler (Polynomial-C) from comment #9) > Please test =sys-libs/libcap-2.28-r1 and report back solved
(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.