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
Not a dependncy. If it happens to be on your system it will link against it, and it compiles and runs well without it.
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.
*** Bug 61793 has been marked as a duplicate of this bug. ***
if rpm isn't emerged, compilation of net-snmp fails here.
tail -1 problem fixed
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?
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.
without rpm it net-snmp will fail
fixed in 5.2.1 and submitted upstream