The mongosniff utility in dev-db/mongodb-1.4.4 links against libpcap, but the ebuild doesn't declare the dependency. It is thus possible to break mongosniff by uninstalling libpcap, after using "emerge --depclean net-libs/libpcap" to confirm that nothing depends on it. Reproducible: Always Steps to Reproduce: 1. emerge --oneshot net-libs/libpcap 2. emerge mongodb 3. ldd $(which mongosniff) | grep libpcap Actual Results: The ldd output for mongosniff indicates a dependency on libpcap. Expected Results: No dependency on libcap. Either mongodb needs a pcap USE flag that controls whether mongosniff is built, or the package needs an unconditional dependency on net-libs/libpcap.
Hi Sheldon and thanks for reporting this issue. You're right indeed and we preferred to add the dependency unconditionally since mongosniff is quite useful. You'll find this fixed in the new versions in tree. +*mongodb-1.8.1 (13 Apr 2011) +*mongodb-1.6.5 (13 Apr 2011) + + 13 Apr 2011; Ultrabug <ultrabug@gentoo.org> -mongodb-1.2.4.ebuild, + -files/mongodb-1.2-modify-post-strip.patch, + -files/mongodb-1.2-modify-testing.patch, -mongodb-1.4.4.ebuild, + -files/mongodb-1.4-modify-post-strip.patch, + -files/mongodb-1.4-modify-testing.patch, -mongodb-1.5.5.ebuild, + -mongodb-1.6.0.ebuild, -files/mongodb-1.6.0-fix-scons.patch, + +mongodb-1.6.5.ebuild, +files/mongodb-1.6-fix-scons.patch, + +mongodb-1.8.1.ebuild, +files/mongodb-1.8-fix-scons.patch, + +files/mongos.confd, +files/mongos.initd, files/mongodb.confd, + files/mongodb.initd: + Mongodb rework/bump. Fix bugs #329167, #334081, #337085, #337593, #337973, + #338039, #340032, #356731. Many thanks to Johan Bergström for his help and + testing. Drop old versions. + Regards