This is the error output, it clearly shows an IPv6 problem, I enabled ipv6 on this package and compiles on two systems without problems. "/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: mibgroup/mibII/.libs/vacm_conf.o: in function `vacm_create_simple': /home/hardaker/src/snmp/net-snmp/net-snmp-5.9/agent/mibgroup/mibII/vacm_conf.c:982: undefined reference to `netsnmp_udp6_parse_security' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: mibgroup/mibII/.libs/vacm_conf.o: in function `vacm_check_view_contents': /home/hardaker/src/snmp/net-snmp/net-snmp-5.9/agent/mibgroup/mibII/vacm_conf.c:1345: undefined reference to `netsnmp_UDPIPv6Domain' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/hardaker/src/snmp/net-snmp/net-snmp-5.9/agent/mibgroup/mibII/vacm_conf.c:1345: undefined reference to `netsnmp_TCPIPv6Domain' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /home/hardaker/src/snmp/net-snmp/net-snmp-5.9/agent/mibgroup/mibII/vacm_conf.c:1348: undefined reference to `netsnmp_udp6_getSecName' collect2: error: ld returned 1 exit status distcc[4505] ERROR: compile (null) on localhost failed make: *** [Makefile:1038: libnetsnmpagent.la] Error 1" Reproducible: Always
Please include the full build.log and emerge --info.
(In reply to Sam James from comment #1) > Please include the full build.log and emerge --info. Please do not close bug reports like that. > /home/hardaker/src/snmp/net-snmp/net-snmp-5.9/agent/mibgroup/mibII/vacm_conf.c:982: undefined reference to `netsnmp_udp6_parse_security' That path is all wrong for a typical emerge/PORTAGE_TMPDIR. That said, the source tarballs contains pre-built binaries that have been removed in -r1. commit dc6e9f6e27d40d4f52bd5961a0a4e0034779bf37 Author: Jeroen Roovers <jer@gentoo.org> Date: Sun Aug 16 11:24:55 2020 +0200 net-analyzer/net-snmp: Run poor person's distclean The source tarball distributed through Github and Sourceforge contains amd64 specific binaries that should have been removed before packaging. While there, run `make sedscript` before other build targets. Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
*** Bug 737396 has been marked as a duplicate of this bug. ***
*** Bug 737420 has been marked as a duplicate of this bug. ***
*** Bug 737380 has been marked as a duplicate of this bug. ***