Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283589 - sys-apps/coreutils: libcap support disabled with USE="caps"
Summary: sys-apps/coreutils: libcap support disabled with USE="caps"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://lists.gnu.org/archive/html/bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-03 13:57 UTC by Alberto Casari
Modified: 2009-09-04 00:02 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 Alberto Casari 2009-09-03 13:57:43 UTC
sys-apps/coreutils-7.4 libcap support is disabled even with USE="caps"

Reproducible: Always

Steps to Reproduce:
1.emerge sys-apps/coreutils-7.4 with USE="caps"
2.
3.

Actual Results:  
At some point in the configure output we have:
configure: WARNING: libcap support disabled by user

Expected Results:  
At some point in the configure output we should have:
checking for cap_get_file in -lcap... yes
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes

readelf -d /bin/ls | grep NEEDED:
   0x00000001 (NEEDED)  Shared library: [librt.so.1]
   0x00000001 (NEEDED)  Shared library: [libacl.so.1]
   0x00000001 (NEEDED)  Shared library: [libc.so.6]
"libcap.so" is not listed

emerge --info:
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 02 Sep 2009 07:45:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/var/tmp/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/                 ftp://gentoo.tiscali.nl/pub/mirror/gentoo/                 ftp://ftp.solnet.ch/mirror/Gentoo/                 ftp://gd.tuwien.ac.at/opsys/linux/gentoo/                 ftp://ftp.heanet.ie/pub/gentoo/                 ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/var/tmp/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes                           --delete-excluded"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/qting-edge /usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa avahi bash-completion berkdb bzip2 cairo caps cdparanoia cli crypt cups curl dbus dri dvb encode expat fam flac fortran gdbm gif glib glitz gmp gnutls graphviz gs gtk hal htmlhandbook iconv imagemagick isdnlog jpeg lcms libcaca lua lzo mad mmx mmxext mp3 mudflap ncurses network nptl nptlonly nsplugin ogg openexr opengl oss pam pcre perl png pppd python qt4 readline reflection rtc sasl sdl semantic-desktop session slang slp spell spl sqlite3 sse sse2 ssl ssse3 sysfs tcl tcltk tcpd theora threads tiff tk truetype unicode v4l v4l2 vim-syntax vorbis x86 xattr xcomposite xinerama xml xorg xpm xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="X bwct lcd2usb lcdlinux lcdterm ledmatrix mtxorb ncurses null picolcd png simplelcd t6963" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS