request from: hawk checking if we should skip the build started at: Wed Jul 22 17:53:53 2015 fetching http://kraz.tld-linux.org/~buildertidev//srpms/195dd2e3-23fc-44f9-b501-073ca67495c5/nagios-4.0.8-3.src.rpm fetched 1841722 bytes, 638.6 K/s installing srpm: nagios-4.0.8-3.src.rpm mesg: ttyname failed: Inappropriate ioctl for device mesg: ttyname failed: Inappropriate ioctl for device mesg: ttyname failed: Inappropriate ioctl for device Building target platforms: i686-pld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR no BR needed building RPM using: echo build-id: 195dd2e3-23fc-44f9-b501-073ca67495c5; cd rpm/SPECS; TMPDIR=/tmp/B.568243 exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j4' --target i686-pld-linux nagios.spec mesg: ttyname failed: Inappropriate ioctl for device build-id: 195dd2e3-23fc-44f9-b501-073ca67495c5 Building target platforms: i686-pld-linux Executing(%prep): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.568243 /bin/sh -e /tmp/B.568243/rpm-tmp.74416 + umask 022 + cd /home/users/builder/rpm/BUILD + cd /home/users/builder/rpm/BUILD + rm -rf nagios-4.0.8 + /bin/mkdir -p nagios-4.0.8 + cd nagios-4.0.8 + tar -xf - + /usr/bin/gzip -dc /home/users/builder/rpm/SOURCES/nagios-4.0.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/bzip2 -dc /home/users/builder/rpm/SOURCES/nagios-config-20090914.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /bin/id -u + '[' 10001 '=' 0 ']' + true . + /bin/chmod -Rf -Rf a+rX,u+w,g-w,o-w . + mv nagios-4.0.8/Changelog nagios-4.0.8/INSTALLING nagios-4.0.8/LEGAL nagios-4.0.8/LICENSE nagios-4.0.8/Makefile.in nagios-4.0.8/README nagios-4.0.8/README.asciidoc nagios-4.0.8/THANKS nagios-4.0.8/UPGRADING nagios-4.0.8/base nagios-4.0.8/cgi nagios-4.0.8/common nagios-4.0.8/config.guess nagios-4.0.8/config.sub nagios-4.0.8/configure nagios-4.0.8/configure.in nagios-4.0.8/contrib nagios-4.0.8/daemon-init.in nagios-4.0.8/docs nagios-4.0.8/doxy.conf nagios-4.0.8/functions nagios-4.0.8/html nagios-4.0.8/include nagios-4.0.8/indent-all.sh nagios-4.0.8/indent.sh nagios-4.0.8/install-sh nagios-4.0.8/lib nagios-4.0.8/make-tarball nagios-4.0.8/mkpackage nagios-4.0.8/module nagios-4.0.8/nagios.spec nagios-4.0.8/nagios.sysconfig nagios-4.0.8/pkginfo.in nagios-4.0.8/sample-config nagios-4.0.8/subst.in nagios-4.0.8/t nagios-4.0.8/t-tap nagios-4.0.8/tap nagios-4.0.8/test nagios-4.0.8/update-version nagios-4.0.8/worker nagios-4.0.8/xdata . + /bin/sed -i -e 's,\r$,,' cgi/archivejson.c cgi/archiveutils.c cgi/avail.c cgi/cgiauth.c cgi/cgiutils.c cgi/cmd.c cgi/config.c cgi/extcmd_list.c cgi/extinfo.c cgi/getcgi.c cgi/histogram.c cgi/history.c cgi/jsonutils.c cgi/notifications.c cgi/objectjson.c cgi/outages.c cgi/showlog.c cgi/status.c cgi/statusjson.c cgi/statusmap.c cgi/statuswml.c cgi/statuswrl.c cgi/summary.c cgi/tac.c cgi/trends.c + /bin/sed -i -e 's,\r$,,' include/archivejson.h include/archiveutils.h include/broker.h include/cgiauth.h include/cgiutils.h include/comments.h include/common.h include/defaults.h include/downtime.h include/getcgi.h include/jsonutils.h include/logging.h include/macros.h include/nagios.h include/nebcallbacks.h include/neberrors.h include/nebmods.h include/nebmodules.h include/nebstructs.h include/netutils.h include/objectjson.h include/objects.h include/perfdata.h include/shared.h include/sretention.h include/statusdata.h include/statusjson.h include/workers.h + /bin/sed -i -e 's,\r$,,' base/Makefile.in base/broker.c base/checks.c base/commands.c base/config.c base/events.c base/flapping.c base/logging.c base/nagios.c base/nagiostats.c base/nebmods.c base/nerd.c base/netutils.c base/notifications.c base/perfdata.c base/query-handler.c base/sehandlers.c base/sretention.c base/utils.c base/workers.c base/wp-phash.c base/wpres-phash.h base/wpres.gperf + echo 'Patch #0 (nagios-resources.patch):' Patch #0 (nagios-resources.patch): + apache.conf + sed -e s,/usr/lib/,/usr/lib/, /home/users/builder/rpm/SOURCES/nagios-apache.conf + >lighttpd.conf + sed -e s,/usr/lib/,/usr/lib/, /home/users/builder/rpm/SOURCES/nagios-lighttpd.conf + /bin/sed -i -e $'\n\t# kill trailing spaces\n\ts, \\+$,,\n\t# use real paths\n\ts,/usr/local/nagios/share,@datadir@,g\n\t# we want all authorized users have default access\n\ts,=nagiosadmin,=*,g\n' sample-config/cgi.cfg.in sample-config/mrtg.cfg.in sample-config/nagios.cfg.in sample-config/resource.cfg.in + exit 0 Executing(%build): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.568243 /bin/sh -e /tmp/B.568243/rpm-tmp.74416 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.568243 + umask 022 + cd /home/users/builder/rpm/BUILD + cd nagios-4.0.8 + cp -f /usr/share/automake/config.sub . + aclocal aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' + autoconf + ./configure 'LDFLAGS=-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' 'CFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 ' 'CXXFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 ' 'FFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 ' 'FCFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 ' 'CPPFLAGS=' 'CC=i686-tld-linux-gcc' 'CXX=i686-tld-linux-g++' '--host=i686-tld-linux' '--build=i686-tld-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc/nagios' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib/nagios' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--x-libraries=/usr/lib' 'CFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 ' '--bindir=/usr/sbin' '--sbindir=/usr/lib/nagios/cgi' '--datadir=/usr/share/nagios' '--with-nagios-user=nagios' '--with-nagios-grp=nagios' '--with-command-user=nagios' '--with-command-grp=nagios' '--with-lockfile=/var/lib/nagios/nagios.pid' '--with-checkresult-dir=/var/spool/nagios/checkresults' '--with-ping_command=/bin/ping -n %s -c %d' --enable-event-broker checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-tld-linux-gnu checking host system type... i686-tld-linux-gnu checking for i686-tld-linux-gcc... i686-tld-linux-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 i686-tld-linux-gcc accepts -g... yes checking for i686-tld-linux-gcc option to accept ISO C89... none needed checking whether make sets $(MAKE)... yes checking for strip... /usr/bin/strip checking how to run the C preprocessor... i686-tld-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /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 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 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 libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes 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 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 string.h... (cached) yes checking for strings.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) 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/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.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 syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking for unistd.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.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 struct tm.tm_zone... yes 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 for va_copy... yes checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for vasprintf... yes checking for C99 vsnprintf... yes checking for library containing getservbyname... none required checking for library containing connect... none required checking for initgroups... yes checking for setenv... yes checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for unsetenv... yes checking for type of socket size... size_t checking for library containing nanosleep... none required checking for mail... no checking for glibc at least version 2.4... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for iconv... yes checking for gdImagePng in -lgd (order 1)... yes GD library was found! checking for gdImageCreateTrueColor in -lgd... yes checking ltdl.h usability... yes checking ltdl.h presence... yes checking for ltdl.h... yes checking for lt_dlinit in -lltdl... yes checking for extra flags needed to export symbols... -Wl,-export-dynamic checking for linker flags for loadable modules... -shared checking for traceroute... no checking for type va_list... yes checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating subst config.status: creating pkginfo config.status: creating base/Makefile config.status: creating common/Makefile config.status: creating contrib/Makefile config.status: creating cgi/Makefile config.status: creating html/Makefile config.status: creating module/Makefile config.status: creating worker/Makefile config.status: creating worker/ping/Makefile config.status: creating xdata/Makefile config.status: creating daemon-init config.status: creating t/Makefile config.status: creating t-tap/Makefile config.status: creating include/config.h config.status: creating lib/snprintf.h config.status: creating lib/iobroker.h Creating sample config files in sample-config/ ... *** Configuration summary for nagios 4.0.8 08-12-2014 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Event Broker: yes Install ${prefix}: /usr Install ${includedir}: /usr/include/nagios Lock file: /var/lib/nagios/nagios.pid Check result directory: /var/spool/nagios/checkresults Init directory: /etc/rc.d/init.d Apache conf.d directory: /etc/httpd/conf.d Mail program: /bin/mail Host OS: linux-gnu IOBroker Method: epoll Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. + /usr/bin/make -j4 all cd ./base && /usr/bin/make make[1]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/base' i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o nagios.o nagios.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o nebmods.o nebmods.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o ../common/shared.o ../common/shared.c nagios.c: In function 'main': nagios.c:583:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_PROCESSSTARTTIME], "%lu", (unsigned long)program_start); ^ nagios.c:798:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_EVENTSTARTTIME], "%lu", (unsigned long)event_start); ^ nagios.c: In function 'nagios_core_worker': nagios.c:176:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(sd, response + 3, sizeof(response) - 4); ^ nagios.c: In function 'test_path_access': nagios.c:122:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&path, "%s/%s", p, program); ^ nebmods.c: In function 'neb_add_core_module': nebmods.c:109:21: warning: assignment from incompatible pointer type [enabled by default] mod->module_handle = mod; ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o nerd.o nerd.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o query-handler.o query-handler.c gperf -S 1 -t -H wpres_key_phash -N wpres_get_key wpres.gperf > wpres-phash.h i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c nerd.c: In function 'chan_opath_checks': nerd.c:340:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf, "%lu|%s|M|%s/%s|%06X\n", cr->finish_time.tv_sec, ^ query-handler.c: In function 'qh_echo': query-handler.c:32:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(sd, buf, len); ^ checks.c: In function 'get_service_check_return_code': checks.c:347:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_service->plugin_output, "(Service check timed out after %.2lf seconds)", temp_service->execution_time); ^ checks.c:373:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_plugin_output, "\x73\x6f\x69\x67\x61\x6e\x20\x74\x68\x67\x69\x72\x79\x70\x6f\x63\x20\x6e\x61\x68\x74\x65\x20\x64\x61\x74\x73\x6c\x61\x67"); ^ checks.c:375:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_service->plugin_output, "(Return code of %d is out of bounds%s)", queued_check_result->return_code, (queued_check_result->return_code == 126 ? " - plugin may not be executable" : (queued_check_result->return_code == 127 ? " - plugin may be missing" : ""))); ^ checks.c: In function 'get_host_check_return_code': checks.c:2178:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_host->plugin_output, "(Host check timed out after %.2lf seconds)", temp_host->execution_time); ^ checks.c:2205:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_host->plugin_output, "(Return code of %d is out of bounds%s)", queued_check_result->return_code, (queued_check_result->return_code == 126 || queued_check_result->return_code == 127) ? " - plugin may be missing" : ""); ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o events.o events.c config.c: In function 'read_main_config_file': config.c:140:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "NULL variable"); ^ config.c:145:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "malloc() error"); ^ config.c:152:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "NULL value"); ^ config.c:157:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "malloc() error"); ^ config.c:189:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Log file is too long"); ^ config.c:208:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Debug log file is too long"); ^ config.c:223:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Command file is too long"); ^ config.c:248:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Check result path is too long"); ^ config.c:260:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Check result path '%s' is not a valid directory", check_result_path); ^ config.c:274:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Lock file is too long"); ^ config.c:330:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for use_syslog"); ^ config.c:341:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for log_notifications"); ^ config.c:352:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for log_service_retries"); ^ config.c:363:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for log_host_retries"); ^ config.c:374:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for log_event_handlers"); ^ config.c:385:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for log_external_commands"); ^ config.c:396:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for log_passive_checks"); ^ config.c:407:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for log_initial_states"); ^ config.c:418:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for log_current_states"); ^ config.c:429:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for retain_state_information"); ^ config.c:441:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for retention_update_interval"); ^ config.c:450:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for use_retained_program_state"); ^ config.c:461:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for use_retained_scheduling_info"); ^ config.c:474:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for retention_scheduling_horizon"); ^ config.c:504:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for obsess_over_services"); ^ config.c:515:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for obsess_over_hosts"); ^ config.c:526:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for translate_passive_host_checks"); ^ config.c:542:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for service_check_timeout"); ^ config.c:560:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message,"Illegal value for service_check_timeout_state"); ^ config.c:571:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for host_check_timeout"); ^ config.c:582:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for event_handler_timeout"); ^ config.c:593:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for notification_timeout"); ^ config.c:604:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for ocsp_timeout"); ^ config.c:615:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for ochp_timeout"); ^ config.c:624:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for use_aggressive_host_checking"); ^ config.c:646:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for soft_state_dependencies"); ^ config.c:666:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for log_rotation_method"); ^ config.c:675:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Log archive path too long"); ^ config.c:713:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for service_inter_check_delay_method"); ^ config.c:724:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for max_service_check_spread"); ^ config.c:742:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for host_inter_check_delay_method"); ^ config.c:753:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for max_host_check_spread"); ^ config.c:774:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for max_concurrent_checks"); ^ config.c:784:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for check_result_reaper_frequency"); ^ config.c:794:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for max_check_result_reaper_time"); ^ config.c:808:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for interval_length"); ^ config.c:817:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for check_external_commands"); ^ config.c:833:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for check_for_orphaned_services"); ^ config.c:844:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for check_for_orphaned_hosts"); ^ config.c:855:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for check_service_freshness"); ^ config.c:866:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for check_host_freshness"); ^ config.c:878:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for service_freshness_check_interval"); ^ config.c:888:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for host_freshness_check_interval"); ^ config.c:896:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for auto_reschedule_checks"); ^ config.c:908:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for auto_rescheduling_interval"); ^ config.c:918:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for auto_rescheduling_window"); ^ config.c:928:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for status_update_interval"); ^ config.c:939:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for time_change_threshold"); ^ config.c:958:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for low_service_flap_threshold"); ^ config.c:968:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for high_service_flap_threshold"); ^ config.c:978:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for low_host_flap_threshold"); ^ config.c:988:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for high_host_flap_threshold"); ^ config.c:1050:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for daemon_dumps_core"); ^ config.c:1061:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "Illegal value for use_large_installation_tweaks "); ^ config.c:1174:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_message, "UNKNOWN VARIABLE"); ^ config.c: In function 'obsoleted_warning': config.c:81:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf, "Warning: %s is deprecated and will be removed.%s%s\n", ^ config.c: In function 'pre_flight_check': config.c:1454:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf, "%s/nagiosXXXXXX", temp_path); ^ config.c:1466:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf, "%s/nagiosXXXXXX", check_result_path); ^ commands.c: In function 'process_passive_service_check': commands.c:2247:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] cr.source = command_worker.source_name; ^ commands.c: In function 'process_passive_host_check': commands.c:2339:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] cr.source = command_worker.source_name; ^ commands.c: In function 'launch_command_file_worker': commands.c:285:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void)chdir("/tmp"); ^ commands.c:286:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void)chdir("nagios-cfw"); ^ commands.c: In function 'process_external_command1': commands.c:873:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "EXTERNAL COMMAND: %s;%s\n", command_id, args); ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c flapping.c: In function 'set_service_flap': flapping.c:312:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "Notifications for this service are being suppressed because it was detected as having been flapping between different states (%2.1f%% change >= %2.1f%% threshold). When the service state stabilizes and the flapping stops, notifications will be re-enabled.", percent_change, high_threshold); ^ flapping.c: In function 'set_host_flap': flapping.c:393:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "Notifications for this host are being suppressed because it was detected as having been flapping between different states (%2.1f%% change > %2.1f%% threshold). When the host state stabilizes and the flapping stops, notifications will be re-enabled.", percent_change, high_threshold); ^ logging.c: In function 'log_service_event': logging.c:248:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "SERVICE ALERT: %s;%s;%s;%s;%d;%s\n", ^ logging.c: In function 'log_host_event': logging.c:275:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "HOST ALERT: %s;%s;%s;%d;%s\n", ^ logging.c: In function 'log_host_states': logging.c:301:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "%s HOST STATE: %s;%s;%s;%d;%s\n", (type == INITIAL_STATES) ? "INITIAL" : "CURRENT", ^ logging.c: In function 'log_service_states': logging.c:333:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "%s SERVICE STATE: %s;%s;%s;%s;%d;%s\n", ^ logging.c: In function 'rotate_log_file': logging.c:387:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&log_archive," %s%snagios-%04d-%02d-%02d-%02d.log", log_archive_path, (log_archive_path[strlen(log_archive_path) - 1] == '/') ? "" : "/", t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, t->tm_hour); ^ logging.c:411:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "LOG ROTATION: %s\n", method_string); ^ logging.c:420:8: warning: ignoring return value of 'chown', declared with attribute warn_unused_result [-Wunused-result] chown(log_file, log_file_stat.st_uid, log_file_stat.st_gid); ^ logging.c: In function 'write_log_file_info': logging.c:441:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "LOG VERSION: %s\n", LOG_VERSION_2); ^ logging.c: In function 'log_debug_info': logging.c:515:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmppath, "%s.old", debug_file); ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o macros-base.o ../common/macros.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o netutils.o netutils.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c ../common/macros.c: In function 'grab_macrox_value_r': ../common/macros.c:1181:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALHOSTSUP], "%d", hosts_up); ^ ../common/macros.c:1182:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALHOSTSDOWN], "%d", hosts_down); ^ ../common/macros.c:1183:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALHOSTSUNREACHABLE], "%d", hosts_unreachable); ^ ../common/macros.c:1184:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALHOSTSDOWNUNHANDLED], "%d", hosts_down_unhandled); ^ ../common/macros.c:1185:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALHOSTSUNREACHABLEUNHANDLED], "%d", hosts_unreachable_unhandled); ^ ../common/macros.c:1186:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALHOSTPROBLEMS], "%d", host_problems); ^ ../common/macros.c:1187:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALHOSTPROBLEMSUNHANDLED], "%d", host_problems_unhandled); ^ ../common/macros.c:1188:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALSERVICESOK], "%d", services_ok); ^ ../common/macros.c:1189:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALSERVICESWARNING], "%d", services_warning); ^ ../common/macros.c:1190:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALSERVICESCRITICAL], "%d", services_critical); ^ ../common/macros.c:1191:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALSERVICESUNKNOWN], "%d", services_unknown); ^ ../common/macros.c:1192:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALSERVICESWARNINGUNHANDLED], "%d", services_warning_unhandled); ^ ../common/macros.c:1193:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALSERVICESCRITICALUNHANDLED], "%d", services_critical_unhandled); ^ ../common/macros.c:1194:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALSERVICESUNKNOWNUNHANDLED], "%d", services_unknown_unhandled); ^ ../common/macros.c:1195:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALSERVICEPROBLEMS], "%d", service_problems); ^ ../common/macros.c:1196:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac->x[MACRO_TOTALSERVICEPROBLEMSUNHANDLED], "%d", service_problems_unhandled); ^ ../common/macros.c: In function 'grab_standard_host_macro_r': ../common/macros.c:1686:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf1, "%s%s%s", (buf2) ? buf2 : "", (buf2) ? "," : "", temp_hostgroup->group_name); ^ ../common/macros.c: In function 'grab_standard_service_macro_r': ../common/macros.c:2066:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf1, "%s%s%s", (buf2) ? buf2 : "", (buf2) ? "," : "", temp_servicegroup->group_name); ^ ../common/macros.c: In function 'grab_standard_contact_macro_r': ../common/macros.c:2259:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf1, "%s%s%s", (buf2) ? buf2 : "", (buf2) ? "," : "", temp_contactgroup->group_name); ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c ../common/macros.c: In function 'set_argv_macro_environment_vars_r': ../common/macros.c:3045:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(¯o_name, "ARG%d", x + 1); ^ ../common/macros.c: In function 'set_custom_macro_environment_vars_r': ../common/macros.c:3070:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&customvarname, "_HOST%s", temp_customvariablesmember->variable_name); ^ ../common/macros.c:3084:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&customvarname, "_SERVICE%s", temp_customvariablesmember->variable_name); ^ ../common/macros.c:3097:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&customvarname, "_CONTACT%s", temp_customvariablesmember->variable_name); ^ ../common/macros.c: In function 'set_contact_address_environment_vars_r': ../common/macros.c:3124:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&varname, "CONTACTADDRESS%d", x); ^ ../common/macros.c: In function 'set_macro_environment_var': ../common/macros.c:3146:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&env_macro_name, "%s%s", MACRO_ENV_VAR_PREFIX, name); ^ ../common/macros.c: In function 'add_macrox_environment_vars_r': ../common/macros.c:3230:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&envname, "%s%s", MACRO_ENV_VAR_PREFIX, macro_x_names[x]); ^ ../common/macros.c: In function 'add_argv_macro_environment_vars_r': ../common/macros.c:3251:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(¯o_name, "%sARG%d", MACRO_ENV_VAR_PREFIX, x + 1); ^ ../common/macros.c: In function 'add_custom_macro_environment_vars_r': ../common/macros.c:3278:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&customvarname, "%s_HOST%s", MACRO_ENV_VAR_PREFIX, ^ ../common/macros.c:3310:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&customvarname, "%s_SERVICE%s", MACRO_ENV_VAR_PREFIX, ^ ../common/macros.c:3342:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&customvarname, "%s_CONTACT%s", MACRO_ENV_VAR_PREFIX, ^ ../common/macros.c: In function 'add_contact_address_environment_vars_r': ../common/macros.c:3387:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&varname, "%sCONTACTADDRESS%d", MACRO_ENV_VAR_PREFIX, x); ^ notifications.c: In function 'service_notification': notifications.c:214:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac.x[MACRO_SERVICENOTIFICATIONNUMBER], "%d", svc->current_notification_number); ^ notifications.c:220:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac.x[MACRO_SERVICENOTIFICATIONID], "%lu", svc->current_notification_id); ^ notifications.c: In function 'notify_contact_of_service': notifications.c:769:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "SERVICE NOTIFICATION: %s;%s;%s;CUSTOM ($SERVICESTATE$);%s;$SERVICEOUTPUT$;$NOTIFICATIONAUTHOR$;$NOTIFICATIONCOMMENT$\n", cntct->name, svc->host_name, svc->description, command_name_ptr); ^ notifications.c:772:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "SERVICE NOTIFICATION: %s;%s;%s;ACKNOWLEDGEMENT ($SERVICESTATE$);%s;$SERVICEOUTPUT$;$NOTIFICATIONAUTHOR$;$NOTIFICATIONCOMMENT$\n", cntct->name, svc->host_name, svc->description, command_name_ptr); ^ notifications.c:775:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "SERVICE NOTIFICATION: %s;%s;%s;FLAPPINGSTART ($SERVICESTATE$);%s;$SERVICEOUTPUT$\n", cntct->name, svc->host_name, svc->description, command_name_ptr); ^ notifications.c:778:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "SERVICE NOTIFICATION: %s;%s;%s;FLAPPINGSTOP ($SERVICESTATE$);%s;$SERVICEOUTPUT$\n", cntct->name, svc->host_name, svc->description, command_name_ptr); ^ notifications.c:781:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "SERVICE NOTIFICATION: %s;%s;%s;FLAPPINGDISABLED ($SERVICESTATE$);%s;$SERVICEOUTPUT$\n", cntct->name, svc->host_name, svc->description, command_name_ptr); ^ notifications.c:784:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "SERVICE NOTIFICATION: %s;%s;%s;DOWNTIMESTART ($SERVICESTATE$);%s;$SERVICEOUTPUT$\n", cntct->name, svc->host_name, svc->description, command_name_ptr); ^ notifications.c:787:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "SERVICE NOTIFICATION: %s;%s;%s;DOWNTIMEEND ($SERVICESTATE$);%s;$SERVICEOUTPUT$\n", cntct->name, svc->host_name, svc->description, command_name_ptr); ^ notifications.c:790:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "SERVICE NOTIFICATION: %s;%s;%s;DOWNTIMECANCELLED ($SERVICESTATE$);%s;$SERVICEOUTPUT$\n", cntct->name, svc->host_name, svc->description, command_name_ptr); ^ notifications.c:793:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "SERVICE NOTIFICATION: %s;%s;%s;$SERVICESTATE$;%s;$SERVICEOUTPUT$\n", cntct->name, svc->host_name, svc->description, command_name_ptr); ^ notifications.c: In function 'host_notification': notifications.c:1159:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac.x[MACRO_HOSTNOTIFICATIONNUMBER], "%d", hst->current_notification_number); ^ notifications.c:1165:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&mac.x[MACRO_HOSTNOTIFICATIONID], "%lu", hst->current_notification_id); ^ notifications.c: In function 'notify_contact_of_host': notifications.c:1666:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "HOST NOTIFICATION: %s;%s;CUSTOM ($HOSTSTATE$);%s;$HOSTOUTPUT$;$NOTIFICATIONAUTHOR$;$NOTIFICATIONCOMMENT$\n", cntct->name, hst->name, command_name_ptr); ^ notifications.c:1669:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "HOST NOTIFICATION: %s;%s;ACKNOWLEDGEMENT ($HOSTSTATE$);%s;$HOSTOUTPUT$;$NOTIFICATIONAUTHOR$;$NOTIFICATIONCOMMENT$\n", cntct->name, hst->name, command_name_ptr); ^ notifications.c:1672:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "HOST NOTIFICATION: %s;%s;FLAPPINGSTART ($HOSTSTATE$);%s;$HOSTOUTPUT$\n", cntct->name, hst->name, command_name_ptr); ^ notifications.c:1675:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "HOST NOTIFICATION: %s;%s;FLAPPINGSTOP ($HOSTSTATE$);%s;$HOSTOUTPUT$\n", cntct->name, hst->name, command_name_ptr); ^ notifications.c:1678:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "HOST NOTIFICATION: %s;%s;FLAPPINGDISABLED ($HOSTSTATE$);%s;$HOSTOUTPUT$\n", cntct->name, hst->name, command_name_ptr); ^ notifications.c:1681:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "HOST NOTIFICATION: %s;%s;DOWNTIMESTART ($HOSTSTATE$);%s;$HOSTOUTPUT$\n", cntct->name, hst->name, command_name_ptr); ^ notifications.c:1684:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "HOST NOTIFICATION: %s;%s;DOWNTIMEEND ($HOSTSTATE$);%s;$HOSTOUTPUT$\n", cntct->name, hst->name, command_name_ptr); ^ notifications.c:1687:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "HOST NOTIFICATION: %s;%s;DOWNTIMECANCELLED ($HOSTSTATE$);%s;$HOSTOUTPUT$\n", cntct->name, hst->name, command_name_ptr); ^ notifications.c:1690:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "HOST NOTIFICATION: %s;%s;$HOSTSTATE$;%s;$HOSTOUTPUT$\n", cntct->name, hst->name, command_name_ptr); ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c sehandlers.c: In function 'run_global_service_event_handler': sehandlers.c:263:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&raw_logentry, "GLOBAL SERVICE EVENT HANDLER: %s;%s;$SERVICESTATE$;$SERVICESTATETYPE$;$SERVICEATTEMPT$;%s\n", svc->host_name, svc->description, global_service_event_handler); ^ sehandlers.c: In function 'run_service_event_handler': sehandlers.c:363:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&raw_logentry, "SERVICE EVENT HANDLER: %s;%s;$SERVICESTATE$;$SERVICESTATETYPE$;$SERVICEATTEMPT$;%s\n", svc->host_name, svc->description, svc->event_handler); ^ sehandlers.c: In function 'run_global_host_event_handler': sehandlers.c:507:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&raw_logentry, "GLOBAL HOST EVENT HANDLER: %s;$HOSTSTATE$;$HOSTSTATETYPE$;$HOSTATTEMPT$;%s\n", hst->name, global_host_event_handler); ^ sehandlers.c: In function 'run_host_event_handler': sehandlers.c:605:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&raw_logentry, "HOST EVENT HANDLER: %s;$HOSTSTATE$;$HOSTSTATETYPE$;$HOSTATTEMPT$;%s\n", hst->name, hst->event_handler); ^ utils.c: In function 'my_system_r': utils.c:531:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(fd); ^ utils.c:599:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd[1], buffer, strlen(buffer) + 1); ^ utils.c:607:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd[1], buffer, strlen(buffer)); ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c utils.c: In function 'daemon_init': utils.c:1796:8: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(homedir); ^ utils.c:1798:8: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ utils.c:1886:11: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(lockfile, 0); ^ utils.c:1888:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(lockfile, buf, strlen(buf)); ^ utils.c: In function 'process_check_result_queue': utils.c:2063:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "%s.ok", file); ^ utils.c: In function 'delete_check_result_file': utils.c:2289:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "%s.ok", fname); ^ utils.c: In function 'query_update_api': utils.c:3104:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&api_query_opts, "&firstcheck=1"); ^ utils.c:3107:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&qopts2, "%s&last_version=%s", api_query_opts, last_program_version); ^ utils.c:3114:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&api_query, "v=1&product=nagios&tinycheck=1&stableonly=1&uid=%lu", update_uid); ^ utils.c:3117:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&api_query2, "%s&version=%s%s", api_query, PROGRAM_VERSION, (api_query_opts == NULL) ? "" : api_query_opts); ^ utils.c:3123:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf, ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c ../xdata/xrddefault.c: In function 'xrddefault_save_state_information': ../xdata/xrddefault.c:112:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp_file, "%sXXXXXX", temp_file); ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddefault.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddefault.c ../xdata/xsddefault.c: In function 'xsddefault_save_status_data': ../xdata/xsddefault.c:134:10: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&tmp_log, "%sXXXXXX", temp_file); ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o ../common/downtime.c ../xdata/xodtemplate.c: In function 'xodtemplate_read_config_data': ../xdata/xodtemplate.c:303:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cfgfile, "%s/%s", config_base_dir, val); ^ ../xdata/xodtemplate.c:322:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cfgfile, "%s/%s", config_base_dir, val); ^ ../common/downtime.c: In function 'register_downtime': ../common/downtime.c:439:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "This %s has been scheduled for fixed downtime from %s to %s. Notifications for the %s will not be sent out during that time period.", type_string, start_time_string, end_time_string, type_string); ^ ../common/downtime.c:441:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&temp_buffer, "This %s has been scheduled for flexible downtime starting between %s and %s and lasting for a period of %d hours and %d minutes. Notifications for the %s will not be sent out during that time period.", type_string, start_time_string, end_time_string, hours, minutes, type_string); ^ /usr/bin/make -C ../lib make[2]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/lib' i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c squeue.c -o squeue.o i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c kvvec.c -o kvvec.o i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -c -o workers.o workers.c i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c iocache.c -o iocache.o i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c iobroker.c -o iobroker.o workers.c: In function 'handle_worker_result': workers.c:675:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_reason, "timed out after %.2fs", tv_delta_f(&wpres.start, &wpres.stop)); ^ workers.c:678:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_reason, "died by signal %d%s after %.2f seconds", ^ workers.c:684:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&error_reason, "is a non-check helper but exited with return code %d", ^ i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c bitmap.c -o bitmap.o workers.c: In function 'handle_worker_check': workers.c:461:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&cr->output, "(No output on stdout) stderr: %s", wpres->outerr); ^ i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c dkhash.c -o dkhash.o i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c runcmd.c -o runcmd.o i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c nsutils.c -o nsutils.o i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c fanout.c -o fanout.o i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c pqueue.c -o pqueue.o i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c worker.c -o worker.o i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c skiplist.c -o skiplist.o i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c nsock.c -o nsock.o worker.c: In function 'enter_worker': worker.c:732:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void)chdir("/tmp"); ^ worker.c:733:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void)chdir("nagios-workers"); ^ i686-tld-linux-gcc -Wall -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -c nspath.c -o nspath.o ar cr libnagios.a squeue.o kvvec.o iocache.o iobroker.o bitmap.o dkhash.o runcmd.o nsutils.o fanout.o pqueue.o worker.o skiplist.o nsock.o nspath.o make[2]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/lib' i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -o nagiostats nagiostats.c -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -lm ../lib/libnagios.a i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.o broker.o nebmods.o ../common/shared.o nerd.o query-handler.o workers.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o -Wl,-export-dynamic -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -lm -lltdl ../lib/libnagios.a make[1]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/base' cd ./cgi && /usr/bin/make make[1]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/cgi' i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -c -o cgiutils.o cgiutils.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -c -o cgiauth.o cgiauth.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -c -o macros-cgi.o ../common/macros.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -c -o objects-cgi.o ../common/objects.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -c -o xobjects-cgi.o ../xdata/xodtemplate.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -c -o statusdata-cgi.o ../common/statusdata.c ../common/statusdata.c: In function 'add_host_status': ../common/statusdata.c:287:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&new_hoststatus->plugin_output, "Host check scheduled for %s", date_string); ^ ../common/statusdata.c:293:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&new_hoststatus->plugin_output, "Forced host check scheduled for %s", date_string); ^ ../common/statusdata.c: In function 'add_service_status': ../common/statusdata.c:359:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&new_svcstatus->plugin_output, "Service check scheduled for %s", date_string); ^ ../common/statusdata.c:365:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&new_svcstatus->plugin_output, "Forced service check scheduled for %s", date_string); ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -c -o xstatusdata-cgi.o ../xdata/xsddefault.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -c -o comments-cgi.o ../common/comments.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -c -o downtime-cgi.o ../common/downtime.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -c -o archiveutils.o archiveutils.c ../common/downtime.c:194:13: warning: 'downtime_remove' defined but not used [-Wunused-function] static void downtime_remove(scheduled_downtime *dt) ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -c -o jsonutils.o jsonutils.c jsonutils.c: In function 'json_object_append_string': jsonutils.c:525:3: warning: second parameter of 'va_start' not last named argument [-Wvarargs] va_start(a_list, escaped_format); ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -c -o extcmd_list.o extcmd_list.c i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o archivejson.cgi archivejson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a archiveutils.o jsonutils.o i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o avail.cgi avail.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o cmd.cgi cmd.c extcmd_list.o ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o config.cgi config.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a archivejson.c: In function 'main': archivejson.c:603:6: warning: variable 'whitespace' set but not used [-Wunused-but-set-variable] int whitespace; ^ archivejson.c: In function 'process_cgivars': archivejson.c:1081:6: warning: variable 'whitespace' set but not used [-Wunused-but-set-variable] int whitespace; ^ archivejson.c: In function 'json_archive_statechangelist': archivejson.c:3037:8: warning: variable 'object' set but not used [-Wunused-but-set-variable] void *object = NULL; ^ archivejson.c:3030:6: warning: variable 'last_service_state' set but not used [-Wunused-but-set-variable] int last_service_state = AU_STATE_NO_DATA; ^ archivejson.c:3029:6: warning: variable 'last_host_state' set but not used [-Wunused-but-set-variable] int last_host_state = AU_STATE_NO_DATA; ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o extinfo.cgi extinfo.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a extinfo.c: In function 'show_host_info': extinfo.c:998:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf, "%s %s", temp_host->name, temp_hoststatus->plugin_output); ^ extinfo.c: In function 'show_service_info': extinfo.c:1311:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf, "%s %s %s", temp_service->host_name, temp_service->description, temp_svcstatus->plugin_output); ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o history.cgi history.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o notifications.cgi notifications.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o objectjson.cgi objectjson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a jsonutils.o objectjson.c: In function 'main': objectjson.c:605:6: warning: variable 'whitespace' set but not used [-Wunused-but-set-variable] int whitespace; ^ objectjson.c: In function 'process_cgivars': objectjson.c:1294:6: warning: variable 'whitespace' set but not used [-Wunused-but-set-variable] int whitespace; ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o outages.cgi outages.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o showlog.cgi showlog.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a objectjson.c: In function 'json_object_servicelist': objectjson.c:3526:14: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf, "%s", ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o status.cgi status.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o statusjson.cgi statusjson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a jsonutils.o i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o statuswml.cgi statuswml.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a statusjson.c: In function 'main': statusjson.c:734:6: warning: variable 'whitespace' set but not used [-Wunused-but-set-variable] int whitespace; ^ statusjson.c: In function 'process_cgivars': statusjson.c:1278:6: warning: variable 'whitespace' set but not used [-Wunused-but-set-variable] int whitespace; ^ statuswml.c: In function 'display_ping': statuswml.c:1296:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, sizeof(buffer) - 1, fp); ^ statuswml.c: In function 'display_traceroute': statuswml.c:1365:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buffer, sizeof(buffer) - 1, fp); ^ statusjson.c: In function 'json_status_commentlist': statusjson.c:3810:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf, "%lu", temp_comment->comment_id); ^ statusjson.c: In function 'json_status_downtimelist': statusjson.c:4134:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&buf, "%lu", temp_downtime->downtime_id); ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o summary.cgi summary.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o tac.cgi tac.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o statuswrl.cgi statuswrl.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lm i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o statusmap.cgi statusmap.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -lttf -lpng -ljpeg -lz -lm i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o trends.cgi trends.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -lttf -lpng -ljpeg -lz -lm statusmap.c: In function 'write_google_head_code': statusmap.c:2429:3: warning: format '%f' expects argument of type 'double', but argument 2 has type 'char *' [-Wformat=] printf("scale: '%2.1f',\n", gen_loc.zoom); ^ statusmap.c:2324:7: warning: unused variable 'line' [-Wunused-variable] char line[1024]; ^ i686-tld-linux-gcc -Wall -I.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -DNSCGI -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -o histogram.cgi histogram.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a -lgd -lttf -lpng -ljpeg -lz -lm statusmap.c:2414:21: warning: 'loc' may be used uninitialized in this function [-Wmaybe-uninitialized] loc->longitude = strdup(value); ^ make[1]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/cgi' cd ./html && /usr/bin/make make[1]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/html' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/html' if [ xyes = xyes ]; then \ cd ./module && /usr/bin/make; \ fi make[1]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/module' i686-tld-linux-gcc -I.. -fPIC -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -o helloworld.o helloworld.c -shared -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc make[1]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/module' cd ./worker && /usr/bin/make all make[1]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/worker' cd ./ping && /usr/bin/make all make[2]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/worker/ping' i686-tld-linux-gcc -I.. -I ../../include -I ../.. -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i686 -fasynchronous-unwind-tables -mtune=pentium4 -DHAVE_CONFIG_H -o worker-ping worker-ping.c -L ../../lib -l nagios -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc worker-ping.c: In function 'worker': worker-ping.c:238:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read( sd, response + 3, sizeof(response) - 4); ^ worker-ping.c: In function 'daemon_init': worker-ping.c:361:8: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir( "/"); ^ make[2]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/worker/ping' make[1]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/worker' *** Compile finished *** If the main program and CGIs compiled without any errors, you can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): make install - This installs the main program, CGIs, and HTML files make install-init - This installs the init script in /etc/rc.d/init.d make install-commandmode - This installs and configures permissions on the directory for holding the external command file make install-config - This installs *SAMPLE* config files in /etc/nagios You'll have to modify these sample files before you can use Nagios. Read the HTML documentation for more info on doing this. Pay particular attention to the docs on object configuration files, as they determine what/how things get monitored! make install-webconf - This installs the Apache config file for the Nagios web interface make install-exfoliation - This installs the Exfoliation theme for the Nagios web interface make install-classicui - This installs the classic theme for the Nagios web interface *** Support Notes ******************************************* If you have questions about configuring or running Nagios, please make sure that you: - Look at the sample config files - Read the documentation on the Nagios Library at: http://library.nagios.com before you post a question to one of the mailing lists. Also make sure to include pertinent information that could help others help you. This might include: - What version of Nagios you are using - What version of the plugins you are using - Relevant snippets from your config files - Relevant error messages from the Nagios log file For more information on obtaining support for Nagios, visit: http://support.nagios.com ************************************************************* Enjoy. + /usr/bin/make -j4 dox doxygen doxy.conf /home/users/builder/rpm/BUILD/nagios-4.0.8/lib/fanout.h:66: warning: expected whitespace after [ command /home/users/builder/rpm/BUILD/nagios-4.0.8/lib/runcmd.h:68: warning: argument 'cmdstring' of command @param is not found in the argument list of runcmd_open(const char *cmd, int *pfd, int *pfderr, char **env, void(*iobreg)(int, int, void *), void *iobregarg) /home/users/builder/rpm/BUILD/nagios-4.0.8/lib/runcmd.h:68: warning: The following parameters of runcmd_open(const char *cmd, int *pfd, int *pfderr, char **env, void(*iobreg)(int, int, void *), void *iobregarg) are not documented: parameter 'cmd' /home/users/builder/rpm/BUILD/nagios-4.0.8/lib/squeue.h:118: warning: argument 'when' of command @param is not found in the argument list of squeue_change_priority_tv(squeue_t *q, squeue_event *evt, struct timeval *tv) /home/users/builder/rpm/BUILD/nagios-4.0.8/lib/squeue.h:118: warning: The following parameters of squeue_change_priority_tv(squeue_t *q, squeue_event *evt, struct timeval *tv) are not documented: parameter 'tv' + exit 0 Executing(%install): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.568243 /bin/sh -e /tmp/B.568243/rpm-tmp.64665 TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.568243 + umask 022 + cd /home/users/builder/rpm/BUILD + /bin/rm '--interactive=never' -rf /tmp/B.568243/nagios-4.0.8-root-builder + /bin/mkdir -p /tmp/B.568243/nagios-4.0.8-root-builder + cd nagios-4.0.8 + rm -rf /tmp/B.568243/nagios-4.0.8-root-builder + install -d /tmp/B.568243/nagios-4.0.8-root-builder/etc/sysconfig /tmp/B.568243/nagios-4.0.8-root-builder/etc/rc.d/init.d /tmp/B.568243/nagios-4.0.8-root-builder/etc/webapps/nagios /tmp/B.568243/nagios-4.0.8-root-builder/var/log/nagios/archives /tmp/B.568243/nagios-4.0.8-root-builder/var/lib/nagios/rw /tmp/B.568243/nagios-4.0.8-root-builder/etc/nagios/plugins /tmp/B.568243/nagios-4.0.8-root-builder/etc/nagios/objects /tmp/B.568243/nagios-4.0.8-root-builder/usr/lib/nagios/eventhandlers /tmp/B.568243/nagios-4.0.8-root-builder/usr/lib/nagios/plugins /tmp/B.568243/nagios-4.0.8-root-builder/usr/lib/nagios/brokers + /usr/bin/make -j4 install-unstripped install-devel 'DESTDIR=/tmp/B.568243/nagios-4.0.8-root-builder' 'INSTALL_OPTS=' 'INIT_OPTS=' 'COMMAND_OPTS=' cd ./base && /usr/bin/make install-unstripped /usr/bin/install -c -d -m 755 /tmp/B.568243/nagios-4.0.8-root-builder/usr/include/nagios /usr/bin/install -c -d -m 755 /tmp/B.568243/nagios-4.0.8-root-builder/usr/lib /usr/bin/install -c -d -m 755 /tmp/B.568243/nagios-4.0.8-root-builder/usr/include/nagios/lib make[1]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/base' /usr/bin/make install-basic /usr/bin/install -c -m 644 ./lib/libnagios.a /tmp/B.568243/nagios-4.0.8-root-builder/usr/lib make[2]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/base' /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/sbin /usr/bin/install -c -m 644 include/*.h /tmp/B.568243/nagios-4.0.8-root-builder/usr/include/nagios /usr/bin/install -c -m 774 nagios /tmp/B.568243/nagios-4.0.8-root-builder/usr/sbin /usr/bin/install -c -m 774 nagiostats /tmp/B.568243/nagios-4.0.8-root-builder/usr/sbin /usr/bin/install -c -m 644 lib/*.h /tmp/B.568243/nagios-4.0.8-root-builder/usr/include/nagios/lib make[2]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/base' make[1]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/base' cd ./cgi && /usr/bin/make install-unstripped rm -f /tmp/B.568243/nagios-4.0.8-root-builder/usr/include/nagios/nagios/config.h make[1]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/cgi' /usr/bin/make install-basic make[2]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/cgi' /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/lib/nagios/cgi for file in *.cgi; do \ /usr/bin/install -c -m 775 $file /tmp/B.568243/nagios-4.0.8-root-builder/usr/lib/nagios/cgi; \ done make[2]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/cgi' make[1]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/cgi' cd ./html && /usr/bin/make install-unstripped make[1]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/html' /usr/bin/make install make[2]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/html' /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/media /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/stylesheets /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/contexthelp /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/docs /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/docs/images /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/js /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/images /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/images/logos /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/includes /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/includes/rss /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/includes/rss/extlib /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/ssi /usr/bin/install -c -m 664 robots.txt /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios rm -f /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/index.html rm -f /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/main.html rm -f /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/side.html /usr/bin/install -c -m 664 jsonquery.html /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios /usr/bin/install -c -m 664 rss-corefeed.html /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios /usr/bin/install -c -m 664 rss-newsfeed.html /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios for file in *.php; \ do /usr/bin/install -c -m 664 $file /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios; done for file in stylesheets/*.css; \ do /usr/bin/install -c -m 664 $file /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/stylesheets; done for file in contexthelp/*.html; \ do /usr/bin/install -c -m 664 $file /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/contexthelp; done for file in images/*.gif; \ do /usr/bin/install -c -m 664 $file /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/images; done for file in images/*.jpg; \ do /usr/bin/install -c -m 664 $file /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/images; done for file in images/*.png; \ do /usr/bin/install -c -m 664 $file /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/images; done for file in images/*.ico; \ do /usr/bin/install -c -m 664 $file /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/images; done for file in images/logos/*.*; \ do /usr/bin/install -c -m 664 $file /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/images/logos; done for file in includes/*.*; \ do /usr/bin/install -c -m 664 $file /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/includes; done make[2]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/html' make[1]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8/html' /usr/bin/make install-classicui make[1]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8' cp -rf html/stylesheets/* /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/stylesheets cp -rf html/images/* /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/images *** Classic theme installed *** NOTE: Use 'make install-exfoliation' to use new Nagios theme make[1]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8' /usr/bin/make install-basic make[1]: Entering directory `/home/users/builder/rpm/BUILD/nagios-4.0.8' /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/lib /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/var/lib/nagios /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/var/lib/nagios/archives /usr/bin/install -c -m 775 -d /tmp/B.568243/nagios-4.0.8-root-builder/var/spool/nagios/checkresults chmod g+s /tmp/B.568243/nagios-4.0.8-root-builder/var/spool/nagios/checkresults *** Main program, CGIs and HTML files installed *** You can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): make install-init - This installs the init script in /tmp/B.568243/nagios-4.0.8-root-builder/etc/rc.d/init.d make install-commandmode - This installs and configures permissions on the directory for holding the external command file make install-config - This installs sample config files in /tmp/B.568243/nagios-4.0.8-root-builder/etc/nagios make[1]: Leaving directory `/home/users/builder/rpm/BUILD/nagios-4.0.8' + install -p /home/users/builder/rpm/SOURCES/nagios.init /tmp/B.568243/nagios-4.0.8-root-builder/etc/rc.d/init.d/nagios + cp -p /home/users/builder/rpm/SOURCES/nagios.sysconfig /tmp/B.568243/nagios-4.0.8-root-builder/etc/sysconfig/nagios + cp -p sample-config/nagios.cfg /tmp/B.568243/nagios-4.0.8-root-builder/etc/nagios + cp -p sample-config/resource.cfg /tmp/B.568243/nagios-4.0.8-root-builder/etc/nagios + cp -p sample-config/commands.cfg /tmp/B.568243/nagios-4.0.8-root-builder/etc/nagios + cp -p sample-config/contactgroups.cfg /tmp/B.568243/nagios-4.0.8-root-builder/etc/nagios + cp -p sample-config/contacts.cfg /tmp/B.568243/nagios-4.0.8-root-builder/etc/nagios + cp -p sample-config/templates.cfg /tmp/B.568243/nagios-4.0.8-root-builder/etc/nagios + cp -p sample-config/timeperiods.cfg /tmp/B.568243/nagios-4.0.8-root-builder/etc/nagios + cp -p apache.conf /tmp/B.568243/nagios-4.0.8-root-builder/etc/webapps/nagios/apache.conf + cp -p apache.conf /tmp/B.568243/nagios-4.0.8-root-builder/etc/webapps/nagios/httpd.conf + cp -p lighttpd.conf /tmp/B.568243/nagios-4.0.8-root-builder/etc/webapps/nagios/lighttpd.conf + cp -p sample-config/cgi.cfg /tmp/B.568243/nagios-4.0.8-root-builder/etc/webapps/nagios + cp -p /home/users/builder/rpm/SOURCES/shadow50.png /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/images + cp -p /home/users/builder/rpm/SOURCES/marker.png /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/images + cp -p /home/users/builder/rpm/SOURCES/googlemap.js /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios/images + cp -p /home/users/builder/rpm/SOURCES/nagioswall.php /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/nagios + >/tmp/B.568243/nagios-4.0.8-root-builder/etc/webapps/nagios/passwd + + >/tmp/B.568243/nagios-4.0.8-root-builder/etc/webapps/nagios/group + echo nagios: + install -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8 + cp -a contrib/eventhandlers /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8 + cp -a sample-config /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8 + find /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8 -name '*.in' + xargs rm + install -d /tmp/B.568243/nagios-4.0.8-root-builder/etc/mrtg/conf.d + cp -p sample-config/mrtg.cfg /tmp/B.568243/nagios-4.0.8-root-builder/etc/mrtg/conf.d/nagios.cfg + >/tmp/B.568243/nagios-4.0.8-root-builder/var/lib/nagios/objects.cache + + >/tmp/B.568243/nagios-4.0.8-root-builder/var/lib/nagios/objects.precache + + >/tmp/B.568243/nagios-4.0.8-root-builder/var/lib/nagios/retention.dat + + >/tmp/B.568243/nagios-4.0.8-root-builder/var/lib/nagios/status.dat + + >/tmp/B.568243/nagios-4.0.8-root-builder/var/lib/nagios/nagios.tmp + + >/tmp/B.568243/nagios-4.0.8-root-builder/var/lib/nagios/nagios.pid + + >/tmp/B.568243/nagios-4.0.8-root-builder/var/lib/nagios/rw/nagios.cmd + + >/tmp/B.568243/nagios-4.0.8-root-builder/var/lib/nagios/rw/nagios.qh + + install -d /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/doc/nagios + /bin/cp -a Documentation/html/annotated.html Documentation/html/api_incompat3to4.html Documentation/html/bc_s.png Documentation/html/bdwn.png Documentation/html/bitmap_8h.html Documentation/html/bitmap_8h_source.html Documentation/html/classes.html Documentation/html/closed.png Documentation/html/configincompat3to4.html Documentation/html/dir_97aefd0d527b934f1d99a682da8fe6a9.html Documentation/html/dkhash_8h.html Documentation/html/dkhash_8h_source.html Documentation/html/doxygen.css Documentation/html/doxygen.png Documentation/html/dynsections.js Documentation/html/fanout_8h.html Documentation/html/fanout_8h_source.html Documentation/html/files.html Documentation/html/ftv2blank.png Documentation/html/ftv2cl.png Documentation/html/ftv2doc.png Documentation/html/ftv2folderclosed.png Documentation/html/ftv2folderopen.png Documentation/html/ftv2lastnode.png Documentation/html/ftv2link.png Documentation/html/ftv2mlastnode.png Documentation/html/ftv2mnode.png Documentation/html/ftv2mo.png Documentation/html/ftv2node.png Documentation/html/ftv2ns.png Documentation/html/ftv2plastnode.png Documentation/html/ftv2pnode.png Documentation/html/ftv2splitbar.png Documentation/html/ftv2vertline.png Documentation/html/functions.html Documentation/html/functions_vars.html Documentation/html/globals.html Documentation/html/globals_0x62.html Documentation/html/globals_0x63.html Documentation/html/globals_0x64.html Documentation/html/globals_0x65.html Documentation/html/globals_0x66.html Documentation/html/globals_0x69.html Documentation/html/globals_0x6b.html Documentation/html/globals_0x6d.html Documentation/html/globals_0x6e.html Documentation/html/globals_0x6f.html Documentation/html/globals_0x70.html Documentation/html/globals_0x72.html Documentation/html/globals_0x73.html Documentation/html/globals_0x74.html Documentation/html/globals_0x76.html Documentation/html/globals_defs.html Documentation/html/globals_func.html Documentation/html/globals_type.html Documentation/html/index.html Documentation/html/iobroker_8h.html Documentation/html/iobroker_8h_source.html Documentation/html/iocache_8h.html Documentation/html/iocache_8h_source.html Documentation/html/jquery.js Documentation/html/kvvec_8h.html Documentation/html/kvvec_8h_source.html Documentation/html/libnagios_8h.html Documentation/html/libnagios_8h_source.html Documentation/html/lnag-utils_8h.html Documentation/html/lnag-utils_8h_source.html Documentation/html/nav_f.png Documentation/html/nav_g.png Documentation/html/nav_h.png Documentation/html/nsock_8h.html Documentation/html/nsock_8h_source.html Documentation/html/nspath_8h.html Documentation/html/nspath_8h_source.html Documentation/html/nsutils_8h.html Documentation/html/nsutils_8h_source.html Documentation/html/open.png Documentation/html/pages.html Documentation/html/pqueue_8h.html Documentation/html/pqueue_8h_source.html Documentation/html/qh.html Documentation/html/runcmd_8h.html Documentation/html/runcmd_8h_source.html Documentation/html/search Documentation/html/skiplist_8h.html Documentation/html/skiplist_8h_source.html Documentation/html/snprintf_8h_source.html Documentation/html/squeue_8h.html Documentation/html/squeue_8h_source.html Documentation/html/structkey__value.html Documentation/html/structkvvec.html Documentation/html/structkvvec__buf.html Documentation/html/structpqueue__t.html Documentation/html/sync_off.png Documentation/html/sync_on.png Documentation/html/t-utils_8h_source.html Documentation/html/tab_a.png Documentation/html/tab_b.png Documentation/html/tab_h.png Documentation/html/tab_s.png Documentation/html/tabs.css Documentation/html/wprocs.html /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/doc/nagios + __spec_install_post_strip + set +x Stripping 21 ELF executables...DONE Stripping 1 ar archives...DONE + __spec_install_post_chrpath + set +x Remove RPATH/RUNPATH from 21 executable binaries and shared object files. + __spec_install_post_check_so + set +x Searching for shared objects with unresolved symbols... DONE + __spec_install_post_check_tmpfiles + set +x Checking /var/run <-> tmpfiles.d completeness... DONE + __spec_install_post_compress_docs + set +x + __spec_install_post_compress_modules + set +x + __spec_install_post_py_hardlink + set +x Processing files: nagios-4.0.8-3 Executing(%doc): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.568243 /bin/sh -e /tmp/B.568243/rpm-tmp.72078 + umask 022 + cd /home/users/builder/rpm/BUILD + cd nagios-4.0.8 + DOCDIR=/tmp/B.568243/nagios-4.0.8-root-builder/usr/share/doc/nagios-4.0.8 + export DOCDIR + rm -rf /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/doc/nagios-4.0.8 + /bin/mkdir -p /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/doc/nagios-4.0.8 + /usr/lib/rpm/compress-doc Compressing documentation in /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/doc/nagios-4.0.8... Documentation compressed. + cp -pr Changelog README README.asciidoc UPGRADING INSTALLING LICENSE /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/doc/nagios-4.0.8 + /usr/lib/rpm/compress-doc Compressing documentation in /tmp/B.568243/nagios-4.0.8-root-builder/usr/share/doc/nagios-4.0.8... ./README.asciidoc ./LICENSE ./Changelog ./INSTALLING ./UPGRADING Documentation compressed. + exit 0 skipping /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8/eventhandlers/disable_active_service_checks requires detection (matches noautoreqfiles pattern #0) skipping /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8/eventhandlers/disable_notifications requires detection (matches noautoreqfiles pattern #0) skipping /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8/eventhandlers/distributed-monitoring/obsessive_svc_handler requires detection (matches noautoreqfiles pattern #0) skipping /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8/eventhandlers/distributed-monitoring/submit_check_result_via_nsca requires detection (matches noautoreqfiles pattern #0) skipping /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8/eventhandlers/enable_active_service_checks requires detection (matches noautoreqfiles pattern #0) skipping /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8/eventhandlers/enable_notifications requires detection (matches noautoreqfiles pattern #0) skipping /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8/eventhandlers/redundancy-scenario1/handle-master-host-event requires detection (matches noautoreqfiles pattern #0) skipping /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8/eventhandlers/redundancy-scenario1/handle-master-proc-event requires detection (matches noautoreqfiles pattern #0) skipping /tmp/B.568243/nagios-4.0.8-root-builder/usr/src/examples/nagios-4.0.8/eventhandlers/submit_check_result requires detection (matches noautoreqfiles pattern #0) Provides: config(nagios) = 0:4.0.8-3 nagios-core Requires(interp): /bin/sh /bin/sh /bin/sh Requires(post): /bin/sh /sbin/chkconfig Requires(preun): /bin/sh /sbin/chkconfig Requires: /bin/sh libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.8) libltdl.so.7 libm.so.6 libm.so.6(GLIBC_2.0) rtld(GNU_HASH) Conflicts: iputils-ping < 1:ss020124 Obsoletes: netsaint Processing files: nagios-common-4.0.8-3 Provides: group(nagcmd) group(nagios) user(nagios) Requires(interp): /bin/sh /bin/sh Requires(pre): /bin/id /bin/sh /usr/bin/getgid /usr/sbin/groupadd /usr/sbin/groupmod /usr/sbin/useradd /usr/sbin/usermod Requires(postun): /bin/sh /usr/sbin/groupdel /usr/sbin/userdel Processing files: nagios-cgi-4.0.8-3 Provides: config(nagios-cgi) = 0:4.0.8-3 Requires(interp): /bin/sh /bin/sh Requires(post): /bin/sh Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libc.so.6(GLIBC_2.8) libgd.so.3 libm.so.6 libm.so.6(GLIBC_2.0) rtld(GNU_HASH) Processing files: nagios-mrtggraphs-4.0.8-3 Provides: config(nagios-mrtggraphs) = 0:4.0.8-3 mrtg-start Processing files: nagios-doc-4.0.8-3 Processing files: nagios-theme-classicui-4.0.8-3 Provides: nagios-theme Obsoletes: nagios-theme Processing files: nagios-theme-default-4.0.8-3 Processing files: nagios-devel-4.0.8-3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/B.568243/nagios-4.0.8-root-builder Wrote: /home/users/builder/rpm/RPMS/nagios-4.0.8-3.i686.rpm Wrote: /home/users/builder/rpm/RPMS/nagios-common-4.0.8-3.i686.rpm Wrote: /home/users/builder/rpm/RPMS/nagios-cgi-4.0.8-3.i686.rpm Wrote: /home/users/builder/rpm/RPMS/nagios-mrtggraphs-4.0.8-3.i686.rpm Wrote: /home/users/builder/rpm/RPMS/nagios-doc-4.0.8-3.i686.rpm Wrote: /home/users/builder/rpm/RPMS/nagios-theme-classicui-4.0.8-3.i686.rpm Wrote: /home/users/builder/rpm/RPMS/nagios-theme-default-4.0.8-3.i686.rpm Wrote: /home/users/builder/rpm/RPMS/nagios-devel-4.0.8-3.i686.rpm Executing(%clean): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.568243 /bin/sh -e /tmp/B.568243/rpm-tmp.45986 + umask 022 + cd /home/users/builder/rpm/BUILD + cd nagios-4.0.8 + /bin/rm '--interactive=never' -rf /tmp/B.568243/nagios-4.0.8-root-builder + rm -rf /tmp/B.568243/nagios-4.0.8-root-builder ended at: Wed Jul 22 17:54:54 2015, done in 01days 00h 00m 55s mesg: ttyname failed: Inappropriate ioctl for device copy rpm files to cache_dir: /spools/ready Creating pndir index of /spools/ready/ (type=dir)... Loading [pndir]previous /spools/ready/packages.ndir.gz... Loading [dir]/spools/ready/... 200..400..600..800..1000..1000 Writing /spools/ready/packages.ndir.gz... Begin-PLD-Builder-Info upgrading packages End-PLD-Builder-Info Begin-PLD-Builder-Info Build-Time: user:78.17s sys:22.52s real:65.11s (faults io:50 non-io:1903008) Files queued for ftp: 262414 nagios-4.0.8-3.i686.rpm 6354 nagios-common-4.0.8-3.i686.rpm 604145 nagios-cgi-4.0.8-3.i686.rpm 4843 nagios-mrtggraphs-4.0.8-3.i686.rpm 162009 nagios-doc-4.0.8-3.i686.rpm 182905 nagios-theme-classicui-4.0.8-3.i686.rpm 3050 nagios-theme-default-4.0.8-3.i686.rpm 86934 nagios-devel-4.0.8-3.i686.rpm 372 nagios-4.0.8-3.src.rpm.uploadinfo End-PLD-Builder-Info