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.
Created attachment 163313 [details] Full log
Please post your `emerge --info' too.
just a simple typo in the build patch ... dont know why sourcemage matters since we arent using their code base http://sources.gentoo.org/sys-libs/libcap/files/2.11/0001-Make-fixes.patch?r1=1.1&r2=1.2