Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 737280

Summary: net-analyzer/net-snmp-5.9 - source tarball includes pre-built amd64 binaries
Product: Gentoo Linux Reporter: Jordi PM <DEEJAY.JPM+bugs>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: ago, sam, stefano.crocco
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jordi PM 2020-08-16 01:23:51 UTC
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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-16 05:20:47 UTC
Please include the full build.log and emerge --info.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-16 09:59:51 UTC
(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>
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-16 10:05:32 UTC
*** Bug 737396 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-16 10:23:50 UTC
*** Bug 737420 has been marked as a duplicate of this bug. ***
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-16 13:09:45 UTC
*** Bug 737380 has been marked as a duplicate of this bug. ***