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/ndoutils.spec'], chrootPath='/var/lib/mock/f31-build-57469-28333/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/ndoutils.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=1548979200 Wrote: /builddir/build/SRPMS/ndoutils-2.1.2-8.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ndoutils.spec'], chrootPath='/var/lib/mock/f31-build-57469-28333/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/ndoutils.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=1548979200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ztyH46 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ndoutils-2.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/ndoutils-2.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ndoutils-2.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ndoutils-2.1.2-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (ndoutils-2.1.2-var-files.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (ndoutils-2.1.2-install.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + chmod 644 db/installdb db/prepsql db/upgradedb + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (ndoutils-2.1.2-format-security.patch): patching file src/queue.c Patch #1 (ndoutils-2.1.2-var-files.patch): patching file config/ndo2db.cfg-sample.in patching file config/ndomod.cfg-sample.in Patch #2 (ndoutils-2.1.2-install.patch): patching file configure patching file configure.ac patching file Makefile.in patching file src/Makefile.in Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AiA0N9 + umask 022 + cd /builddir/build/BUILD + cd ndoutils-2.1.2 + 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.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name 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 --bindir=/usr/sbin --sysconfdir=/etc/nagios BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking BUILDSTDERR: ./configure: line 3787: ps: command not found BUILDSTDERR: ./configure: line 3920: ps: command not found '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' checking for a BSD-compatible install... /usr/bin/install -c checking for perl... no checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu 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 make sets $(MAKE)... yes checking what the operating system is ... linux checking what the distribution type is ... fedora checking what init system is being used ... unknown checking what inetd is being used ... unknown checking for which paths to use ... default checking for which init file to use ... unknown checking for which inetd files to use ... unknown checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking ltdl.h usability... no checking ltdl.h presence... no checking for ltdl.h... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking socket.h usability... no checking socket.h presence... no checking for socket.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes BUILDSTDERR: checking for sys/msg.h.configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j4 all .. yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/sendfile.h usability... yes checking sys/sendfile.h presence... yes checking for sys/sendfile.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for sys/wait.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking tcpd.h usability... no checking tcpd.h presence... no checking for tcpd.h... no checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking size of int... 4 checking size of short... 2 checking size of long... 8 checking for uint32_t... yes checking for u_int32_t... yes checking for int32_t... yes checking for main in -lnsl... no checking for socket in -lsocket... no checking for main in -lwrap... no checking for getopt_long... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for strtof... yes checking for nanosleep... yes checking for va_copy... yes checking for snprintf... yes checking for asprintf... yes checking for type of socket size... size_t checking for linker flags for loadable modules... -shared checking for mysql_config... /usr/bin/mysql_config checking for mysql_init in -lmysqlclient... yes MySQL library and include file(s) were found! checking for library containing sd_listen_fds... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config/ndo2db.cfg-sample config.status: creating config/ndomod.cfg-sample config.status: creating config/nagios.cfg config.status: creating config/misccommands.cfg config.status: creating docs/docbook/en-en/Makefile config.status: creating include/io.h config.status: creating include/common.h config.status: creating startup/bsd-init config.status: creating startup/debian-init config.status: creating startup/default-init config.status: creating startup/default-inetd config.status: creating startup/default-service config.status: creating startup/default-socket config.status: creating startup/default-socket-svc config.status: creating startup/default-xinetd config.status: creating startup/mac-init.plist config.status: creating startup/mac-inetd.plist config.status: creating startup/newbsd-init config.status: creating startup/openbsd-init config.status: creating startup/openrc-conf config.status: creating startup/openrc-init config.status: creating startup/solaris-init.xml config.status: creating startup/solaris-inetd.xml config.status: creating startup/tmpfile.conf config.status: creating startup/upstart-init config.status: creating startup/rh-upstart-init config.status: creating include/config.h *** Configuration summary for ndoutils 2.1.2 11-14-2016 ***: General Options: ------------------------- NDO2DB user: nagios NDO2DB group: nagios NDO2DB tcp port: 5668 Review the options above for accuracy. If they look okay, type 'make all' to compile the NDO utilities, or type 'make' to get a list of make options. BUILDSTDERR: cd ./src && makutils.c: In function 'my_rename': BUILDSTDERR: utils.c:142:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 142 | write(dest_fd,buffer,bytes_read); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: utils.c: In function 'my_rename': BUILDSTDERR: utils.c:142:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 142 | write(dest_fd,buffer,bytes_read); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c: In function 'ndo2db_db_hello': BUILDSTDERR: db.c:265:5: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] BUILDSTDERR: 265 | if(asprintf(&buf,"SELECT instance_id FROM %s WHERE instance_name='%s'",ndo2db_db_tablenames[NDO2DB_DBTABLE_INSTANCES],idi->instance_name)==-1) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | vsprintf BUILDSTDERR: io.c: In function 'ndo_sink_open': BUILDSTDERR: io.c:166:6: warning: unused variable 'rc' [-Wunused-variable] BUILDSTDERR: 166 | int rc=0; BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/config.h:91, BUILDSTDERR: from io.c:23: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'ndo_sink_open' at io.c:193:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_get_object_id': BUILDSTDERR: dbhandlers.c:98:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] BUILDSTDERR: 98 | if(asprintf(&buf1,"name1 IS NULL")==-1) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | vsprintf BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_processdata': BUILDSTDERR: ndomod.c: In function 'ndomod_write_to_sink': BUILDSTDERR: ndomod.c:810:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] BUILDSTDERR: 810 | asprintf(&temp_buffer,"ndomod: Successfully reconnected to data sink! %lu items lost, %lu queued items to flush.",sinkbuf.overflow,sinkbuf.items); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | vsprintf BUILDSTDERR: dbhandlers.c:613:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 613 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_timedeventdata': BUILDSTDERR: dbhandlers.c:750:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 750 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_logdata': BUILDSTDERR: dbhandlers.c:944:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 944 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_systemcommanddata': BUILDSTDERR: dbhandlers.c:1013:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1013 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ndomod.c: In function 'ndomod_broker_data_serialize': BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_eventhandlerdata': BUILDSTDERR: dbhandlers.c:1093:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1093 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ndomod.c:1359:9: warning: unused variable 'bufused' [-Wunused-variable] BUILDSTDERR: 1359 | size_t bufused = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_contactnotificationmethoddata': BUILDSTDERR: dbhandlers.c:1340:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1340 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_servicecheckdata': BUILDSTDERR: dbhandlers.c:1424:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1424 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_hostcheckdata': BUILDSTDERR: dbhandlers.c:1545:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1545 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_commentdata': BUILDSTDERR: dbhandlers.c:1664:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1664 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_downtimedata': BUILDSTDERR: dbhandlers.c:1825:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1825 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_flappingdata': BUILDSTDERR: dbhandlers.c:2038:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2038 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_programstatusdata': BUILDSTDERR: dbhandlers.c:2119:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2119 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_hoststatusdata': BUILDSTDERR: dbhandlers.c:2255:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2255 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ndomod.c: In function 'ndomod_broker_data': BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_servicestatusdata': BUILDSTDERR: dbhandlers.c:2454:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2454 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ndomod.c:1628:9: warning: unused variable 'tbsize' [-Wunused-variable] BUILDSTDERR: 1628 | size_t tbsize = sizeof(temp_buffer); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_contactstatusdata': BUILDSTDERR: dbhandlers.c:2622:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2622 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_externalcommanddata': BUILDSTDERR: dbhandlers.c:2742:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2742 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_acknowledgementdata': BUILDSTDERR: dbhandlers.c:2816:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2816 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ndomod.c: In function 'ndomod_write_active_objects': BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_statechangedata': BUILDSTDERR: ndomod.c:3597:11: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 3597 | int i, obj_count; BUILDSTDERR: | ^ BUILDSTDERR: dbhandlers.c:2897:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2897 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_runtimevariables': BUILDSTDERR: dbhandlers.c:3086:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3086 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_configdumpstart': BUILDSTDERR: dbhandlers.c:3153:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3153 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ndomod.c: In function 'ndomod_write_object_config': BUILDSTDERR: ndomod.c:3860:22: warning: unused variable 'temp_servicegroupmember' [-Wunused-variable] BUILDSTDERR: 3860 | servicegroupmember *temp_servicegroupmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3859:19: warning: unused variable 'temp_hostgroupmember' [-Wunused-variable] BUILDSTDERR: 3859 | hostgroupmember *temp_hostgroupmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3858:22: warning: unused variable 'temp_contactgroupmember' [-Wunused-variable] BUILDSTDERR: 3858 | contactgroupmember *temp_contactgroupmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3847:23: warning: unused variable 'temp_contactgroupsmember' [-Wunused-variable] BUILDSTDERR: 3847 | contactgroupsmember *temp_contactgroupsmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3846:15: warning: unused variable 'temp_hostsmember' [-Wunused-variable] BUILDSTDERR: 3846 | hostsmember *temp_hostsmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3843:18: warning: unused variable 'temp_commandsmember' [-Wunused-variable] BUILDSTDERR: 3843 | commandsmember *temp_commandsmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_hostdependencydefinition': BUILDSTDERR: dbhandlers.c:4007:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4007 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_servicedependencydefinition': BUILDSTDERR: dbhandlers.c:4075:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4075 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_commanddefinition': BUILDSTDERR: dbhandlers.c:4406:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4406 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_activeobjectlist': BUILDSTDERR: dbhandlers.c:4913:12: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 4913 | int rc, i, object_type, num_objs = 0, sz, first = 1; BUILDSTDERR: | ^ e make[1]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' gcc -fPIC -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -c -o io.o io.c gcc -fPIC -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -c -o utils.o utils.c make ndo2db-2x make ndomod-2x.o make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' gcc -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -c -o db.o db.c make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' gcc -fPIC -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -c -o utils.o utils.c gcc -fPIC -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c io.o utils.o -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c gcc -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm gcc -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm BUILDSTDERR: gcc -fPIC -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-taIn file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/config.h:91, BUILDSTDERR: from sockdebug.c:29: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'main' at sockdebug.c:86:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: queue.c: In function 'log_retry': BUILDSTDERR: queue.c:85:11: warning: unused variable 'fp' [-Wunused-variable] BUILDSTDERR: 85 | FILE * fp; BUILDSTDERR: | ^~ BUILDSTDERR: queue.c: In function 'push_into_queue': BUILDSTDERR: queue.c:137:18: warning: unused variable 'delay' [-Wunused-variable] BUILDSTDERR: 137 | struct timespec delay; BUILDSTDERR: | ^~~~~ BUILDSTDERR: queue.c:134:6: warning: unused variable 'size' [-Wunused-variable] BUILDSTDERR: 134 | int size; BUILDSTDERR: | ^~~~ BUILDSTDERR: queue.c: In function 'get_queue_id': BUILDSTDERR: queue.c:63:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 63 | } BUILDSTDERR: | ^ BUILDSTDERR: queue.c: In function 'get_msgmni': BUILDSTDERR: queue.c:75:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 75 | fgets( buf, sizeof( buf), fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: queue.c: In function 'log_retry': BUILDSTDERR: queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] BUILDSTDERR: 89 | const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 117 | sprintf(logmsg, logfmt, curstats); BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from queue.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] BUILDSTDERR: 89 | const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 110 | sprintf(logmsg, logfmt, curstats); BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from queue.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] BUILDSTDERR: 89 | const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 101 | sprintf(logmsg, logfmt, curstats); BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from queue.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from queue.c:27: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'pop_from_queue' at queue.c:183:2: 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: queue.c: In function 'pop_from_queue': BUILDSTDERR: queue.c:181:13: note: length computed here BUILDSTDERR: 181 | int size = strlen(msg.text); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ndo2db.c: In function 'ndo2db_daemonize': BUILDSTDERR: ndo2db.c:719:4: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] BUILDSTDERR: 719 | asprintf(&msg,"Failed to obtain lock on file %s: %s\n", lock_file, strerror(errno)); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | vsprintf BUILDSTDERR: ndo2db.c: In function 'ndo2db_check_for_client_input': BUILDSTDERR: ndo2db.c:1276:15: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: 1276 | register int x; BUILDSTDERR: | ^ BUILDSTDERR: ndo2db.c:1275:8: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: 1275 | char *buf=NULL; BUILDSTDERR: | ^~~ BUILDSTDERR: ndo2db.c: In function 'ndo2db_add_input_data_item': BUILDSTDERR: ndo2db.c:1719:6: warning: variable 'mbuf_used' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1719 | int mbuf_used=NDO_TRUE; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/config.h:91, BUILDSTDERR: from ndo2db.c:33: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'ndo2db_wait_for_connections' at ndo2db.c:962:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_get_object_id': BUILDSTDERR: dbhandlers.c:98:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] BUILDSTDERR: 98 | if(asprintf(&buf1,"name1 IS NULL")==-1) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | vsprintf BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_processdata': BUILDSTDERR: dbhandlers.c:613:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 613 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_timedeventdata': BUILDSTDERR: dbhandlers.c:750:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 750 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_logdata': BUILDSTDERR: dbhandlers.c:944:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 944 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_systemcommanddata': BUILDSTDERR: dbhandlers.c:1013:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1013 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_eventhandlerdata': BUILDSTDERR: dbhandlers.c:1093:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1093 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_contactnotificationmethoddata': BUILDSTDERR: dbhandlers.c:1340:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1340 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_servicecheckdata': BUILDSTDERR: dbhandlers.c:1424:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1424 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_hostcheckdata': BUILDSTDERR: dbhandlers.c:1545:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1545 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_commentdata': BUILDSTDERR: dbhandlers.c:1664:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1664 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_downtimedata': BUILDSTDERR: dbhandlers.c:1825:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1825 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_flappingdata': BUILDSTDERR: dbhandlers.c:2038:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2038 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ndomod.c: In function 'ndomod_write_to_sink': BUILDSTDERR: ndomod.c:810:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] BUILDSTDERR: 810 | asprintf(&temp_buffer,"ndomod: Successfully reconnected to data sink! %lu items lost, %lu queued items to flush.",sinkbuf.overflow,sinkbuf.items); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | vsprintf BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_programstatusdata': BUILDSTDERR: dbhandlers.c:2119:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2119 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_hoststatusdata': BUILDSTDERR: dbhandlers.c:2255:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2255 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_servicestatusdata': BUILDSTDERR: dbhandlers.c:2454:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2454 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_contactstatusdata': BUILDSTDERR: dbhandlers.c:2622:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2622 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ndomod.c: In function 'ndomod_broker_data_serialize': BUILDSTDERR: ndomod.c:1359:9: warning: unused variable 'bufused' [-Wunused-variable] BUILDSTDERR: 1359 | size_t bufused = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_externalcommanddata': BUILDSTDERR: dbhandlers.c:2742:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2742 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_acknowledgementdata': BUILDSTDERR: dbhandlers.c:2816:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2816 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_statechangedata': BUILDSTDERR: dbhandlers.c:2897:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2897 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_runtimevariables': BUILDSTDERR: dbhandlers.c:3086:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3086 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_configdumpstart': BUILDSTDERR: dbhandlers.c:3153:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3153 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ndomod.c: In function 'ndomod_broker_data': BUILDSTDERR: ndomod.c:1676:25: warning: unused variable 'temp_customvar' [-Wunused-variable] BUILDSTDERR: 1676 | customvariablesmember *temp_customvar=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:1628:9: warning: unused variable 'tbsize' [-Wunused-variable] BUILDSTDERR: 1628 | size_t tbsize = sizeof(temp_buffer); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_hostdependencydefinition': BUILDSTDERR: dbhandlers.c:4007:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4007 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_servicedependencydefinition': BUILDSTDERR: dbhandlers.c:4075:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4075 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ndomod.c: In function 'ndomod_write_active_objects': BUILDSTDERR: ndomod.c:3597:11: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 3597 | int i, obj_count; BUILDSTDERR: | ^ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_commanddefinition': BUILDSTDERR: dbhandlers.c:4406:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4406 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ndomod.c: In function 'ndomod_write_object_config': BUILDSTDERR: ndomod.c:3886:18: warning: unused variable 'temp_servicesmember' [-Wunused-variable] BUILDSTDERR: 3886 | servicesmember *temp_servicesmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3885:18: warning: unused variable 'temp_contactsmember' [-Wunused-variable] BUILDSTDERR: 3885 | contactsmember *temp_contactsmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3884:25: warning: unused variable 'temp_customvar' [-Wunused-variable] BUILDSTDERR: 3884 | customvariablesmember *temp_customvar=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3847:23: warning: unused variable 'temp_contactgroupsmember' [-Wunused-variable] BUILDSTDERR: 3847 | contactgroupsmember *temp_contactgroupsmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3846:15: warning: unused variable 'temp_hostsmember' [-Wunused-variable] BUILDSTDERR: 3846 | hostsmember *temp_hostsmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3843:18: warning: unused variable 'temp_commandsmember' [-Wunused-variable] BUILDSTDERR: 3843 | commandsmember *temp_commandsmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_activeobjectlist': BUILDSTDERR: dbhandlers.c:4913:12: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 4913 | int rc, i, object_type, num_objs = 0, sz, first = 1; BUILDSTDERR: | ^ BUILDSTDERR: queue.c: In function 'log_retry': BUILDSTDERR: queue.c:85:11: warning: unused variable 'fp' [-Wunused-variable] BUILDSTDERR: 85 | FILE * fp; BUILDSTDERR: | ^~ BUILDSTDERR: queue.c: In function 'push_into_queue': BUILDSTDERR: queue.c:137:18: warning: unused variable 'delay' [-Wunused-variable] BUILDSTDERR: 137 | struct timespec delay; BUILDSTDERR: | ^~~~~ BUILDSTDERR: queue.c:134:6: warning: unused variable 'size' [-Wunused-variable] BUILDSTDERR: 134 | int size; BUILDSTDERR: | ^~~~ BUILDSTDERR: queue.c: In function 'get_queue_id': BUILDSTDERR: queue.c:63:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 63 | } BUILDSTDERR: | ^ BUILDSTDERR: queue.c: In function 'get_msgmni': BUILDSTDERR: queue.c:75:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 75 | fgets( buf, sizeof( buf), fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: queue.c: In function 'log_retry': BUILDSTDERR: queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] BUILDSTDERR: 89 | const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 117 | sprintf(logmsg, logfmt, curstats); BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from queue.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] BUILDSTDERR: 89 | const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 110 | sprintf(logmsg, logfmt, curstats); BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from queue.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] BUILDSTDERR: 89 | const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 101 | sprintf(logmsg, logfmt, curstats); BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from queue.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from queue.c:27: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'pop_from_queue' at queue.c:183:2: 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: queue.c: In function 'pop_from_queue': BUILDSTDERR: queue.c:181:13: note: length computed here BUILDSTDERR: 181 | int size = strlen(msg.text); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ndo2db.c: In function 'ndo2db_daemonize': BUILDSTDERR: ndo2db.c:719:4: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] BUILDSTDERR: 719 | asprintf(&msg,"Failed to obtain lock on file %s: %s\n", lock_file, strerror(errno)); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | vsprintf BUILDSTDERR: ndo2db.c: In function 'ndo2db_check_for_client_input': BUILDSTDERR: ndo2db.c:1276:15: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: 1276 | register int x; BUILDSTDERR: | ^ BUILDSTDERR: ndo2db.c:1275:8: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: 1275 | char *buf=NULL; BUILDSTDERR: | ^~~ BUILDSTDERR: ndo2db.c: In function 'ndo2db_add_input_data_item': BUILDSTDERR: ndo2db.c:1719:6: warning: variable 'mbuf_used' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1719 | int mbuf_used=NDO_TRUE; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/config.h:91, BUILDSTDERR: from ndo2db.c:33: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'ndo2db_wait_for_connections' at ndo2db.c:962:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_get_object_id': BUILDSTDERR: dbhandlers.c:98:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] BUILDSTDERR: 98 | if(asprintf(&buf1,"name1 IS NULL")==-1) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | vsprintf BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_processdata': BUILDSTDERR: dbhandlers.c:613:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 613 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_timedeventdata': BUILDSTDERR: dbhandlers.c:750:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 750 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_logdata': BUILDSTDERR: dbhandlers.c:944:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 944 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_systemcommanddata': BUILDSTDERR: dbhandlers.c:1013:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1013 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_eventhandlerdata': BUILDSTDERR: dbhandlers.c:1093:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1093 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_contactnotificationmethoddata': BUILDSTDERR: dbhandlers.c:1340:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1340 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_servicecheckdata': BUILDSTDERR: dbhandlers.c:1424:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1424 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_hostcheckdata': BUILDSTDERR: dbhandlers.c:1545:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1545 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_commentdata': BUILDSTDERR: dbhandlers.c:1664:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1664 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_downtimedata': BUILDSTDERR: dbhandlers.c:1825:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1825 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_flappingdata': BUILDSTDERR: dbhandlers.c:2038:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2038 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_programstatusdata': BUILDSTDERR: dbhandlers.c:2119:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2119 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_hoststatusdata': BUILDSTDERR: dbhandlers.c:2255:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2255 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_servicestatusdata': BUILDSTDERR: dbhandlers.c:2454:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2454 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_contactstatusdata': BUILDSTDERR: dbhandlers.c:2622:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2622 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_externalcommanddata': BUILDSTDERR: dbhandlers.c:2742:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2742 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_acknowledgementdata': BUILDSTDERR: dbhandlers.c:2816:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2816 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_statechangedata': BUILDSTDERR: dbhandlers.c:2897:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 2897 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_runtimevariables': BUILDSTDERR: dbhandlers.c:3086:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3086 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_configdumpstart': BUILDSTDERR: dbhandlers.c:3153:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 3153 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_hostdependencydefinition': BUILDSTDERR: dbhandlers.c:4007:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4007 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_servicedependencydefinition': BUILDSTDERR: dbhandlers.c:4075:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4075 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_commanddefinition': BUILDSTDERR: dbhandlers.c:4406:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 4406 | int result=NDO_OK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dbhandlers.c: In function 'ndo2db_handle_activeobjectlist': BUILDSTDERR: dbhandlers.c:4913:12: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 4913 | int rc, i, object_type, num_objs = 0, sz, first = 1; BUILDSTDERR: | ^ BUILDSTDERR: ndomod.c: In function 'ndomod_write_to_sink': BUILDSTDERR: ndomod.c:810:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] BUILDSTDERR: 810 | asprintf(&temp_buffer,"ndomod: Successfully reconnected to data sink! %lu items lost, %lu queued items to flush.",sinkbuf.overflow,sinkbuf.items); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | vsprintf BUILDSTDERR: ndomod.c: In function 'ndomod_broker_data_serialize': BUILDSTDERR: ndomod.c:1359:9: warning: unused variable 'bufused' [-Wunused-variable] BUILDSTDERR: 1359 | size_t bufused = 0; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ndomod.c: In function 'ndomod_broker_data': BUILDSTDERR: ndomod.c:1676:25: warning: unused variable 'temp_customvar' [-Wunused-variable] BUILDSTDERR: 1676 | customvariablesmember *temp_customvar=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:1628:9: warning: unused variable 'tbsize' [-Wunused-variable] BUILDSTDERR: 1628 | size_t tbsize = sizeof(temp_buffer); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ndomod.c: In function 'ndomod_write_active_objects': BUILDSTDERR: ndomod.c:3597:11: warning: unused variable 'i' [-Wunused-variable] BUILDSTDERR: 3597 | int i, obj_count; BUILDSTDERR: | ^ BUILDSTDERR: ndomod.c: In function 'ndomod_write_object_config': BUILDSTDERR: ndomod.c:3886:18: warning: unused variable 'temp_servicesmember' [-Wunused-variable] BUILDSTDERR: 3886 | servicesmember *temp_servicesmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3885:18: warning: unused variable 'temp_contactsmember' [-Wunused-variable] BUILDSTDERR: 3885 | contactsmember *temp_contactsmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3884:25: warning: unused variable 'temp_customvar' [-Wunused-variable] BUILDSTDERR: 3884 | customvariablesmember *temp_customvar=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3847:23: warning: unused variable 'temp_contactgroupsmember' [-Wunused-variable] BUILDSTDERR: 3847 | contactgroupsmember *temp_contactgroupsmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3846:15: warning: unused variable 'temp_hostsmember' [-Wunused-variable] BUILDSTDERR: 3846 | hostsmember *temp_hostsmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ndomod.c:3843:18: warning: unused variable 'temp_commandsmember' [-Wunused-variable] BUILDSTDERR: 3843 | commandsmember *temp_commandsmember=NULL; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ bles -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -o sockdebug sockdebug.c io.o utils.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm gcc -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndo2db-2x queue.c ndo2db.c dbhandlers-2x.o io.o utils.o db.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lm make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' make ndo2db-3x make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' gcc -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' make ndomod-3x.o make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' gcc -fPIC -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndomod-3x.o ndomod.c io.o utils.o -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndo2db-3x queue.c ndo2db.c dbhandlers-3x.o io.o utils.o db.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lm make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' make ndo2db-4x make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' gcc -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -I ../include/nagios-4x -D BUILD_NAGIOS_4X -c -o dbhandlers-4x.o dbhandlers.c make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' make ndomod-4x.o make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' gcc -fPIC -fPIC -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -I ../include/nagios-4x -D BUILD_NAGIOS_4X -o ndomod-4x.o ndomod.c io.o utils.o -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld BUILDSTDERR: gcc -fPIC -O2 -g -pipe -Walqueue.c: In function 'log_retry': BUILDSTDERR: queue.c:85:11: warning: unused variable 'fp' [-Wunused-variable] BUILDSTDERR: 85 | FILE * fp; BUILDSTDERR: | ^~ BUILDSTDERR: queue.c: In function 'push_into_queue': BUILDSTDERR: queue.c:137:18: warning: unused variable 'delay' [-Wunused-variable] BUILDSTDERR: 137 | struct timespec delay; BUILDSTDERR: | ^~~~~ BUILDSTDERR: queue.c:134:6: warning: unused variable 'size' [-Wunused-variable] BUILDSTDERR: 134 | int size; BUILDSTDERR: | ^~~~ BUILDSTDERR: queue.c: In function 'get_queue_id': BUILDSTDERR: queue.c:63:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 63 | } BUILDSTDERR: | ^ BUILDSTDERR: queue.c: In function 'get_msgmni': BUILDSTDERR: queue.c:75:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 75 | fgets( buf, sizeof( buf), fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: queue.c: In function 'log_retry': BUILDSTDERR: queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] BUILDSTDERR: 89 | const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 117 | sprintf(logmsg, logfmt, curstats); BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from queue.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] BUILDSTDERR: 89 | const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 110 | sprintf(logmsg, logfmt, curstats); BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from queue.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] BUILDSTDERR: 89 | const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; BUILDSTDERR: | ^~ BUILDSTDERR: ...... BUILDSTDERR: 101 | sprintf(logmsg, logfmt, curstats); BUILDSTDERR: | ~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from queue.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from queue.c:27: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'pop_from_queue' at queue.c:183:2: 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: queue.c: In function 'pop_from_queue': BUILDSTDERR: queue.c:181:13: note: length computed here BUILDSTDERR: 181 | int size = strlen(msg.text); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: ndo2db.c: In function 'ndo2db_daemonize': BUILDSTDERR: ndo2db.c:719:4: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] BUILDSTDERR: 719 | asprintf(&msg,"Failed to obtain lock on file %s: %s\n", lock_file, strerror(errno)); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | vsprintf BUILDSTDERR: ndo2db.c: In function 'ndo2db_check_for_client_input': BUILDSTDERR: ndo2db.c:1276:15: warning: unused variable 'x' [-Wunused-variable] BUILDSTDERR: 1276 | register int x; BUILDSTDERR: | ^ BUILDSTDERR: ndo2db.c:1275:8: warning: unused variable 'buf' [-Wunused-variable] BUILDSTDERR: 1275 | char *buf=NULL; BUILDSTDERR: | ^~~ BUILDSTDERR: ndo2db.c: In function 'ndo2db_add_input_data_item': BUILDSTDERR: ndo2db.c:1719:6: warning: variable 'mbuf_used' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 1719 | int mbuf_used=NDO_TRUE; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from ../include/config.h:91, BUILDSTDERR: from ndo2db.c:33: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'ndo2db_wait_for_connections' at ndo2db.c:962:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 108 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 l -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/include/mysql -I/usr/include/mysql/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_4X -o ndo2db-4x queue.c ndo2db.c dbhandlers-4x.o io.o utils.o db.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib64/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lm make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' make[1]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0Zk6Z7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64 + cd ndoutils-2.1.2 + cp /builddir/build/SOURCES/README.Fedora . + mkdir -p /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/var/log/nagios + mkdir -p /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/var/cache/ndoutils + mkdir -p /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/lib64/nagios/brokers + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64 'INSTALL=/usr/bin/install -p' + mv /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin/ndomod.o /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/lib64/nagios/brokers/ndomod.so + make install-config DESTDIR=/builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64 + mv /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/etc/nagios/ndo2db.cfg-sample /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/etc/nagios/ndo2db.cfg + mv /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/etc/nagios/ndomod.cfg-sample /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/etc/nagios/ndomod.cfg + find docs/html -name '*.*' -exec chmod 644 '{}' ';' + mkdir -p /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/lib/systemd/system + install -p -m 644 -D /builddir/build/SOURCES/ndo2db.service /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/lib/systemd/system/ndo2db.service + mkdir -p /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/run/ndoutils + install -p -m 644 -D /builddir/build/SOURCES/ndoutils.conf /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/lib/tmpfiles.d/ndoutils.conf + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.1.2-8.fc31 --unique-debug-suffix -2.1.2-8.fc31.riscv64 --unique-debug-src-base ndoutils-2.1.2-8.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ndoutils-2.1.2 BUILDSTDERR: 1286 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 cd ./src && /usr/bin/make install make[1]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' /usr/bin/install -p -m 775 -d /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/var /usr/bin/install -p -m 775 -d /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin /usr/bin/install -p -m 755 ndo2db-4x /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin/ndo2db /usr/bin/install -p -m 755 ndomod-4x.o /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin/ndomod.o /usr/bin/install -p -m 755 file2sock /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin /usr/bin/install -p -m 755 log2ndo /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin /usr/bin/install -p -m 755 sockdebug /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin Hint: NDOUtils Installation against Nagios v4.x completed. If you want to install NDOUtils for Nagios v3.x please type 'make install-3x If you want to install NDOUtils for Nagios v2.x please type 'make install-2x Next step should be the database initialization/upgrade cd into the db/ directory and either: ./installdb (for a new installation) or: ./upgradedb (for an existing one) make[1]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' Main NDOUtils components installed /usr/bin/install -c -m 775 -d /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/etc/nagios /usr/bin/install -c -m 775 -d /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/var /usr/bin/install -c -m 644 config/ndo2db.cfg-sample /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/etc/nagios /usr/bin/install -c -m 644 config/ndomod.cfg-sample /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/etc/nagios *** Config files installed *** Remember, these are *SAMPLE* config files. You'll need to rename the files in order to use them. Please read the documentation to know what they are doing. explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/lib64/nagios/brokers/ndomod.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin/log2ndo explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin/ndo2db explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin/file2sock extracting debug info from /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin/file2sock extracting debug info from /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/lib64/nagios/brokers/ndomod.so extracting debug info from /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin/log2ndo extracting debug info from /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin/ndo2db explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin/sockdebug extracting debug info from /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/sbin/sockdebug original debug info size: 880kB, size after compression: 756kB /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. Processing files: ndoutils-2.1.2-8.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pFdPp7 + umask 022 + cd /builddir/build/BUILD + cd ndoutils-2.1.2 + DOCDIR=/builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/doc/ndoutils + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/doc/ndoutils + cp -pr db /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/doc/ndoutils + cp -pr README.Fedora /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/doc/ndoutils + cp -pr Changelog /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/doc/ndoutils + cp -pr docs/html /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/doc/ndoutils + cp -pr README /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/doc/ndoutils + cp -pr REQUIREMENTS /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/doc/ndoutils + cp -pr TODO /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/doc/ndoutils + cp -pr UPGRADING /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/doc/ndoutils + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KeJR28 + umask 022 + cd /builddir/build/BUILD + cd ndoutils-2.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/licenses/ndoutils + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/licenses/ndoutils + cp -pr LICENSE /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64/usr/share/licenses/ndoutils + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(ndoutils) = 2.1.2-8.fc31 ndoutils = 2.1.2-8.fc31 ndoutils(riscv-64) = 2.1.2-8.fc31 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: ndoutils-debugsource-2.1.2-8.fc31.riscv64 Provides: ndoutils-debugsource = 2.1.2-8.fc31 ndoutils-debugsource(riscv-64) = 2.1.2-8.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ndoutils-debuginfo-2.1.2-8.fc31.riscv64 Provides: debuginfo(build-id) = 1565f672e73268de3269b857cf37fb501e21705b debuginfo(build-id) = 620ccc4fb759560766871a01c12040634b6799c0 debuginfo(build-id) = 9852a81e40f66a6f81f16966912cf27979cf6bb9 debuginfo(build-id) = b95f6917568b83ae305ab705cbafed608a51e7f2 debuginfo(build-id) = e213c62dbbb66ff322b44c5c6a840b6e400a8471 ndoutils-debuginfo = 2.1.2-8.fc31 ndoutils-debuginfo(riscv-64) = 2.1.2-8.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ndoutils-debugsource(riscv-64) = 2.1.2-8.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64 Wrote: /builddir/build/RPMS/ndoutils-debuginfo-2.1.2-8.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ndoutils-2.1.2-8.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ndoutils-debugsource-2.1.2-8.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Pafze8 + umask 022 + cd /builddir/build/BUILD + cd ndoutils-2.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ndoutils-2.1.2-8.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0