Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702566 - sys-libs/libcap-2.28 : libcap_psx_test.c:3:10: fatal error: sys/capability.h: No such file or directory
Summary: sys-libs/libcap-2.28 : libcap_psx_test.c:3:10: fatal error: sys/capability.h:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-11 18:01 UTC by Toralf Förster
Modified: 2020-01-23 13:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,14.79 KB, text/plain)
2019-12-11 18:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,6.84 KB, text/plain)
2019-12-11 18:01 UTC, Toralf Förster
Details
environment (environment,87.15 KB, text/plain)
2019-12-11 18:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.22 KB, application/x-bzip)
2019-12-11 18:01 UTC, Toralf Förster
Details
sys-libs:libcap-2.28:20191211-071219.log (sys-libs:libcap-2.28:20191211-071219.log,17.15 KB, text/plain)
2019-12-11 18:01 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.37 KB, application/x-bzip)
2019-12-11 18:01 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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.