Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1444168 Details for
Bug 1583370
ndoutils: FTBFS in Fedora 28
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
build.log
build.log (text/plain), 59.51 KB, created by
Fedora Release Engineering
on 2018-05-28 22:05:07 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fedora Release Engineering
Created:
2018-05-28 22:05:07 UTC
Size:
59.51 KB
patch
obsolete
>Mock Version: 1.3.4 >Mock Version: 1.3.4 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ndoutils.spec'], chrootPath='/var/lib/mock/f29-build-12549933-917808/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xb5f60a50>timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/ndoutils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False >Building target platforms: armv7hl >Building for target armv7hl >Wrote: /builddir/build/SRPMS/ndoutils-2.1.2-6.fc29.src.rpm >Child return code was: 0 >ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ndoutils.spec'], chrootPath='/var/lib/mock/f29-build-12549933-917808/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xb5f60a50>timeout=172800uid=1000gid=425user='mockbuild'nspawn_args=[]printOutput=False) >Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ndoutils.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False >Building target platforms: armv7hl >Building for target armv7hl >Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xwZ42T >+ umask 022 >+ cd /builddir/build/BUILD >+ cd /builddir/build/BUILD >+ rm -rf ndoutils-2.1.2 >+ /usr/bin/gzip -dc /builddir/build/SOURCES/ndoutils-2.1.2.tar.gz >+ /usr/bin/tar -xof - >+ STATUS=0 >+ '[' 0 -ne 0 ']' >+ cd ndoutils-2.1.2 >+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . >+ echo 'Patch #0 (ndoutils-2.1.2-format-security.patch):' >Patch #0 (ndoutils-2.1.2-format-security.patch): >+ /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -p1 --fuzz=0 >patching file config/ndo2db.cfg-sample.in >patching file config/ndomod.cfg-sample.in >+ echo 'Patch #2 (ndoutils-2.1.2-install.patch):' >Patch #2 (ndoutils-2.1.2-install.patch): >+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 >patching file configure >patching file configure.ac >patching file Makefile.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.UU95NM >+ umask 022 >+ cd /builddir/build/BUILD >+ cd ndoutils-2.1.2 >+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' >+ export CFLAGS >+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard' >+ export CXXFLAGS >+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/lib/gfortran/modules' >+ export FFLAGS >+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/lib/gfortran/modules' >+ export FCFLAGS >+ LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' >+ export LDFLAGS >+ '[' 1 = 1 ']' >+++ dirname ./configure >++ find . -name config.guess -o -name config.sub >+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) >++ basename ./config.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 $(dirname ./configure) -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' >+ '[' 1 = 1 ']' >+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' >++ find . -name ltmain.sh >+ ./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... no >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 whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether gcc accepts -g... yes >checking for gcc option to accept ISO C89... none needed >checking whether make sets $(MAKE)... yes >checking what the operating system is ... linux >checking what the distribution type is ... fedora >checking what init system is being used ... ./configure: line 3818: ps: command not found >unknown >checking what inetd is being used ... ./configure: line 3951: ps: command not found >unknown >checking for which paths to use ... default >checking for which init file to use ... unknown >checking for which inetd files to use ... unknown >checking how to run the C preprocessor... gcc -E >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for ANSI C header files... yes >checking whether time.h and sys/time.h may both be included... yes >checking for sys/wait.h that is POSIX.1 compatible... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking arpa/inet.h usability... yes >checking arpa/inet.h presence... yes >checking for arpa/inet.h... yes >checking ctype.h usability... yes >checking ctype.h presence... yes >checking for ctype.h... yes >checking dirent.h usability... yes >checking dirent.h presence... yes >checking for dirent.h... yes >checking dlfcn.h usability... yes >checking dlfcn.h presence... yes >checking for dlfcn.h... yes >checking errno.h usability... yes >checking errno.h presence... yes >checking for errno.h... yes >checking fcntl.h usability... yes >checking fcntl.h presence... yes >checking for fcntl.h... yes >checking float.h usability... yes >checking float.h presence... yes >checking for float.h... yes >checking getopt.h usability... yes >checking getopt.h presence... yes >checking for getopt.h... yes >checking grp.h usability... yes >checking grp.h presence... yes >checking for grp.h... yes >checking for inttypes.h... (cached) yes >checking limits.h usability... yes >checking limits.h presence... yes >checking for limits.h... yes >checking ltdl.h usability... no >checking ltdl.h presence... no >checking for ltdl.h... no >checking math.h usability... yes >checking math.h presence... yes >checking for math.h... yes >checking netdb.h usability... yes >checking netdb.h presence... yes >checking for netdb.h... yes >checking netinet/in.h usability... yes >checking netinet/in.h presence... yes >checking for netinet/in.h... yes >checking pthread.h usability... yes >checking pthread.h presence... yes >checking for pthread.h... yes >checking pwd.h usability... yes >checking pwd.h presence... yes >checking for pwd.h... yes >checking regex.h usability... yes >checking regex.h presence... yes >checking for regex.h... yes >checking signal.h usability... yes >checking signal.h presence... yes >checking for signal.h... yes >checking socket.h usability... no >checking socket.h presence... no >checking for socket.h... no >checking stdarg.h usability... yes >checking stdarg.h presence... yes >checking for stdarg.h... yes >checking for stdint.h... (cached) yes >checking for string.h... (cached) yes >checking for strings.h... (cached) yes >checking sys/ipc.h usability... yes >checking sys/ipc.h presence... yes >checking for sys/ipc.h... yes >checking sys/mman.h usability... yes >checking sys/mman.h presence... yes >checking for sys/mman.h... yes >checking sys/msg.h usability... yes >checking sys/msg.h presence... yes >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 main in -lnsl... no >checking for socket in -lsocket... no >checking for main in -lwrap... no >checking for getopt_long... yes >checking for strdup... yes >checking for strstr... yes >checking for strtoul... yes >checking for initgroups... yes >checking for strtof... yes >checking for nanosleep... yes >checking for va_copy... yes >checking for snprintf... yes >checking for asprintf... yes >checking for type of socket size... size_t >checking for linker flags for loadable modules... -shared >checking for mysql_config... /usr/bin/mysql_config >checking for mysql_init in -lmysqlclient... yes >MySQL library and include file(s) were found! >checking for library containing sd_listen_fds... no >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating config/ndo2db.cfg-sample >config.status: creating config/ndomod.cfg-sample >config.status: creating config/nagios.cfg >config.status: creating config/misccommands.cfg >config.status: creating docs/docbook/en-en/Makefile >config.status: creating include/io.h >config.status: creating include/common.h >config.status: creating startup/bsd-init >config.status: creating startup/debian-init >config.status: creating startup/default-init >config.status: creating startup/default-inetd >config.status: creating startup/default-service >config.status: creating startup/default-socket >config.status: creating startup/default-socket-svc >config.status: creating startup/default-xinetd >config.status: creating startup/mac-init.plist >config.status: creating startup/mac-inetd.plist >config.status: creating startup/newbsd-init >config.status: creating startup/openbsd-init >config.status: creating startup/openrc-conf >config.status: creating startup/openrc-init >config.status: creating startup/solaris-init.xml >config.status: creating startup/solaris-inetd.xml >config.status: creating startup/tmpfile.conf >config.status: creating startup/upstart-init >config.status: creating startup/rh-upstart-init >config.status: creating include/config.h >configure: WARNING: unrecognized options: --disable-dependency-tracking >*** Configuration summary for ndoutils 2.1.2 11-14-2016 ***: > General Options: > ------------------------- > NDO2DB user: nagios > NDO2DB group: nagios > NDO2DB tcp port: 5668 >Review the options above for accuracy. If they look >okay, type 'make all' to compile the NDO utilities, >or type 'make' to get a list of make options. >+ make -j4 all >cd ./src && make >make[1]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >gcc -fPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -c -o io.o io.c >gcc -fPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -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.2/src' >make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >gcc -fPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -c -o io.o io.c >gcc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -c -o db.o db.c >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:166:6: warning: unused variable 'rc' [-Wunused-variable] > int rc=0; > ^~ >db.c: In function 'ndo2db_db_hello': >db.c:265:5: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-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) > ^~~~~~~~ > vsprintf >utils.c: In function 'my_rename': >utils.c:142:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(dest_fd,buffer,bytes_read); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >gcc -fPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -c -o io.o io.c >gcc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lm >gcc -fPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -c -o utils.o utils.c >gcc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c >io.c: In function 'ndo_sink_open': >io.c:166:6: warning: unused variable 'rc' [-Wunused-variable] > int rc=0; > ^~ >utils.c: In function 'my_rename': >utils.c:142:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] > write(dest_fd,buffer,bytes_read); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >utils.o: file not recognized: File truncated >collect2: error: ld returned 1 exit status >make[1]: *** [Makefile:65: file2sock] Error 1 >make[1]: *** Waiting for unfinished jobs.... >gcc -fPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld >dbhandlers.c: In function 'ndo2db_get_object_id': >dbhandlers.c:98:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > if(asprintf(&buf1,"name1 IS NULL")==-1) > ^~~~~~~~ > vsprintf >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; > ^ >ndomod.c: In function 'ndomod_write_to_sink': >ndomod.c:810:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&temp_buffer,"ndomod: Successfully reconnected to data sink! %lu items lost, %lu queued items to flush.",sinkbuf.overflow,sinkbuf.items); > ^~~~~~~~ > vsprintf >ndomod.c: In function 'ndomod_broker_data_serialize': >ndomod.c:1359:9: warning: unused variable 'bufused' [-Wunused-variable] > size_t bufused = 0; > ^~~~~~~ >ndomod.c: In function 'ndomod_broker_data': >ndomod.c:1628:9: warning: unused variable 'tbsize' [-Wunused-variable] > size_t tbsize = sizeof(temp_buffer); > ^~~~~~ >ndomod.c: In function 'ndomod_write_active_objects': >ndomod.c:3597: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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -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:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] > fgets( buf, sizeof( buf), fp); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c: In function 'log_retry': >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:117:29: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:861, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:110:29: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:861, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:101:28: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:861, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >ndo2db.c: In function 'ndo2db_daemonize': >ndo2db.c:719:4: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&msg,"Failed to obtain lock on file %s: %s\n", lock_file, strerror(errno)); > ^~~~~~~~ > vsprintf >ndo2db.c: In function 'ndo2db_check_for_client_input': >ndo2db.c:1276:15: warning: unused variable 'x' [-Wunused-variable] > register int x; > ^ >ndo2db.c:1275:8: warning: unused variable 'buf' [-Wunused-variable] > char *buf=NULL; > ^~~ >ndo2db.c: In function 'ndo2db_add_input_data_item': >ndo2db.c:1719: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.2/src' >make ndomod-3x.o >make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >gcc -fPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld >make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >make ndo2db-3x >make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >gcc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -I/usr/include/mysql -DHAVE_CONFIG_H -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c >ndomod.c: In function 'ndomod_write_to_sink': >ndomod.c:810:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&temp_buffer,"ndomod: Successfully reconnected to data sink! %lu items lost, %lu queued items to flush.",sinkbuf.overflow,sinkbuf.items); > ^~~~~~~~ > vsprintf >ndomod.c: In function 'ndomod_broker_data_serialize': >ndomod.c:1359:9: warning: unused variable 'bufused' [-Wunused-variable] > size_t bufused = 0; > ^~~~~~~ >ndomod.c: In function 'ndomod_broker_data': >ndomod.c:1676:25: warning: unused variable 'temp_customvar' [-Wunused-variable] > customvariablesmember *temp_customvar=NULL; > ^~~~~~~~~~~~~~ >ndomod.c:1628:9: warning: unused variable 'tbsize' [-Wunused-variable] > size_t tbsize = sizeof(temp_buffer); > ^~~~~~ >ndomod.c: In function 'ndomod_write_active_objects': >ndomod.c:3597:11: warning: unused variable 'i' [-Wunused-variable] > int i, obj_count; > ^ >dbhandlers.c: In function 'ndo2db_get_object_id': >dbhandlers.c:98:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > if(asprintf(&buf1,"name1 IS NULL")==-1) > ^~~~~~~~ > vsprintf >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_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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -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:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] > fgets( buf, sizeof( buf), fp); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c: In function 'log_retry': >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:117:29: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:861, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:110:29: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:861, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:101:28: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:861, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >ndo2db.c: In function 'ndo2db_daemonize': >ndo2db.c:719:4: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&msg,"Failed to obtain lock on file %s: %s\n", lock_file, strerror(errno)); > ^~~~~~~~ > vsprintf >ndo2db.c: In function 'ndo2db_check_for_client_input': >ndo2db.c:1276:15: warning: unused variable 'x' [-Wunused-variable] > register int x; > ^ >ndo2db.c:1275:8: warning: unused variable 'buf' [-Wunused-variable] > char *buf=NULL; > ^~~ >ndo2db.c: In function 'ndo2db_add_input_data_item': >ndo2db.c:1719: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.2/src' >make ndomod-4x.o >make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >gcc -fPIC -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld >ndomod.c: In function 'ndomod_write_to_sink': >ndomod.c:810:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&temp_buffer,"ndomod: Successfully reconnected to data sink! %lu items lost, %lu queued items to flush.",sinkbuf.overflow,sinkbuf.items); > ^~~~~~~~ > vsprintf >ndomod.c: In function 'ndomod_broker_data_serialize': >ndomod.c:1359:9: warning: unused variable 'bufused' [-Wunused-variable] > size_t bufused = 0; > ^~~~~~~ >ndomod.c: In function 'ndomod_broker_data': >ndomod.c:1676:25: warning: unused variable 'temp_customvar' [-Wunused-variable] > customvariablesmember *temp_customvar=NULL; > ^~~~~~~~~~~~~~ >ndomod.c:1628:9: warning: unused variable 'tbsize' [-Wunused-variable] > size_t tbsize = sizeof(temp_buffer); > ^~~~~~ >ndomod.c: In function 'ndomod_write_active_objects': >ndomod.c:3597: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.2/src' >make ndo2db-4x >make[2]: Entering directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >gcc -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -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:6: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > if(asprintf(&buf1,"name1 IS NULL")==-1) > ^~~~~~~~ > vsprintf >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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -I/usr/include/mysql -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 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -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:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] > fgets( buf, sizeof( buf), fp); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c: In function 'log_retry': >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:117:29: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:861, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:110:29: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:861, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >queue.c:89:164: warning: '%s' directive writing up to 1023 bytes into a region of size 885 [-Wformat-overflow=] > const char * logfmt = "Warning: Retrying message send. This can occur because you have too few messages allowed or too few total bytes allowed in message queues. %s See README for kernel tuning options.\n"; > ^~ >queue.c:101:28: > sprintf(logmsg, logfmt, curstats); > ~~~~~~~~ >In file included from /usr/include/stdio.h:861, > from queue.c:25: >/usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 179 and 1202 bytes into a destination of size 1024 > return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > __bos (__s), __fmt, __va_arg_pack ()); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >ndo2db.c: In function 'ndo2db_daemonize': >ndo2db.c:719:4: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] > asprintf(&msg,"Failed to obtain lock on file %s: %s\n", lock_file, strerror(errno)); > ^~~~~~~~ > vsprintf >ndo2db.c: In function 'ndo2db_check_for_client_input': >ndo2db.c:1276:15: warning: unused variable 'x' [-Wunused-variable] > register int x; > ^ >ndo2db.c:1275:8: warning: unused variable 'buf' [-Wunused-variable] > char *buf=NULL; > ^~~ >ndo2db.c: In function 'ndo2db_add_input_data_item': >ndo2db.c:1719: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.2/src' >make[2]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >make[1]: Leaving directory '/builddir/build/BUILD/ndoutils-2.1.2/src' >make: *** [Makefile:74: all] Error 2 >error: Bad exit status from /var/tmp/rpm-tmp.UU95NM (%build) >RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.UU95NM (%build) >Child return code was: 1 >EXCEPTION: [Error()] >Traceback (most recent call last): > File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 89, in trace > result = func(*args, **kw) > File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 582, in do > raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) >mockbuild.exception.Error: Command failed. See logs for output. > # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/ndoutils.spec
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1583370
:
1444166
| 1444168 |
1444169