Summary: | net-analyzer/net-snmp-5.8-r2 USE=python - /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: cannot find -ld=gold | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alessandro Barbieri <lssndrbarbieri> |
Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 269315 | ||
Attachments: |
net-snmp-5.8-r2:20190910-061001.log
emerge --info |
Description
Alessandro Barbieri
2019-09-10 06:47:54 UTC
Created attachment 589606 [details]
net-snmp-5.8-r2:20190910-061001.log
log
Created attachment 589608 [details]
emerge --info
info
python/setup.py calls `net-snmp-config --libs` which returns the linker flags instead of just the libraries. setup.py then mangles the LDFLAGS. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dcbc73fd4041c63775fa227e3ba9e92d3a16b61 commit 1dcbc73fd4041c63775fa227e3ba9e92d3a16b61 Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2019-09-10 07:34:48 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-09-10 07:35:08 +0000 net-analyzer/net-snmp: Fix `net-snmp-config --libs` Package-Manager: Portage-2.3.75, Repoman-2.3.17 Bug: https://bugs.gentoo.org/693970 Signed-off-by: Jeroen Roovers <jer@gentoo.org> ...snmp-5.8-do-not-conflate-LDFLAGS-and-LIBS.patch | 34 ++++++++++++++++++++++ ...t-snmp-5.8-r3.ebuild => net-snmp-5.8-r4.ebuild} | 1 + 2 files changed, 35 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ff5f3216bf61aa543bbcf49b2bc509cbdfe9aa commit 23ff5f3216bf61aa543bbcf49b2bc509cbdfe9aa Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2019-12-07 13:02:22 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2019-12-07 13:05:10 +0000 net-analyzer/net-snmp: Revise patches - Add patch for bug net-snmp-config LDFLAGS/LIBS confusion - Use PATCHES instead of eapply calls Package-Manager: Portage-2.3.81, Repoman-2.3.20 Closes: https://bugs.gentoo.org/693970 Signed-off-by: Jeroen Roovers <jer@gentoo.org> net-analyzer/net-snmp/net-snmp-5.8.1_pre1.ebuild | 25 ++++++++++++------------ 1 file changed, 12 insertions(+), 13 deletions(-) |