Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/net-snmp.spec'], chrootPath='/var/lib/mock/dist-rebuild-after-rpm-check-build-131025-9021/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/net-snmp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False sh: line 1: /usr/bin/perl: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/net-snmp-5.9.3-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/net-snmp.spec'], chrootPath='/var/lib/mock/dist-rebuild-after-rpm-check-build-131025-9021/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/net-snmp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RPmmwM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf net-snmp-5.9.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/net-snmp-5.9.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd net-snmp-5.9.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-pie.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-dir-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-multilib.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-test-debug.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.7.2-cert-path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.8-Remove-U64-typedef.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.7.3-iterator-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-autofs-skip.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-coverity.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.8-expand-SNMPCONFPATH.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.8-duplicate-ipAddress.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-memory-reporting.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.8-man-page.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.8-ipAddress-faster-load.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.8-rpm-memory-leak.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-aes-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.8-clientaddr-error-message.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-intermediate-certs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9.1-remove-des.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9.1-autoconf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-libs-misunderstanding.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-CVE-2022-44792-44793.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-ipv6-disable-leak.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-sendmsg-error-code.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.8-modern-rpm-api.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/net-snmp-5.9-python3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UoEbIf + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd net-snmp-5.9.3 + autoreconf configure.ac:24: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:24: the top level configure.d/config_os_headers:11: warning: The macro `AC_HEADER_STDC' is obsolete. configure.d/config_os_headers:11: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.d/config_os_headers:11: the top level configure.d/config_modules_lib:199: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.d/config_modules_lib:199: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... configure.d/config_modules_lib:199: the top level configure.d/config_project_types:15: warning: The macro `AC_HEADER_TIME' is obsolete. configure.d/config_project_types:15: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.d/config_project_types:15: the top level configure.d/config_os_functions:19: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.d/config_os_functions:19: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.d/config_os_functions:19: the top level configure.d/config_os_struct_members:619: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.d/config_os_struct_members:619: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.d/config_os_struct_members:619: the top level configure.d/config_os_misc4:168: warning: The macro `AC_TRY_RUN' is obsolete. configure.d/config_os_misc4:168: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.d/config_os_misc4:168: the top level configure.d/config_os_misc4:257: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.d/config_os_misc4:257: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.d/config_os_misc4:257: the top level configure.d/config_os_misc4:272: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.d/config_os_misc4:272: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.d/config_os_misc4:272: the top level + MIBS='host agentx smux ucd-snmp/diskio tcp-mib udp-mib mibII/mta_sendmail ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable ip-mib/ipAddressPrefixTable/ipAddressPrefixTable ip-mib/ipDefaultRouterTable/ipDefaultRouterTable ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable sctp-mib rmon-mib etherlike-mib' + MIBS='host agentx smux ucd-snmp/diskio tcp-mib udp-mib mibII/mta_sendmail ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable ip-mib/ipAddressPrefixTable/ipAddressPrefixTable ip-mib/ipDefaultRouterTable/ipDefaultRouterTable ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable sctp-mib rmon-mib etherlike-mib ucd-snmp/lmsensorsMib' + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-03-06 22:24:23.213374338 +0800 +++ ./configure 2024-03-06 22:24:23.460373217 +0800 @@ -2385,7 +2385,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-03-06 22:24:23.460373217 +0800 +++ ./configure 2024-03-06 22:24:23.491373077 +0800 @@ -11537,7 +11537,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -37839,7 +37839,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-as-needed --enable-blumenthal-aes --enable-embedded-perl --enable-ipv6 --enable-local-smux --enable-mfd-rewrites --enable-ucd-snmp-compatibility --disable-des --with-openssl --with-pic --with-systemd '--with-mib-modules=host agentx smux ucd-snmp/diskio tcp-mib udp-mib mibII/mta_sendmail ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable ip-mib/ipAddressPrefixTable/ipAddressPrefixTable ip-mib/ipDefaultRouterTable/ipDefaultRouterTable ip-mib/ipv6ScopeZoneIndexTable ip-mib/ipIfStatsTable sctp-mib rmon-mib etherlike-mib ucd-snmp/lmsensorsMib' --with-perl-modules=INSTALLDIRS=vendor --with-security-modules=tsm '--with-transports=DTLSUDP TLSTCP' --with-temp-file-pattern=/run/net-snmp/snmp-tmp-XXXXXX --with-persistent-directory=/var/lib/net-snmp --with-sys-contact=root@localhost --disable-static --enable-shared '--with-cflags=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIE' '--with-ldflags=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lm' --without-pcre configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for openssl/aes.h... yes checking for openssl/evp.h... yes checking what to build and install... agent apps man local mibs using default persistent mask 077 using temporary file pattern /run/net-snmp/snmp-tmp-XXXXXX using default AgentX socket /var/agentx/master using default "enterprise.net-snmp" using default enterprise sysOID "NET-SNMP-MIB::netSnmpAgentOIDs..." using default notifications "NET-SNMP-MIB::netSnmpNotifications" using OS default send buffer size for server sockets using OS default recv buffer size for server sockets using OS default send buffer size for client sockets using OS default recv buffer size for client sockets checking whether to prompt for values... configure: ************** Configuration Section ************** You are about to be prompted with a series of questions. Answer them carefully, as they determine how the SNMP agent and related applications are to function. After the configure script finishes, you can browse the newly created net-snmp-config.h file for further - less important - parameters to modify. Be careful if you re-run configure though, since net-snmp-config.h will be overwritten. -Press return to continue- yes checking Default version of SNMP to use... *** Default SNMP Version: Starting with Net-SNMP 5.0, you can choose the default version of the SNMP protocol to use when no version is given explicitly on the command line, or via an 'snmp.conf' file. In the past this was set to SNMPv1, but you can use this to switch to SNMPv3 if desired. SNMPv3 will provide a more secure management environment (and thus you're encouraged to switch to SNMPv3), but may break existing scripts that rely on the old behaviour. (Though such scripts will probably need to be changed to use the '-c' community flag anyway, as the SNMPv1 command line usage has changed as well.). At this prompt you can select "1", "2" (for SNMPv2c), or "3" as the default version for the command tools (snmpget, ...) to use. This can always be overridden at runtime using the -v flag to the tools, or by using the "defVersion" token in your snmp.conf file. Providing the --with-default-snmp-version="x" parameter to ./configure will avoid this prompt. Default version of SNMP to use (3): setting Default version of SNMP to use to... 3 checking System Contact Information... (cached) root@localhost checking System Location... *** System Location: Describes the location of the system. This information is available in the MIB-II tree. this can also be over-ridden using the "syslocation" syntax in the agent's configuration files. Providing the --with-sys-location="location" parameter to ./configure will avoid this prompt. System Location (Unknown): setting System Location to... Unknown checking Location to write logfile... *** Logfile location: Enter the default location for the snmpd agent to dump information & errors to. If not defined (enter the keyword "none" at the prompt below) the agent will use stdout and stderr instead. (Note: This value can be over-ridden using command line options.) Providing the --with-logfile="path" parameter to ./configure will avoid this prompt. Location to write logfile (/var/log/snmpd.log): setting Location to write logfile to... /var/log/snmpd.log checking Location to write persistent information... (cached) /var/lib/net-snmp checking if I need to feed myself to ksh... no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for a sed that does not truncate output... /usr/bin/sed checking for file... file checking for find... find checking for whoami... whoami checking for autoconf... /usr/bin/autoconf checking for autoheader... /usr/bin/autoheader checking for perl... /usr/bin/perl checking for ps... /usr/bin/ps checking for python3... /usr/bin/python3 checking for uname... /usr/bin/uname checking whether the Perl function system() invokes a POSIX shell... yes checking for x86_64-opencloudos-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking how to run the C preprocessor... gcc -E checking for an ANSI C-conforming const... yes checking for inline... inline checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert x86_64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for x86_64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 11543: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-opencloudos-linux-gnu-windres... no checking for windres... no checking target system type... x86_64-opencloudos-linux-gnu checking whether the linker supports -Wl,-no-undefined... yes checking whether to un-define target system token (before redefining)... yes checking for system include file... net-snmp/system/linux.h checking for machine-type include file... net-snmp/machine/generic.h checking for additional cpp flags... -x c checking for gcc... /usr/bin/gcc checking whether the compiler supports -fno-strict-aliasing... yes checking for dpkg-query... no checking for egrep... (cached) /usr/bin/grep -E checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking for getopt.h... yes checking for pthread.h... yes checking for regex.h... yes checking for string.h... (cached) yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for process.h... no checking for sys/param.h... yes checking for sys/select.h... yes checking for sys/syslog.h... yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... yes checking for nlist.h... yes checking for crt_externs.h... no checking for fcntl.h... yes checking for io.h... no checking for kstat.h... no checking for limits.h... yes checking for locale.h... yes checking for mach-o/dyld.h... no checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/sockio.h... no checking for sys/stat.h... (cached) yes checking for sys/systemcfg.h... no checking for sys/systeminfo.h... no checking for sys/times.h... yes checking for sys/uio.h... yes checking for sys/utsname.h... yes checking for netipx/ipx.h... yes checking for dlfcn.h... (cached) yes checking for err.h... yes checking for fcntl.h... (cached) yes checking for fstab.h... yes checking for grp.h... yes checking for io.h... (cached) no checking for ioctls.h... no checking for kstat.h... (cached) no checking for kvm.h... no checking for limits.h... (cached) yes checking for mntent.h... yes checking for mtab.h... no checking for pkglocs.h... no checking for pwd.h... yes checking for spawn.h... yes checking for com_err.h... no checking for et/com_err.h... no checking for utmpx.h... yes checking for utsname.h... no checking for sys/diskio.h... no checking for sys/dkio.h... no checking for sys/file.h... (cached) yes checking for sys/filio.h... no checking for sys/fixpoint.h... no checking for sys/fs.h... no checking for sys/ioctl.h... (cached) yes checking for sys/loadavg.h... no checking for sys/mntent.h... no checking for sys/mnttab.h... no checking for sys/pool.h... no checking for sys/protosw.h... no checking for sys/pstat.h... no checking for sys/sockio.h... (cached) no checking for sys/stat.h... (cached) yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/stream.h... no checking for sys/sysget.h... no checking for sys/sysmacros.h... yes checking for sys/sysmp.h... no checking for sys/tcpipstats.h... no checking for sys/utsname.h... (cached) yes checking for sys/vfs.h... yes checking for sys/vm.h... no checking for sys/vmmac.h... no checking for sys/vmmeter.h... no checking for sys/vmparam.h... no checking for sys/vmsystm.h... no checking for asm/page.h... no checking for asm/types.h... yes checking for inet/mib2.h... no checking for linux/hdreg.h... yes checking for linux/tasks.h... no checking for machine/param.h... no checking for ufs/fs.h... no checking for uvm/uvm_extern.h... no checking for uvm/uvm_param.h... no checking for vm/vm.h... no checking for vm/vm_extern.h... no checking for vm/vm_param.h... no checking for fcntl.h... (cached) yes checking for grp.h... (cached) yes checking for pwd.h... (cached) yes checking for sys/cdefs.h... yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for search.h... yes checking for sgtty.h... yes checking for xti.h... no checking for sys/dmap.h... no checking for sys/poll.h... yes checking for sys/timeout.h... no checking for machine/pte.h... no checking for pci/pci.h... no checking for valgrind/valgrind.h... no checking for valgrind/memcheck.h... no checking for openssl/aes.h... (cached) yes checking for openssl/dh.h... yes checking for openssl/des.h... yes checking for openssl/hmac.h... yes checking for openssl/evp.h... (cached) yes checking for security/cryptoki.h... no checking for rpm/rpmts.h... yes checking for rpm/rpmfileutil.h... yes checking for sys/swap.h... yes checking for malloc.h... yes checking for osreldate.h... no checking for machine/types.h... no checking for sys/dkstat.h... no checking for sys/conf.h... no checking for sys/mbuf.h... no checking for sys/mount.h... yes checking for sys/proc.h... no checking for sys/queue.h... yes checking for sys/user.h... yes checking for sys/sema.h... no checking for sys/hashing.h... no checking for sys/vnode.h... no checking for sys/disklabel.h... no checking for nbutil.h... no checking for ufs/ufs/dinode.h... no checking for ufs/ufs/quota.h... no checking for ufs/ufs/inode.h... no checking for ufs/ffs/fs.h... no checking for vm/swap_pager.h... no checking for linux/netlink.h... yes checking for linux/rtnetlink.h... yes checking for sys/socket.h... yes checking for sys/un.h... yes checking for netinet/tcp_fsm.h... no checking for sys/sockio.h... (cached) no checking for sys/socketvar.h... yes checking for net/if_dl.h... no checking for net/if_types.h... no checking for arpa/inet.h... yes checking for net/if.h... yes checking for netinet/in.h... yes checking for netdb.h... yes checking for net/if_arp.h... yes checking for net/if_mib.h... no checking for net/if_var.h... no checking for netinet/if_ether.h... yes checking for netinet/in_systm.h... yes checking for netinet/in_var.h... no checking for netinet/ip.h... yes checking for netinet/ip_icmp.h... yes checking for netinet/icmp_var.h... no checking for netinet/ip_var.h... no checking for netinet/tcp.h... yes checking for netinet/tcp_timer.h... no checking for netinet/tcp_var.h... no checking for netinet/tcpip.h... no checking for netinet/udp.h... yes checking for netinet/udp_var.h... no checking for net/route.h... yes checking for netinet/icmp6.h... yes checking for netinet/in_pcb.h... no checking for netinet/ip6.h... yes checking for netinet6/in6_var.h... no checking for netinet6/in6_pcb.h... no checking for netinet6/ip6_var.h... no checking for netinet6/nd6.h... no checking for netinet6/tcp6.h... no checking for netinet6/tcp6_fsm.h... no checking for netinet6/tcp6_timer.h... no checking for netinet6/tcp6_var.h... no checking for linux/ethtool.h... yes checking for pkginfo.h... no checking for pkg.h... no checking for pkg.h... no checking for windows.h... no checking for iphlpapi.h... no checking for lm.h... no checking for sensors/sensors.h... yes checking for picl.h... no checking for struct rtentry.rt_dst... yes checking for struct rtentry.rt_hash... no checking for struct rtentry.rt_next... no checking for struct rtentry.rt_refcnt... no checking for struct rtentry.rt_unit... no checking for struct rtentry.rt_use... no checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of intmax_t... 8 checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for unsigned long long int... yes checking for long long int... yes checking for intmax_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uintmax_t... yes checking for intptr_t... yes checking for uintptr_t... yes checking for off64_t... yes checking for nfds_t... yes checking for Counter64... no checking for mib2_ipIfStatsEntry_t... no checking for struct in_ifaddr.ia_subnetmask... no checking ipv6 stack type... postponed checking for struct sockaddr_in6.sin6_addr... yes checking ipv6 stack type... "generic, yes, using libc" checking for platform-specific source... sd-daemon.c sd-daemon.o sd-daemon.lo checking for and configuring transport modules to use... Callback Unix Alias TCP UDP TCPIPv6 UDPIPv6 DTLSUDP TLSTCP IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase IPBase IPv6Base TLSBase. checking for security modules to use... tsm usm checking for gcc options needed to detect all undeclared functions... none needed checking whether sensors_get_all_subfeatures is declared... yes checking for rpm/rpmlib.h... yes checking for rpm/header.h... yes checking for rpm/rpmlib.h... (cached) yes checking for rpm/header.h... (cached) yes checking for library containing rpmGetPath... -lrpmio checking for library containing rpmdbOpen... no checking for library containing rpmReadConfigFiles... -lrpm checking for library containing headerGet... none required checking for library containing getfsstat... no checking for getfsstat... no checking for getvfsstat... no checking for library containing getmntent... none required checking for library containing kinfo_get_cpus... no checking for kinfo_get_cpus... no checking for library containing exp... -lm checking for library containing kvm_read... no checking for library containing kvm_openfiles... no checking for library containing kvm_getprocs... no checking for library containing kvm_getproc2... no checking for library containing kvm_getfiles... no checking for library containing kvm_getfile2... no checking for library containing kvm_getswapinfo... no checking for kvm_openfiles... no checking for kvm_getprocs... no checking for kvm_getproc2... no checking for kvm_getswapinfo... no checking for kvm_getfiles... no checking for kvm_getfile2... no checking for library containing dlopen... none required checking for dlopen... yes checking for and configuring mib modules to use... agentx default_modules etherlike-mib host ip-mib/ipAddressPrefixTable/ipAddressPrefixTable ip-mib/ipDefaultRouterTable/ipDefaultRouterTable ip-mib/ipIfStatsTable ip-mib/ipv4InterfaceTable ip-mib/ipv6InterfaceTable ip-mib/ipv6ScopeZoneIndexTable mibII/mta_sendmail rmon-mib sctp-mib smux tcp-mib ucd-snmp/diskio ucd-snmp/lmsensorsMib udp-mib.