Mock Version: 1.2.17 Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ndoutils.spec'], chrootPath='/var/lib/mock/hpc7-openhpc-13-el7-build-37379-51084/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=993) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ndoutils.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: arm64-01.rdu2.centos.org Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ndoutils.spec'], chrootPath='/var/lib/mock/hpc7-openhpc-13-el7-build-37379-51084/root'shell=Falseuid=993env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ndoutils.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8hDcrD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ndoutils-2.1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/ndoutils-2.1.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ndoutils-2.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ndoutils-2.1.2-format-security.patch):' Patch #0 (ndoutils-2.1.2-format-security.patch): + /usr/bin/cat /builddir/build/SOURCES/ndoutils-2.1.2-format-security.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/queue.c + echo 'Patch #1 (ndoutils-2.1.2-var-files.patch):' Patch #1 (ndoutils-2.1.2-var-files.patch): + /usr/bin/cat /builddir/build/SOURCES/ndoutils-2.1.2-var-files.patch + /usr/bin/patch -p1 --fuzz=0 patching file config/ndo2db.cfg-sample.in patching file config/ndomod.cfg-sample.in + echo 'Patch #2 (ndoutils-2.1.3-install.patch):' Patch #2 (ndoutils-2.1.3-install.patch): + /usr/bin/cat /builddir/build/SOURCES/ndoutils-2.1.3-install.patch + /usr/bin/patch -p1 --fuzz=0 patching file configure patching file configure.ac patching file Makefile.in + chmod 644 db/installdb db/prepsql db/upgradedb + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kHpAXc + umask 022 + cd /builddir/build/BUILD + cd ndoutils-2.1.3 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' aarch64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --bindir=/usr/sbin --sysconfdir=/etc/nagios configure: WARNING: unrecognized options: --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking for perl... /usr/bin/perl checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu checking for aarch64-redhat-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 ... rhel checking what init system is being used ... systemd checking what inetd is being used ... systemd checking for which paths to use ... default checking for which init file to use ... default-service checking for which inetd files to use ... default-socket 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 checking for sys/msg.h... 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... yes 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 configure: WARNING: unrecognized options: --disable-dependency-tracking *** Configuration summary for ndoutils 2.1.3 2017-04-13 ***: 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. + make -j8 all cd ./src && make make[1]: Entering directory `/builddir/build/BUILD/ndoutils-2.1.3/src' gcc -fPIC -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -c -o io.o io.c gcc -fPIC -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/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.3/src' gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -c -o db.o db.c make[2]: Entering directory `/builddir/build/BUILD/ndoutils-2.1.3/src' gcc -fPIC -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -c -o io.o io.c gcc -fPIC -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -c -o io.o io.c gcc -fPIC -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -c -o utils.o utils.c gcc -fPIC -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -c -o utils.o utils.c gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c utils.c: In function 'my_rename': utils.c:142:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(dest_fd,buffer,bytes_read); ^ db.c: In function 'ndo2db_db_hello': db.c:265:2: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] if(asprintf(&buf,"SELECT instance_id FROM %s WHERE instance_name='%s'",ndo2db_db_tablenames[NDO2DB_DBTABLE_INSTANCES],idi->instance_name)==-1) ^ io.c: In function 'ndo_sink_open': io.c:166:6: warning: unused variable 'rc' [-Wunused-variable] int rc=0; ^ io.c: In function 'ndo_sink_open': io.c: In function 'ndo_sink_open': io.c:166:6: warning: unused variable 'rc' [-Wunused-variable] int rc=0; ^ io.c:166:6: warning: unused variable 'rc' [-Wunused-variable] int rc=0; ^ utils.c: In function 'my_rename': utils.c:142:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(dest_fd,buffer,bytes_read); ^ dbhandlers.c: In function 'ndo2db_get_object_id': dbhandlers.c:98:3: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] if(asprintf(&buf1,"name1 IS NULL")==-1) ^ dbhandlers.c: In function 'ndo2db_handle_processdata': dbhandlers.c:613:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_timedeventdata': dbhandlers.c:750:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_logdata': dbhandlers.c:944:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_systemcommanddata': dbhandlers.c:1013:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_eventhandlerdata': dbhandlers.c:1093:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_contactnotificationmethoddata': dbhandlers.c:1340:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_servicecheckdata': dbhandlers.c:1424:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_hostcheckdata': dbhandlers.c:1545:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_commentdata': dbhandlers.c:1664:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_downtimedata': dbhandlers.c:1825:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_flappingdata': dbhandlers.c:2038:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_programstatusdata': dbhandlers.c:2119:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_hoststatusdata': dbhandlers.c:2255:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_servicestatusdata': dbhandlers.c:2454:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_contactstatusdata': dbhandlers.c:2622:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_externalcommanddata': dbhandlers.c:2742:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_acknowledgementdata': dbhandlers.c:2816:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_statechangedata': dbhandlers.c:2897:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_runtimevariables': dbhandlers.c:3086:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_configdumpstart': dbhandlers.c:3153:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_hostdependencydefinition': dbhandlers.c:4007:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_servicedependencydefinition': utils.c: In function 'my_rename': utils.c:142:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(dest_fd,buffer,bytes_read); ^ dbhandlers.c:4075:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_commanddefinition': dbhandlers.c:4406:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_activeobjectlist': dbhandlers.c:4913:12: warning: unused variable 'i' [-Wunused-variable] int rc, i, object_type, num_objs = 0, sz, first = 1; ^ gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -Wl,-z,relro -lm -lnsl gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -Wl,-z,relro -lm -lnsl gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -o sockdebug sockdebug.c io.o utils.o -Wl,-z,relro -lm -lnsl gcc -fPIC -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c io.o utils.o -shared -Wl,-z,relro -lnsl ndomod.c: In function 'ndomod_write_to_sink': ndomod.c:803:6: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] asprintf(&temp_buffer,"ndomod: Successfully reconnected to data sink! %lu items lost, %lu queued items to flush.",sinkbuf.overflow,sinkbuf.items); ^ ndomod.c: In function 'ndomod_broker_data_serialize': ndomod.c:1352:9: warning: unused variable 'bufused' [-Wunused-variable] size_t bufused = 0; ^ ndomod.c: In function 'ndomod_broker_data': ndomod.c:1621:9: warning: unused variable 'tbsize' [-Wunused-variable] size_t tbsize = sizeof(temp_buffer); ^ ndomod.c: In function 'ndomod_write_active_objects': ndomod.c:3590:11: warning: unused variable 'i' [-Wunused-variable] int i, obj_count; ^ ndomod.c: In function 'ndomod_write_object_config': ndomod.c:3860:22: warning: unused variable 'temp_servicegroupmember' [-Wunused-variable] servicegroupmember *temp_servicegroupmember=NULL; ^ ndomod.c:3859:19: warning: unused variable 'temp_hostgroupmember' [-Wunused-variable] hostgroupmember *temp_hostgroupmember=NULL; ^ ndomod.c:3858:22: warning: unused variable 'temp_contactgroupmember' [-Wunused-variable] contactgroupmember *temp_contactgroupmember=NULL; ^ ndomod.c:3847:23: warning: unused variable 'temp_contactgroupsmember' [-Wunused-variable] contactgroupsmember *temp_contactgroupsmember=NULL; ^ ndomod.c:3846:15: warning: unused variable 'temp_hostsmember' [-Wunused-variable] hostsmember *temp_hostsmember=NULL; ^ ndomod.c:3843:18: warning: unused variable 'temp_commandsmember' [-Wunused-variable] commandsmember *temp_commandsmember=NULL; ^ gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/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 -lnsl -L/usr/lib64/mysql -lmysqlclient -lpthread -lz -lm -lssl -lcrypto -ldl -lm queue.c: In function 'log_retry': queue.c:85:11: warning: unused variable 'fp' [-Wunused-variable] FILE * fp; ^ queue.c: In function 'push_into_queue': queue.c:137:18: warning: unused variable 'delay' [-Wunused-variable] struct timespec delay; ^ queue.c:134:6: warning: unused variable 'size' [-Wunused-variable] int size; ^ queue.c: In function 'get_queue_id': queue.c:63:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ queue.c: In function 'get_msgmni': queue.c:75:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( buf, sizeof( buf), fp); ^ ndo2db.c: In function 'ndo2db_daemonize': ndo2db.c:722:4: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] asprintf(&msg,"Failed to obtain lock on file %s: %s\n", lock_file, strerror(errno)); ^ ndo2db.c: In function 'ndo2db_check_for_client_input': ndo2db.c:1279:15: warning: unused variable 'x' [-Wunused-variable] register int x; ^ ndo2db.c:1278:8: warning: unused variable 'buf' [-Wunused-variable] char *buf=NULL; ^ ndo2db.c: In function 'ndo2db_add_input_data_item': ndo2db.c:1729:6: warning: variable 'mbuf_used' set but not used [-Wunused-but-set-variable] int mbuf_used=NDO_TRUE; ^ make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-2.1.3/src' make ndomod-3x.o make[2]: Entering directory `/builddir/build/BUILD/ndoutils-2.1.3/src' gcc -fPIC -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -o ndomod-3x.o ndomod.c io.o utils.o -shared -Wl,-z,relro -lnsl ndomod.c: In function 'ndomod_write_to_sink': ndomod.c:803:6: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] asprintf(&temp_buffer,"ndomod: Successfully reconnected to data sink! %lu items lost, %lu queued items to flush.",sinkbuf.overflow,sinkbuf.items); ^ ndomod.c: In function 'ndomod_broker_data_serialize': ndomod.c:1352:9: warning: unused variable 'bufused' [-Wunused-variable] size_t bufused = 0; ^ make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-2.1.3/src' make ndo2db-3x make[2]: Entering directory `/builddir/build/BUILD/ndoutils-2.1.3/src' gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c ndomod.c: In function 'ndomod_broker_data': ndomod.c:1669:25: warning: unused variable 'temp_customvar' [-Wunused-variable] customvariablesmember *temp_customvar=NULL; ^ ndomod.c:1621:9: warning: unused variable 'tbsize' [-Wunused-variable] size_t tbsize = sizeof(temp_buffer); ^ ndomod.c: In function 'ndomod_write_active_objects': ndomod.c:3590:11: warning: unused variable 'i' [-Wunused-variable] int i, obj_count; ^ ndomod.c: In function 'ndomod_write_object_config': ndomod.c:3886:18: warning: unused variable 'temp_servicesmember' [-Wunused-variable] servicesmember *temp_servicesmember=NULL; ^ ndomod.c:3885:18: warning: unused variable 'temp_contactsmember' [-Wunused-variable] contactsmember *temp_contactsmember=NULL; ^ ndomod.c:3884:25: warning: unused variable 'temp_customvar' [-Wunused-variable] customvariablesmember *temp_customvar=NULL; ^ ndomod.c:3847:23: warning: unused variable 'temp_contactgroupsmember' [-Wunused-variable] contactgroupsmember *temp_contactgroupsmember=NULL; ^ ndomod.c:3846:15: warning: unused variable 'temp_hostsmember' [-Wunused-variable] hostsmember *temp_hostsmember=NULL; ^ ndomod.c:3843:18: warning: unused variable 'temp_commandsmember' [-Wunused-variable] commandsmember *temp_commandsmember=NULL; ^ dbhandlers.c: In function 'ndo2db_get_object_id': dbhandlers.c:98:3: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] if(asprintf(&buf1,"name1 IS NULL")==-1) ^ dbhandlers.c: In function 'ndo2db_handle_processdata': dbhandlers.c:613:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_timedeventdata': dbhandlers.c:750:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_logdata': dbhandlers.c:944:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_systemcommanddata': dbhandlers.c:1013:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_eventhandlerdata': dbhandlers.c:1093:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_contactnotificationmethoddata': dbhandlers.c:1340:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_servicecheckdata': dbhandlers.c:1424:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_hostcheckdata': dbhandlers.c:1545:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_commentdata': dbhandlers.c:1664:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_downtimedata': dbhandlers.c:1825:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_flappingdata': dbhandlers.c:2038:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_programstatusdata': dbhandlers.c:2119:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_hoststatusdata': dbhandlers.c:2255:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_servicestatusdata': dbhandlers.c:2454:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_contactstatusdata': dbhandlers.c:2622:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_externalcommanddata': dbhandlers.c:2742:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_acknowledgementdata': dbhandlers.c:2816:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_statechangedata': dbhandlers.c:2897:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_runtimevariables': dbhandlers.c:3086:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_configdumpstart': dbhandlers.c:3153:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_hostdependencydefinition': dbhandlers.c:4007:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_servicedependencydefinition': dbhandlers.c:4075:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_commanddefinition': dbhandlers.c:4406:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_activeobjectlist': dbhandlers.c:4913:12: warning: unused variable 'i' [-Wunused-variable] int rc, i, object_type, num_objs = 0, sz, first = 1; ^ gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/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 -lnsl -L/usr/lib64/mysql -lmysqlclient -lpthread -lz -lm -lssl -lcrypto -ldl -lm queue.c: In function 'log_retry': queue.c:85:11: warning: unused variable 'fp' [-Wunused-variable] FILE * fp; ^ queue.c: In function 'push_into_queue': queue.c:137:18: warning: unused variable 'delay' [-Wunused-variable] struct timespec delay; ^ queue.c:134:6: warning: unused variable 'size' [-Wunused-variable] int size; ^ queue.c: In function 'get_queue_id': queue.c:63:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ queue.c: In function 'get_msgmni': queue.c:75:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( buf, sizeof( buf), fp); ^ ndo2db.c: In function 'ndo2db_daemonize': ndo2db.c:722:4: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] asprintf(&msg,"Failed to obtain lock on file %s: %s\n", lock_file, strerror(errno)); ^ ndo2db.c: In function 'ndo2db_check_for_client_input': ndo2db.c:1279:15: warning: unused variable 'x' [-Wunused-variable] register int x; ^ ndo2db.c:1278:8: warning: unused variable 'buf' [-Wunused-variable] char *buf=NULL; ^ ndo2db.c: In function 'ndo2db_add_input_data_item': ndo2db.c:1729:6: warning: variable 'mbuf_used' set but not used [-Wunused-but-set-variable] int mbuf_used=NDO_TRUE; ^ make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-2.1.3/src' make ndomod-4x.o make[2]: Entering directory `/builddir/build/BUILD/ndoutils-2.1.3/src' gcc -fPIC -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/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 -lnsl ndomod.c: In function 'ndomod_write_to_sink': ndomod.c:803:6: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] asprintf(&temp_buffer,"ndomod: Successfully reconnected to data sink! %lu items lost, %lu queued items to flush.",sinkbuf.overflow,sinkbuf.items); ^ ndomod.c: In function 'ndomod_broker_data_serialize': ndomod.c:1352:9: warning: unused variable 'bufused' [-Wunused-variable] size_t bufused = 0; ^ ndomod.c: In function 'ndomod_broker_data': ndomod.c:1669:25: warning: unused variable 'temp_customvar' [-Wunused-variable] customvariablesmember *temp_customvar=NULL; ^ ndomod.c:1621:9: warning: unused variable 'tbsize' [-Wunused-variable] size_t tbsize = sizeof(temp_buffer); ^ ndomod.c: In function 'ndomod_write_active_objects': ndomod.c:3590:11: warning: unused variable 'i' [-Wunused-variable] int i, obj_count; ^ ndomod.c: In function 'ndomod_write_object_config': ndomod.c:3886:18: warning: unused variable 'temp_servicesmember' [-Wunused-variable] servicesmember *temp_servicesmember=NULL; ^ ndomod.c:3885:18: warning: unused variable 'temp_contactsmember' [-Wunused-variable] contactsmember *temp_contactsmember=NULL; ^ ndomod.c:3884:25: warning: unused variable 'temp_customvar' [-Wunused-variable] customvariablesmember *temp_customvar=NULL; ^ ndomod.c:3847:23: warning: unused variable 'temp_contactgroupsmember' [-Wunused-variable] contactgroupsmember *temp_contactgroupsmember=NULL; ^ ndomod.c:3846:15: warning: unused variable 'temp_hostsmember' [-Wunused-variable] hostsmember *temp_hostsmember=NULL; ^ ndomod.c:3843:18: warning: unused variable 'temp_commandsmember' [-Wunused-variable] commandsmember *temp_commandsmember=NULL; ^ make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-2.1.3/src' make ndo2db-4x make[2]: Entering directory `/builddir/build/BUILD/ndoutils-2.1.3/src' gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/mysql -DHAVE_CONFIG_H -I ../include/nagios-4x -D BUILD_NAGIOS_4X -c -o dbhandlers-4x.o dbhandlers.c dbhandlers.c: In function 'ndo2db_get_object_id': dbhandlers.c:98:3: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] if(asprintf(&buf1,"name1 IS NULL")==-1) ^ dbhandlers.c: In function 'ndo2db_handle_processdata': dbhandlers.c:613:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_timedeventdata': dbhandlers.c:750:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_logdata': dbhandlers.c:944:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_systemcommanddata': dbhandlers.c:1013:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_eventhandlerdata': dbhandlers.c:1093:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_contactnotificationmethoddata': dbhandlers.c:1340:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_servicecheckdata': dbhandlers.c:1424:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_hostcheckdata': dbhandlers.c:1545:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_commentdata': dbhandlers.c:1664:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_downtimedata': dbhandlers.c:1825:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_flappingdata': dbhandlers.c:2038:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_programstatusdata': dbhandlers.c:2119:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_hoststatusdata': dbhandlers.c:2255:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_servicestatusdata': dbhandlers.c:2454:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_contactstatusdata': dbhandlers.c:2622:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_externalcommanddata': dbhandlers.c:2742:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_acknowledgementdata': dbhandlers.c:2816:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_statechangedata': dbhandlers.c:2897:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_runtimevariables': dbhandlers.c:3086:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_configdumpstart': dbhandlers.c:3153:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_hostdependencydefinition': dbhandlers.c:4007:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_servicedependencydefinition': dbhandlers.c:4075:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_commanddefinition': dbhandlers.c:4406:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ dbhandlers.c: In function 'ndo2db_handle_activeobjectlist': dbhandlers.c:4913:12: warning: unused variable 'i' [-Wunused-variable] int rc, i, object_type, num_objs = 0, sz, first = 1; ^ gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/include/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 -lnsl -L/usr/lib64/mysql -lmysqlclient -lpthread -lz -lm -lssl -lcrypto -ldl -lm queue.c: In function 'log_retry': queue.c:85:11: warning: unused variable 'fp' [-Wunused-variable] FILE * fp; ^ queue.c: In function 'push_into_queue': queue.c:137:18: warning: unused variable 'delay' [-Wunused-variable] struct timespec delay; ^ queue.c:134:6: warning: unused variable 'size' [-Wunused-variable] int size; ^ queue.c: In function 'get_queue_id': queue.c:63:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ queue.c: In function 'get_msgmni': queue.c:75:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( buf, sizeof( buf), fp); ^ ndo2db.c: In function 'ndo2db_daemonize': ndo2db.c:722:4: warning: implicit declaration of function 'asprintf' [-Wimplicit-function-declaration] asprintf(&msg,"Failed to obtain lock on file %s: %s\n", lock_file, strerror(errno)); ^ ndo2db.c: In function 'ndo2db_check_for_client_input': ndo2db.c:1279:15: warning: unused variable 'x' [-Wunused-variable] register int x; ^ ndo2db.c:1278:8: warning: unused variable 'buf' [-Wunused-variable] char *buf=NULL; ^ ndo2db.c: In function 'ndo2db_add_input_data_item': ndo2db.c:1729:6: warning: variable 'mbuf_used' set but not used [-Wunused-but-set-variable] int mbuf_used=NDO_TRUE; ^ make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-2.1.3/src' make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-2.1.3/src' make[1]: Leaving directory `/builddir/build/BUILD/ndoutils-2.1.3/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3rquyy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64 ++ dirname /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64 + cd ndoutils-2.1.3 + rm -rf /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64 + cp /builddir/build/SOURCES/README.Fedora /builddir/build/SOURCES/gpl-2.0.txt . + mkdir -p /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/var/log/nagios + mkdir -p /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/var/cache/ndoutils + mkdir -p /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/usr/lib64/nagios/brokers + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64 cd ./src && /usr/bin/make install make[1]: Entering directory `/builddir/build/BUILD/ndoutils-2.1.3/src' /usr/bin/install -c -m 775 -d /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/var /usr/bin/install -c -m 775 -d /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/usr/sbin /usr/bin/install -c -m 755 ndo2db-4x /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/usr/sbin/ndo2db /usr/bin/install -c -m 755 ndomod-4x.o /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/usr/sbin/ndomod.o /usr/bin/install -c -m 774 file2sock /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/usr/sbin /usr/bin/install -c -m 774 log2ndo /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/usr/sbin /usr/bin/install -c -m 774 sockdebug /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/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.3/src' Main NDOUtils components installed + mv /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/usr/sbin/ndomod.o /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/usr/lib64/nagios/brokers/ndomod.so + make install-config DESTDIR=/builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64 /usr/bin/install -c -m 775 -d /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/etc/nagios /usr/bin/install -c -m 775 -d /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/var /usr/bin/install -c -m 644 config/ndo2db.cfg-sample /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/etc/nagios /usr/bin/install -c -m 644 config/ndomod.cfg-sample /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/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. + mv /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/etc/nagios/ndo2db.cfg-sample /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/etc/nagios/ndo2db.cfg + mv /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/etc/nagios/ndomod.cfg-sample /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/etc/nagios/ndomod.cfg + find docs/html -name '*.*' -exec chmod 644 '{}' ';' + mkdir -p /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/usr/lib/systemd/system + install -p -m 644 -D /builddir/build/SOURCES/ndo2db.service /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/usr/lib/systemd/system/ndo2db.service + install -p -m 644 -D /builddir/build/SOURCES/ndoutils.conf /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/usr/lib/tmpfiles.d/ndoutils.conf + mkdir -p /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/var/run/ndoutils + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QMq7M8 + umask 022 + cd /builddir/build/BUILD + cd ndoutils-2.1.3 + DOCDIR=/builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/opt/ohpc/pub/doc/contrib/ndoutils-ohpc-2.1.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/opt/ohpc/pub/doc/contrib/ndoutils-ohpc-2.1.3 + cp -pr db /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/opt/ohpc/pub/doc/contrib/ndoutils-ohpc-2.1.3 + cp -pr README.Fedora /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/opt/ohpc/pub/doc/contrib/ndoutils-ohpc-2.1.3 + cp -pr gpl-2.0.txt /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/opt/ohpc/pub/doc/contrib/ndoutils-ohpc-2.1.3 + cp -pr docs/html /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/opt/ohpc/pub/doc/contrib/ndoutils-ohpc-2.1.3 + cp -pr README /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/opt/ohpc/pub/doc/contrib/ndoutils-ohpc-2.1.3 + cp -pr REQUIREMENTS /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/opt/ohpc/pub/doc/contrib/ndoutils-ohpc-2.1.3 + cp -pr TODO /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/opt/ohpc/pub/doc/contrib/ndoutils-ohpc-2.1.3 + cp -pr UPGRADING /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64/opt/ohpc/pub/doc/contrib/ndoutils-ohpc-2.1.3 + exit 0 Provides: config(ndoutils-ohpc) = 2.1.3-7.ohpc.0.4.1.3.3 ndoutils ndoutils-ohpc = 2.1.3-7.ohpc.0.4.1.3.3 ndoutils-ohpc(aarch-64) = 2.1.3-7.ohpc.0.4.1.3.3 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcrypto.so.10()(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libmysqlclient.so.18()(64bit) libmysqlclient.so.18(libmysqlclient_18)(64bit) libnsl.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(64bit) libssl.so.10()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64 Wrote: /builddir/build/RPMS/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0bK213 + umask 022 + cd /builddir/build/BUILD + cd ndoutils-2.1.3 + rm -rf /builddir/build/BUILDROOT/ndoutils-ohpc-2.1.3-7.ohpc.0.4.1.3.3.aarch64 + exit 0 Child return code was: 0