D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/xymon-4.3.26-4.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aZcj1e + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf xymon-4.3.26 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/xymon-4.3.26.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xymon-4.3.26 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-first-fhs-moves.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/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/pterjan/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/pterjan/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/pterjan/rpmbuild/SOURCES/xymon-4.3.17-user-libs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/xymon-4.3.17-log-fetch.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/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/pterjan/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/pterjan/rpmbuild/SOURCES/xymon-4.3.17-run-directory.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/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/pterjan/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/pterjan/rpmbuild/SOURCES/xymon-4.3.17-remove-nohup.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/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/pterjan/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/pterjan/rpmbuild/SOURCES/xymon-4.3.17-stop-core-flood.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/xymon-4.3.27-r7949-fix-critical-editor.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/xymon-4.3-increase-criticalview-priorities.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/xymon-4.3-require-auth-for-secure-cgi.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.e2pKf8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd xymon-4.3.26 + '[' 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 -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 -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.13.0 - OK, require 1.10.0 Linking with c-ares library works OK Checking for RRDtool ... Makefile.test-rrd:4: recipe for target 'test-compile' failed 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 Makefile.test-ssl2:7: recipe for target 'test-link' failed SSLv2 support disabled (dont worry, all systems should use SSLv3 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 ... Compiling with LDAP works OK Makefile.test-lber:7: recipe for target 'test-link' failed 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.7.3 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 -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" 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/pterjan/rpmbuild/BUILD/xymon-4.3.26/lib' gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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] nldecode(ackmsg); p = strchr(ackmsg, '\n'); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:74:0, from acklog.c:28: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/encoding.h:18:13: note: expected 'unsigned char *' but argument is of type 'char *' 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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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] myMD5_Update(ctx->mdctx, input, strlen(input)); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:86:0, from digest.c:20: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/md5.h:18:13: note: expected 'unsigned char *' but argument is of type 'char *' 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] mySHA512_Final(md_value, ctx->mdctx); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:96:0, from digest.c:20: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/sha2.h:121:13: note: expected 'char *' but argument is of type 'unsigned char *' 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] mySHA256_Final(md_value, ctx->mdctx); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:96:0, from digest.c:20: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/sha2.h:111:13: note: expected 'char *' but argument is of type 'unsigned char *' 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] mySHA384_Final(md_value, ctx->mdctx); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:96:0, from digest.c:20: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/sha2.h:116:13: note: expected 'char *' but argument is of type 'unsigned char *' 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] mySHA224_Final(md_value, ctx->mdctx); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:96:0, from digest.c:20: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/sha2.h:106:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void mySHA224_Final(char md[20], void *c); ^ gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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] result = malloc(4*(strlen(buf)/3 + 1) + 1); ^ In file included from encoding.c:18:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] while (strlen(inp) >= 3) { ^ In file included from encoding.c:18:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] if (strlen(inp) == 1) { ^ In file included from encoding.c:18:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] else if (strlen(inp) == 2) { ^ In file included from encoding.c:18:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ encoding.c:75:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] 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] int bytesleft = strlen(buf); ^ In file included from encoding.c:18:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ encoding.c:114:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] return result; ^ encoding.c: In function 'getescapestring': encoding.c:125:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] outp = *buf = malloc(strlen(msg)+1); ^ encoding.c: In function 'nlencode': encoding.c:181:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (msg == NULL) msg = ""; ^ encoding.c:183:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] maxneeded = 2*strlen(msg)+1; ^ In file included from encoding.c:18:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ encoding.c:187:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buf = (char *)malloc(bufsz); ^ encoding.c:191:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buf = (char *)realloc(buf, bufsz); ^ In file included from /usr/include/string.h:630:0, from encoding.c:18: encoding.c:198:15: warning: pointer targets in passing argument 1 of '__builtin_strcspn' differ in signedness [-Wpointer-sign] n = strcspn(inp, "|\n\r\t\\"); ^ encoding.c:198:15: note: expected 'const char *' but argument is of type 'unsigned char *' encoding.c:198:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] n = strcspn(inp, "|\n\r\t\\"); ^ In file included from encoding.c:18:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from encoding.c:18: encoding.c:198:15: warning: pointer targets in passing argument 1 of '__strcspn_c1' differ in signedness [-Wpointer-sign] n = strcspn(inp, "|\n\r\t\\"); ^ /usr/include/bits/string2.h:947:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strcspn_c1 (const char *__s, int __reject) ^ encoding.c:198:15: warning: pointer targets in passing argument 1 of '__strcspn_c2' differ in signedness [-Wpointer-sign] n = strcspn(inp, "|\n\r\t\\"); ^ /usr/include/bits/string2.h:958:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strcspn_c2 (const char *__s, int __reject1, int __reject2) ^ encoding.c:198:15: warning: pointer targets in passing argument 1 of '__strcspn_c3' differ in signedness [-Wpointer-sign] n = strcspn(inp, "|\n\r\t\\"); ^ /usr/include/bits/string2.h:970:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strcspn_c3 (const char *__s, int __reject1, int __reject2, ^ encoding.c:198:15: warning: pointer targets in passing argument 1 of '__builtin_strcspn' differ in signedness [-Wpointer-sign] n = strcspn(inp, "|\n\r\t\\"); ^ encoding.c:198:15: note: expected 'const char *' but argument is of type 'unsigned char *' encoding.c:198:15: warning: pointer targets in passing argument 1 of '__builtin_strcspn' differ in signedness [-Wpointer-sign] n = strcspn(inp, "|\n\r\t\\"); ^ encoding.c:198:15: note: expected 'const char *' but argument is of type 'unsigned char *' encoding.c: In function 'nldecode': encoding.c:231:15: warning: pointer targets in passing argument 1 of '__builtin_strcspn' differ in signedness [-Wpointer-sign] n = strcspn(inp, "\\"); ^ encoding.c:231:15: note: expected 'const char *' but argument is of type 'unsigned char *' encoding.c:231:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] n = strcspn(inp, "\\"); ^ In file included from encoding.c:18:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from encoding.c:18: encoding.c:231:15: warning: pointer targets in passing argument 1 of '__strcspn_c1' differ in signedness [-Wpointer-sign] n = strcspn(inp, "\\"); ^ /usr/include/bits/string2.h:947:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strcspn_c1 (const char *__s, int __reject) ^ encoding.c:231:15: warning: pointer targets in passing argument 1 of '__strcspn_c2' differ in signedness [-Wpointer-sign] n = strcspn(inp, "\\"); ^ /usr/include/bits/string2.h:958:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strcspn_c2 (const char *__s, int __reject1, int __reject2) ^ encoding.c:231:15: warning: pointer targets in passing argument 1 of '__strcspn_c3' differ in signedness [-Wpointer-sign] n = strcspn(inp, "\\"); ^ /usr/include/bits/string2.h:970:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strcspn_c3 (const char *__s, int __reject1, int __reject2, ^ encoding.c:231:15: warning: pointer targets in passing argument 1 of '__builtin_strcspn' differ in signedness [-Wpointer-sign] n = strcspn(inp, "\\"); ^ encoding.c:231:15: note: expected 'const char *' but argument is of type 'unsigned char *' encoding.c:231:15: warning: pointer targets in passing argument 1 of '__builtin_strcspn' differ in signedness [-Wpointer-sign] n = strcspn(inp, "\\"); ^ encoding.c:231:15: note: expected 'const char *' but argument is of type 'unsigned char *' gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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] nldecode(dismsg); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:74:0, from headfoot.c:27: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/encoding.h:18:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void nldecode(unsigned char *msg); ^ headfoot.c:1129:16: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] nldecode(cmd); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:74:0, from headfoot.c:27: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/encoding.h:18:13: note: expected 'unsigned char *' but argument is of type 'char *' 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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/include -I/usr/include -I../include -c -o holidays.o holidays.c gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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] nldecode(acklist); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:74:0, from htmllog.c:26: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/encoding.h:18:13: note: expected 'unsigned char *' but argument is of type 'char *' extern void nldecode(unsigned char *msg); ^ htmllog.c:350:13: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign] nldecode(modifiers); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:74:0, from htmllog.c:26: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/encoding.h:18:13: note: expected 'unsigned char *' but argument is of type 'char *' 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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/include -I/usr/include -I../include -c -o netservices.o netservices.c netservices.c:36:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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 differ in signedness [-Wpointer-sign] { "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] if (buf && (buflen == 0)) buflen = strlen(buf); ^ In file included from netservices.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ netservices.c:90:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (inp=buf, i=0, outp=result; (irec->sendtxt = strdup(first->rec->sendtxt); ^ In file included from netservices.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from netservices.c:17: netservices.c:219:34: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] walk->rec->sendtxt = strdup(first->rec->sendtxt); ^ /usr/include/bits/string2.h:1278:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ netservices.c:219:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] walk->rec->sendtxt = strdup(first->rec->sendtxt); ^ In file included from /usr/include/string.h:630:0, from netservices.c:17: netservices.c:228:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] walk->rec->exptext = strdup(first->rec->exptext); ^ In file included from netservices.c:17:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from netservices.c:17: netservices.c:228:34: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] walk->rec->exptext = strdup(first->rec->exptext); ^ /usr/include/bits/string2.h:1278:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ netservices.c:228:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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] void mySHA224_Final(char md[20], void *c) { sha224_final((sha224_ctx *)c, md); } ^ sha2.c:787:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] void mySHA256_Final(char md[20], void *c) { sha256_final((sha256_ctx *)c, md); } ^ sha2.c:388:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] void mySHA384_Final(char md[20], void *c) { sha384_final((sha384_ctx *)c, md); } ^ sha2.c:687:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] void mySHA512_Final(char md[20], void *c) { sha512_final((sha512_ctx *)c, md); } ^ sha2.c:585:6: note: expected 'unsigned char *' but argument is of type 'char *' 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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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 differ in signedness [-Wpointer-sign] cause = strdup("Planned downtime"); ^ timefunc.c:161:24: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] addtobuffer(result, cause); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:99:0, from timefunc.c:24: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/strfunc.h:16:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void addtobuffer(strbuffer_t *buf, char *newtext); ^ gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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 differ in signedness [-Wpointer-sign] if (okstart) weburl->okcodes = strdup(okstart); ^ url.c:633:36: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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] addtobuffer(rawtxt, nlencode(p)); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:74:0, from loadhosts.c:25: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/encoding.h:17:23: note: expected 'unsigned char *' but argument is of type 'char *' 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] addtobuffer(rawtxt, nlencode(p)); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:99:0, from loadhosts.c:25: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/strfunc.h:16:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void addtobuffer(strbuffer_t *buf, char *newtext); ^ gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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 differ in signedness [-Wpointer-sign] cause = strdup("Planned downtime"); ^ timefunc.c:161:24: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign] addtobuffer(result, cause); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:99:0, from timefunc.c:24: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/strfunc.h:16:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void addtobuffer(strbuffer_t *buf, char *newtext); ^ 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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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] addtobuffer(rawtxt, nlencode(p)); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:74:0, from loadhosts.c:25: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/encoding.h:17:23: note: expected 'unsigned char *' but argument is of type 'char *' 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] addtobuffer(rawtxt, nlencode(p)); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:99:0, from loadhosts.c:25: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/strfunc.h:16:13: note: expected 'char *' but argument is of type 'unsigned char *' extern void addtobuffer(strbuffer_t *buf, char *newtext); ^ gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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] myRIPEMD160_Final(md, c); ^ rmd160c.c:515:6: note: expected 'char *' but argument is of type 'unsigned char *' 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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/include -I/usr/include -I../include -DSTANDALONE -o tree tree.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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" 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/pterjan/rpmbuild/BUILD/xymon-4.3.26/common' gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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] digest_data(ctx, buf, buflen); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:73:0, from xymondigest.c:20: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/digest.h:26:12: note: expected 'unsigned char *' but argument is of type 'char *' 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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/include -I/usr/include -o xymoncfg xymoncfg.o ../lib/libxymon.a make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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" 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/pterjan/rpmbuild/BUILD/xymon-4.3.26/xymongen' gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/include -I/usr/include -c -o pagegen.o pagegen.c gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include -I/usr/include -c -o process.o process.c gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include -I/usr/include -c -o wmlgen.o wmlgen.c gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/include -I/usr/include -c -o util.o util.c gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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/pterjan/rpmbuild/BUILD/xymon-4.3.26/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" 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.10.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/pterjan/rpmbuild/BUILD/xymon-4.3.26/xymonnet' gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include -I/usr/include -DHAVE_OPENSSL -DHAVE_LDAP -I/usr/include -I/usr/include -c -o xymonnet.o xymonnet.c xymonnet.c: In function 'main': xymonnet.c:2397:31: warning: pointer targets in passing argument 1 of 'dupstrbuffer' differ in signedness [-Wpointer-sign] t->banner = dupstrbuffer(testresult->banner); ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:99:0, from xymonnet.c:27: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/strfunc.h:23:21: note: expected 'char *' but argument is of type 'unsigned char *' extern strbuffer_t *dupstrbuffer(char *src); ^ gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX -I/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include -I/usr/include -DHAVE_OPENSSL -I/usr/include -c -o contest.o contest.c contest.c: In function 'add_tcp_test': contest.c:199:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] newtest->sendlen = (reqmsg ? strlen(reqmsg) : newtest->svcinfo->sendlen); ^ In file included from contest.c:31:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from contest.c:31: contest.c: In function 'do_telnet_options': contest.c:290:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] item->banner = strdup(inp); ^ In file included from contest.c:31:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from contest.c:31: contest.c:290:26: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] item->banner = strdup(inp); ^ /usr/include/bits/string2.h:1278:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ contest.c:290:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] item->banner = strdup(inp); ^ contest.c:291:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] item->bannerbytes = strlen(inp); ^ In file included from contest.c:31:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ contest.c: In function 'setup_ssl': contest.c:486:4: warning: 'SSLv3_client_method' is deprecated [-Wdeprecated-declarations] item->sslctx = SSL_CTX_new(SSLv3_client_method()); break; ^ In file included from /usr/include/multiarch-dispatch.h:72:0, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/ct.h:13, from /usr/include/openssl/ssl.h:61, from contest.h:31, from contest.c:39: /usr/include/openssl/ssl.h:1604:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *SSLv3_client_method(void)) /* SSLv3 */ ^ contest.c:488:4: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] item->sslctx = SSL_CTX_new(TLSv1_client_method()); break; ^ In file included from /usr/include/multiarch-dispatch.h:72:0, from /usr/include/openssl/opensslconf.h:2, from /usr/include/openssl/ct.h:13, from /usr/include/openssl/ssl.h:61, from contest.h:31, from contest.c:39: /usr/include/openssl/ssl.h:1619:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^ contest.c:649:46: error: dereferencing pointer to incomplete type 'X509 {aka struct x509_st}' certsigalg = OBJ_nid2ln(OBJ_obj2nid(peercert->sig_alg->algorithm)); ^ contest.c: In function 'do_tcp_tests': contest.c:1191:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] outlen = (item->sendlen ? item->sendlen : strlen(outbuf)); ^ In file included from contest.c:31:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ contest.c:1199:34: warning: pointer targets in passing argument 2 of 'socket_write' differ in signedness [-Wpointer-sign] res = socket_write(item, outbuf, outlen); ^ contest.c:718:12: note: expected 'char *' but argument is of type 'unsigned char *' static int socket_write(tcptest_t *item, char *outbuf, int outlen) ^ contest.c:1262:38: warning: pointer targets in passing argument 1 of 'item->datacallback' differ in signedness [-Wpointer-sign] datadone = item->datacallback(msgbuf, res, item->priv); ^ contest.c:1262:38: note: expected 'unsigned char *' but argument is of type 'char *' contest.c: In function 'show_tcp_test_results': contest.c:1344:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (item->banner && (item->bannerbytes == strlen(item->banner))) { ^ In file included from contest.c:31:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ contest.c:1346:16: warning: pointer targets in passing argument 1 of 'textornull' differ in signedness [-Wpointer-sign] textornull(item->banner), ^ In file included from /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/libxymon.h:88:0, from contest.c:36: /home/pterjan/rpmbuild/BUILD/xymon-4.3.26/include/../lib/misc.h:33:20: note: expected 'const char *' but argument is of type 'unsigned char *' extern const char *textornull(const char *text); ^ contest.c: In function 'tcp_got_expected': contest.c:1392:71: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] compbytes = (test->svcinfo->explen ? test->svcinfo->explen : strlen(test->svcinfo->exptext)); ^ In file included from contest.c:31:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ Makefile:51: recipe for target 'contest.o' failed make[1]: *** [contest.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xymon-4.3.26/xymonnet' build/Makefile.rules:105: recipe for target 'xymonnet-build' failed make: *** [xymonnet-build] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.e2pKf8 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.e2pKf8 (%build) I: [iurt_root_command] ERROR: chroot