Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26078 - libcap needn't require kernel sources
Summary: libcap needn't require kernel sources
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-06 14:57 UTC by Danek Duvall
Modified: 2003-08-11 02:19 UTC (History)
0 users

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 Danek Duvall 2003-08-06 14:57:18 UTC
The ebuild for sys-libs/libcap depends on ">=virtual/linux-sources-2.2",
but that's not the right characterization of the dependency.  libcap needs
to be built against a glibc that has a useful linux/capabilities.h in
/usr/include, and presumably needs to run on a kernel that understands
them.

With a typical glibc-2.3.x built on a typical 2.4 or 2.[56] kernel, there's
no need to drag down a kernel source tree, as the libcap makefiles don't
pull this particular header file from the kernel, but from glibc.
Comment 1 Adam Tenderholt 2003-08-08 19:22:02 UTC
On my system (linux-headers 2.4.19-r1 and vanilla-sources 2.4.21), the linux/capabilities.
h you speak of is actually linux/capability.h. 
Comment 2 Danek Duvall 2003-08-08 19:51:59 UTC
Yes, you're absolutely right.  Same in the glibc package.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-11 02:19:02 UTC
Fixed in CVS.