<86>Dec 25 02:07:17 userdel[3646846]: delete user 'rooter' <86>Dec 25 02:07:17 userdel[3646846]: removed group 'rooter' owned by 'rooter' <86>Dec 25 02:07:17 userdel[3646846]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 25 02:07:17 groupadd[3646939]: group added to /etc/group: name=rooter, GID=1826 <86>Dec 25 02:07:17 groupadd[3646939]: group added to /etc/gshadow: name=rooter <86>Dec 25 02:07:17 groupadd[3646939]: new group: name=rooter, GID=1826 <86>Dec 25 02:07:17 useradd[3647004]: new user: name=rooter, UID=1826, GID=1826, home=/root, shell=/bin/bash, from=none <86>Dec 25 02:07:17 userdel[3647094]: delete user 'builder' <86>Dec 25 02:07:17 userdel[3647094]: removed group 'builder' owned by 'builder' <86>Dec 25 02:07:17 userdel[3647094]: removed shadow group 'builder' owned by 'builder' <86>Dec 25 02:07:17 groupadd[3647151]: group added to /etc/group: name=builder, GID=1827 <86>Dec 25 02:07:17 groupadd[3647151]: group added to /etc/gshadow: name=builder <86>Dec 25 02:07:17 groupadd[3647151]: new group: name=builder, GID=1827 <86>Dec 25 02:07:17 useradd[3647198]: new user: name=builder, UID=1827, GID=1827, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/nagios-3.0.6-alt18.src.rpm: The use of such a license name is ambiguous: GPL warning: line 96: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-common = 3.0.6-alt18 warning: line 134: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-common = 3.0.6-alt18 warning: line 153: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-www = 3.0.6-alt18 apache2 warning: line 162: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-www = 3.0.6-alt18 lighttpd warning: line 179: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-common warning: line 180: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios warning: line 181: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-www <13>Dec 25 02:07:20 rpmi: libjpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 25 02:07:20 rpmi: libpng16-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Dec 25 02:07:20 rpmi: libwebp7-1.5.0-alt1 sisyphus+365488.100.1.1 1734677703 installed <13>Dec 25 02:07:20 rpmi: libICE-1.1.1-alt1 sisyphus+311428.500.1.1 1670577555 installed <13>Dec 25 02:07:20 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Dec 25 02:07:20 rpmi: libexpat-2.6.4-alt1 sisyphus+365521.100.1.1 1734700243 installed <13>Dec 25 02:07:20 rpmi: libgdbm-devel-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Dec 25 02:07:20 rpmi: libSM-1.2.4-alt1 sisyphus+312057.200.1.1 1671526916 installed <13>Dec 25 02:07:20 rpmi: libturbojpeg-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 25 02:07:20 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed <13>Dec 25 02:07:20 rpmi: libltdl7-2.4.7-alt5 sisyphus+341963.200.3.1 1711659208 installed <13>Dec 25 02:07:20 rpmi: libnuma-2.0.19-alt1 sisyphus+363830.100.1.1 1733131852 installed <13>Dec 25 02:07:21 rpmi: libx265-199-3.5-alt1.1 sisyphus+277560.100.1.1 1625697230 installed <13>Dec 25 02:07:21 rpmi: libgdk-pixbuf-locales-2.42.12-alt1 sisyphus+348142.100.1.1 1715791856 installed <13>Dec 25 02:07:21 rpmi: libgraphite2-1.3.14-alt2.1 sisyphus+279571.100.1.2 1626605111 installed <13>Dec 25 02:07:21 rpmi: libdeflate-1.22-alt1 sisyphus+359192.100.1.1 1728330316 installed <13>Dec 25 02:07:21 rpmi: libtiff5-4.4.0-alt4 sisyphus+322581.100.1.2 1686180089 installed <13>Dec 25 02:07:21 rpmi: libde265-1.0.15-alt1 sisyphus+337190.100.1.1 1703502096 installed <13>Dec 25 02:07:21 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 25 02:07:21 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 25 02:07:21 rpmi: libharfbuzz-10.1.0-alt1 sisyphus+361773.100.1.1 1730824042 installed <13>Dec 25 02:07:21 rpmi: libfreetype-2.13.3-alt1 sisyphus+355656.100.1.1 1724221064 installed <13>Dec 25 02:07:21 rpmi: libfontconfig1-2.15.0-alt1 sisyphus+355771.100.2.3 1724337298 installed <13>Dec 25 02:07:21 rpmi: libaom3-3.9.1-alt2 sisyphus+354446.100.1.1 1722877371 installed <13>Dec 25 02:07:21 rpmi: libXdmcp-1.1.5-alt1 sisyphus+343583.700.1.1 1711441061 installed <13>Dec 25 02:07:21 rpmi: libXau-1.0.11-alt1 sisyphus+311428.100.1.1 1670577439 installed <13>Dec 25 02:07:21 rpmi: libxcb-1.17.0-alt1 sisyphus+345308.200.1.1 1713342004 installed <13>Dec 25 02:07:21 rpmi: libX11-locales-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 25 02:07:21 rpmi: libX11-3:1.8.10-alt1 sisyphus+353866.100.1.1 1722240771 installed <13>Dec 25 02:07:21 rpmi: libXext-1.3.6-alt1 sisyphus+343583.1000.1.1 1711441101 installed <13>Dec 25 02:07:21 rpmi: libXt-1.3.0-alt1 sisyphus+331490.500.1.1 1697023310 installed <13>Dec 25 02:07:21 rpmi: libXpm-3.5.17-alt1 sisyphus+330921.100.1.1 1696400257 installed <13>Dec 25 02:07:21 rpmi: desktop-file-utils-0.26-alt6 sisyphus+331944.100.1.3 1697550026 installed <13>Dec 25 02:07:21 rpmi: shared-mime-info-2.4-alt1 sisyphus+334259.100.1.1 1699787316 installed <13>Dec 25 02:07:21 rpmi: gsettings-desktop-schemas-data-47.1-alt1 sisyphus+357735.300.3.1 1726641752 installed <13>Dec 25 02:07:21 rpmi: libgio-2.82.4-alt1 sisyphus+364807.100.1.1 1733991592 installed <13>Dec 25 02:07:21 rpmi: gsettings-desktop-schemas-47.1-alt1 sisyphus+357735.300.3.1 1726641752 installed <13>Dec 25 02:07:21 rpmi: libgdk-pixbuf-2.42.12-alt1 sisyphus+348142.100.1.1 1715791856 installed <13>Dec 25 02:07:21 rpmi: libheif-1.19.5-alt1 sisyphus+362995.100.1.1 1732097822 installed <13>Dec 25 02:07:21 rpmi: libgd3-2.3.3-alt3 sisyphus+363178.500.7.1 1733130530 installed <13>Dec 25 02:07:21 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed <13>Dec 25 02:07:21 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed <13>Dec 25 02:07:21 rpmi: xml-utils-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333686 installed <13>Dec 25 02:07:21 rpmi: rpm-build-gir-0.7.3-alt3.1 sisyphus+319393.100.1.1 1682538783 installed <13>Dec 25 02:07:21 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 25 02:07:21 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Dec 25 02:07:21 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 25 02:07:21 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 25 02:07:21 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 25 02:07:21 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 25 02:07:21 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 25 02:07:21 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 25 02:07:21 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 25 02:07:21 rpmi: python3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526854 installed <13>Dec 25 02:07:22 rpmi: python3-base-3.12.8-alt1 sisyphus+364336.100.1.1 1733526854 installed <13>Dec 25 02:07:22 rpmi: glib2-devel-2.82.4-alt1 sisyphus+364807.100.1.1 1733991592 installed <13>Dec 25 02:07:22 rpmi: libgd3-devel-2.3.3-alt3 sisyphus+363178.500.7.1 1733130530 installed <13>Dec 25 02:07:22 rpmi: libltdl7-devel-2.4.7-alt5 sisyphus+341963.200.3.1 1711659208 installed <13>Dec 25 02:07:22 rpmi: libpng-devel-1.6.42-alt2 sisyphus+339555.100.1.1 1706781682 installed <13>Dec 25 02:07:22 rpmi: libjpeg-devel-2:3.0.2-alt2.1 sisyphus+340135.100.1.1 1707449145 installed <13>Dec 25 02:07:22 rpmi: perl-devel-1:5.38.2-alt0.2 sisyphus+344512.40.2.1 1712358015 installed <13>Dec 25 02:07:22 rpmi: traceroute-1:2.1.0-alt2 sisyphus+278100.7000.1.1 1626060510 installed warning: line 96: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-common = 3.0.6-alt18 warning: line 134: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-common = 3.0.6-alt18 warning: line 153: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-www = 3.0.6-alt18 apache2 warning: line 162: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-www = 3.0.6-alt18 lighttpd warning: line 179: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-common warning: line 180: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios warning: line 181: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-www Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/nagios-3.0.6-alt18.nosrc.rpm (w1.gzdio) warning: line 74: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-common = 3.0.6-alt18 warning: line 112: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-common = 3.0.6-alt18 warning: line 131: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-www = 3.0.6-alt18 apache2 warning: line 140: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-www = 3.0.6-alt18 lighttpd warning: line 157: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-common warning: line 158: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios warning: line 159: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-www Installing nagios-3.0.6-alt18.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.88849 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf nagios-3.0.6 + echo 'Source #0 (nagios-3.0.6.tar.gz):' Source #0 (nagios-3.0.6.tar.gz): + /usr/bin/gzip -dc /usr/src/RPM/SOURCES/nagios-3.0.6.tar.gz + /bin/tar -xf - + cd nagios-3.0.6 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (nagios-3.0.2-alt-makefile.patch):' Patch #0 (nagios-3.0.2-alt-makefile.patch): + /usr/bin/patch -p1 -b --suffix .p0 patching file Makefile.in patching file base/Makefile.in patching file cgi/Makefile.in patching file common/Makefile.in patching file contrib/Makefile.in patching file html/Makefile.in patching file module/Makefile.in + echo 'Patch #1 (nagios-3.0.2-alt-eperlfix.patch):' Patch #1 (nagios-3.0.2-alt-eperlfix.patch): + /usr/bin/patch -p1 -b --suffix .p1 patching file Makefile.in patching file include/locations.h.in patching file sample-config/nagios.cfg.in Hunk #1 succeeded at 1089 (offset 8 lines). + echo 'Patch #2 (nagios-3.0-alt-paths.patch):' Patch #2 (nagios-3.0-alt-paths.patch): + /usr/bin/patch -p1 -b --suffix .p2 patching file include/locations.h.in + echo 'Patch #3 (nagios-3.0.6-alt-scripts.patch):' Patch #3 (nagios-3.0.6-alt-scripts.patch): + /usr/bin/patch -p1 -b --suffix .p3 patching file contrib/eventhandlers/disable_active_service_checks patching file contrib/eventhandlers/disable_notifications patching file contrib/eventhandlers/distributed-monitoring/obsessive_svc_handler patching file contrib/eventhandlers/distributed-monitoring/submit_check_result_via_nsca patching file contrib/eventhandlers/enable_active_service_checks patching file contrib/eventhandlers/enable_notifications patching file contrib/eventhandlers/redundancy-scenario1/handle-master-host-event patching file contrib/eventhandlers/redundancy-scenario1/handle-master-proc-event patching file contrib/eventhandlers/submit_check_result patching file contrib/traceroute.cgi + echo 'Patch #4 (nagios-3.0.6-alt-config.patch):' Patch #4 (nagios-3.0.6-alt-config.patch): + /usr/bin/patch -p1 -b --suffix .p4 patching file sample-config/cgi.cfg.in Hunk #12 succeeded at 240 with fuzz 1. patching file sample-config/httpd.conf.in patching file sample-config/nagios.cfg.in patching file sample-config/resource.cfg.in patching file sample-config/template-object/commands.cfg.in patching file sample-config/template-object/contacts.cfg.in patching file sample-config/template-object/localhost.cfg.in patching file sample-config/template-object/printer.cfg.in patching file sample-config/template-object/switch.cfg.in patching file sample-config/template-object/templates.cfg.in patching file sample-config/template-object/timeperiods.cfg.in patching file sample-config/template-object/windows.cfg.in + echo 'Patch #10 (nagios-3.0.2-nagiosdevlist-disable-contactgroup-svc-notifications.patch):' Patch #10 (nagios-3.0.2-nagiosdevlist-disable-contactgroup-svc-notifications.patch): + /usr/bin/patch -p1 -b --suffix .p10 patching file base/commands.c Hunk #1 succeeded at 3758 (offset 15 lines). + echo 'Patch #11 (nagios-3.0.6-alt-warnings.patch):' Patch #11 (nagios-3.0.6-alt-warnings.patch): + /usr/bin/patch -p1 -b --suffix .p11 patching file base/checks.c patching file base/commands.c patching file base/config.c patching file base/flapping.c patching file base/logging.c patching file base/nagios.c patching file base/nagiostats.c patching file base/nebmods.c patching file base/notifications.c patching file base/utils.c patching file cgi/cgiauth.c patching file cgi/extinfo.c Hunk #1 succeeded at 1015 (offset -1 lines). Hunk #2 succeeded at 1104 (offset -1 lines). Hunk #3 succeeded at 1321 (offset -1 lines). Hunk #4 succeeded at 1415 (offset -1 lines). patching file cgi/statuswml.c Hunk #1 succeeded at 1234 (offset 32 lines). Hunk #2 succeeded at 1296 (offset 32 lines). Hunk #3 succeeded at 1331 (offset 32 lines). Hunk #4 succeeded at 1365 (offset 32 lines). patching file common/downtime.c patching file common/macros.c patching file common/objects.c patching file common/statusdata.c patching file contrib/convertcfg.c patching file contrib/mini_epn.c patching file contrib/new_mini_epn.c patching file xdata/xodtemplate.c patching file xdata/xrddefault.c patching file xdata/xsddefault.c + echo 'Patch #12 (nagios-3.0.6-alt-ignore-empty-hostgroups.patch):' Patch #12 (nagios-3.0.6-alt-ignore-empty-hostgroups.patch): + /usr/bin/patch -p2 -b --suffix .p12 patching file xdata/xodtemplate.c + echo 'Patch #13 (nagios-3.0.6-alt-format-comments.patch):' Patch #13 (nagios-3.0.6-alt-format-comments.patch): + /usr/bin/patch -p2 -b --suffix .p13 patching file cgi/extinfo.c + echo 'Patch #14 (nagios-3.0.6-CVE-2014-1878.patch):' Patch #14 (nagios-3.0.6-CVE-2014-1878.patch): + /usr/bin/patch -p2 -b --suffix .p14 patching file cgi/cmd.c + echo 'Patch #15 (nagios-3.0.6-CVE-2016-9566.patch):' Patch #15 (nagios-3.0.6-CVE-2016-9566.patch): + /usr/bin/patch -p2 -b --suffix .p15 patching file base/logging.c + echo 'Patch #16 (nagios-3.0.6-CVE-2016-8641.patch):' Patch #16 (nagios-3.0.6-CVE-2016-8641.patch): + /usr/bin/patch -p2 -b --suffix .p16 patching file daemon-init.in + echo 'Patch #17 (nagios-3.0.6-CVE-2017-12847.patch):' Patch #17 (nagios-3.0.6-CVE-2017-12847.patch): + /usr/bin/patch -p2 -b --suffix .p17 patching file base/nagios.c Hunk #1 succeeded at 619 with fuzz 1. Hunk #2 succeeded at 737 (offset -13 lines). + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.29634 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd nagios-3.0.6 + PATH=/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games:/usr/sbin + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --enable-nanosleep --enable-event-broker --enable-embedded-perl --with-nagios-user=nagios --with-nagios-group=nagiosnew --with-command-user=nagios --with-command-group=nagiosnew --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios --with-init-dir=/etc/rc.d/init.d --localstatedir=/var --with-lockfile=/var/run/nagios/nagios.pid --with-mail=/bin/mail --with-perlcache --with-httpd-conf=/etc/nagios/webserver --with-checkresult-dir=/var/spool/nagios checking for a BSD-compatible install... /usr/bin/ginstall -c checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes checking for strip... /usr/bin/strip checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for egrep... grep -E checking for ANSI C header files... no 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 pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pthreads.h usability... no checking pthreads.h presence... no checking for pthreads.h... no 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 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... int 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... no 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 pthread_create in -lcma... no checking for pthread_create in -lpthread... yes checking for library containing nanosleep... none required We'll use default routines (in xdata/xsddefault.*) for status data I/O... We'll use default routines (in xdata/xcddefault.*) for comment data I/O... We'll use default routines (in xdata/xrddefault.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use default routines (in xdata/xdddefault.*) for scheduled downtime data I/O... checking for main in -liconv... no checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes GD library was found! 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 creating base/perlxsi.c Embedded Perl interpreter will be compiled in... Internally compiled Perl scripts will be cached... Using threaded perl checking for traceroute... /usr/bin/traceroute checking for type va_list... yes checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating 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 xdata/Makefile config.status: creating daemon-init config.status: creating html/index.html config.status: creating html/side.html config.status: creating include/config.h config.status: creating include/snprintf.h config.status: creating include/cgiutils.h Creating sample config files in sample-config/ ... *** Configuration summary for nagios 3.0.6 12-01-2008 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagiosnew Command user/group: nagios,nagiosnew Embedded Perl: yes, with caching Event Broker: yes Install ${prefix}: /usr Lock file: /var/run/nagios/nagios.pid Check result directory: /var/spool/nagios Init directory: /etc/rc.d/init.d Apache conf.d directory: /etc/nagios/webserver Mail program: /bin/mail Host OS: linux-gnu Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/bin/traceroute Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. + make -j16 all cd ./base && make make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o logging.o logging.c logging.c: In function 'write_to_log': logging.c:184:20: error: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] 184 | return NULL; | ^~~~ logging.c:190:20: error: returning 'void *' from a function with return type 'int' makes integer from pointer without a cast [-Wint-conversion] 190 | return NULL; | ^~~~ logging.c:194:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 194 | if (fh != -1) | ^~ logging.c:197:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 197 | if(fp==NULL){ | ^~ logging.c: In function 'log_service_event': logging.c:257:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 257 | int tmp; | ^~~ logging.c: In function 'log_host_event': logging.c:298:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 298 | int tmp; | ^~~ logging.c: In function 'log_host_states': logging.c:329:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 329 | int tmp; | ^~~ logging.c: In function 'log_service_states': logging.c:359:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 359 | int tmp; | ^~~ logging.c: In function 'rotate_log_file': logging.c:394:29: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 394 | int rename_result=0,tmp; | ^~~ logging.c: In function 'write_log_file_info': logging.c:457:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 457 | int tmp; | ^~~ logging.c: In function 'log_debug_info': logging.c:516:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 516 | int tmp; | ^~~ make[1]: *** [: logging.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o retention-base.o sretention.c make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o flapping.o flapping.c flapping.c: In function 'set_service_flap': flapping.c:324:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 324 | int tmp; | ^~~ flapping.c: In function 'set_host_flap': flapping.c:405:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 405 | int tmp; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o broker.o broker.c make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o skiplist.o ../common/skiplist.c make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o sehandlers.o sehandlers.c make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o nebmods.o nebmods.c nebmods.c: In function 'neb_load_all_modules': nebmods.c:155:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] 155 | int result=OK; | ^~~~~~ nebmods.c: In function 'neb_load_module': nebmods.c:174:23: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 174 | int result=OK,tmp; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o notifications.o notifications.c notifications.c: In function 'service_notification': notifications.c:71:49: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 71 | int increment_notification_number=FALSE,tmp; | ^~~ notifications.c: In function 'notify_contact_of_service': notifications.c:655:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 655 | int tmp; | ^~~ notifications.c: In function 'create_notification_list_from_service': notifications.c:869:41: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 869 | int escalate_notification=FALSE,tmp; | ^~~ notifications.c: In function 'host_notification': notifications.c:971:49: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 971 | int increment_notification_number=FALSE,tmp; | ^~~ notifications.c: In function 'notify_contact_of_host': notifications.c:1514:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1514 | int tmp; | ^~~ notifications.c: In function 'create_notification_list_from_host': notifications.c:1728:41: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1728 | int escalate_notification=FALSE,tmp; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o comments-base.o ../common/comments.c make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o events.o events.c make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o config.o config.c config.c: In function 'read_main_config_file': config.c:259:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 259 | int tmp; | ^~~ config.c: In function 'pre_flight_check': config.c:1491:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1491 | int tmp; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o macros-base.o ../common/macros.c ../common/macros.c: In function 'process_macros': ../common/macros.c:145:101: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 145 | log_debug_info(DEBUGL_MACROS,2," Not currently in macro. Running output (%d): '%s'\n",strlen(*output_buffer),*output_buffer); | ~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld ../common/macros.c:180:96: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 180 | log_debug_info(DEBUGL_MACROS,2," Escaped $. Running output (%d): '%s'\n",strlen(*output_buffer),*output_buffer); | ~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld ../common/macros.c:191:96: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 191 | log_debug_info(DEBUGL_MACROS,2," Non-macro. Running output (%d): '%s'\n",strlen(*output_buffer),*output_buffer); | ~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld ../common/macros.c:234:116: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 234 | log_debug_info(DEBUGL_MACROS,2," Cleaned macro. Running output (%d): '%s'\n",strlen(*output_buffer),*output_buffer); | ~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld ../common/macros.c:247:118: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 247 | log_debug_info(DEBUGL_MACROS,2," Uncleaned macro. Running output (%d): '%s'\n",strlen(*output_buffer),*output_buffer); | ~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld ../common/macros.c:257:106: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 257 | log_debug_info(DEBUGL_MACROS,2," Just finished macro. Running output (%d): '%s'\n",strlen(*output_buffer),*output_buffer); | ~^ ~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld ../common/macros.c:88:13: warning: variable 'found_macro_x' set but not used [-Wunused-but-set-variable] 88 | int found_macro_x=FALSE; | ^~~~~~~~~~~~~ ../common/macros.c:83:13: warning: variable 'x' set but not used [-Wunused-but-set-variable] 83 | int x=0; | ^ ../common/macros.c: In function 'grab_macrox_value': ../common/macros.c:672:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 672 | int tmp; | ^~~ ../common/macros.c: In function 'grab_datetime_macro': ../common/macros.c:1489:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1489 | int tmp; | ^~~ ../common/macros.c: In function 'grab_standard_host_macro': ../common/macros.c:1596:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1596 | int tmp; | ^~~ ../common/macros.c: In function 'grab_standard_service_macro': ../common/macros.c:1952:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1952 | int tmp; | ^~~ ../common/macros.c: In function 'grab_standard_contact_macro': ../common/macros.c:2260:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 2260 | int tmp; | ^~~ ../common/macros.c: In function 'set_argv_macro_environment_vars': ../common/macros.c:3173:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 3173 | int tmp; | ^~~ ../common/macros.c: In function 'set_custom_macro_environment_vars': ../common/macros.c:3193:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 3193 | int tmp; | ^~~ ../common/macros.c: In function 'set_contact_address_environment_vars': ../common/macros.c:3243:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 3243 | int tmp; | ^~~ ../common/macros.c: In function 'set_macro_environment_var': ../common/macros.c:3262:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 3262 | int tmp; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c ../xdata/xrddefault.c: In function 'xrddefault_save_state_information': ../xdata/xrddefault.c:257:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 257 | int tmp; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o utils.o utils.c utils.c: In function 'my_system': utils.c:311:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 311 | int tmp; | ^~~ utils.c:304:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 304 | int count; | ^~~~~ utils.c: In function 'check_time_against_period': utils.c:796:13: warning: variable 'test_time_mday' set but not used [-Wunused-but-set-variable] 796 | int test_time_mday=0; | ^~~~~~~~~~~~~~ utils.c: In function 'get_next_valid_time': utils.c:1085:13: warning: variable 'current_time_wday' set but not used [-Wunused-but-set-variable] 1085 | int current_time_wday=0; | ^~~~~~~~~~~~~~~~~ utils.c:1080:13: warning: variable 'pref_time_mday' set but not used [-Wunused-but-set-variable] 1080 | int pref_time_mday=0; | ^~~~~~~~~~~~~~ utils.c: In function 'daemon_init': utils.c:1962:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1962 | int tmp; | ^~~ utils.c: In function 'move_check_result_to_queue': utils.c:2181:22: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 2181 | int result=0,tmp; | ^~~ utils.c: In function 'process_check_result_queue': utils.c:2246:23: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 2246 | int result=OK,tmp; | ^~~ utils.c: In function 'process_check_result_file': utils.c:2327:13: warning: variable 'delete_file' set but not used [-Wunused-but-set-variable] 2327 | int delete_file=FALSE; | ^~~~~~~~~~~ utils.c: In function 'delete_check_result_file': utils.c:2497:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 2497 | int tmp; | ^~~ utils.c: In function 'parse_check_output': utils.c:2784:35: warning: the comparison will always evaluate as 'false' for the address of 'escape_newlines' will never be NULL [-Waddress] 2784 | if(escape_newlines==FALSE) | ^~ In file included from utils.c:31: ../include/nagios.h:663:7: note: 'escape_newlines' declared here 663 | char *escape_newlines(char *); | ^~~~~~~~~~~~~~~ utils.c: In function 'contains_illegal_object_chars': utils.c:2971:22: warning: variable 'ch' set but not used [-Wunused-but-set-variable] 2971 | register int ch=0; | ^~ utils.c: In function 'my_fcopy': utils.c:3266:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 3266 | int tmp; | ^~~ In file included from ../include/epn_nagios.h:12, from utils.c:38: utils.c: In function 'init_embedded_perl': utils.c:3620:38: error: passing argument 2 of 'Perl_sys_init3' from incompatible pointer type [-Wincompatible-pointer-types] 3620 | PERL_SYS_INIT3(&argc,&embedding,&env); | ^~~~~~~~~~ | | | char * (*)[2] /usr/lib64/perl5/CORE/perl.h:3609:62: note: in definition of macro 'PERL_SYS_INIT3' 3609 | #define PERL_SYS_INIT3(argc, argv, env) Perl_sys_init3(argc, argv, env) | ^~~~ In file included from /usr/lib64/perl5/CORE/perl.h:6188: /usr/lib64/perl5/CORE/proto.h:4997:35: note: expected 'char ***' but argument is of type 'char * (*)[2]' 4997 | Perl_sys_init3(int *argc, char ***argv, char ***env); | ~~~~~~~~^~~~ utils.c: In function 'file_uses_embedded_perl': utils.c:3679:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3679 | tmp=(int)fgets(line1,80,fp); | ^ utils.c:3670:39: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 3670 | int found_epn_directive=FALSE,tmp; | ^~~ utils.c: In function 'submit_raw_external_command': utils.c:3987:23: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 3987 | int result=OK,tmp; | ^~~ utils.c: In function 'generate_check_stats': utils.c:4135:13: warning: variable 'right_value' set but not used [-Wunused-but-set-variable] 4135 | int right_value=0; | ^~~~~~~~~~~ utils.c:4134:13: warning: variable 'left_value' set but not used [-Wunused-but-set-variable] 4134 | int left_value=0; | ^~~~~~~~~~ make[1]: *** [: utils.o] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o commands.o commands.c commands.c: In function 'process_external_command1': commands.c:218:35: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 218 | int command_type=CMD_NONE,tmp; | ^~~ commands.c: In function 'process_passive_checks': commands.c:4943:36: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 4943 | int checkresult_file_fd=-1,tmp; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make[1]: Entering directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -DHAVE_CONFIG_H -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DNSCORE -c -o checks.o checks.c checks.c: In function 'run_async_service_check': checks.c:343:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 343 | int count ; | ^~~~~ checks.c:333:29: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 333 | int dbuf_chunk=1024,tmp; | ^~~ checks.c:324:13: warning: variable 'wait_result' set but not used [-Wunused-but-set-variable] 324 | int wait_result=0; | ^~~~~~~~~~~ checks.c: In function 'handle_async_service_check_result': checks.c:904:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 904 | int tmp; | ^~~ checks.c: In function 'execute_sync_host_check_3x': checks.c:2624:13: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 2624 | int tmp; | ^~~ checks.c: In function 'run_async_host_check_3x': checks.c:2849:29: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 2849 | int dbuf_chunk=1024,tmp; | ^~~ checks.c:2841:13: warning: variable 'wait_result' set but not used [-Wunused-but-set-variable] 2841 | int wait_result=0; | ^~~~~~~~~~~ checks.c: In function 'handle_async_host_check_result_3x': checks.c:3184:36: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 3184 | int reschedule_check=FALSE,tmp; | ^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/nagios-3.0.6/base' make: *** [Makefile:64: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.29634 (%build) RPM build errors: line 74: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-common = 3.0.6-alt18 line 112: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-common = 3.0.6-alt18 line 131: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-www = 3.0.6-alt18 apache2 line 140: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-www = 3.0.6-alt18 lighttpd line 157: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-common line 158: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios line 159: Deprecated PreReq converted to Requires(pre,postun): PreReq: nagios-www Bad exit status from /usr/src/tmp/rpm-tmp.29634 (%build) Command exited with non-zero status 1 5.69user 3.90system 0:05.57elapsed 172%CPU (0avgtext+0avgdata 101440maxresident)k 0inputs+0outputs (0major+760005minor)pagefaults 0swaps hsh-rebuild: rebuild of `nagios-3.0.6-alt18.src.rpm' failed. Command exited with non-zero status 1 3.85user 2.66system 0:16.81elapsed 38%CPU (0avgtext+0avgdata 136620maxresident)k 6928inputs+0outputs (0major+211886minor)pagefaults 0swaps