Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280688 - net-analyzer/vnstat-1.* depends on sys-libs/db-4.6 but emerge --depclean will remove db-4.6
Summary: net-analyzer/vnstat-1.* depends on sys-libs/db-4.6 but emerge --depclean will...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-07 18:49 UTC by Marvin Beer
Modified: 2009-08-07 19:24 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 Marvin Beer 2009-08-07 18:49:55 UTC
If running emerge --depclean, portage would remove sys-libs/db-4.6 which is a NEEDED lib for net-analyzer/vnstat-1.6 and 1.7!

-> portage breaks a dep.!

Reproducible: Always

Steps to Reproduce:
1. Installing vnstat (will install sys-libs/db-4.6 as a dep. if no sys-libs/db-4.6 found)
2. emerge --depclean
3. emerge cleans sys-libs/db-4.6
4. vnstat wouldnt work anymore until reinstalling sys-libs/db-4.6

Actual Results:  
vnstat works again but emerge --depclean will remove sys-libs/db-4.6

Expected Results:  
DON'T remove sys-libs/db-4.6, portage!
Comment 1 Marvin Beer 2009-08-07 18:52:17 UTC
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.10.1-r0, 2.6.29.4 x86_64)
=================================================================
System uname: Linux-2.6.29.4-x86_64-AMD_Athlon-tm-_64_Processor_3700+-with-gentoo-1.12.11.1
Timestamp of tree: Fri, 07 Aug 2009 18:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 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.5, 1.6.3, 1.7.9-r1, 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


-> revdep-rebuild etc etc was done. Same Problem - see bug report
Comment 2 Chad A. Simmons 2009-08-07 19:13:34 UTC
This application doesn't link against db.
ldd /usr/bin/vnstat
        linux-vdso.so.1 =>  (0x00007fff9dbff000)
        libm.so.6 => /lib/libm.so.6 (0x00007f6558cb4000)
        libc.so.6 => /lib/libc.so.6 (0x00007f6558959000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f6558f37000)
ldd /usr/bin/vnstatd
        linux-vdso.so.1 =>  (0x00007fff3e055000)
        libm.so.6 => /lib/libm.so.6 (0x00007f9b2b7b5000)
        libc.so.6 => /lib/libc.so.6 (0x00007f9b2b45a000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f9b2ba38000)
ldd /usr/bin/vnstati
        linux-vdso.so.1 =>  (0x00007fff5b7ff000)
        libm.so.6 => /lib/libm.so.6 (0x00007f006f201000)
        libgd.so.2 => /usr/lib/libgd.so.2 (0x00007f006efbd000)
        libc.so.6 => /lib/libc.so.6 (0x00007f006ec62000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00007f006f53a000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f006e9cb000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007f006e7a5000)
        libz.so.1 => /lib/libz.so.1 (0x00007f006e590000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f006f484000)

It may need a RDEP against it possibly.
Also please do not CC arch teams without a reason.
Removing AMD64 CC.