Summary: | net-dns/bind-tools-9.14.4 needs a caps USE flag to compile correctly where caps not supported | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kevin Korb <gentoobugs> |
Component: | Current packages | Assignee: | Christian Ruppert (idl0r) <idl0r> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | frank_limpert, reot+gentoo, vvrbanc, zlogene |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Kevin Korb
2019-08-07 18:38:45 UTC
*** Bug 691870 has been marked as a duplicate of this bug. *** I can confirm this bug. I was getting this error message when trying to emerge net-dns/bind-tools on a system without sys-libs/libcap configure: error: sys/capability.h header is required for Linux capabilities support. Either install libcap or use --disable-linux-caps. Installing sys-libs/libcap manually solved the problem. [snip]
>
> CDEPEND="
> + caps? ( sys-libs/libcap )
> ssl? (
> !libressl? ( dev-libs/openssl:0= )
> libressl? ( dev-libs/libressl:0= )
> @@ -77,6 +78,9 @@
> else
> myeconfargs+=( --without-readline )
> fi
> + if ! use caps ; then
> + myeconfargs+=( --disable-linux-caps )
> + fi
>
> # bug 344029
> append-cflags "-DDIG_SIGCHASE"
well, the patch is wrong, where caps is not supported you are supposed to disable caps flag, so reverse options logic is just not needed.
(In reply to Mikle Kolyada from comment #3) > well, the patch is wrong, where caps is not supported you are supposed to > disable caps flag, so reverse options logic is just not needed. I don't understand this comment. There was no caps flag to disable. That is what the patch adds as well as a conditional dependency. |