nagios_common_snmp.c:1081:7: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] 1081 | else asprintf (&p_output,"%s %s",p_output,data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -O2 -pipe -march=native -fno-common -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -march=native -fno-common -Ulinux -Dlinux=linux -I. -I/usr/include -Wl,-O1 -Wl,--as-needed -o check_snmp_int check_snmp_int.o nagios_common_snmp.o -L/usr/lib64 -lnetsnmp -lcrypto -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nagios_common_snmp.o:(.bss+0x288): multiple definition of `o_host'; check_snmp_int.o:(.bss+0x288): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nagios_common_snmp.o:(.bss+0x280): multiple definition of `o_verb'; check_snmp_int.o:(.bss+0x280): first defined here ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-20200126-201521 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.1 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.6 [3] python3.7 (fallback) [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.40.0 * java-config: The following VMs are available for generation-2: *) AdoptOpenJDK 8.242_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm ghc: The Glorious Glasgow Haskell Compilation System, version 8.0.2 repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Thu, 30 Jan 2020 08:17:27 +0000 emerge -qpvO net-analyzer/nagios-plugins-snmp [ebuild N ] net-analyzer/nagios-plugins-snmp-0.6.0-r2
Created attachment 609026 [details] emerge-info.txt
Created attachment 609028 [details] emerge-history.txt
Created attachment 609030 [details] environment
Created attachment 609032 [details] etc.portage.tbz2
Created attachment 609034 [details] logs.tbz2
Created attachment 609036 [details] net-analyzer:nagios-plugins-snmp-0.6.0-r2:20200130-095042.log
Created attachment 609038 [details] temp.tbz2
Created attachment 640734 [details, diff] nagios-plugins-snmp-0.6.0-fno-common.patch
ping
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee2353247311d477ac24d91dead7b99f3b7ac6ec commit ee2353247311d477ac24d91dead7b99f3b7ac6ec Author: Jakov Smolic <jakov.smolic@sartura.hr> AuthorDate: 2021-01-01 18:04:23 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-01-01 18:04:23 +0000 net-analyzer/nagios-plugins-snmp: Fix build with gcc-10 Closes: https://bugs.gentoo.org/707454 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org> .../nagios-plugins-snmp-0.6.0-fno-common.patch | 83 ++++++++++++++++++++++ .../nagios-plugins-snmp-0.6.0-r2.ebuild | 4 +- 2 files changed, 86 insertions(+), 1 deletion(-)