Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cacti-spine.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1652360787.370772/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iaqirntd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iaqirntd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a8cce7feee9346c9a15c7426a625aeaf', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1652360787.370772/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iaqirntd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cacti-spine.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1649548800 Wrote: /builddir/build/SRPMS/cacti-spine-1.2.20-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cacti-spine.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1652360787.370772/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iaqirntd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iaqirntd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4c529788413e4241815f085571084f26', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1652360787.370772/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iaqirntd:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/cacti-spine.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1649548800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ccCd4Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cacti-spine-1.2.20 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cacti-spine-1.2.20.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cacti-spine-1.2.20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/cacti-spine-disable-des.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AiifUF + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--fatal-warnings -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/cacti-spine-1.2.20/.package_note-cacti-spine-1.2.20-1.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh cacti-spine 1.2.20-1.fc37 x86_64 + cd cacti-spine-1.2.20 + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 aclocal: warning: couldn't open directory 'm4': No such file or directory autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory config autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:134: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:134: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:134: the top level configure.ac:138: warning: your code may safely assume C89 semantics that RETSIGTYPE is void. configure.ac:138: Remove this warning and the `AC_CACHE_CHECK' when you adjust the code. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... configure.ac:138: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:11: installing 'config/compile' configure.ac:7: installing 'config/config.guess' configure.ac:7: installing 'config/config.sub' configure.ac:13: installing 'config/install-sh' configure.ac:13: installing 'config/missing' Makefile.am: installing 'config/depcomp' autoreconf: Leaving directory '.' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--fatal-warnings -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/cacti-spine-1.2.20/.package_note-cacti-spine-1.2.20-1.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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 2022-05-12 13:07:43.664232453 +0000 +++ ./configure 2022-05-12 13:07:44.341239739 +0000 @@ -1768,7 +1768,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 2022-05-12 13:07:44.341239739 +0000 +++ ./configure 2022-05-12 13:07:44.356239900 +0000 @@ -7877,7 +7877,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'" @@ -16117,7 +16117,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/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-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/redhat/redhat-hardened-ld"~' ./config/ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-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 checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking for x86_64-redhat-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 whether gcc understands -c and -o together... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking for gawk... (cached) gawk checking for x86_64-redhat-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 whether gcc understands -c and -o together... (cached) yes checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-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-redhat-linux-gnu-file... no checking for file... file checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7883: -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-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 sys/time.h... yes 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... no 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... yes checking whether to enable -Wall... no checking for help2man... /usr/bin/help2man checking for help2man... /usr/bin/help2man checking for socket in -lsocket... no checking for floor in -lm... yes checking for dlclose in -ldl... yes checking for pthread_exit in -lpthread... yes checking for deflate in -lz... yes checking for kstat_close in -lkstat... no checking for CRYPTO_realloc in -lcrypto... yes checking for library containing clock_gettime... none required checking for sys/socket.h... yes checking for sys/select.h... yes checking for sys/wait.h... yes checking for sys/time.h... (cached) yes checking for assert.h... yes checking for ctype.h... yes checking for errno.h... yes checking for signal.h... yes checking for math.h... yes checking for malloc.h... yes checking for netdb.h... yes checking for signal.h... (cached) yes checking for stdarg.h... yes checking for stdio.h... (cached) yes checking for syslog.h... yes checking for execinfo.h... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... yes checking for netinet/ip.h... yes checking for netinet/ip_icmp.h... yes checking for unsigned long long... yes checking for long long... yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for malloc... yes checking for calloc... yes checking for gettimeofday... yes checking for strerror... yes checking for strtoll... yes checking for priv.h... no checking whether we are using Solaris privileges... no checking for sys/capability.h... no checking whether we are using Linux Capabilities... no checking for mysql_init in -lmysqlclient... yes checking if Net-SNMP needs crypto support... yes checking for snmp_timeout in -lnetsnmp... yes checking for the spine results buffer size... 2048 bytes checking for the maximum simultaneous spine scripts... 20 checking for the maximum MySQL buffer size... 131072 checking whether we are using traditional popen... no checking whether to verify net-snmp library vs header versions... no checking if we can support backtracing... yes checking if we can support mysql/mariadb retry count... no checking if we can support mysql/mariadb ssl keys... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config/config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j2 V=1 VERBOSE=1 gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o sql.o sql.c sql.c: In function 'db_create_connection_pool': sql.c:388:54: warning: the comparison will always evaluate as 'true' for the address of 'mysql' will never be NULL [-Waddress] 388 | if (&db_pool_local[id].mysql != NULL) { | ^~ In file included from sql.c:35: spine.h:603:15: note: 'mysql' declared here 603 | MYSQL mysql; | ^~~~~ sql.c:409:55: warning: the comparison will always evaluate as 'true' for the address of 'mysql' will never be NULL [-Waddress] 409 | if (&db_pool_remote[id].mysql != NULL) { | ^~ spine.h:603:15: note: 'mysql' declared here 603 | MYSQL mysql; | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o spine.o spine.c spine.c: In function 'main': spine.c:781:21: warning: unused variable 'wait_retries' [-Wunused-variable] 781 | int wait_retries = 0; | ^~~~~~~~~~~~ spine.c:205:25: warning: variable 'until_spec' set but not used [-Wunused-but-set-variable] 205 | struct timespec until_spec; | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o snmp.o snmp.c snmp.c: In function 'snmp_getnext': snmp.c:531:100: warning: pointer targets in passing argument 3 of 'snprint_asciistring' differ in signedness [-Wpointer-sign] 531 | snprint_asciistring(result_string, RESULTS_BUFFER, temp_result, strlen(temp_result)); | ^~~~~~~~~~~ | | | char * In file included from /usr/include/net-snmp/varbind_api.h:103, from /usr/include/net-snmp/library/snmp_api.h:33, from /usr/include/net-snmp/types.h:425, from /usr/include/net-snmp/definitions.h:22, from /usr/include/net-snmp/net-snmp-includes.h:24, from common.h:140, from snmp.c:35: /usr/include/net-snmp/library/mib.h:373:56: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' 373 | const u_char * cp, size_t len); | ~~~~~~~~~~~~~~~^~ gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o locks.o locks.c gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o util.o util.c util.c: In function 'read_spine_config': util.c:1035:15: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] 1035 | char *buffer; | ^~~~~~ util.c: In function 'spine_log': util.c:1237:24: warning: unused variable 'now' [-Wunused-variable] 1237 | struct timeval now; | ^~~ util.c: In function 'is_numeric': util.c:1453:16: warning: variable 'local_dval' set but not used [-Wunused-but-set-variable] 1453 | double local_dval; | ^~~~~~~~~~ util.c:1452:14: warning: variable 'local_lval' set but not used [-Wunused-but-set-variable] 1452 | long local_lval; | ^~~~~~~~~~ util.c: In function 'config_defaults': util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying 9 bytes from a string of the same length [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying 9 bytes from a string of the same length [-Wstringop-truncation] util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying 9 bytes from a string of the same length [-Wstringop-truncation] util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying 9 bytes from a string of the same length [-Wstringop-truncation] util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying 9 bytes from a string of the same length [-Wstringop-truncation] util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying 9 bytes from a string of the same length [-Wstringop-truncation] util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying 11 bytes from a string of the same length [-Wstringop-truncation] util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] util.c: In function 'spine_log': util.c:1306:9: warning: '__strncat_chk' output may be truncated copying 65485 bytes from a string of length 65534 [-Wstringop-truncation] 1306 | strncat(flogmessage, ulogmessage, sizeof(flogmessage) - 50); | ^ util.c: In function 'strncopy': util.c:1641:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1641:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ In function 'strncopy', inlined from 'read_spine_config' at util.c:1068:49: util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1641:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ In function 'strncopy', inlined from 'read_spine_config' at util.c:1067:49: util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1641:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ In function 'strncopy', inlined from 'read_spine_config' at util.c:1066:49: util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1641:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ In function 'strncopy', inlined from 'read_spine_config' at util.c:1065:49: util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ In function 'strncopy', inlined from 'read_spine_config' at util.c:1064:49: util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ In function 'strncopy', inlined from 'read_spine_config' at util.c:1063:49: util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1641:17: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ In function 'strncopy', inlined from 'read_spine_config' at util.c:1062:49: util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1641:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ In function 'strncopy', inlined from 'read_spine_config' at util.c:1059:49: util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1641:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ In function 'strncopy', inlined from 'read_spine_config' at util.c:1058:49: util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1641:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ In function 'strncopy', inlined from 'read_spine_config' at util.c:1057:49: util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1641:17: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 1641 | strncpy(dst, src, len); | ^ In function 'strncopy', inlined from 'read_spine_config' at util.c:1056:49: util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ util.c: In function 'read_config_options': util.c:704:25: warning: '%s' directive writing up to 65534 bytes into a region of size 195 [-Wformat-overflow=] 704 | sqlp += sprintf(sqlp, " AND host_id IN(%s)", set.host_id_list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:894, from common.h:93, from util.c:34: In function 'sprintf', inlined from 'read_config_options' at util.c:704:11: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 18 and 65552 bytes into a destination of size 211 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o nft_popen.o nft_popen.c gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o php.o php.c php.c: In function 'php_close': php.c:472:17: warning: variable 'bytes' set but not used [-Wunused-but-set-variable] 472 | ssize_t bytes; | ^~~~~ gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ping.o ping.c ping.c: In function 'init_sockaddr': ping.c:887:44: warning: unused variable 'p' [-Wunused-variable] 887 | struct addrinfo hints, *hostinfo, *p; | ^ ping.c: In function 'get_address_type': ping.c:860:17: warning: 'ptr' may be used uninitialized [-Wmaybe-uninitialized] 860 | inet_ntop(res->ai_family, ptr, addrstr, 100); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ping.c:831:15: note: 'ptr' was declared here 831 | void *ptr; | ^~~ ping.c: In function 'get_namebyhost': ping.c:1004:33: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 1004 | strncpy(name->hostname, hostname, sizeof(name->hostname)); | ^ ping.c:1041:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 1041 | strncpy(name->hostname, token, sizeof(name->hostname)); | ^ gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o poller.o poller.c poller.c: In function 'child': poller.c:83:34: warning: unused variable 'details' [-Wunused-variable] 83 | extern poller_thread_t** details; | ^~~~~~~ poller.c: In function 'poll_host': poller.c:171:14: warning: unused variable 'error_len' [-Wunused-variable] 171 | int error_len = 0; | ^~~~~~~~~ poller.c:159:13: warning: variable 'query10_len' set but not used [-Wunused-but-set-variable] 159 | int query10_len = 0; | ^~~~~~~~~~~ poller.c:158:13: warning: variable 'query9_len' set but not used [-Wunused-but-set-variable] 158 | int query9_len = 0; | ^~~~~~~~~~ poller.c:156:13: warning: variable 'query6_len' set but not used [-Wunused-but-set-variable] 156 | int query6_len = 0; | ^~~~~~~~~~ poller.c:155:13: warning: variable 'query5_len' set but not used [-Wunused-but-set-variable] 155 | int query5_len = 0; | ^~~~~~~~~~ poller.c:154:13: warning: variable 'query4_len' set but not used [-Wunused-but-set-variable] 154 | int query4_len = 0; | ^~~~~~~~~~ poller.c:153:13: warning: variable 'query2_len' set but not used [-Wunused-but-set-variable] 153 | int query2_len = 0; | ^~~~~~~~~~ poller.c:152:13: warning: variable 'query1_len' set but not used [-Wunused-but-set-variable] 152 | int query1_len = 0; | ^~~~~~~~~~ poller.c: In function 'exec_poll': poller.c:2085:13: warning: variable 'close_fd' set but not used [-Wunused-but-set-variable] 2085 | int close_fd = TRUE; | ^~~~~~~~ poller.c: In function 'poll_host': poller.c:1838:25: warning: 'remote_cnn' may be used uninitialized [-Wmaybe-uninitialized] 1838 | db_release_connection(REMOTE, remote_cnn->id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ poller.c:217:17: note: 'remote_cnn' was declared here 217 | pool_t *remote_cnn; | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o keywords.o keywords.c gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o error.o error.c /bin/sh ./libtool --tag=CC --mode=link gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -L/usr/lib64 -L/usr/lib64 -Wl,-z,relro -Wl,--fatal-warnings -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/cacti-spine-1.2.20/.package_note-cacti-spine-1.2.20-1.fc37.x86_64.ld -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -lnetsnmp -lmysqlclient_r -lm -ldl -lmysqlclient -lm -ldl -lcrypto -lz -lpthread -ldl -lm -lpthread -lssl libtool: link: gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--fatal-warnings -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT -Wl,/builddir/build/BUILD/cacti-spine-1.2.20/.package_note-cacti-spine-1.2.20-1.fc37.x86_64.ld -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -L/usr/lib64 -lnetsnmp -lmysqlclient_r -lmysqlclient -lcrypto -lz -ldl -lm -lpthread -lssl /usr/bin/help2man --output=spine.1 --name='Data Collector for Cacti' --no-info --version-option='--version' ./spine + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AdEoYR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64 ++ dirname /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--fatal-warnings -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/cacti-spine-1.2.20/.package_note-cacti-spine-1.2.20-1.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cacti-spine-1.2.20 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/cacti-spine-1.2.20' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -p spine '/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/bin' libtool: install: /usr/bin/install -p spine /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/bin/spine /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/etc' /usr/bin/install -p -m 644 spine.conf.dist '/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/share/man/man1' /usr/bin/install -p -m 644 spine.1 '/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/share/man/man1' make[1]: Leaving directory '/builddir/build/BUILD/cacti-spine-1.2.20' + /usr/bin/mv /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64//etc/spine.conf.dist /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64//etc/spine.conf + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.2.20-1.fc37 --unique-debug-suffix -1.2.20-1.fc37.x86_64 --unique-debug-src-base cacti-spine-1.2.20-1.fc37.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/cacti-spine-1.2.20 extracting debug info from /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/bin/spine original debug info size: 432kB, size after compression: 372kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 738 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: cacti-spine-1.2.20-1.fc37.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.U1mEVm + umask 022 + cd /builddir/build/BUILD + cd cacti-spine-1.2.20 + DOCDIR=/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/share/doc/cacti-spine + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/share/doc/cacti-spine + cp -pr CHANGELOG /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/share/doc/cacti-spine + cp -pr README.md /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/share/doc/cacti-spine + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.EyNSSW + umask 022 + cd /builddir/build/BUILD + cd cacti-spine-1.2.20 + LICENSEDIR=/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/share/licenses/cacti-spine + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/share/licenses/cacti-spine + cp -pr LICENSE /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64/usr/share/licenses/cacti-spine + RPM_EC=0 ++ jobs -p + exit 0 Provides: cacti-spine = 1.2.20-1.fc37 cacti-spine(x86-64) = 1.2.20-1.fc37 config(cacti-spine) = 1.2.20-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libnetsnmp.so.40()(64bit) rtld(GNU_HASH) Processing files: cacti-spine-debugsource-1.2.20-1.fc37.x86_64 Provides: cacti-spine-debugsource = 1.2.20-1.fc37 cacti-spine-debugsource(x86-64) = 1.2.20-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cacti-spine-debuginfo-1.2.20-1.fc37.x86_64 Provides: cacti-spine-debuginfo = 1.2.20-1.fc37 cacti-spine-debuginfo(x86-64) = 1.2.20-1.fc37 debuginfo(build-id) = 98e97468233d55d9d616e158d0f944ed1f4295f1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cacti-spine-debugsource(x86-64) = 1.2.20-1.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64 Wrote: /builddir/build/RPMS/cacti-spine-debuginfo-1.2.20-1.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/cacti-spine-debugsource-1.2.20-1.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/cacti-spine-1.2.20-1.fc37.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Hvj0En + umask 022 + cd /builddir/build/BUILD + cd cacti-spine-1.2.20 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc37.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0