D: [iurt_root_command] chroot
Installing /home/iurt/rpmbuild/SRPMS/xymon-4.3.28-7.mga8.src.rpm
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.m05FFu
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/iurt/rpmbuild/BUILD
+ rm -rf xymon-4.3.28
+ /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/xymon-4.3.28.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd xymon-4.3.28
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.28-first-fhs-moves.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-disable-client-and-multiserv.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-set-client-home.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-pid-control-and-logging.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-user-libs.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-log-fetch.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-noenv-and-timeout.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-use-timeout-and-retries.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-run-directory.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-fix-multiclient-lockup.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-run-directory-tasks.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-remove-nohup.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-environ-path-fix.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-www-cache-dir.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3.17-stop-core-flood.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3-increase-criticalview-priorities.patch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/xymon-4.3-require-auth-for-secure-cgi.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ /usr/bin/cat /home/iurt/rpmbuild/SOURCES/87_fix_logfetch_FTBFS_with_glibc_2.26.patch
+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.PMXiir
+ umask 022
+ cd /home/iurt/rpmbuild/BUILD
+ cd xymon-4.3.28
+ '[' 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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -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 ...
Compiling with c-ares library works OK
C-ARES version: Found 1.17.1 - OK, require 1.12.0
Linking with c-ares library works OK
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
Will support SSLv3 when testing SSL-enabled network services
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 ...
Compiling with LDAP works OK
LDAP requires the LBER library
Linking with LDAP works OK
Xymon can use your OpenLDAP LDAP client library to test LDAP servers.
Do you want to be able to test LDAP servers (y) ?
Checking for clock_gettime() requiring librt ...
Checking for Net-SNMP ...
Found Net-SNMP version 5.9
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 [pktaa1.mageia.org] ?
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 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include -I/usr/include" LDFLAGS="" `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 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include -I/usr/include" LDFLAGS="" OSDEF="-DLINUX" RPATHOPT="" PCREINCDIR="-I/usr/include" ZLIBINCDIR="" SSLFLAGS="-DHAVE_OPENSSL -DHAVE_SSLV3_SUPPORT" SSLINCDIR="-I/usr/include" SSLLIBS="-L/usr/lib64 -lssl -lcrypto" NETLIBS="" 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/iurt/rpmbuild/BUILD/xymon-4.3.28/lib'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -o test-endianness test-endianness.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o osdefs.o osdefs.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o acklog.o acklog.c
acklog.c: In function 'do_acklog':
acklog.c:120:13: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign]
120 | nldecode(ackmsg); p = strchr(ackmsg, '\n');
| ^~~~~~
| |
| char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:74,
from acklog.c:28:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *'
18 | extern void nldecode(unsigned char *msg);
| ~~~~~~~~~~~~~~~^~~
acklog.c:129:27: warning: '%s' directive writing up to 16383 bytes into a region of size 4091 [-Wformat-overflow=]
129 | sprintf(ackfn, "%s/ack.%s", xgetenv("XYMONACKDIR"), hosttest);
| ^~ ~~~~~~~~
acklog.c:129:4: note: 'sprintf' output 6 or more bytes (assuming 16389) into a destination of size 4096
129 | sprintf(ackfn, "%s/ack.%s", xgetenv("XYMONACKDIR"), hosttest);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o availability.o availability.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o calc.o calc.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o cgi.o cgi.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o cgiurls.o cgiurls.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o clientlocal.o clientlocal.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o color.o color.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o crondate.o crondate.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o digest.o digest.c
digest.c: In function 'md5hash':
digest.c:40:27: warning: pointer targets in passing argument 2 of 'myMD5_Update' differ in signedness [-Wpointer-sign]
40 | myMD5_Update(ctx->mdctx, input, strlen(input));
| ^~~~~
| |
| char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:86,
from digest.c:20:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/md5.h:18:52: note: expected 'unsigned char *' but argument is of type 'char *'
18 | extern void myMD5_Update(void *pms, unsigned char *data, int nbytes);
| ~~~~~~~~~~~~~~~^~~~
digest.c: In function 'digest_done':
digest.c:185:18: warning: pointer targets in passing argument 1 of 'mySHA512_Final' differ in signedness [-Wpointer-sign]
185 | mySHA512_Final(md_value, ctx->mdctx);
| ^~~~~~~~
| |
| unsigned char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:96,
from digest.c:20:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/sha2.h:121:33: note: expected 'char *' but argument is of type 'unsigned char *'
121 | extern void mySHA512_Final(char md[20], void *c);
| ~~~~~^~~~~~
digest.c:192:18: warning: pointer targets in passing argument 1 of 'mySHA256_Final' differ in signedness [-Wpointer-sign]
192 | mySHA256_Final(md_value, ctx->mdctx);
| ^~~~~~~~
| |
| unsigned char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:96,
from digest.c:20:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/sha2.h:111:33: note: expected 'char *' but argument is of type 'unsigned char *'
111 | extern void mySHA256_Final(char md[20], void *c);
| ~~~~~^~~~~~
digest.c:199:18: warning: pointer targets in passing argument 1 of 'mySHA384_Final' differ in signedness [-Wpointer-sign]
199 | mySHA384_Final(md_value, ctx->mdctx);
| ^~~~~~~~
| |
| unsigned char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:96,
from digest.c:20:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/sha2.h:116:33: note: expected 'char *' but argument is of type 'unsigned char *'
116 | extern void mySHA384_Final(char md[20], void *c);
| ~~~~~^~~~~~
digest.c:206:18: warning: pointer targets in passing argument 1 of 'mySHA224_Final' differ in signedness [-Wpointer-sign]
206 | mySHA224_Final(md_value, ctx->mdctx);
| ^~~~~~~~
| |
| unsigned char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:96,
from digest.c:20:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/sha2.h:106:33: note: expected 'char *' but argument is of type 'unsigned char *'
106 | extern void mySHA224_Final(char md[20], void *c);
| ~~~~~^~~~~~
digest.c:210:2: warning: null destination pointer [-Wformat-overflow=]
210 | sprintf(md_string, "%s:", ctx->digestname);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o encoding.o encoding.c
encoding.c: In function 'base64encode':
encoding.c:31:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
31 | result = malloc(4*(strlen(buf)/3 + 1) + 1);
| ^~~
| |
| unsigned char *
In file included from encoding.c:18:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
391 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
encoding.c:34:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
34 | while (strlen(inp) >= 3) {
| ^~~
| |
| unsigned char *
In file included from encoding.c:18:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
391 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
encoding.c:50:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
50 | if (strlen(inp) == 1) {
| ^~~
| |
| unsigned char *
In file included from encoding.c:18:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
391 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
encoding.c:60:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
60 | else if (strlen(inp) == 2) {
| ^~~
| |
| unsigned char *
In file included from encoding.c:18:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
391 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
encoding.c:75:9: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign]
75 | return result;
| ^~~~~~
encoding.c: In function 'base64decode':
encoding.c:86:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
86 | int bytesleft = strlen(buf);
| ^~~
| |
| unsigned char *
In file included from encoding.c:18:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
391 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
encoding.c:114:9: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign]
114 | return result;
| ^~~~~~
encoding.c: In function 'getescapestring':
encoding.c:125:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
125 | outp = *buf = malloc(strlen(msg)+1);
| ^
encoding.c: In function 'nlencode':
encoding.c:181:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
181 | if (msg == NULL) msg = "";
| ^
encoding.c:183:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
183 | maxneeded = 2*strlen(msg)+1;
| ^~~
| |
| unsigned char *
In file included from encoding.c:18:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
391 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
encoding.c:187:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
187 | buf = (char *)malloc(bufsz);
| ^
encoding.c:191:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
191 | buf = (char *)realloc(buf, bufsz);
| ^
encoding.c:198:15: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign]
198 | n = strcspn(inp, "|\n\r\t\\");
| ^~~
| |
| unsigned char *
In file included from encoding.c:18:
/usr/include/string.h:277:36: note: expected 'const char *' but argument is of type 'unsigned char *'
277 | extern size_t strcspn (const char *__s, const char *__reject)
| ~~~~~~~~~~~~^~~
encoding.c: In function 'nldecode':
encoding.c:231:15: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign]
231 | n = strcspn(inp, "\\");
| ^~~
| |
| unsigned char *
In file included from encoding.c:18:
/usr/include/string.h:277:36: note: expected 'const char *' but argument is of type 'unsigned char *'
277 | extern size_t strcspn (const char *__s, const char *__reject)
| ~~~~~~~~~~~~^~~
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -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 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o errormsg.o errormsg.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -I/usr/include -c -o eventlog.o eventlog.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o files.o files.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -I/usr/include -c -o headfoot.o headfoot.c
headfoot.c: In function 'output_parsed':
headfoot.c:975:16: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign]
975 | nldecode(dismsg);
| ^~~~~~
| |
| char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:74,
from headfoot.c:27:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *'
18 | extern void nldecode(unsigned char *msg);
| ~~~~~~~~~~~~~~~^~~
headfoot.c:1129:16: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign]
1129 | nldecode(cmd);
| ^~~
| |
| char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:74,
from headfoot.c:27:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *'
18 | extern void nldecode(unsigned char *msg);
| ~~~~~~~~~~~~~~~^~~
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o xymonrrd.o xymonrrd.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o holidays.o holidays.c
holidays.c: In function 'printholidays':
holidays.c:598:39: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=]
598 | sprintf(oneh, "
%s | %s | \n", desc, dstr);
| ^~ ~~~~
holidays.c:598:5: note: 'sprintf' output 24 or more bytes (assuming 1047) into a destination of size 1024
598 | sprintf(oneh, "
%s | %s | \n", desc, dstr);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o htmllog.o htmllog.c
htmllog.c: In function 'generate_html_log':
htmllog.c:276:12: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign]
276 | nldecode(acklist);
| ^~~~~~~
| |
| char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:74,
from htmllog.c:26:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *'
18 | extern void nldecode(unsigned char *msg);
| ~~~~~~~~~~~~~~~^~~
htmllog.c:350:13: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign]
350 | nldecode(modifiers);
| ^~~~~~~~~
| |
| char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:74,
from htmllog.c:26:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *'
18 | extern void nldecode(unsigned char *msg);
| ~~~~~~~~~~~~~~~^~~
htmllog.c: In function 'hostnamehtml':
htmllog.c:646:47: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4087 [-Wformat-truncation=]
609 | return linkurl;
| ~~~~~~~
......
646 | snprintf(result, sizeof(result), "%s",
| ^~
htmllog.c:646:3: note: 'snprintf' output 31 or more bytes (assuming 4126) into a destination of size 4096
646 | snprintf(result, sizeof(result), "%s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
647 | urldoclink(documentationurl, hostname),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
648 | doctarget, xgetenv("XYMONPAGEROWFONT"), nameandcomment(hinfo, hostname, usetooltip));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o ipaccess.o ipaccess.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -I/usr/include -c -o loadalerts.o loadalerts.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o loadcriticalconf.o loadcriticalconf.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o links.o links.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -I/usr/include -c -o matching.o matching.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o md5.o md5.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o memory.o memory.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o misc.o misc.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o msort.o msort.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o netservices.o netservices.c
netservices.c:36:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
36 | { "ftp", "quit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER), 21 },
| ^~~~~~~~~~
netservices.c:36:15: note: (near initialization for 'default_svcinfo[0].sendtxt')
netservices.c:36:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
36 | { "ftp", "quit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER), 21 },
| ^~~~~
netservices.c:36:56: note: (near initialization for 'default_svcinfo[0].exptext')
netservices.c:37:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
37 | { "ssh", NULL, 0, "SSH", 0, 0, (TCP_GET_BANNER), 22 },
| ^~~~~
netservices.c:37:56: note: (near initialization for 'default_svcinfo[1].exptext')
netservices.c:38:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
38 | { "ssh1", NULL, 0, "SSH", 0, 0, (TCP_GET_BANNER), 22 },
| ^~~~~
netservices.c:38:56: note: (near initialization for 'default_svcinfo[2].exptext')
netservices.c:39:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
39 | { "ssh2", NULL, 0, "SSH", 0, 0, (TCP_GET_BANNER), 22 },
| ^~~~~
netservices.c:39:56: note: (near initialization for 'default_svcinfo[3].exptext')
netservices.c:41:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
41 | { "smtp", "mail\r\nquit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER), 25 }, /* Send "MAIL" to avoid sendmail NOQUEUE logs */
| ^~~~~~~~~~~~~~~~~~
netservices.c:41:15: note: (near initialization for 'default_svcinfo[5].sendtxt')
netservices.c:41:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
41 | { "smtp", "mail\r\nquit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER), 25 }, /* Send "MAIL" to avoid sendmail NOQUEUE logs */
| ^~~~~
netservices.c:41:56: note: (near initialization for 'default_svcinfo[5].exptext')
netservices.c:42:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
42 | { "pop", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 110 },
| ^~~~~~~~~~
netservices.c:42:15: note: (near initialization for 'default_svcinfo[6].sendtxt')
netservices.c:42:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
42 | { "pop", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 110 },
| ^~~~~
netservices.c:42:56: note: (near initialization for 'default_svcinfo[6].exptext')
netservices.c:43:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
43 | { "pop2", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 109 },
| ^~~~~~~~~~
netservices.c:43:15: note: (near initialization for 'default_svcinfo[7].sendtxt')
netservices.c:43:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
43 | { "pop2", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 109 },
| ^~~~~
netservices.c:43:56: note: (near initialization for 'default_svcinfo[7].exptext')
netservices.c:44:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
44 | { "pop-2", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 109 },
| ^~~~~~~~~~
netservices.c:44:15: note: (near initialization for 'default_svcinfo[8].sendtxt')
netservices.c:44:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
44 | { "pop-2", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 109 },
| ^~~~~
netservices.c:44:56: note: (near initialization for 'default_svcinfo[8].exptext')
netservices.c:45:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
45 | { "pop3", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 110 },
| ^~~~~~~~~~
netservices.c:45:15: note: (near initialization for 'default_svcinfo[9].sendtxt')
netservices.c:45:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
45 | { "pop3", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 110 },
| ^~~~~
netservices.c:45:56: note: (near initialization for 'default_svcinfo[9].exptext')
netservices.c:46:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
46 | { "pop-3", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 110 },
| ^~~~~~~~~~
netservices.c:46:15: note: (near initialization for 'default_svcinfo[10].sendtxt')
netservices.c:46:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
46 | { "pop-3", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER), 110 },
| ^~~~~
netservices.c:46:56: note: (near initialization for 'default_svcinfo[10].exptext')
netservices.c:47:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
47 | { "imap", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 143 },
| ^~~~~~~~~~~~~~~~~~~
netservices.c:47:15: note: (near initialization for 'default_svcinfo[11].sendtxt')
netservices.c:47:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
47 | { "imap", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 143 },
| ^~~~~~
netservices.c:47:56: note: (near initialization for 'default_svcinfo[11].exptext')
netservices.c:48:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
48 | { "imap2", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 143 },
| ^~~~~~~~~~~~~~~~~~~
netservices.c:48:15: note: (near initialization for 'default_svcinfo[12].sendtxt')
netservices.c:48:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
48 | { "imap2", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 143 },
| ^~~~~~
netservices.c:48:56: note: (near initialization for 'default_svcinfo[12].exptext')
netservices.c:49:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
49 | { "imap3", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 220 },
| ^~~~~~~~~~~~~~~~~~~
netservices.c:49:15: note: (near initialization for 'default_svcinfo[13].sendtxt')
netservices.c:49:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
49 | { "imap3", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 220 },
| ^~~~~~
netservices.c:49:56: note: (near initialization for 'default_svcinfo[13].exptext')
netservices.c:50:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
50 | { "imap4", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 143 },
| ^~~~~~~~~~~~~~~~~~~
netservices.c:50:15: note: (near initialization for 'default_svcinfo[14].sendtxt')
netservices.c:50:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
50 | { "imap4", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER), 143 },
| ^~~~~~
netservices.c:50:56: note: (near initialization for 'default_svcinfo[14].exptext')
netservices.c:51:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
51 | { "nntp", "quit\r\n", 0, "200", 0, 0, (TCP_GET_BANNER), 119 },
| ^~~~~~~~~~
netservices.c:51:15: note: (near initialization for 'default_svcinfo[15].sendtxt')
netservices.c:51:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
51 | { "nntp", "quit\r\n", 0, "200", 0, 0, (TCP_GET_BANNER), 119 },
| ^~~~~
netservices.c:51:56: note: (near initialization for 'default_svcinfo[15].exptext')
netservices.c:53:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
53 | { "rsync", NULL, 0, "@RSYNCD",0, 0, (TCP_GET_BANNER), 873 },
| ^~~~~~~~~
netservices.c:53:56: note: (near initialization for 'default_svcinfo[17].exptext')
netservices.c:54:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
54 | { "bbd", "dummy", 0, NULL, 0, 0, (0), 1984 },
| ^~~~~~~
netservices.c:54:15: note: (near initialization for 'default_svcinfo[18].sendtxt')
netservices.c:55:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
55 | { "ftps", "quit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER|TCP_SSL), 990 },
| ^~~~~~~~~~
netservices.c:55:15: note: (near initialization for 'default_svcinfo[19].sendtxt')
netservices.c:55:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
55 | { "ftps", "quit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER|TCP_SSL), 990 },
| ^~~~~
netservices.c:55:56: note: (near initialization for 'default_svcinfo[19].exptext')
netservices.c:57:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
57 | { "smtps", "mail\r\nquit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER|TCP_SSL), 0 }, /* Non-standard - IANA */
| ^~~~~~~~~~~~~~~~~~
netservices.c:57:15: note: (near initialization for 'default_svcinfo[21].sendtxt')
netservices.c:57:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
57 | { "smtps", "mail\r\nquit\r\n", 0, "220", 0, 0, (TCP_GET_BANNER|TCP_SSL), 0 }, /* Non-standard - IANA */
| ^~~~~
netservices.c:57:56: note: (near initialization for 'default_svcinfo[21].exptext')
netservices.c:58:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
58 | { "pop3s", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER|TCP_SSL), 995 },
| ^~~~~~~~~~
netservices.c:58:15: note: (near initialization for 'default_svcinfo[22].sendtxt')
netservices.c:58:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
58 | { "pop3s", "quit\r\n", 0, "+OK", 0, 0, (TCP_GET_BANNER|TCP_SSL), 995 },
| ^~~~~
netservices.c:58:56: note: (near initialization for 'default_svcinfo[22].exptext')
netservices.c:59:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
59 | { "imaps", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER|TCP_SSL), 993 },
| ^~~~~~~~~~~~~~~~~~~
netservices.c:59:15: note: (near initialization for 'default_svcinfo[23].sendtxt')
netservices.c:59:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
59 | { "imaps", "ABC123 LOGOUT\r\n", 0, "* OK", 0, 0, (TCP_GET_BANNER|TCP_SSL), 993 },
| ^~~~~~
netservices.c:59:56: note: (near initialization for 'default_svcinfo[23].exptext')
netservices.c:60:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
60 | { "nntps", "quit\r\n", 0, "200", 0, 0, (TCP_GET_BANNER|TCP_SSL), 563 },
| ^~~~~~~~~~
netservices.c:60:15: note: (near initialization for 'default_svcinfo[24].sendtxt')
netservices.c:60:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
60 | { "nntps", "quit\r\n", 0, "200", 0, 0, (TCP_GET_BANNER|TCP_SSL), 563 },
| ^~~~~
netservices.c:60:56: note: (near initialization for 'default_svcinfo[24].exptext')
netservices.c:62:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
62 | { "clamd", "PING\r\n", 0, "PONG", 0, 0, (0), 3310 },
| ^~~~~~~~~~
netservices.c:62:15: note: (near initialization for 'default_svcinfo[26].sendtxt')
netservices.c:62:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
62 | { "clamd", "PING\r\n", 0, "PONG", 0, 0, (0), 3310 },
| ^~~~~~
netservices.c:62:56: note: (near initialization for 'default_svcinfo[26].exptext')
netservices.c:63:15: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
63 | { "vnc", "RFB 000.000\r\n", 0, "RFB ", 0, 0, (TCP_GET_BANNER), 5900 },
| ^~~~~~~~~~~~~~~~~
netservices.c:63:15: note: (near initialization for 'default_svcinfo[27].sendtxt')
netservices.c:63:56: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
63 | { "vnc", "RFB 000.000\r\n", 0, "RFB ", 0, 0, (TCP_GET_BANNER), 5900 },
| ^~~~~~
netservices.c:63:56: note: (near initialization for 'default_svcinfo[27].exptext')
netservices.c: In function 'binview':
netservices.c:87:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
87 | if (buf && (buflen == 0)) buflen = strlen(buf);
| ^~~
| |
| unsigned char *
In file included from netservices.c:17:
/usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *'
391 | extern size_t strlen (const char *__s)
| ~~~~~~~~~~~~^~~
netservices.c:90:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
90 | for (inp=buf, i=0, outp=result; (irec->sendtxt = strdup(first->rec->sendtxt);
| ~~~~~~~~~~^~~~~~~~~
| |
| unsigned char *
In file included from netservices.c:17:
/usr/include/string.h:171:34: note: expected 'const char *' but argument is of type 'unsigned char *'
171 | extern char *strdup (const char *__s)
| ~~~~~~~~~~~~^~~
netservices.c:219:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
219 | walk->rec->sendtxt = strdup(first->rec->sendtxt);
| ^
netservices.c:228:44: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
228 | walk->rec->exptext = strdup(first->rec->exptext);
| ~~~~~~~~~~^~~~~~~~~
| |
| unsigned char *
In file included from netservices.c:17:
/usr/include/string.h:171:34: note: expected 'const char *' but argument is of type 'unsigned char *'
171 | extern char *strdup (const char *__s)
| ~~~~~~~~~~~~^~~
netservices.c:228:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
228 | walk->rec->exptext = strdup(first->rec->exptext);
| ^
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -I/usr/include -c -o notifylog.o notifylog.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -I/usr/include -c -o acknowledgementslog.o acknowledgementslog.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o readmib.o readmib.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o reportlog.o reportlog.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include `./test-endianness` -c -o rmd160c.o rmd160c.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include `./test-endianness` -c -o sha1.o sha1.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o sha2.o sha2.c
sha2.c: In function 'mySHA224_Final':
sha2.c:955:75: warning: pointer targets in passing argument 2 of 'sha224_final' differ in signedness [-Wpointer-sign]
955 | void mySHA224_Final(char md[20], void *c) { sha224_final((sha224_ctx *)c, md); }
| ^~
| |
| char *
sha2.c:787:51: note: expected 'unsigned char *' but argument is of type 'char *'
787 | void sha224_final(sha224_ctx *ctx, unsigned char *digest)
| ~~~~~~~~~~~~~~~^~~~~~
sha2.c: In function 'mySHA256_Final':
sha2.c:960:75: warning: pointer targets in passing argument 2 of 'sha256_final' differ in signedness [-Wpointer-sign]
960 | void mySHA256_Final(char md[20], void *c) { sha256_final((sha256_ctx *)c, md); }
| ^~
| |
| char *
sha2.c:388:51: note: expected 'unsigned char *' but argument is of type 'char *'
388 | void sha256_final(sha256_ctx *ctx, unsigned char *digest)
| ~~~~~~~~~~~~~~~^~~~~~
sha2.c: In function 'mySHA384_Final':
sha2.c:965:75: warning: pointer targets in passing argument 2 of 'sha384_final' differ in signedness [-Wpointer-sign]
965 | void mySHA384_Final(char md[20], void *c) { sha384_final((sha384_ctx *)c, md); }
| ^~
| |
| char *
sha2.c:687:51: note: expected 'unsigned char *' but argument is of type 'char *'
687 | void sha384_final(sha384_ctx *ctx, unsigned char *digest)
| ~~~~~~~~~~~~~~~^~~~~~
sha2.c: In function 'mySHA512_Final':
sha2.c:970:75: warning: pointer targets in passing argument 2 of 'sha512_final' differ in signedness [-Wpointer-sign]
970 | void mySHA512_Final(char md[20], void *c) { sha512_final((sha512_ctx *)c, md); }
| ^~
| |
| char *
sha2.c:585:51: note: expected 'unsigned char *' but argument is of type 'char *'
585 | void sha512_final(sha512_ctx *ctx, unsigned char *digest)
| ~~~~~~~~~~~~~~~^~~~~~
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o sig.o sig.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o stackio.o stackio.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o strfunc.o strfunc.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o suid.o suid.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o timefunc.o timefunc.c
timefunc.c: In function 'timespec_text':
timefunc.c:110:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
110 | cause = strdup("Planned downtime");
| ^
timefunc.c:161:24: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign]
161 | addtobuffer(result, cause);
| ^~~~~
| |
| unsigned char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:99,
from timefunc.c:24:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *'
16 | extern void addtobuffer(strbuffer_t *buf, char *newtext);
| ~~~~~~^~~~~~~
timefunc.c: In function 'histlogtime':
timefunc.c:394:24: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 29 [-Wformat-truncation=]
394 | snprintf(result, 29, "%s%s%s", d1, d2, d3);
| ^~ ~~
timefunc.c:394:2: note: 'snprintf' output between 1 and 81 bytes into a destination of size 29
394 | snprintf(result, 29, "%s%s%s", d1, d2, d3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o tree.o tree.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o url.o url.c
url.c: In function 'decode_url':
url.c:632:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
632 | if (okstart) weburl->okcodes = strdup(okstart);
| ^
url.c:633:36: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
633 | if (notokstart) weburl->badcodes = strdup(notokstart);
| ^
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -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 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o loadhosts.o loadhosts.c
loadhosts.c: In function 'xmh_item':
loadhosts.c:595:35: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign]
595 | addtobuffer(rawtxt, nlencode(p));
| ^
| |
| char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:74,
from loadhosts.c:25:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *'
17 | extern unsigned char *nlencode(unsigned char *msg);
| ~~~~~~~~~~~~~~~^~~
loadhosts.c:595:26: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign]
595 | addtobuffer(rawtxt, nlencode(p));
| ^~~~~~~~~~~
| |
| unsigned char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:99,
from loadhosts.c:25:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *'
16 | extern void addtobuffer(strbuffer_t *buf, char *newtext);
| ~~~~~~^~~~~~~
In file included from loadhosts.c:348:
loadhosts_file.c: In function 'load_hostnames':
loadhosts_file.c:324:27: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
324 | sprintf(groupidstr, "%d", groupid);
| ^
loadhosts_file.c:324:4: note: 'sprintf' output between 2 and 11 bytes into a destination of size 10
324 | sprintf(groupidstr, "%d", groupid);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o locator.o locator.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o sendmsg.o sendmsg.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o xymond_ipc.o xymond_ipc.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -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 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -c -o run.o run.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -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 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -DCLIENTONLY -c -o color-client.o color.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -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 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -DCLIENTONLY -c -o timefunc-client.o timefunc.c
timefunc.c: In function 'timespec_text':
timefunc.c:110:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
110 | cause = strdup("Planned downtime");
| ^
timefunc.c:161:24: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign]
161 | addtobuffer(result, cause);
| ^~~~~
| |
| unsigned char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:99,
from timefunc.c:24:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *'
16 | extern void addtobuffer(strbuffer_t *buf, char *newtext);
| ~~~~~~^~~~~~~
timefunc.c: In function 'histlogtime':
timefunc.c:394:24: warning: '%s' directive output may be truncated writing up to 39 bytes into a region of size 29 [-Wformat-truncation=]
394 | snprintf(result, 29, "%s%s%s", d1, d2, d3);
| ^~ ~~
timefunc.c:394:2: note: 'snprintf' output between 1 and 81 bytes into a destination of size 29
394 | snprintf(result, 29, "%s%s%s", d1, d2, d3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -DSTANDALONE -o loadhosts loadhosts.c libxymoncomm.a -L/usr/lib64 -lssl -lcrypto
loadhosts.c: In function 'xmh_item':
loadhosts.c:595:35: warning: pointer targets in passing argument 1 of 'nlencode' differ in signedness [-Wpointer-sign]
595 | addtobuffer(rawtxt, nlencode(p));
| ^
| |
| char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:74,
from loadhosts.c:25:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/encoding.h:17:47: note: expected 'unsigned char *' but argument is of type 'char *'
17 | extern unsigned char *nlencode(unsigned char *msg);
| ~~~~~~~~~~~~~~~^~~
loadhosts.c:595:26: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign]
595 | addtobuffer(rawtxt, nlencode(p));
| ^~~~~~~~~~~
| |
| unsigned char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:99,
from loadhosts.c:25:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/strfunc.h:16:49: note: expected 'char *' but argument is of type 'unsigned char *'
16 | extern void addtobuffer(strbuffer_t *buf, char *newtext);
| ~~~~~~^~~~~~~
In file included from loadhosts.c:348:
loadhosts_file.c: In function 'load_hostnames':
loadhosts_file.c:324:27: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
324 | sprintf(groupidstr, "%d", groupid);
| ^
loadhosts_file.c:324:4: note: 'sprintf' output between 2 and 11 bytes into a destination of size 10
324 | sprintf(groupidstr, "%d", groupid);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -DSTANDALONE -o stackio stackio.c libxymon.a
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -DSTANDALONE -o availability availability.c libxymon.a
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -DSTANDALONE `./test-endianness` -o md5 md5.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -DSTANDALONE `./test-endianness` -o sha1 sha1.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -DSTANDALONE `./test-endianness` -o rmd160 rmd160c.c
rmd160c.c: In function 'main':
rmd160c.c:538:20: warning: pointer targets in passing argument 1 of 'myRIPEMD160_Final' differ in signedness [-Wpointer-sign]
538 | myRIPEMD160_Final(md, c);
| ^~
| |
| unsigned char *
rmd160c.c:515:29: note: expected 'char *' but argument is of type 'unsigned char *'
515 | void myRIPEMD160_Final(char md[20], void *c) { RIPEMD160_Final(md, (RIPEMD160_CTX *)c); }
| ~~~~~^~~~~~
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -DSTANDALONE -o locator locator.c libxymoncomm.a -L/usr/lib64 -lssl -lcrypto libxymon.a
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -I../include -DSTANDALONE -o tree tree.c
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xymon-4.3.28/lib'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include -I/usr/include" LDFLAGS="" RPATHOPT="" SSLFLAGS="-DHAVE_OPENSSL -DHAVE_SSLV3_SUPPORT" SSLINCDIR="-I/usr/include" SSLLIBS="-L/usr/lib64 -lssl -lcrypto" NETLIBS="" ZLIBLIBS="" LIBRTDEF="" XYMONHOME="/usr/share/xymon" make -C common all
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xymon-4.3.28/common'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o xymongrep.o xymongrep.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -o xymongrep xymongrep.o ../lib/libxymoncomm.a -L/usr/lib64 -lssl -lcrypto ../lib/libxymon.a
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o xymondigest.o xymondigest.c
xymondigest.c: In function 'main':
xymondigest.c:48:20: warning: pointer targets in passing argument 2 of 'digest_data' differ in signedness [-Wpointer-sign]
48 | digest_data(ctx, buf, buflen);
| ^~~
| |
| char *
In file included from /home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/libxymon.h:73,
from xymondigest.c:20:
/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include/../lib/digest.h:26:57: note: expected 'unsigned char *' but argument is of type 'char *'
26 | extern int digest_data(digestctx_t *ctx, unsigned char *buf, int buflen);
| ~~~~~~~~~~~~~~~^~~
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -o xymondigest xymondigest.o ../lib/libxymoncomm.a -L/usr/lib64 -lssl -lcrypto ../lib/libxymon.a
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o xymon.o xymon.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -o xymon xymon.o ../lib/libxymoncomm.a -L/usr/lib64 -lssl -lcrypto ../lib/libxymon.a
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o xymoncmd.o xymoncmd.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -o xymoncmd xymoncmd.o ../lib/libxymon.a
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o xymonlaunch.o xymonlaunch.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -o xymonlaunch xymonlaunch.o ../lib/libxymontime.a ../lib/libxymon.a
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o xymoncfg.o xymoncfg.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -o xymoncfg xymoncfg.o ../lib/libxymon.a
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xymon-4.3.28/common'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include -I/usr/include" LDFLAGS="" RPATHOPT="" SSLFLAGS="-DHAVE_OPENSSL -DHAVE_SSLV3_SUPPORT" SSLINCDIR="-I/usr/include" SSLLIBS="-L/usr/lib64 -lssl -lcrypto" NETLIBS="" 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/iurt/rpmbuild/BUILD/xymon-4.3.28/xymongen'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o xymongen.o xymongen.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o loadlayout.o loadlayout.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o loaddata.o loaddata.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o pagegen.o pagegen.c
pagegen.c: In function 'do_hosts.part.0':
pagegen.c:644:34: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
644 | sprintf(textrepurl, "%s/%s",
| ^
pagegen.c:644:8: 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:27: 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:3: note: 'sprintf' output between 5 and 4100 bytes into a destination of size 4096
947 | sprintf(tmpfilename, "%s.tmp", filename);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pagegen.c:948:30: 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:3: 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:26: 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:2: note: 'sprintf' output between 5 and 4100 bytes into a destination of size 4096
1251 | sprintf(tmpfilename, "%s.tmp", filename);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pagegen.c:1259:30: 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:3: 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 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o process.o process.c
process.c: In function 'calc_pagecolors':
process.c:106:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
106 | if ( e->propagate &&
| ^~
process.c:110:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
110 | oldage &= e->oldage;
| ^~~~~~
process.c:126:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
126 | if ( e->propagate &&
| ^~
process.c:130:8: 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 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o wmlgen.o wmlgen.c
wmlgen.c: In function 'do_wml_cards':
wmlgen.c:315:25: 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:2: 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:20: 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);
| ^
wmlgen.c:122:2: 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:315:25: 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:2: 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:26: 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:4: 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 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o rssgen.o rssgen.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o util.o util.c
util.c: In function 'hostpage_link':
util.c:46:28: 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:5: 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 -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o debug.o debug.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -c -o csvreport.o csvreport.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -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 -L/usr/lib64 -lpcre
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xymon-4.3.28/xymongen'
CC="gcc" CFLAGS="-g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I`pwd`/include -I/usr/include" LDFLAGS="" RPATHOPT="" SSLFLAGS="-DHAVE_OPENSSL -DHAVE_SSLV3_SUPPORT" SSLINCDIR="-I/usr/include" SSLLIBS="-L/usr/lib64 -lssl -lcrypto" DOLDAP="yes" LDAPFLAGS="-DHAVE_LDAP" LDAPINCDIR="-I/usr/include" LDAPLIBS="-L/usr/lib64 -lldap -llber" DOSNMP="yes" NETLIBS="" XYMONHOME="/usr/share/xymon" ARESVER="1.12.0" FPINGVER="3.0" RUNTIMEDEFS="" PCREINCDIR="-I/usr/include" PCRELIBS="-L/usr/lib64 -lpcre" SYSTEMCARES="yes" CARESINCDIR="" CARESLIBS="-lcares" SQLITELIBS="" ZLIBINCDIR="" ZLIBLIBS="" LIBRTDEF="" make -C xymonnet all
make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xymon-4.3.28/xymonnet'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/iurt/rpmbuild/BUILD/xymon-4.3.28/include -I/usr/include -DHAVE_OPENSSL -DHAVE_SSLV3_SUPPORT -DHAVE_LDAP -I/usr/include -I/usr/include -c -o xymonnet.o xymonnet.c
xymonnet.c:23:10: fatal error: rpc/rpc.h: No such file or directory
23 | #include
| ^~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:39: xymonnet.o] Error 1
make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xymon-4.3.28/xymonnet'
make: *** [build/Makefile.rules:105: xymonnet-build] Error 2
error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.PMXiir (%build)
RPM build errors:
Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.PMXiir (%build)
I: [iurt_root_command] ERROR: chroot