Fedora Account System
Red Hat Associate
Red Hat Customer
net-snmp-5.9.5.2-10.fc46 fails to build in Fedora 46: libtool: link: gcc -shared -fPIC -DPIC .libs/snmptrapd_handlers.o .libs/snmptrapd_log.o .libs/snmptrapd_auth.o .libs/snmptrapd_sql.o -L/builddir/build/BUILD/net-snmp-5.9.5.2-build/net-snmp-5.9.5.2/agent/.libs -L/builddir/build/BUILD/net-snmp-5.9.5.2-build/net-snmp-5.9.5.2/snmplib/.libs ../agent/.libs/libnetsnmpmibs.so -L/usr/local/lib -L/usr/lib64/perl5/CORE -L/usr/lib64/ -lmariadb ../snmplib/.libs/libnetsnmp.so -lperl -lpthread -lresolv -ldl -lcrypt -lutil -lc -Wl,--as-needed -lm -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -O2 -flto=auto -g -grecord-gcc-switches -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -mtls-dialect=gnu2 -mno-omit-leaf-frame-pointer -Werror=declaration-after-statement -O2 -flto=auto -g -grecord-gcc-switches -Wall -Wno-complain-wrong-lang -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -mtls-dialect=gnu2 -mno-omit-leaf-frame-pointer -O2 -flto=auto -g -grecord-gcc-switches -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -mtls-dialect=gnu2 -mno-omit-leaf-frame-pointer -Wl,-no-undefined -Wl,--enable-new-dtags -Wl,-z -Wl,relro -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-z -Wl,relro -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-soname -Wl,libnetsnmptrapd.so.45 -o .libs/libnetsnmptrapd.so.45.0.0 /usr/bin/ld.bfd: /tmp/ccmBF0Ru.ltrans0.ltrans.o: in function `axforward_handler': /builddir/build/BUILD/net-snmp-5.9.5.2-build/net-snmp-5.9.5.2/apps/snmptrapd_handlers.c:886:(.text+0x400): undefined reference to `send_v2trap' /usr/bin/ld.bfd: /tmp/ccmBF0Ru.ltrans0.ltrans.o: in function `netsnmp_trapd_auth': /builddir/build/BUILD/net-snmp-5.9.5.2-build/net-snmp-5.9.5.2/apps/snmptrapd_auth.c:138:(.text+0x18d0): undefined reference to `vacm_check_view_contents' /usr/bin/ld.bfd: /builddir/build/BUILD/net-snmp-5.9.5.2-build/net-snmp-5.9.5.2/apps/snmptrapd_auth.c:95:(.text+0x19f4): undefined reference to `convert_v1pdu_to_v2' /usr/bin/ld.bfd: /tmp/ccmBF0Ru.ltrans0.ltrans.o: in function `command_handler': /builddir/build/BUILD/net-snmp-5.9.5.2-build/net-snmp-5.9.5.2/apps/snmptrapd_handlers.c:865:(.text+0x5b94): undefined reference to `run_shell_command' /usr/bin/ld.bfd: /builddir/build/BUILD/net-snmp-5.9.5.2-build/net-snmp-5.9.5.2/apps/snmptrapd_handlers.c:821:(.text+0x5d84): undefined reference to `convert_v1pdu_to_v2' /usr/bin/ld.bfd: /tmp/ccmBF0Ru.ltrans0.ltrans.o: in function `init_netsnmp_trapd_auth': /builddir/build/BUILD/net-snmp-5.9.5.2-build/net-snmp-5.9.5.2/apps/snmptrapd_auth.c:51:(.text+0x7391): undefined reference to `init_vacm_config_tokens' collect2: error: ld returned 1 exit status A difference between last build root without this error and a build root with this error is: Removed packages: annobin-docs-13.28-1.fc45 annobin-plugin-gcc-13.28-1.fc45 expat-2.8.1-2.fc45 glibc-devel-2.44.9000-1.fc46 kernel-headers-7.2.0-61.fc46 libselinux-devel-3.11-4.fc45 libtirpc-1.3.7-3.fc45 libtool-2.5.4-11.fc45 python3-3.15.0~rc1-1.fc45 python3-devel-3.15.0~rc1-1.fc45 python3-libs-3.15.0~rc1-1.fc45 systemd-261.2-1.fc45 systemd-rpm-macros-261.2-1.fc45 systemd-shared-261.2-1.fc45 Added packages: annobin-docs-13.31-1.fc46 annobin-plugin-gcc-13.31-1.fc46 expat-2.8.3-1.fc46 glibc-devel-2.44.9000-2.fc46 kernel-headers-7.3.0-0.rc2.24.fc46 libselinux-devel-3.11-5.fc46 libtirpc-1.3.7-3.rc1.fc46 libtool-2.6.2-1.fc46 python3-3.15.0~rc2-1.fc46 python3-devel-3.15.0~rc2-1.fc46 python3-libs-3.15.0~rc2-1.fc46 systemd-262~rc1-6.fc46 systemd-rpm-macros-262~rc1-6.fc46 systemd-shared-262~rc1-6.fc46