too long lines were shrinked: libtool: compile: x86_64-pc-linux-gnu-gcc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup -I../snmplib -I/usr/include/mysql -O2 -pipe -march=native -fno-diagnostics-color -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -march=native -fno-diagnostics-colo libtool: compile: x86_64-pc-linux-gnu-gcc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup -I../snmplib -I/usr/include/mysql -O2 -pipe -march=native -fno-diagnostics-color -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -march=native -fno-diagnostics-colo libtool: compile: x86_64-pc-linux-gnu-gcc -I../../include -O2 -pipe -march=native -fno-diagnostics-color -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -march=native -fno-diagnostics-color -Ulinux -Dlinux=linux -c inet.c -fPIC -DPIC -o .libs/inet.o /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup -I../snmplib -I/usr/include/mysql -O2 -pipe -march=native -fno-diagnostics-color -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -march=native -fn libtool: compile: x86_64-pc-linux-gnu-gcc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup -I../snmplib -I/usr/include/mysql -O2 -pipe -march=native -fno-diagnostics-color -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -pipe -march=native -fno-diagnostics-colo snmptrapd_sql.c: In function netsnmp_mysql_init: snmptrapd_sql.c:541:50: error: assignment to _Bool * from incompatible pointer type char * [-Wincompatible-pointer-types] 541 | _tbind[TBIND_v3_SECURITY_ENGINE].is_null = &_no_v3; | ^ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-20231215-225005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.74.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.21.5 linux/amd64 HEAD of ::gentoo commit 97d8637201fee7664ef15a903b2a2ecc9832b131 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Dec 17 19:47:02 2023 +0000 2023-12-17 19:47:01 UTC emerge -qpvO net-analyzer/net-snmp [ebuild N ] net-analyzer/net-snmp-5.9.4 USE="bzip2 ipv6 mysql pcre ssl zlib -X -doc -elf -kmem -lm-sensors -mfd-rewrites -minimal -netlink -pcap -pci -perl -python -rpm (-selinux) -smux -tcpd -ucd-compat (-valgrind)" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Created attachment 879747 [details] emerge-info.txt
Created attachment 879748 [details] emerge-history.txt
Created attachment 879749 [details] environment
Created attachment 879750 [details] etc.clang.tar.xz
Created attachment 879751 [details] etc.portage.tar.xz
Created attachment 879752 [details] logs.tar.xz
Created attachment 879753 [details] net-analyzer:net-snmp-5.9.4:20231217-210700.log.xz
Created attachment 879754 [details] qlist-info.txt
Created attachment 879755 [details] temp.tar.xz
Created attachment 892964 [details, diff] Simple patch to compile net-snmp-5.9.4 by gcc-14.1.0-r1 Simple patch to compile net-snmp-5.9.4 by gcc-14.1.0-r1
(In reply to Vladimir B. Vinogradov from comment #10) > Created attachment 892964 [details, diff] [details, diff] > Simple patch to compile net-snmp-5.9.4 by gcc-14.1.0-r1 > > Simple patch to compile net-snmp-5.9.4 by gcc-14.1.0-r1 Please send it upstream & link here. Thanks.
Upstream issue with proposed patch. https://github.com/net-snmp/net-snmp/issues/815
https://github.com/net-snmp/net-snmp/commit/d30d63523bfd9ccc85175e484fea821815273237 Upstream merged fix via shown above commit.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9975628bcccb54eece19a8990e5982fa2a56572 commit a9975628bcccb54eece19a8990e5982fa2a56572 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-06-01 03:35:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-06-01 03:35:35 +0000 net-analyzer/net-snmp: fix modern C issue Closes: https://bugs.gentoo.org/920231 Signed-off-by: Sam James <sam@gentoo.org> .../net-snmp/files/net-snmp-5.9.4-c99.patch | 30 +++ net-analyzer/net-snmp/net-snmp-5.9.4-r1.ebuild | 241 +++++++++++++++++++++ 2 files changed, 271 insertions(+)
Thanks!