Mock Version: 2.16 Mock Version: 2.16 Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/cacti-spine.spec'], chrootPath='/var/lib/mock/f35-build-34489724-4572662/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --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'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1649548800 Wrote: /builddir/build/SRPMS/cacti-spine-1.2.20-1.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/cacti-spine.spec'], chrootPath='/var/lib/mock/f35-build-34489724-4572662/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --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'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1649548800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.K3TV7S + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cacti-spine-1.2.20 + /usr/bin/gzip -dc /builddir/build/SOURCES/cacti-spine-1.2.20.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cacti-spine-1.2.20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /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.VTR6Wz + umask 022 + cd /builddir/build/BUILD + cd cacti-spine-1.2.20 + autoreconf -fiv 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: running: /usr/bin/autoconf --force 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + 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-04-10 08:26:05.176194998 +0000 +++ ./configure 2022-04-10 08:26:06.462306079 +0000 @@ -1781,7 +1781,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-04-10 08:26:06.462306079 +0000 +++ ./configure 2022-04-10 08:26:06.493308756 +0000 @@ -6904,7 +6904,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'" @@ -15044,7 +15044,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.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' + 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' + '[' 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=i686-redhat-linux-gnu --host=i686-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-linux-gnu checking for i686-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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... 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 thread-safe 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 i686-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (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 i686-redhat-linux-gnu file names to i686-redhat-linux-gnu format... func_convert_file_noop checking how to convert i686-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 i686-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-redhat-linux-gnu-strip... no checking for strip... strip checking for i686-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6910: -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 i686-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.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) 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 sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for signal.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking execinfo.h usability... yes checking execinfo.h presence... 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 time.h and sys/time.h may both be included... 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 priv.h usability... no checking priv.h presence... no checking for priv.h... no checking whether we are using Solaris privileges... no checking sys/capability.h usability... no checking sys/capability.h presence... 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 -j6 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o sql.o sql.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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o error.o error.c error.c: In function 'spine_signal_handler': error.c:65:67: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 65 | fprintf(stderr, "Generating backtrace...%ld line(s)...\n", set.exit_size); | ~~^ ~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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; | ^~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from util.c:34: In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'config_defaults' at util.c:1110:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 9 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'config_defaults' at util.c:1111:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'config_defaults' at util.c:1112:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 9 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'config_defaults' at util.c:1113:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 9 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'config_defaults' at util.c:1118:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 9 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'config_defaults' at util.c:1119:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'config_defaults' at util.c:1120:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 9 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'config_defaults' at util.c:1121:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 9 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'config_defaults' at util.c:1124:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 5 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'config_defaults' at util.c:1125:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 11 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'config_defaults' at util.c:1126:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncat', inlined from 'spine_log' at util.c:1306:2: /usr/include/bits/string_fortified.h:138:10: warning: '__strncat_chk' output may be truncated copying 65485 bytes from a string of length 65534 [-Wstringop-truncation] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'strncopy' at util.c:1641:3: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'strncopy': util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from util.c:34: In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'read_spine_config' at util.c:1068:49: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from util.c:34: In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'read_spine_config' at util.c:1067:49: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from util.c:34: In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'read_spine_config' at util.c:1066:49: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from util.c:34: In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'read_spine_config' at util.c:1065:49: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from util.c:34: In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'read_spine_config' at util.c:1064:49: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from util.c:34: In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'read_spine_config' at util.c:1063:49: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from util.c:34: In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'read_spine_config' at util.c:1062:49: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from util.c:34: In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'read_spine_config' at util.c:1059:49: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from util.c:34: In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'read_spine_config' at util.c:1058:49: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from util.c:34: In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'read_spine_config' at util.c:1057:49: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'read_spine_config': util.c:1639:16: note: length computed here 1639 | len = (strlen(src) < obuf) ? strlen(src) : obuf; | ^~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from util.c:34: In function 'strncpy', inlined from 'strncopy' at util.c:1641:3, inlined from 'read_spine_config' at util.c:1056:49: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'read_spine_config': 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 240 [-Wformat-overflow=] 704 | sqlp += sprintf(sqlp, " AND host_id IN(%s)", set.host_id_list); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from common.h:93, from util.c:34: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 18 and 65552 bytes into a destination of size 256 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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; | ^ In file included from ping.c:35: ping.c: In function 'get_namebyhost': ping.c:1032:50: warning: format '%li' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1032 | SPINE_LOG_DEBUG(("get_hostbyname(%s) - No matching method for %li chars: %s", hostname, strlen(token), token)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | size_t {aka unsigned int} spine.h:128:103: note: in definition of macro 'SPINE_LOG_DEBUG' 128 | #define SPINE_LOG_DEBUG(format_and_args) (void)(set.log_level >= POLLER_VERBOSITY_DEBUG && spine_log format_and_args) | ^~~~~~~~~~~~~~~ ping.c:1032:97: note: format string is defined here 1032 | SPINE_LOG_DEBUG(("get_hostbyname(%s) - No matching method for %li chars: %s", hostname, strlen(token), token)); | ~~^ | | | long int | %i ping.c: In function 'get_address_type': ping.c:860:17: warning: 'ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 860 | inet_ntop(res->ai_family, ptr, addrstr, 100); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from common.h:70, from ping.c:34: In function 'strncpy', inlined from 'get_namebyhost' at ping.c:1004:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'get_namebyhost' at ping.c:1041:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 in this function [-Wmaybe-uninitialized] 1838 | db_release_connection(REMOTE, remote_cnn->id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -L/usr/lib -L/usr/lib -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/lib -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.7zLF0x + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386 ++ dirname /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386 + cd cacti-spine-1.2.20 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386 '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.fc35.i386/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -p spine '/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386/usr/bin' libtool: install: /usr/bin/install -p spine /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386/usr/bin/spine /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386/etc' /usr/bin/install -p -m 644 spine.conf.dist '/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386/usr/share/man/man1' /usr/bin/install -p -m 644 spine.1 '/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386/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.fc35.i386//etc/spine.conf.dist /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386//etc/spine.conf + /usr/bin/find-debuginfo -j6 --strict-build-id -m -i --build-id-seed 1.2.20-1.fc35 --unique-debug-suffix -1.2.20-1.fc35.i386 --unique-debug-src-base cacti-spine-1.2.20-1.fc35.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cacti-spine-1.2.20 extracting debug info from /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386/usr/bin/spine original debug info size: 372kB, size after compression: 308kB /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: cacti-spine-1.2.20-1.fc35.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OHPTc1 + umask 022 + cd /builddir/build/BUILD + cd cacti-spine-1.2.20 + DOCDIR=/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386/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.fc35.i386/usr/share/doc/cacti-spine + cp -pr CHANGELOG /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386/usr/share/doc/cacti-spine + cp -pr README.md /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386/usr/share/doc/cacti-spine + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.A4mmLQ + umask 022 + cd /builddir/build/BUILD + cd cacti-spine-1.2.20 + LICENSEDIR=/builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386/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.fc35.i386/usr/share/licenses/cacti-spine + cp -pr LICENSE /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386/usr/share/licenses/cacti-spine + RPM_EC=0 ++ jobs -p + exit 0 Provides: cacti-spine = 1.2.20-1.fc35 cacti-spine(x86-32) = 1.2.20-1.fc35 config(cacti-spine) = 1.2.20-1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.33) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libm.so.6 libm.so.6(GLIBC_2.29) libmariadb.so.3 libmariadb.so.3(libmysqlclient_18) libnetsnmp.so.40 rtld(GNU_HASH) Processing files: cacti-spine-debugsource-1.2.20-1.fc35.i686 Provides: cacti-spine-debugsource = 1.2.20-1.fc35 cacti-spine-debugsource(x86-32) = 1.2.20-1.fc35 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.fc35.i686 Provides: cacti-spine-debuginfo = 1.2.20-1.fc35 cacti-spine-debuginfo(x86-32) = 1.2.20-1.fc35 debuginfo(build-id) = efeb6854fb2c5e7ffd2c504dcd48e81212b6bc10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cacti-spine-debugsource(x86-32) = 1.2.20-1.fc35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cacti-spine-1.2.20-1.fc35.i386 Wrote: /builddir/build/RPMS/cacti-spine-1.2.20-1.fc35.i686.rpm Wrote: /builddir/build/RPMS/cacti-spine-debuginfo-1.2.20-1.fc35.i686.rpm Wrote: /builddir/build/RPMS/cacti-spine-debugsource-1.2.20-1.fc35.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RClunn + 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.fc35.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0