Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ndoutils.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-0565b0707ed704cd8c8660522db0c47fe0a12ec9/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=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --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: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/ndoutils-2.0.0-11.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ndoutils.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-0565b0707ed704cd8c8660522db0c47fe0a12ec9/root'shell=Falseuid=995env={'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=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --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: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Kkj2kk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ndoutils-2.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/ndoutils-2.0.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ndoutils-2.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ndoutils-2.0.0-format-security.patch):' Patch #0 (ndoutils-2.0.0-format-security.patch): + /usr/bin/cat /builddir/build/SOURCES/ndoutils-2.0.0-format-security.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/queue.c + echo 'Patch #1 (ndoutils-2.0.0-var-files.patch):' Patch #1 (ndoutils-2.0.0-var-files.patch): + /usr/bin/cat /builddir/build/SOURCES/ndoutils-2.0.0-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.0.0-install.patch):' Patch #2 (ndoutils-2.0.0-install.patch): + /usr/bin/cat /builddir/build/SOURCES/ndoutils-2.0.0-install.patch + /usr/bin/patch -p1 --fuzz=0 patching file configure patching file configure.in patching file src/Makefile.in + chmod 644 db/installdb db/prepsql db/upgradedb + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eM4seO + umask 022 + cd /builddir/build/BUILD + cd ndoutils-2.0.0 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/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 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + 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' + 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' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --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... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking for armv7hl-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 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... 4 checking for uint32_t... yes checking for u_int32_t... yes checking for int32_t... yes checking for getopt_long... yes checking for main in -lnsl... yes checking for socket in -lsocket... no checking for main in -lwrap... no checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for strtof... 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! configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating docs/docbook/en-en/Makefile config.status: creating subst config.status: creating include/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking *** Configuration summary for ndoutils 2.0.0 02-28-2014 ***: General Options: ------------------------- NDO2DB user: nagios NDO2DB group: nagios Review the options above for accuracy. If they look okay, type 'make' to compile the NDO utilities. + make cd ./src && make make[1]: Entering directory `/builddir/build/BUILD/ndoutils-2.0.0/src' gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/mysql -DHAVE_CONFIG_H -c -o io.o io.c io.c: In function 'ndo_sink_open': io.c:150:6: warning: unused variable 'rc' [-Wunused-variable] int rc=0; ^ gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/mysql -DHAVE_CONFIG_H -c -o utils.o utils.c utils.c: In function 'my_rename': utils.c:130:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(dest_fd,buffer,bytes_read); ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/mysql -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -Wl,-z,relro -lm -lnsl gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/mysql -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -Wl,-z,relro -lm -lnsl make ndo2db-2x make[2]: Entering directory `/builddir/build/BUILD/ndoutils-2.0.0/src' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/mysql -DHAVE_CONFIG_H -c -o db.o db.c db.c: In function 'ndo2db_db_hello': db.c:303: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) ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c dbhandlers.c: In function 'ndo2db_get_object_id': dbhandlers.c:84: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:631: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:768: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:962: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:1031: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:1111: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:1374: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:1458: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:1579: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:1698: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:1859: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:2072: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:2153: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:2289: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:2488: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:2656: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:2776: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:2850: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:2931: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:3128: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:3195: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:4081: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:4149: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:4496:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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/lib/mysql -lmysqlclient -lpthread -lz -lm -lssl -lcrypto -ldl -lm queue.c: In function 'log_retry': queue.c:63:11: warning: unused variable 'fp' [-Wunused-variable] FILE * fp; ^ queue.c: In function 'push_into_queue': queue.c:137:8: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep((unsigned int)delay.tv_sec); ^ queue.c:112:6: warning: unused variable 'size' [-Wunused-variable] int size; ^ queue.c: In function 'get_queue_id': queue.c:41:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ queue.c: In function 'get_msgmni': queue.c:53: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:674: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:1194:15: warning: unused variable 'x' [-Wunused-variable] register int x; ^ ndo2db.c:1193:8: warning: unused variable 'buf' [-Wunused-variable] char *buf=NULL; ^ ndo2db.c: In function 'ndo2db_add_input_data_item': ndo2db.c:1635:6: warning: variable 'mbuf_used' set but not used [-Wunused-but-set-variable] int mbuf_used=NDO_TRUE; ^ ndo2db.c: In function 'ndo2db_daemonize': ndo2db.c:744:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(lockfile,0); ^ ndo2db.c:746:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(lockfile,buf,strlen(buf)); ^ make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-2.0.0/src' make ndo2db-3x make[2]: Entering directory `/builddir/build/BUILD/ndoutils-2.0.0/src' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c dbhandlers.c: In function 'ndo2db_get_object_id': dbhandlers.c:84: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:631: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:768: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:962: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:1031: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:1111: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:1374: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:1458: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:1579: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:1698: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:1859: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:2072: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:2153: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:2289: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:2488: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:2656: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:2776: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:2850: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:2931: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:3128: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:3195: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:4081: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:4149: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:4496:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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/lib/mysql -lmysqlclient -lpthread -lz -lm -lssl -lcrypto -ldl -lm queue.c: In function 'log_retry': queue.c:63:11: warning: unused variable 'fp' [-Wunused-variable] FILE * fp; ^ queue.c: In function 'push_into_queue': queue.c:137:8: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep((unsigned int)delay.tv_sec); ^ queue.c:112:6: warning: unused variable 'size' [-Wunused-variable] int size; ^ queue.c: In function 'get_queue_id': queue.c:41:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ queue.c: In function 'get_msgmni': queue.c:53: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:674: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:1194:15: warning: unused variable 'x' [-Wunused-variable] register int x; ^ ndo2db.c:1193:8: warning: unused variable 'buf' [-Wunused-variable] char *buf=NULL; ^ ndo2db.c: In function 'ndo2db_add_input_data_item': ndo2db.c:1635:6: warning: variable 'mbuf_used' set but not used [-Wunused-but-set-variable] int mbuf_used=NDO_TRUE; ^ ndo2db.c: In function 'ndo2db_daemonize': ndo2db.c:744:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(lockfile,0); ^ ndo2db.c:746:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(lockfile,buf,strlen(buf)); ^ make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-2.0.0/src' make ndo2db-4x make[2]: Entering directory `/builddir/build/BUILD/ndoutils-2.0.0/src' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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:84: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:631: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:768: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:962: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:1031: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:1111: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:1374: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:1458: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:1579: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:1698: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:1859: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:2072: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:2153: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:2289: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:2488: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:2656: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:2776: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:2850: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:2931: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:3128: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:3195: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:4081: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:4149: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:4496:6: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result=NDO_OK; ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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/lib/mysql -lmysqlclient -lpthread -lz -lm -lssl -lcrypto -ldl -lm queue.c: In function 'log_retry': queue.c:63:11: warning: unused variable 'fp' [-Wunused-variable] FILE * fp; ^ queue.c: In function 'push_into_queue': queue.c:137:8: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep((unsigned int)delay.tv_sec); ^ queue.c:112:6: warning: unused variable 'size' [-Wunused-variable] int size; ^ queue.c: In function 'get_queue_id': queue.c:41:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ queue.c: In function 'get_msgmni': queue.c:53: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:674: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:1194:15: warning: unused variable 'x' [-Wunused-variable] register int x; ^ ndo2db.c:1193:8: warning: unused variable 'buf' [-Wunused-variable] char *buf=NULL; ^ ndo2db.c: In function 'ndo2db_add_input_data_item': ndo2db.c:1635:6: warning: variable 'mbuf_used' set but not used [-Wunused-but-set-variable] int mbuf_used=NDO_TRUE; ^ ndo2db.c: In function 'ndo2db_daemonize': ndo2db.c:744:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(lockfile,0); ^ ndo2db.c:746:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(lockfile,buf,strlen(buf)); ^ make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-2.0.0/src' make ndomod-2x.o make[2]: Entering directory `/builddir/build/BUILD/ndoutils-2.0.0/src' gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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:778: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:1327:9: warning: unused variable 'bufused' [-Wunused-variable] size_t bufused = 0; ^ ndomod.c: In function 'ndomod_broker_data': ndomod.c:1596:9: warning: unused variable 'tbsize' [-Wunused-variable] size_t tbsize = sizeof(temp_buffer); ^ ndomod.c: In function 'ndomod_write_object_config': ndomod.c:3564:22: warning: unused variable 'temp_servicegroupmember' [-Wunused-variable] servicegroupmember *temp_servicegroupmember=NULL; ^ ndomod.c:3563:19: warning: unused variable 'temp_hostgroupmember' [-Wunused-variable] hostgroupmember *temp_hostgroupmember=NULL; ^ ndomod.c:3562:22: warning: unused variable 'temp_contactgroupmember' [-Wunused-variable] contactgroupmember *temp_contactgroupmember=NULL; ^ ndomod.c:3551:23: warning: unused variable 'temp_contactgroupsmember' [-Wunused-variable] contactgroupsmember *temp_contactgroupsmember=NULL; ^ ndomod.c:3550:15: warning: unused variable 'temp_hostsmember' [-Wunused-variable] hostsmember *temp_hostsmember=NULL; ^ ndomod.c:3547:18: warning: unused variable 'temp_commandsmember' [-Wunused-variable] commandsmember *temp_commandsmember=NULL; ^ make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-2.0.0/src' make ndomod-3x.o make[2]: Entering directory `/builddir/build/BUILD/ndoutils-2.0.0/src' gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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:778: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:1327:9: warning: unused variable 'bufused' [-Wunused-variable] size_t bufused = 0; ^ ndomod.c: In function 'ndomod_broker_data': ndomod.c:1640:25: warning: unused variable 'temp_customvar' [-Wunused-variable] customvariablesmember *temp_customvar=NULL; ^ ndomod.c:1596:9: warning: unused variable 'tbsize' [-Wunused-variable] size_t tbsize = sizeof(temp_buffer); ^ ndomod.c: In function 'ndomod_write_object_config': ndomod.c:3590:18: warning: unused variable 'temp_servicesmember' [-Wunused-variable] servicesmember *temp_servicesmember=NULL; ^ ndomod.c:3589:18: warning: unused variable 'temp_contactsmember' [-Wunused-variable] contactsmember *temp_contactsmember=NULL; ^ ndomod.c:3588:25: warning: unused variable 'temp_customvar' [-Wunused-variable] customvariablesmember *temp_customvar=NULL; ^ ndomod.c:3551:23: warning: unused variable 'temp_contactgroupsmember' [-Wunused-variable] contactgroupsmember *temp_contactgroupsmember=NULL; ^ ndomod.c:3550:15: warning: unused variable 'temp_hostsmember' [-Wunused-variable] hostsmember *temp_hostsmember=NULL; ^ ndomod.c:3547:18: warning: unused variable 'temp_commandsmember' [-Wunused-variable] commandsmember *temp_commandsmember=NULL; ^ make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-2.0.0/src' make ndomod-4x.o make[2]: Entering directory `/builddir/build/BUILD/ndoutils-2.0.0/src' gcc -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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:778: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:1327:9: warning: unused variable 'bufused' [-Wunused-variable] size_t bufused = 0; ^ ndomod.c: In function 'ndomod_broker_data': ndomod.c:1640:25: warning: unused variable 'temp_customvar' [-Wunused-variable] customvariablesmember *temp_customvar=NULL; ^ ndomod.c:1596:9: warning: unused variable 'tbsize' [-Wunused-variable] size_t tbsize = sizeof(temp_buffer); ^ ndomod.c: In function 'ndomod_write_object_config': ndomod.c:3590:18: warning: unused variable 'temp_servicesmember' [-Wunused-variable] servicesmember *temp_servicesmember=NULL; ^ ndomod.c:3589:18: warning: unused variable 'temp_contactsmember' [-Wunused-variable] contactsmember *temp_contactsmember=NULL; ^ ndomod.c:3588:25: warning: unused variable 'temp_customvar' [-Wunused-variable] customvariablesmember *temp_customvar=NULL; ^ ndomod.c:3551:23: warning: unused variable 'temp_contactgroupsmember' [-Wunused-variable] contactgroupsmember *temp_contactgroupsmember=NULL; ^ ndomod.c:3550:15: warning: unused variable 'temp_hostsmember' [-Wunused-variable] hostsmember *temp_hostsmember=NULL; ^ ndomod.c:3547:18: warning: unused variable 'temp_commandsmember' [-Wunused-variable] commandsmember *temp_commandsmember=NULL; ^ make[2]: Leaving directory `/builddir/build/BUILD/ndoutils-2.0.0/src' gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/include/mysql -DHAVE_CONFIG_H -o sockdebug sockdebug.c io.o utils.o -Wl,-z,relro -lm -lnsl make[1]: Leaving directory `/builddir/build/BUILD/ndoutils-2.0.0/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VCZKYz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm ++ dirname /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm + cd ndoutils-2.0.0 + rm -rf /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm + cp /builddir/build/SOURCES/README.Fedora /builddir/build/SOURCES/gpl-2.0.txt . + mkdir -p /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/var/log/nagios + mkdir -p /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/var/cache/ndoutils + mkdir -p /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/lib/nagios/brokers + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm cd ./src && /usr/bin/make install make[1]: Entering directory `/builddir/build/BUILD/ndoutils-2.0.0/src' /usr/bin/install -c -m 775 -d /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/sbin /usr/bin/install -c -m 755 ndo2db-4x /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/sbin/ndo2db /usr/bin/install -c -m 755 ndomod-4x.o /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/sbin/ndomod.o /usr/bin/install -c -m 755 file2sock /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/sbin /usr/bin/install -c -m 755 log2ndo /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/sbin /usr/bin/install -c -m 755 sockdebug /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/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.0.0/src' Main NDOUtils components installed + mv /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/sbin/ndomod.o /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/lib/nagios/brokers/ndomod.so + make install-config DESTDIR=/builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm /usr/bin/install -c -m 775 -d /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/etc/nagios /usr/bin/install -c -b -m 664 config/ndo2db.cfg-sample /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/etc/nagios /usr/bin/install -c -b -m 664 config/ndomod.cfg-sample /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/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-2.0.0-11.el7.arm/etc/nagios/ndo2db.cfg-sample /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/etc/nagios/ndo2db.cfg + mv /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/etc/nagios/ndomod.cfg-sample /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/etc/nagios/ndomod.cfg + find docs/html -name '*.*' -exec chmod 644 '{}' ';' + mkdir -p /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/lib/systemd/system + install -p -m 644 -D /builddir/build/SOURCES/ndo2db.service /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/lib/systemd/system/ndo2db.service + mkdir -p /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/run/ndoutils + install -p -m 644 -D /builddir/build/SOURCES/ndoutils.conf /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/lib/tmpfiles.d/ndoutils.conf + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/ndoutils-2.0.0 extracting debug info from /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/lib/nagios/brokers/ndomod.so extracting debug info from /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/sbin/log2ndo extracting debug info from /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/sbin/file2sock extracting debug info from /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/sbin/ndo2db extracting debug info from /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/sbin/sockdebug /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 1177 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /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-2.0.0-11.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Fe6Oo3 + umask 022 + cd /builddir/build/BUILD + cd ndoutils-2.0.0 + DOCDIR=/builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/share/doc/ndoutils-2.0.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/share/doc/ndoutils-2.0.0 + cp -pr db /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/share/doc/ndoutils-2.0.0 + cp -pr README.Fedora /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/share/doc/ndoutils-2.0.0 + cp -pr docs/html /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/share/doc/ndoutils-2.0.0 + cp -pr README /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/share/doc/ndoutils-2.0.0 + cp -pr REQUIREMENTS /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/share/doc/ndoutils-2.0.0 + cp -pr TODO /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/share/doc/ndoutils-2.0.0 + cp -pr UPGRADING /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/share/doc/ndoutils-2.0.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HD589B + umask 022 + cd /builddir/build/BUILD + cd ndoutils-2.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/share/licenses/ndoutils-2.0.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/share/licenses/ndoutils-2.0.0 + cp -pr gpl-2.0.txt /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm/usr/share/licenses/ndoutils-2.0.0 + exit 0 Provides: config(ndoutils) = 2.0.0-11.el7 ndoutils = 2.0.0-11.el7 ndoutils(armv7hl-32) = 2.0.0-11.el7 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-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.4) libcrypto.so.10 libdl.so.2 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libm.so.6 libm.so.6(GLIBC_2.4) libmysqlclient.so.18 libmysqlclient.so.18(libmysqlclient_18) libnsl.so.1 libpthread.so.0 libpthread.so.0(GLIBC_2.4) libssl.so.10 libz.so.1 rtld(GNU_HASH) Processing files: ndoutils-debuginfo-2.0.0-11.el7.armv7hl Provides: ndoutils-debuginfo = 2.0.0-11.el7 ndoutils-debuginfo(armv7hl-32) = 2.0.0-11.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm Wrote: /builddir/build/RPMS/ndoutils-2.0.0-11.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/ndoutils-debuginfo-2.0.0-11.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MXuYop + umask 022 + cd /builddir/build/BUILD + cd ndoutils-2.0.0 + rm -rf /builddir/build/BUILDROOT/ndoutils-2.0.0-11.el7.arm + exit 0 Child return code was: 0