Ihe pci USE flag has disappeared in _rc1 of this package. I run some Gentoo systems on Linode and their supplied kernels don't have CONFIG_PCI=y Which makes /proc/bus/pic not exist. And when /proc/bus/pci is empty it causes snmpd to not run, it exit (status 1) when trying. --- ~ # snmpd pcilib: Cannot open /proc/bus/pci pcilib: Cannot find any working access method. --- But if the $(use_with pci) use flag code is added back to the mix then we can build w/o PCI links and run on machines that don't have PCI enabled in the kernel (which I think is odd) I had mentioned this on #431752 but this is the formal request. Diego said it's fixed in 5.7.1 (which is older and not in the tree) https://bugs.gentoo.org/show_bug.cgi?id=431752#c12 Please bring back USE="pci" ability for _rc2 Reproducible: Always Steps to Reproduce: 1. Emerge net-snmp on system w/o CONFIG_PCI 2. Fails to start 3. Actual Results: 1. Emerge net-snmp on system w/o CONFIG_PCI 2. Fails to start Expected Results: net-snmp can be build w/o binding to pciutils so that it can run on machines w/o PCI bus. Most of these system that lack /proc/bus/pci are virtual-hosts (or slices) where the vendor has really "tuned" the kernel. It's more difficult to get a custom kernel with those vendors than it is to do USE="-pci"
I told you the USE flag is already there for 5.7.1. *** This bug has been marked as a duplicate of bug 432926 ***
This doesn't appear to be fixed. I've recently synced, /usr/portage/net-analyzer/net-snmp/net-snmp-5.7.2_rc1.ebuild Is shown as stable: KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86" But it still forces usage of pciutils COMMON="ssl? ( >=dev-libs/openssl-0.9.6d ) tcpd? ( >=sys-apps/tcp-wrappers-7.6 ) rpm? ( app-arch/rpm dev-libs/popt ) bzip2? ( app-arch/bzip2 ) zlib? ( >=sys-libs/zlib-1.1.4 ) elf? ( dev-libs/elfutils ) python? ( dev-python/setuptools ) sys-apps/pciutils lm_sensors? ( sys-apps/lm_sensors )"
It's NOT on rc1.
Ok, I think I get it, perhaps you meant 5.7.2; which is not yet stable but has the proper use flag support.