Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69775 - net-analyzer/net-snmp-5.1.1 - missing dependencies
Summary: net-analyzer/net-snmp-5.1.1 - missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Netmon project
URL: https://sourceforge.net/tracker/index...
Whiteboard:
Keywords:
: 61793 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-01 14:50 UTC by Carsten Lohrke (RETIRED)
Modified: 2005-02-17 04:26 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 Carsten Lohrke (RETIRED) gentoo-dev 2004-11-01 14:50:25 UTC
iglu root # ldd /usr/sbin/snmpd
        libnetsnmpagent.so.5 => /usr/lib/libnetsnmpagent.so.5 (0x4003b000)
        libnetsnmpmibs.so.5 => /usr/lib/libnetsnmpmibs.so.5 (0x40057000)
        libnetsnmphelpers.so.5 => /usr/lib/libnetsnmphelpers.so.5 (0x4015a000)
        libwrap.so.0 => /lib/libwrap.so.0 (0x4016f000)
        libnetsnmp.so.5 => /usr/lib/libnetsnmp.so.5 (0x40177000)
        librpm-4.2.so => /usr/lib/librpm-4.2.so (0x4020e000)
        librpmdb-4.2.so => /usr/lib/librpmdb-4.2.so (0x4025a000)
        librpmio-4.2.so => /usr/lib/librpmio-4.2.so (0x40333000)
        librt.so.1 => /lib/librt.so.1 (0x4038e000)
        libpopt.so.0 => /usr/lib/libpopt.so.0 (0x403a1000)
        libdb.so.2 => /usr/lib/libdb.so.2 (0x403a9000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x403b9000)
        libz.so.1 => /lib/libz.so.1 (0x403c8000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x403da000)
        libelf.so.1 => /usr/lib/libelf.so.1 (0x404d2000)
        libperl.so.1 => /usr/lib/libperl.so.1 (0x404e4000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x405e4000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40637000)
        libm.so.6 => /lib/libm.so.6 (0x4064c000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4066f000)
        libutil.so.1 => /lib/libutil.so.1 (0x4069c000)
        libc.so.6 => /lib/libc.so.6 (0x4069f000)
        libdl.so.2 => /lib/libdl.so.2 (0x407b5000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

app-arch/rpm, dev-libs/elfutils and app-arch/bzip2 are missing
/usr/sbin/snmptrapd links to a lib provided by dev-libs/popt 


a minor issue: 

checking for des_ks_struct.weak_key... no
checking if sysctl can read kernel information... no
checking whether TCP timers depend on `hz'... no
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
checking Default version of SNMP to use... (cached) 3
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
checking System Contact Information... (cached) root@Unknown
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
checking System Location... (cached) Unknown
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
checking Location to write logfile... (cached) /var/log/net-snmpd.log
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future
checking Location to write persistent information... (cached) /var/lib/net-snmp
configure: creating ./config.status
Comment 1 Eldad Zack (RETIRED) gentoo-dev 2004-11-01 23:34:35 UTC
Not a dependncy. If it happens to be on your system it will link against it, and it compiles and runs well without it.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-11-02 04:30:16 UTC
Sure, they're optional, but then list them as what they are. We need to track _all_ dependencies, otherwise we'll never see portage handling reverse dependencies properly. 
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-11-27 18:53:33 UTC
*** Bug 61793 has been marked as a duplicate of this bug. ***
Comment 4 crusaderky 2004-11-28 03:10:02 UTC
if rpm isn't emerged, compilation of net-snmp fails here.
Comment 5 Daniel Black (RETIRED) gentoo-dev 2005-01-08 02:47:00 UTC
tail -1 problem fixed
Comment 6 Daniel Black (RETIRED) gentoo-dev 2005-01-12 04:44:06 UTC
Carsten,

I see three options:
1 - put the dependencies in.
2 - correct the build process to not auto include them
3 - include dependencies based on use flags

what it your preferred action for each of the dependencies?
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-12 09:19:53 UTC
Daniel: Great, I can choose?! ;) I really don't care so much about how the issue will be resolved. I just would like to see the situation improved for the whole tree. I can only speak for the kde stuff; We still have a few packages with autodetection code. Usually I fix the autotools build files to use (and respect) --with or --enable flags and send the patches together with an explanation why this is an problem for us (and similar distros) upstream. If a new use flag would be needed and it makes sense to hardcode the dependency, I do this, instead adding another item to the use flag hell.
Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2005-01-31 13:14:19 UTC
without rpm it net-snmp will fail
Comment 9 Daniel Black (RETIRED) gentoo-dev 2005-02-17 04:26:39 UTC
fixed in 5.2.1 and submitted upstream