Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737280 - net-analyzer/net-snmp-5.9 - source tarball includes pre-built amd64 binaries
Summary: net-analyzer/net-snmp-5.9 - source tarball includes pre-built amd64 binaries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
: 737380 737396 737420 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-08-16 01:23 UTC by Jordi PM
Modified: 2020-08-16 13:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***