Hello, While working bug 201514 for Collectd5 I found that QA wasn't clean with the SNMP option because of linking to the base libarchive. I traced it back to net-snmp linking to the base libarchive. ====> Running Q/A tests (stage-qa) ... <truncated> ... Error: Bad linking on /usr/lib/libarchive.so.6: please add USES=libarchive Error: Bad linking on /usr/lib/libarchive.so.6: please add USES=libarchive Error: Bad linking on /usr/lib/libarchive.so.6: please add USES=libarchive ... <truncated> ...
net-snmp doesn't actually link against libarchive, pkg does: libnetsnmpagent.so.30 => not found libnetsnmpmibs.so.30 => not found libnetsnmp.so.30 => not found libwrap.so.6 => /usr/lib/libwrap.so.6 libthr.so.3 => /lib/libthr.so.3 libperl.so.5.20 => /usr/local/lib/perl5/5.20/mach/CORE/libperl.so.5.20 libcrypt.so.5 => /lib/libcrypt.so.5 libutil.so.9 => /lib/libutil.so.9 libelf.so.1 => /usr/lib/libelf.so.1 libpkg.so.3 => /usr/local/lib/libpkg.so.3 libssl.so.6 => /usr/lib/libssl.so.6 libjail.so.1 => /lib/libjail.so.1 libarchive.so.5 => /usr/lib/libarchive.so.5 libbsdxml.so.4 => /lib/libbsdxml.so.4 libz.so.6 => /lib/libz.so.6 libbz2.so.4 => /usr/lib/libbz2.so.4 liblzma.so.5 => /usr/lib/liblzma.so.5 libm.so.5 => /lib/libm.so.5 libkvm.so.5 => /lib/libkvm.so.5 libdevstat.so.7 => /lib/libdevstat.so.7 libcrypto.so.6 => /lib/libcrypto.so.6 libc.so.7 => /lib/libc.so.7
The qa script needs to be improved to only catch direct dependencies
OK. Sorry for the noise. I followed the collects snmp option issue to net-snmp and didn't review the error closely enough.
Closing as this isn't a net-snmp issue, but rather what appears to be a false-alarm in the qa logic that was added recently