Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cacti-spine.spec'], chrootPath='/var/lib/mock/f31-build-56564-28225/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1559952000 Wrote: /builddir/build/SRPMS/cacti-spine-1.2.4-1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cacti-spine.spec'], chrootPath='/var/lib/mock/f31-build-56564-28225/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1559952000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tvfDXg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cacti-spine-1.2.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/cacti-spine-1.2.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cacti-spine-1.2.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WtZTeg + umask 022 + cd /builddir/build/BUILD + cd cacti-spine-1.2.4 + autoreconf -fiv BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force BUILDSTDERR: aclocal: warning: couldn't open directory 'm4': No such file or directory BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: autoreconf: configure.ac: creating directory config BUILDSTDERR: autoreconf: running: libtoolize --copy --force BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: running: /usr/bin/autoheader --force BUILDSTDERR: autoreconf: running: automake --add-missing --copy --force-missing BUILDSTDERR: configure.ac:80: installing 'config/compile' BUILDSTDERR: configure.ac:7: installing 'config/config.guess' BUILDSTDERR: configure.ac:7: installing 'config/config.sub' BUILDSTDERR: configure.ac:12: installing 'config/install-sh' BUILDSTDERR: configure.ac:12: installing 'config/missing' BUILDSTDERR: Makefile.am: installing 'config/depcomp' BUILDSTDERR: autoreconf: Leaving directory `.' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess BUILDSTDERR: ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub BUILDSTDERR: ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ 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=riscv64-koji-linux-gnu --host=riscv64-koji-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 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' libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu 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 nested variables... yes checking for gawk... (cached) gawk checking for riscv64-koji-linux-gnu-gcc... no checking for 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none 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 riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... 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 riscv64-koji-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 threadsafe gethostbyname()... no checking for gethostbyname_r in -lnls... no 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 ANSI C header files... (cached) yes 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 mariadb_config... /usr/bin/mariadb_config 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 for glibc gethostbyname_r... yes checking for Solaris/Irix gethostbyname_r... no checking for HP-UX gethostbyname_r... no BUILDSTDERR: checking if w+ /usr/bin/make -O -j4 V=1 VERBOSE=1 BUILDSTDERR: sql.c: In function 'db_connect': BUILDSTDERR: sql.c:232:10: warning: unused variable 'reconnect' [-Wunused-variable] BUILDSTDERR: 232 | my_bool reconnect = 1; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from common.h:70, BUILDSTDERR: from sql.c:34: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'db_escape' at sql.c:385:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sql.c: In function 'db_escape': BUILDSTDERR: sql.c:379:15: note: length computed here BUILDSTDERR: 379 | input_size = strlen(input); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: snmp.c: In function 'snmp_host_init': BUILDSTDERR: snmp.c:189:2: warning: 'remote_port' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 189 | session.remote_port = snmp_port; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/net-snmp/utilities.h:16, BUILDSTDERR: from common.h:135, BUILDSTDERR: from snmp.c:34: BUILDSTDERR: /usr/include/net-snmp/types.h:345:21: note: declared here BUILDSTDERR: 345 | u_short remote_port NETSNMP_ATTRIBUTE_DEPRECATED; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: snmp.c: In function 'snmp_get': BUILDSTDERR: snmp.c:369:57: warning: pointer targets in passing argument 3 of 'snprint_asciistring' differ in signedness [-Wpointer-sign] BUILDSTDERR: 369 | snprint_asciistring(result_string, RESULTS_BUFFER, temp_result, strlen(temp_result)); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/net-snmp/varbind_api.h:103, BUILDSTDERR: from /usr/include/net-snmp/library/snmp_api.h:33, BUILDSTDERR: from /usr/include/net-snmp/definitions.h:23, BUILDSTDERR: from /usr/include/net-snmp/types.h:462, BUILDSTDERR: from /usr/include/net-snmp/utilities.h:16, BUILDSTDERR: from common.h:135, BUILDSTDERR: from snmp.c:34: BUILDSTDERR: /usr/include/net-snmp/library/mib.h:376:56: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 376 | const u_char * cp, size_t len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~ BUILDSTDERR: snmp.c: In function 'snmp_getnext': BUILDSTDERR: snmp.c:448:58: warning: pointer targets in passing argument 3 of 'snprint_asciistring' differ in signedness [-Wpointer-sign] BUILDSTDERR: 448 | snprint_asciistring(result_string, RESULTS_BUFFER, temp_result, strlen(temp_result)); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/net-snmp/varbind_api.h:103, BUILDSTDERR: from /usr/include/net-snmp/library/snmp_api.h:33, BUILDSTDERR: from /usr/include/net-snmp/definitions.h:23, BUILDSTDERR: from /usr/include/net-snmp/types.h:462, BUILDSTDERR: from /usr/include/net-snmp/utilities.h:16, BUILDSTDERR: from common.h:135, BUILDSTDERR: from snmp.c:34: BUILDSTDERR: /usr/include/net-snmp/library/mib.h:376:56: note: expected 'const u_char *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 376 | const u_char * cp, size_t len); BUILDSTDERR: | ~~~~~~~~~~~~~~~^~ BUILDSTDERR: spine.c: In function 'main': BUILDSTDERR: spine.c:488:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1024 [-Wformat-truncation=] BUILDSTDERR: 488 | snprintf(conf_file, BUFSIZE, "%s%s", config_paths[i], DEFAULT_CONF_FILE); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from common.h:93, BUILDSTDERR: from spine.c:97: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 11 and 4106 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: spine.c:496:37: warning: '%s' directive output may be truncated writing 10 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] BUILDSTDERR: 496 | snprintf(conf_file, BUFSIZE, "%s%s", config_paths[0], DEFAULT_CONF_FILE); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from common.h:93, BUILDSTDERR: from spine.c:97: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c: In function 'read_spine_config': BUILDSTDERR: util.c:867:8: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 867 | char *buffer; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: util.c: In function 'is_numeric': BUILDSTDERR: util.c:1290:9: warning: variable 'local_dval' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1290 | double local_dval; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: util.c:1289:7: warning: variable 'local_lval' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1289 | long local_lval; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from common.h:70, BUILDSTDERR: from util.c:34: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'strncopy' at util.c:1467:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c: In function 'strncopy': BUILDSTDERR: util.c:1462:8: note: length computed here BUILDSTDERR: 1462 | len = strlen(src); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from common.h:70, BUILDSTDERR: from util.c:34: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'spine_log' at util.c:1143:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output may be truncated copying 4046 bytes from a string of length 4095 [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c: In function 'read_config_options': BUILDSTDERR: util.c:351:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 256 [-Wformat-truncation=] BUILDSTDERR: 351 | snprintf(set.path_logfile, SMALL_BUFSIZE, "%s/log/cacti.log", web_root); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from common.h:93, BUILDSTDERR: from util.c:34: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 1038 bytes into a destination of size 256 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c:344:48: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 256 [-Wformat-truncation=] BUILDSTDERR: 344 | snprintf(set.path_logfile, SMALL_BUFSIZE, "%s/log/cacti.log", web_root); BUILDSTDERR: | ^~ ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from common.h:93, BUILDSTDERR: from util.c:34: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 1038 bytes into a destination of size 256 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c: In function 'die': BUILDSTDERR: util.c:990:37: warning: ' (Spine init)' directive output may be truncated writing 13 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] BUILDSTDERR: 990 | snprintf(flogmessage, BUFSIZE, "%s (Spine init)", logmessage); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from common.h:93, BUILDSTDERR: from util.c:34: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 1037 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c:987:38: warning: ' (Spine thread)' directive output may be truncated writing 15 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] BUILDSTDERR: 987 | snprintf(flogmessage, BUFSIZE, "%s (Spine thread)", logmessage); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from common.h:93, BUILDSTDERR: from util.c:34: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: util.c:985:38: warning: ' (Spine parent)' directive output may be truncated writing 15 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] BUILDSTDERR: 985 | snprintf(flogmessage, BUFSIZE, "%s (Spine parent)", logmessage); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from common.h:93, BUILDSTDERR: from util.c:34: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: php.c: In function 'php_close': BUILDSTDERR: php.c:462:10: warning: variable 'bytes' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 462 | ssize_t bytes; BUILDSTDERR: | ^~~~~ e can support backtracing... no 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 gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o snmp.o snmp.c gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o spine.o spine.c gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o util.o util.c gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o php.o php.c gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o keywords.o keywords.c BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redpoller.c: In function 'poll_host': BUILDSTDERR: poller.c:165:7: warning: variable 'num_snmp_agents' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 165 | int num_snmp_agents = 0; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: poller.c: In function 'exec_poll': BUILDSTDERR: poller.c:1997:14: warning: comparison with string literal results in unspecified behavior [-Waddress] BUILDSTDERR: 1997 | if (type == "DS") { BUILDSTDERR: | ^~ BUILDSTDERR: poller.c:1872:6: warning: variable 'close_fd' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1872 | int close_fd = TRUE; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: poller.c: In function 'poll_host': BUILDSTDERR: poller.c:913:77: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] BUILDSTDERR: 913 | snprintf(query3, BUFSIZE, "UPDATE poller_reindex SET assert_value='%s' WHERE host_id='%i' AND data_query_id='%i' AND arg1='%s'", temp_poll_result, host_id, reindex->data_query_id, temp_arg1); BUILDSTDERR: | ^~ ~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from common.h:93, BUILDSTDERR: from poller.c:34: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 94 and 2160 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: poller.c:913:77: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] BUILDSTDERR: 913 | snprintf(query3, BUFSIZE, "UPDATE poller_reindex SET assert_value='%s' WHERE host_id='%i' AND data_query_id='%i' AND arg1='%s'", temp_poll_result, host_id, reindex->data_query_id, temp_arg1); BUILDSTDERR: | ^~ ~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from common.h:93, BUILDSTDERR: from poller.c:34: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 94 and 2160 bytes into a destination of size 1024 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from common.h:70, BUILDSTDERR: from poller.c:34: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'poll_host' at poller.c:1563:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: poller.c: In function 'poll_host': BUILDSTDERR: poller.c:1563:3: note: length computed here BUILDSTDERR: 1563 | strncat(query3, query8, strlen(query8)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from common.h:70, BUILDSTDERR: from poller.c:34: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'poll_host' at poller.c:1573:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: poller.c: In function 'poll_host': BUILDSTDERR: poller.c:1573:4: note: length computed here BUILDSTDERR: 1573 | strncat(query12, query11, strlen(query11)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from common.h:70, BUILDSTDERR: from poller.c:34: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'poll_host' at poller.c:1598:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: poller.c: In function 'poll_host': BUILDSTDERR: poller.c:1598:5: note: length computed here BUILDSTDERR: 1598 | strncat(query3, posuffix, strlen(posuffix)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from common.h:70, BUILDSTDERR: from poller.c:34: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'poll_host' at poller.c:1605:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: poller.c: In function 'poll_host': BUILDSTDERR: poller.c:1605:5: note: length computed here BUILDSTDERR: 1605 | strncat(query3, query8, strlen(query8)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from common.h:70, BUILDSTDERR: from poller.c:34: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'poll_host' at poller.c:1610:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: poller.c: In function 'poll_host': BUILDSTDERR: poller.c:1610:6: note: length computed here BUILDSTDERR: 1610 | strncat(query12, posuffix, strlen(posuffix)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from common.h:70, BUILDSTDERR: from poller.c:34: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'poll_host' at poller.c:1615:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: poller.c: In function 'poll_host': BUILDSTDERR: poller.c:1615:6: note: length computed here BUILDSTDERR: 1615 | strncat(query12, query11, strlen(query11)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from common.h:70, BUILDSTDERR: from poller.c:34: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'poll_host' at poller.c:1632:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: poller.c: In function 'poll_host': BUILDSTDERR: poller.c:1632:4: note: length computed here BUILDSTDERR: 1632 | strncat(query3, result_string, strlen(result_string)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from common.h:70, BUILDSTDERR: from poller.c:34: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'poll_host' at poller.c:1635:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'poll_host' at poller.c:1646:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin___strncat_chk' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: poller.c: In function 'poll_host': BUILDSTDERR: poller.c:1646:4: note: length computed here BUILDSTDERR: 1646 | strncat(query3, posuffix, strlen(posuffix)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from common.h:70, BUILDSTDERR: from poller.c:34: BUILDSTDERR: In function 'strncat', BUILDSTDERR: inlined from 'poll_host' at poller.c:1654:5: BUILDSTDERR: /usr/include/bits/string_fortified.h:136:10: warning: '__builtin_strncat' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: poller.c: In function 'poll_host': BUILDSTDERR: poller.c:1654:5: note: length computed here BUILDSTDERR: 1654 | strncat(query12, posuffix, strlen(posuffix)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 hat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o error.o error.c gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o ping.o ping.c gcc -DHAVE_CONFIG_H -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o poller.o poller.c /bin/sh ./libtool --tag=CC --mode=link gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -L/usr/lib64 -L/usr/lib64 -lpthread -lssl -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-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 -lcrypto -lz -lpthread -ldl -lm libtool: link: gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-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 -lssl -lnetsnmp -lmysqlclient_r -lcrypto -lz -lpthread -ldl -lm /usr/bin/help2man --output=spine.1 --name='Data Collector for Cacti' --no-info --version-option='--version' ./spine Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ceTqEj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64 + cd cacti-spine-1.2.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64 'INSTALL=/usr/bin/install -p' + /usr/bin/mv /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64//etc/spine.conf.dist /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64//etc/spine.conf + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2.4-1.fc31 --unique-debug-suffix -1.2.4-1.fc31.riscv64 --unique-debug-src-base cacti-spine-1.2.4-1.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cacti-spine-1.2.4 BUILDSTDERR: 652 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs make[1]: Entering directory '/builddir/build/BUILD/cacti-spine-1.2.4' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/usr/bin' /bin/sh ./libtool --mode=install /usr/bin/install -p spine '/builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/usr/bin' libtool: install: /usr/bin/install -p spine /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/usr/bin/spine /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/etc' /usr/bin/install -p -m 644 spine.conf.dist '/builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/etc' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 spine.1 '/builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/usr/share/man/man1' make[1]: Leaving directory '/builddir/build/BUILD/cacti-spine-1.2.4' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/usr/bin/spine extracting debug info from /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/usr/bin/spine original debug info size: 516kB, size after compression: 420kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: cacti-spine-1.2.4-1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nQ7QWh + umask 022 + cd /builddir/build/BUILD + cd cacti-spine-1.2.4 + DOCDIR=/builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/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.4-1.fc31.riscv64/usr/share/doc/cacti-spine + cp -pr CHANGELOG /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/usr/share/doc/cacti-spine + cp -pr README.md /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/usr/share/doc/cacti-spine + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nKbwNj + umask 022 + cd /builddir/build/BUILD + cd cacti-spine-1.2.4 + LICENSEDIR=/builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/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.4-1.fc31.riscv64/usr/share/licenses/cacti-spine + cp -pr LICENSE /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64/usr/share/licenses/cacti-spine + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: cacti-spine = 1.2.4-1.fc31 cacti-spine(riscv-64) = 1.2.4-1.fc31 config(cacti-spine) = 1.2.4-1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(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.27)(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libnetsnmp.so.35()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: cacti-spine-debugsource-1.2.4-1.fc31.riscv64 Provides: cacti-spine-debugsource = 1.2.4-1.fc31 cacti-spine-debugsource(riscv-64) = 1.2.4-1.fc31 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.4-1.fc31.riscv64 Provides: cacti-spine-debuginfo = 1.2.4-1.fc31 cacti-spine-debuginfo(riscv-64) = 1.2.4-1.fc31 debuginfo(build-id) = 5ca7cc39cbf659a0cf4381d1a2e208631e8ca090 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cacti-spine-debugsource(riscv-64) = 1.2.4-1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64 Wrote: /builddir/build/RPMS/cacti-spine-1.2.4-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/cacti-spine-debugsource-1.2.4-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/cacti-spine-debuginfo-1.2.4-1.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Rpvdwj + umask 022 + cd /builddir/build/BUILD + cd cacti-spine-1.2.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cacti-spine-1.2.4-1.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0