Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260813 - sys-apps/coreutils-7.1: has unstated optional libcap depend
Summary: sys-apps/coreutils-7.1: has unstated optional libcap depend
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-02 03:29 UTC by Espen Hustad
Modified: 2009-03-11 11:35 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 Espen Hustad 2009-03-02 03:29:57 UTC
After running emerge --depclean, sys-libs/libcap was removed. After that 'ls' stopped working, and gave the following error 'ls: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory'. 

Reproducible: Always

Steps to Reproduce:
1. emerge --depclean
2. run ls


Actual Results:  
I get the following error: ls: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory

Expected Results:  
ls returning the contents in the current directory.

After emerging sys-libs/libcap ls starts working again
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-02 10:15:16 UTC
Maybe some kind of automagic dependency?

zeromancer:~ # ldd /bin/ls | grep libcap
        libcap.so.2 => /lib/libcap.so.2 (0x00007f630c72b000)
zeromancer:~ # bzgrep libcap /usr/share/doc/coreutils-7.1/NEWS.bz2
  ls now colorizes files with capabilities if libcap is available
zeromancer:~ #

Reassigning to base-system herd.
Comment 2 SpanKY gentoo-dev 2009-03-11 11:35:49 UTC
fixed in cvs ... thanks for pointing this out

http://sources.gentoo.org/sys-apps/coreutils/coreutils-7.1.ebuild?r1=1.2&r2=1.3