Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348951 - sys-apps/smartmontools automagic dependency on sys-libs/libcap-ng
Summary: sys-apps/smartmontools automagic dependency on sys-libs/libcap-ng
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-17 13:28 UTC by Joost Ruis
Modified: 2012-08-18 04:54 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 Joost Ruis 2010-12-17 13:28:03 UTC
BZ-PC-12 jruis # ldd /usr/sbin/smartd
    linux-gate.so.1 =>  (0xffffe000)
    libcap-ng.so.0 => /usr/lib/libcap-ng.so.0 (0xb77e9000)
    libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.4.2/libstdc++.so.6
(0xb76f8000)
    libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.4.2/libgcc_s.so.1
(0xb76d9000)
    libc.so.6 => /lib/libc.so.6 (0xb7593000)
    /lib/ld-linux.so.2 (0xb7812000)
    libm.so.6 => /lib/libm.so.6 (0xb756c000)

BZ-PC-12 jruis # equery belongs /usr/lib/libcap-ng.so.0
 * Searching for /usr/lib/libcap-ng.so.0 ... 
sys-libs/libcap-ng-0.6.2 (/usr/lib/libcap-ng.so.0 -> libcap-ng.so.0.0.0)
sys-libs/libcap-ng-0.6.2 (/usr/lib/libcap-ng.so.0.0.0)

Reproducible: Always
Comment 1 Joost Ruis 2010-12-17 13:29:07 UTC
The issue was reported on our bugzilla:
http://bugs.sabayon.org/show_bug.cgi?id=2032
Comment 2 Rafał Mużyło 2010-12-17 14:21:18 UTC
It's a new dep of 5.40 release, controlled by '--with-libcap-ng'.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-12-17 14:49:31 UTC
Okay this is easy to fix, just add a caps USE flag and conditionals in !minimal for the deps and parameters.

The problem is I cannot commit it as is because alpha and ia64 lack keywords over libcap-ng.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-12-17 15:03:14 UTC
I'll p.use.mask the USE flag giving time for the two arches to keyword while still fixing the underlying problem.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2010-12-18 17:51:06 UTC
~alpha/~ia64 done
Comment 6 SpanKY gentoo-dev 2012-08-18 04:54:50 UTC
def fixed in current stable (smartmontools-5.42)