Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691870 - net-dns/bind-tools-9.14.4 missing sys-libs/libcap dependency
Summary: net-dns/bind-tools-9.14.4 missing sys-libs/libcap dependency
Status: RESOLVED DUPLICATE of bug 691712
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-09 22:35 UTC by Vedran Vrbanc
Modified: 2019-08-16 22:01 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vedran Vrbanc 2019-08-09 22:35:26 UTC
This happens when building admincd-stage1 from scratch with catalyst:

configure: error: sys/capability.h header is required for Linux capabilities support. Either install libcap or use --disable-linux-caps.


Workaround is to comment it out from the spec file, and some other package eventually pulls it in, after which the build succeeds.


Desired solution would be to either add sys-libs/libcap as a hard dependency, or add a "caps" USE flag similar to the net-misc/iputils package, which would add --disable-linux-caps configure option for net-dns/bind-tools.
Comment 1 Vedran Vrbanc 2019-08-10 06:33:03 UTC
Sorry if the original report is unclear,

sys/capability.h, provided by sys-libs/libcap, is required for building net-dns/bind-tools in its current configuration.

Normally libcap gets pulled in by system packages such as glibc if USE=caps is enabled. But when building stage1 with catalyst, libcap is emerged after bind-tools and so the initial build fails.

Therefore the ebuild for bind-tools should have libcap as dependency if "caps" is enabled, or add --disable-linux-caps to bind-tools ./configure arguments if "caps" is not enabled.
Comment 2 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-08-16 22:01:19 UTC

*** This bug has been marked as a duplicate of bug 691712 ***