D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/xymon-4.3.30-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.m9Xl3A + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build + test -d /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hWLZL6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build + rm -rf xymon-4.3.30 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xymon-4.3.30.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xymon-4.3.30 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.28-first-fhs-moves.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-disable-client-and-multiserv.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-set-client-home.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-pid-control-and-logging.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-user-libs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-log-fetch.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-noenv-and-timeout.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-use-timeout-and-retries.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-run-directory.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-fix-multiclient-lockup.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-run-directory-tasks.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-remove-nohup.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-environ-path-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-www-cache-dir.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-stop-core-flood.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3-increase-criticalview-priorities.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xymon-4.3-require-auth-for-secure-cgi.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/fix-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/87_fix_logfetch_FTBFS_with_glibc_2.26.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XOqYDq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xymon-4.3.30 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + find -type f + find xymond/ xymongen/ xymonnet/ xymonproxy/ -type f + xargs -r /usr/bin/perl -p -e 's#\@XYMONTOPDIR\@/server/bin/xymond\b#/usr/sbin/xymond#g;' -e 's#\@XYMONTOPDIR\@/server/bin/xymonlaunch\b#/usr/sbin/xymonlaunch#g;' -e 's#\@XYMONTOPDIR\@/server/bin#/usr/libexec/xymon#g;' -e 's#\@XYMONTOPDIR\@/server/etc#/etc/xymon#g;' -e 's#\@XYMONTOPDIR\@/server/ext#/etc/xymon/ext#g;' -e 's#\@XYMONTOPDIR\@/client/bin/xymonlaunch\b#/usr/sbin/xymonlaunch#g;' -e 's#\@XYMONTOPDIR\@/client/bin#/usr/libexec/xymon-client#g;' -e 's#\@XYMONTOPDIR\@/client/etc#/etc/xymon-client#g;' -e 's#\@XYMONTOPDIR\@/client/ext#/usr/share/xymon-client/ext#g;' -e 's#\@XYMONTOPDIR\@/client"#/usr/share/xymon-client"#g;' -i + xargs -r /usr/bin/perl -p -e 's#\@XYMONHOME\@/bin#/usr/libexec/xymon#g;' -e 's#\@XYMONHOME\@/etc#/etc/xymon#g;' -e 's#\@XYMONHOME\@/ext#/etc/xymon/ext#g;' -i + rm -f tmp.flist tmp.slist + find docs/manpages/ -type f + grep -v '.html$' + xargs -r rm + /usr/bin/sed -e 's/^CC/#CC/g; s/^CFLAGS/#CFLAGS/g;' -i build/Makefile.Linux + export CC=gcc 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pthread' USEXYMONPING=n USERFPING=/usr/sbin/fping ENABLESSL=y SSLOK=YES ENABLELDAP=y ENABLELDAPSSL=y CONFTYPE=server XYMONUSER=xymon XYMONTOPDIR=/usr/share/xymon XYMONVAR=/var/lib/xymon XYMONHOSTURL=/xymon CGIDIR=/usr/share/xymon/cgi-bin XYMONCGIURL=/xymon-cgi SECURECGIDIR=/usr/share/xymon/cgi-secure SECUREXYMONCGIURL=/xymon-seccgi HTTPDGID=apache XYMONLOGDIR=/var/log/xymon XYMONRUNDIR=/run/xymon XYMONHOSTNAME=localhost XYMONHOSTIP=127.0.0.1 MANROOT=/usr/share/man INSTALLBINDIR=/usr/libexec/xymon INSTALLETCDIR=/etc/xymon INSTALLEXTDIR=/etc/xymon/ext INSTALLWEBDIR=/etc/xymon/web INSTALLTMPDIR=/var/lib/xymon/tmp INSTALLWWWDIR=/var/www/xymon INSTALLSTATICWWWDIR=/usr/share/xymon/static SNMP=1 + CC=gcc + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -pthread' + USEXYMONPING=n + USERFPING=/usr/sbin/fping + ENABLESSL=y + SSLOK=YES + ENABLELDAP=y + ENABLELDAPSSL=y + CONFTYPE=server + XYMONUSER=xymon + XYMONTOPDIR=/usr/share/xymon + XYMONVAR=/var/lib/xymon + XYMONHOSTURL=/xymon + CGIDIR=/usr/share/xymon/cgi-bin + XYMONCGIURL=/xymon-cgi + SECURECGIDIR=/usr/share/xymon/cgi-secure + SECUREXYMONCGIURL=/xymon-seccgi + HTTPDGID=apache + XYMONLOGDIR=/var/log/xymon + XYMONRUNDIR=/run/xymon + XYMONHOSTNAME=localhost + XYMONHOSTIP=127.0.0.1 + MANROOT=/usr/share/man + INSTALLBINDIR=/usr/libexec/xymon + INSTALLETCDIR=/etc/xymon + INSTALLEXTDIR=/etc/xymon/ext + INSTALLWEBDIR=/etc/xymon/web + INSTALLTMPDIR=/var/lib/xymon/tmp + INSTALLWWWDIR=/var/www/xymon + INSTALLSTATICWWWDIR=/usr/share/xymon/static + SNMP=1 + ./configure Configuration script for Xymon This script asks a few questions and builds a Makefile to compile Xymon Checking your make-utility Checking pre-requisites for building Xymon Checking for fping ... OK, will use '/usr/sbin/fping' for ping tests Checking for PCRE ... Compiling with PCRE library works OK Linking with PCRE library works OK Checking for C-ARES library ... Makefile.rules:252: *** missing separator. Stop. Makefile.rules:252: *** missing separator. Stop. ERROR: Cannot compile using c-ares library. The system C-ARES library is missing or not usable. I will use the version shipped with Xymon Checking for RRDtool ... Not RRDtool 1.0.x, checking for 1.2.x Compiling with RRDtool works OK Linking with RRDtool works OK Linking RRD needs extra library: -L/usr/lib64 -lpng Checking for OpenSSL ... Compiling with SSL library works OK Linking with SSL library works OK Checking if your SSL library has SSLv2 enabled SSLv2 support disabled (dont worry, all systems should use SSLv1 or TLS) Checking if your SSL library has SSLv3 enabled SSLv3 support disabled (dont worry, all systems should use SSLv1 or TLS) Xymon can use the OpenSSL library to test SSL-enabled services like https-encrypted websites, POP3S, IMAPS, NNTPS and TELNETS. If you have the OpenSSL library installed, I recommend that you enable this. Do you want to be able to test SSL-enabled services (y) ? Checking for LDAP ... WARNING: Cannot compile with LDAP WARNING: Cannot link with LDAP (Open)LDAP include- or library-files not found. If you want to perform detailed LDAP tests (queries), you need to install an LDAP client library that Xymon can use. OpenLDAP can be found at http://www.openldap.org/ If you have OpenLDAP installed, use the "--ldapinclude DIR" and "--ldaplib DIR" options to configure to specify where they are. Continuing with LDAP support disabled. Checking for clock_gettime() requiring librt ... Checking for Net-SNMP ... Found Net-SNMP version 5.9.4.pre2 Checking for Large File Support ... Large File Support OK Setting up for a Xymon server What userid will be running Xymon [xymon] ? Where do you want the Xymon installation [/usr/share/xymon] ? WARNING: /usr/share/xymon does not exist. What URL will you use for the Xymon webpages [/xymon] ? Where to put the Xymon CGI scripts [/usr/share/xymon/cgi-bin] ? (Note: This is the filesystem directory - we will get to the URL shortly) What is the URL for the Xymon CGI directory [/xymon-cgi] ? (Note: This is the URL - NOT the filesystem directory) ********************** SECURITY NOTICE **************************** If your Xymon server is accessible by outsiders, then you should restrict access to the CGI scripts that handle enable/disable of hosts, and acknowledging of alerts. The easiest way to do this is to put these in a separate CGI directory and require a password to access them. Even if your Xymon server is on a secured, internal network, you may want to have some operations (like disabling a host) be password- protected - that lets you see who disabled or acknowledged an alert. Where to put the Xymon Administration CGI scripts [/usr/share/xymon/cgi-secure] ? (Note: This is the filesystem directory - we will get to the URL shortly) What is the URL for the Xymon Administration CGI directory [/xymon-seccgi] ? (Note: This is the URL - NOT the filesystem directory) ** Note that you may need to modify your webserver configuration. ** After installing, see /usr/share/xymon/server/etc/xymon-apache.conf for an example configuration. To generate Xymon availability reports, your webserver must have write-access to a directory below the Xymon top-level directory. I can set this up if you tell me what group-ID your webserver runs with. This is typically 'nobody' or 'apache' or 'www-data' What group-ID does your webserver use [nobody] ? Where to put the Xymon logfiles [/var/log/xymon] ? Where to put the Xymon runfiles [/var/log/xymon] ? What is the name of this host [mageia] ? What is the IP-address of this host [127.0.0.1] ? ** NOTE: Using 127.0.0.1 (loopback), but it is probably not what you want ** Where should I install the Xymon man-pages (/usr/local/man) ? Using Linux Makefile settings Created Makefile with the necessary information to build Xymon Some defaults are used, so do look at the Makefile before continuing. Configuration complete - now run make (GNU make) to build the tools + make PKGBUILD=1 MAKE="make" CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include -I/usr/include/tirpc -I/usr/include" LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" `pwd`/build/genconfig.sh Checking for socklen_t Checking for snprintf Checking for vsnprintf Checking for rpc/rpcent.h Checking for sys/select.h Checking for u_int32_t typedef Checking for PATH_MAX definition Checking for SHUT_RD/WR/RDWR definitions Checking for strtoll() Checking for uname Checking for setenv config.h created CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include -I/usr/include/tirpc -I/usr/include" LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" OSDEF="-DLINUX" RPATHOPT="" PCREINCDIR="-I/usr/include" ZLIBINCDIR="" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="-I/usr/include" SSLLIBS="-L/usr/lib64 -lssl -lcrypto" NETLIBS="-ltirpc" LIBRTDEF="" XYMONTOPDIR="/usr/share/xymon" XYMONHOME="/usr/share/xymon" XYMONCLIENTHOME=/usr/share/xymon/client XYMONLOGDIR="/var/log/xymon" XYMONHOSTNAME="localhost" XYMONHOSTIP="127.0.0.1" XYMONHOSTOS="linux" make -C lib all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/lib' gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -o test-endianness test-endianness.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o osdefs.o osdefs.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o acklog.o acklog.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o availability.o availability.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o calc.o calc.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o cgi.o cgi.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o cgiurls.o cgiurls.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o clientlocal.o clientlocal.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o color.o color.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o crondate.o crondate.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o digest.o digest.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o encoding.o encoding.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -DXYMONTOPDIR=\"/usr/share/xymon\" -DXYMONLOGDIR=\"/var/log/xymon\" -DXYMONHOSTNAME=\"localhost\" -DXYMONHOSTIP=\"127.0.0.1\" -DXYMONHOSTOS=\"linux\" -DXYMONHOME=\"/usr/share/xymon\" -c -o environ.o environ.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o errormsg.o errormsg.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -I/usr/include -c -o eventlog.o eventlog.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o files.o files.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -I/usr/include -c -o headfoot.o headfoot.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o xymonrrd.o xymonrrd.c xymonrrd.c: In function 'rrd_setup.part.0': xymonrrd.c:87:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 87 | strncpy(tcptests, services, tcptests_buflen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include/libxymon.h:99, from xymonrrd.c:23: xymonrrd.c:84:31: note: length computed here 84 | SBUF_MALLOC(tcptests, strlen(services)+1); | ^~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include/../lib/strfunc.h:34:51: note: in definition of macro 'SBUF_MALLOC' 34 | #define SBUF_MALLOC(NAME, LEN) { NAME##_buflen = (LEN); NAME = (char *)malloc((LEN)+1); } | ^~~ In function 'xymon_graph_text', inlined from 'xymon_graph_data' at xymonrrd.c:323:9: xymonrrd.c:244:17: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation] 244 | strncpy(rrdservicename, graphdef->xymonrrdname, sizeof(rrdservicename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o holidays.o holidays.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o htmllog.o htmllog.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o ipaccess.o ipaccess.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -I/usr/include -c -o loadalerts.o loadalerts.c loadalerts.c: In function 'print_alert_recipients': loadalerts.c:1220:96: warning: 'strncat' specified bound 25 equals destination size [-Wstringop-overflow=] 1220 | if (recip->noalerts) { if (*codes) strncat(codes, ",A", codes_bytesleft); else strncat(codes, "-A", codes_bytesleft); codes_bytesleft -= 2; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadalerts.c:1220:52: warning: 'strncat' specified bound 25 equals destination size [-Wstringop-overflow=] 1220 | if (recip->noalerts) { if (*codes) strncat(codes, ",A", codes_bytesleft); else strncat(codes, "-A", codes_bytesleft); codes_bytesleft -= 2; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ loadalerts.c: In function 'load_alertconfig': loadalerts.c:207:23: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 207 | if (configfn) strncpy(fn, configfn, sizeof(fn)); else snprintf(fn, sizeof(fn), "%s/etc/alerts.cfg", xgetenv("XYMONHOME")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o loadcriticalconf.o loadcriticalconf.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o links.o links.c links.c: In function 'load_all_links': links.c:144:17: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 144 | strncpy(dirname, xgetenv("XYMONNOTESDIR"), sizeof(dirname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -I/usr/include -c -o matching.o matching.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o md5.o md5.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o memory.o memory.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o misc.o misc.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o msort.o msort.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o netservices.o netservices.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -I/usr/include -c -o notifylog.o notifylog.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -I/usr/include -c -o acknowledgementslog.o acknowledgementslog.c acknowledgementslog.c: In function 'do_acknowledgementslog': acknowledgementslog.c:225:25: warning: 'strncpy' specified bound 16384 equals destination size [-Wstringop-truncation] 225 | strncpy(svc,p+1, sizeof(svc)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ acknowledgementslog.c:230:25: warning: 'strncpy' specified bound 16384 equals destination size [-Wstringop-truncation] 230 | strncpy(recipient,p+12, sizeof(recipient)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o readmib.o readmib.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o reportlog.o reportlog.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include `./test-endianness` -c -o rmd160c.o rmd160c.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include `./test-endianness` -c -o sha1.o sha1.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o sha2.o sha2.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o sig.o sig.c sig.c: In function 'setup_signalhandler': sig.c:101:9: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 101 | strncpy(signal_xymoncmd, xgetenv("XYMON"), sizeof(signal_xymoncmd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sig.c:102:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 102 | strncpy(signal_xymondserver, xgetenv("XYMSRV"), sizeof(signal_xymondserver)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sig.c:103:9: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 103 | strncpy(signal_tmpdir, xgetenv("XYMONTMP"), sizeof(signal_tmpdir)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o stackio.o stackio.c stackio.c: In function 'addtofnlist': stackio.c:338:30: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 338 | if (*dirname == '/') strncpy(dirfn, dirname, sizeof(dirfn)); else snprintf(dirfn, sizeof(dirfn), "%s/%s", stackfd_base, dirname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stackio.c: In function 'stackfopen': stackio.c:211:25: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 211 | strncpy(stackfd_filename, filename, sizeof(stackfd_filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stackio.c:207:17: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 207 | strncpy(stackfd_filename, filename, sizeof(stackfd_filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o strfunc.o strfunc.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o suid.o suid.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o timefunc.o timefunc.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o tree.o tree.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o url.o url.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o webaccess.o webaccess.c ar cr libxymon.a osdefs.o acklog.o availability.o calc.o cgi.o cgiurls.o clientlocal.o color.o crondate.o digest.o encoding.o environ.o errormsg.o eventlog.o files.o headfoot.o xymonrrd.o holidays.o htmllog.o ipaccess.o loadalerts.o loadcriticalconf.o links.o matching.o md5.o memory.o misc.o msort.o netservices.o notifylog.o acknowledgementslog.o readmib.o reportlog.o rmd160c.o sha1.o sha2.o sig.o stackio.o strfunc.o suid.o timefunc.o tree.o url.o webaccess.o ranlib libxymon.a || echo "" gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o loadhosts.o loadhosts.c In file included from loadhosts.c:349: loadhosts_net.c: In function 'load_hostinfo': loadhosts_net.c:95:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 95 | strncpy(hival_hostinfo.ip, hivals[XMH_IP], sizeof(hival_hostinfo.ip)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from loadhosts.c:348: In function 'prepare_fromnet', inlined from 'load_hostnames' at loadhosts_file.c:142:16: loadhosts_file.c:113:9: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation] 113 | strncpy(contentmd5, fhash, sizeof(contentmd5)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o locator.o locator.c locator.c: In function 'locator_cmd': locator.c:209:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 209 | strncpy(pingbuf, cmd, sizeof(pingbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o sendmsg.o sendmsg.c sendmsg.c: In function 'sendtomany': sendmsg.c:477:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 477 | for (i = 0; (multircptcmds[i] && strcmp(multircptcmds[i], msgcmd)); i++) ; | ^~~ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include/libxymon.h:87, from sendmsg.c:44: /home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include/../lib/memory.h:101:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 101 | #define xfree(P) { if ((P) == NULL) { errprintf(xfreenullstr); abort(); } free((P)); (P) = NULL; } | ^ sendmsg.c:478:17: note: in expansion of macro 'xfree' 478 | xfree(msgcmd); | ^~~~~ sendmsg.c: In function 'sendtoxymond': sendmsg.c:280:25: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 280 | strncpy(hostip, inet_ntoa(addr), sizeof(hostip)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o xymond_ipc.o xymond_ipc.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o xymond_buffer.o xymond_buffer.c ar cr libxymoncomm.a osdefs.o acklog.o availability.o calc.o cgi.o cgiurls.o clientlocal.o color.o crondate.o digest.o encoding.o environ.o errormsg.o eventlog.o files.o headfoot.o xymonrrd.o holidays.o htmllog.o ipaccess.o loadalerts.o loadcriticalconf.o links.o matching.o md5.o memory.o misc.o msort.o netservices.o notifylog.o acknowledgementslog.o readmib.o reportlog.o rmd160c.o sha1.o sha2.o sig.o stackio.o strfunc.o suid.o timefunc.o tree.o url.o webaccess.o loadhosts.o locator.o sendmsg.o xymond_ipc.o xymond_buffer.o ranlib libxymoncomm.a || echo "" gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o run.o run.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -c -o timing.o timing.c ar cr libxymontime.a run.o timing.o ranlib libxymontime.a || echo "" ar cr libxymonclientcomm.a locator.o loadhosts.o sendmsg.o xymond_ipc.o xymond_buffer.o ranlib libxymonclientcomm.a || echo "" gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -DCLIENTONLY -c -o color-client.o color.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -DXYMONTOPDIR=\"/usr/share/xymon\" -DXYMONLOGDIR=\"/var/log/xymon\" -DXYMONHOSTNAME=\"localhost\" -DXYMONHOSTIP=\"127.0.0.1\" -DXYMONHOSTOS=\"linux\" -DXYMONHOME=\"/usr/share/xymon/client\" -c -o environ-client.o environ.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -DCLIENTONLY -c -o timefunc-client.o timefunc.c ar cr libxymonclient.a osdefs.o cgiurls.o color-client.o crondate.o digest.o encoding.o environ-client.o errormsg.o holidays.o ipaccess.o md5.o memory.o misc.o msort.o rmd160c.o sha1.o sha2.o sig.o stackio.o strfunc.o suid.o timefunc-client.o tree.o ranlib libxymonclient.a || echo "" gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -DSTANDALONE -o loadhosts loadhosts.c libxymoncomm.a -L/usr/lib64 -lssl -lcrypto -ltirpc In file included from loadhosts.c:349: loadhosts_net.c: In function 'load_hostinfo': loadhosts_net.c:95:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 95 | strncpy(hival_hostinfo.ip, hivals[XMH_IP], sizeof(hival_hostinfo.ip)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from loadhosts.c:348: In function 'prepare_fromnet', inlined from 'load_hostnames' at loadhosts_file.c:142:16: loadhosts_file.c:113:9: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation] 113 | strncpy(contentmd5, fhash, sizeof(contentmd5)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -DSTANDALONE -o stackio stackio.c libxymon.a stackio.c: In function 'addtofnlist': stackio.c:338:30: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 338 | if (*dirname == '/') strncpy(dirfn, dirname, sizeof(dirfn)); else snprintf(dirfn, sizeof(dirfn), "%s/%s", stackfd_base, dirname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stackio.c: In function 'stackfopen': stackio.c:211:25: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 211 | strncpy(stackfd_filename, filename, sizeof(stackfd_filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stackio.c:207:17: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 207 | strncpy(stackfd_filename, filename, sizeof(stackfd_filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -DSTANDALONE -o availability availability.c libxymon.a gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -DSTANDALONE `./test-endianness` -o md5 md5.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -DSTANDALONE `./test-endianness` -o sha1 sha1.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -DSTANDALONE `./test-endianness` -o rmd160 rmd160c.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -DSTANDALONE -o locator locator.c libxymoncomm.a -L/usr/lib64 -lssl -lcrypto -ltirpc libxymon.a locator.c: In function 'locator_cmd': locator.c:209:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 209 | strncpy(pingbuf, cmd, sizeof(pingbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -I../include -DSTANDALONE -o tree tree.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/lib' CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include -I/usr/include/tirpc -I/usr/include" LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" RPATHOPT="" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="-I/usr/include" SSLLIBS="-L/usr/lib64 -lssl -lcrypto" NETLIBS="-ltirpc" ZLIBLIBS="" LIBRTDEF="" XYMONHOME="/usr/share/xymon" make -C common all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/common' gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o xymongrep.o xymongrep.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -o xymongrep xymongrep.o ../lib/libxymoncomm.a -L/usr/lib64 -lssl -lcrypto -ltirpc ../lib/libxymon.a gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o xymondigest.o xymondigest.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -o xymondigest xymondigest.o ../lib/libxymoncomm.a -L/usr/lib64 -lssl -lcrypto -ltirpc ../lib/libxymon.a gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o xymon.o xymon.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -o xymon xymon.o ../lib/libxymoncomm.a -L/usr/lib64 -lssl -lcrypto -ltirpc ../lib/libxymon.a gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o xymoncmd.o xymoncmd.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -o xymoncmd xymoncmd.o ../lib/libxymon.a gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o xymonlaunch.o xymonlaunch.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -o xymonlaunch xymonlaunch.o ../lib/libxymontime.a ../lib/libxymon.a gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o xymoncfg.o xymoncfg.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -o xymoncfg xymoncfg.o ../lib/libxymon.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/common' CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include -I/usr/include/tirpc -I/usr/include" LDFLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" RPATHOPT="" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="-I/usr/include" SSLLIBS="-L/usr/lib64 -lssl -lcrypto" NETLIBS="-ltirpc" LIBRTDEF="" XYMONHOME="/usr/share/xymon" XYMONVAR="/var/lib/xymon" HISTGRAPHDEF="" RUNTIMEDEFS="" PCREINCDIR="-I/usr/include" PCRELIBS="-L/usr/lib64 -lpcre" ZLIBINCDIR="" ZLIBLIBS="" make -C xymongen all make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/xymongen' gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o xymongen.o xymongen.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o loadlayout.o loadlayout.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o loaddata.o loaddata.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o pagegen.o pagegen.c pagegen.c: In function 'do_hosts.part.0': pagegen.c:644:83: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 644 | sprintf(textrepurl, "%s/%s", | ^ pagegen.c:644:57: note: 'sprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 644 | sprintf(textrepurl, "%s/%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 645 | xgetenv("XYMONWEB"), textrepfn); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pagegen.c: In function 'do_one_page': pagegen.c:947:41: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 947 | sprintf(tmpfilename, "%s.tmp", filename); | ^~~~ pagegen.c:947:17: note: 'sprintf' output between 5 and 4100 bytes into a destination of size 4096 947 | sprintf(tmpfilename, "%s.tmp", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pagegen.c:948:44: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 948 | sprintf(tmprssfilename, "%s.tmp", rssfilename); | ^~~~ pagegen.c:948:17: note: 'sprintf' output between 5 and 4100 bytes into a destination of size 4096 948 | sprintf(tmprssfilename, "%s.tmp", rssfilename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pagegen.c: In function 'do_nongreen_page': pagegen.c:1251:33: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 1251 | sprintf(tmpfilename, "%s.tmp", filename); | ^~~~ pagegen.c:1251:9: note: 'sprintf' output between 5 and 4100 bytes into a destination of size 4096 1251 | sprintf(tmpfilename, "%s.tmp", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pagegen.c:1259:44: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 1259 | sprintf(tmprssfilename, "%s.tmp", rssfilename); | ^~~~ pagegen.c:1259:17: note: 'sprintf' output between 5 and 4100 bytes into a destination of size 4096 1259 | sprintf(tmprssfilename, "%s.tmp", rssfilename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o process.o process.c process.c: In function 'calc_pagecolors': process.c:106:49: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 106 | if ( e->propagate && | ^~ process.c:110:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 110 | oldage &= e->oldage; | ^~~~~~ process.c:126:49: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 126 | if ( e->propagate && | ^~ process.c:130:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 130 | oldage &= e->oldage; | ^~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o wmlgen.o wmlgen.c wmlgen.c: In function 'do_wml_cards': wmlgen.c:315:32: warning: '/nongreen.wml.tmp' directive writing 17 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 315 | sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir); | ^~~~~~~~~~~~~~~~~ wmlgen.c:315:9: note: 'sprintf' output between 18 and 4113 bytes into a destination of size 4096 315 | sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmlgen.c:122:27: warning: '.' directive writing 1 byte into a region of size between 0 and 4095 [-Wformat-overflow=] 122 | sprintf(fn, "%s/%s.%s.wml", wmldir, host->hostname, entry->column->name); | ^ In function 'generate_wml_statuscard', inlined from 'do_wml_cards' at wmlgen.c:297:5: wmlgen.c:122:9: note: 'sprintf' output 7 or more bytes (assuming 4102) into a destination of size 4096 122 | sprintf(fn, "%s/%s.%s.wml", wmldir, host->hostname, entry->column->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmlgen.c: In function 'do_wml_cards': wmlgen.c:315:32: warning: '/nongreen.wml.tmp' directive writing 17 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 315 | sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir); | ^~~~~~~~~~~~~~~~~ wmlgen.c:315:9: note: 'sprintf' output between 18 and 4113 bytes into a destination of size 4096 315 | sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wmlgen.c:339:47: warning: '.wml' directive writing 4 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 339 | sprintf(hostfn, "%s/%s.wml", wmldir, h->hostentry->hostname); | ^~~~ wmlgen.c:339:25: note: 'sprintf' output 6 or more bytes (assuming 4101) into a destination of size 4096 339 | sprintf(hostfn, "%s/%s.wml", wmldir, h->hostentry->hostname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o rssgen.o rssgen.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o util.o util.c util.c: In function 'hostpage_link': util.c:46:56: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 46 | sprintf(tmppath, "%s/%s", pgwalk->name, pagelink); | ^ util.c:46:33: note: 'sprintf' output 2 or more bytes (assuming 4097) into a destination of size 4096 46 | sprintf(tmppath, "%s/%s", pgwalk->name, pagelink); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o debug.o debug.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -c -o csvreport.o csvreport.c gcc -g -O2 -Wall -Wno-unused -I/usr/include/tirpc -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/include -I/usr/include/tirpc -I/usr/include -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xymongen xymongen.o loadlayout.o loaddata.o pagegen.o process.o wmlgen.o rssgen.o util.o debug.o csvreport.o ../lib/libxymontime.a ../lib/libxymoncomm.a -L/usr/lib64 -lssl -lcrypto -ltirpc -L/usr/lib64 -lpcre /usr/bin/ld: xymongen.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE /usr/bin/ld: failed to set dynamic section sizes: bad value collect2: error: ld returned 1 exit status make[1]: *** [Makefile:17: xymongen] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xymon-4.3.30-build/xymon-4.3.30/xymongen' make: *** [build/Makefile.rules:103: xymongen-build] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XOqYDq (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XOqYDq (%build) I: [iurt_root_command] ERROR: chroot