+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PKG_APACHE=apache24 WRKLOG=/tmp/bulklog/xymon-4.3.30nb12/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PKG_APACHE=apache24 WRKLOG=/tmp/bulklog/xymon-4.3.30nb12/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for xymon-4.3.30nb12
MAKE="/opt/pkg/bin/gmake" CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" `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="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" OSDEF="-DSunOS" RPATHOPT="-Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib" PCREINCDIR="-I/opt/pkg/include" ZLIBINCDIR="" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="-I/opt/pkg/include" SSLLIBS="-L/opt/pkg/lib -lssl -lcrypto" NETLIBS="-lresolv -lsocket -lnsl" LIBRTDEF="" XYMONTOPDIR="/opt/pkg/libexec/xymon" XYMONHOME="/opt/pkg/share/xymon/xymonhome" XYMONCLIENTHOME=/opt/pkg/share/xymon/xymonhome/client XYMONLOGDIR="/var/opt/pkg/log/xymon" XYMONHOSTNAME=""`uname -n`"" XYMONHOSTIP="127.0.0.1" XYMONHOSTOS="sunos" /opt/pkg/bin/gmake -C lib all
gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/lib'
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -o test-endianness test-endianness.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o osdefs.o osdefs.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o acklog.o acklog.c
acklog.c: In function 'do_acklog':
acklog.c:120:34: 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/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74,
                 from acklog.c:28:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *'
   18 | extern void nldecode(unsigned char *msg);
      |                      ~~~~~~~~~~~~~~~^~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o availability.o availability.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o calc.o calc.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o cgi.o cgi.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o cgiurls.o cgiurls.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o clientlocal.o clientlocal.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o color.o color.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o crondate.o crondate.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o digest.o digest.c
digest.c: In function 'md5hash':
digest.c:40:34: 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/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:86,
                 from digest.c:20:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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:32: 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/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:96:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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:32: warning: pointer targets in passing argument 1 of 'mySHA256_Final' differ in signedness [-Wpointer-sign]
  192 |                 mySHA256_Final(md_value, ctx->mdctx);
      |                                ^~~~~~~~
      |                                |
      |                                unsigned char *
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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:32: warning: pointer targets in passing argument 1 of 'mySHA384_Final' differ in signedness [-Wpointer-sign]
  199 |                 mySHA384_Final(md_value, ctx->mdctx);
      |                                ^~~~~~~~
      |                                |
      |                                unsigned char *
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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:32: warning: pointer targets in passing argument 1 of 'mySHA224_Final' differ in signedness [-Wpointer-sign]
  206 |                 mySHA224_Final(md_value, ctx->mdctx);
      |                                ^~~~~~~~
      |                                |
      |                                unsigned char *
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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);
      |                            ~~~~~^~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o encoding.o encoding.c
encoding.c: In function 'base64encode':
encoding.c:31:35: 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 /usr/include/string.h:34,
                 from encoding.c:18:
/usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   79 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
encoding.c:34:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
   34 |         while (strlen(inp) >= 3) {
      |                       ^~~
      |                       |
      |                       unsigned char *
/usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   79 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
encoding.c:50:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
   50 |         if (strlen(inp) == 1) {
      |                    ^~~
      |                    |
      |                    unsigned char *
/usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   79 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
encoding.c:60:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
   60 |         else if (strlen(inp) == 2) {
      |                         ^~~
      |                         |
      |                         unsigned char *
/usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   79 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
encoding.c:75:16: 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:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
   86 |         int bytesleft = strlen(buf);
      |                                ^~~
      |                                |
      |                                unsigned char *
/usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   79 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
encoding.c:114:16: 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:14: 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:30: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  181 |         if (msg == NULL) msg = "";
      |                              ^
encoding.c:183:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  183 |         maxneeded = 2*strlen(msg)+1;
      |                              ^~~
      |                              |
      |                              unsigned char *
/usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   79 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
encoding.c:187:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  187 |                 buf = (char *)malloc(bufsz);
      |                     ^
encoding.c:191:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  191 |                 buf = (char *)realloc(buf, bufsz);
      |                     ^
encoding.c:198:29: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign]
  198 |                 n = strcspn(inp, "|\n\r\t\\");
      |                             ^~~
      |                             |
      |                             unsigned char *
/usr/include/iso/string_iso.h:77:23: note: expected 'const char *' but argument is of type 'unsigned char *'
   77 | extern size_t strcspn(const char *, const char *);
      |                       ^~~~~~~~~~~~
encoding.c: In function 'nldecode':
encoding.c:231:29: warning: pointer targets in passing argument 1 of 'strcspn' differ in signedness [-Wpointer-sign]
  231 |                 n = strcspn(inp, "\\");
      |                             ^~~
      |                             |
      |                             unsigned char *
/usr/include/iso/string_iso.h:77:23: note: expected 'const char *' but argument is of type 'unsigned char *'
   77 | extern size_t strcspn(const char *, const char *);
      |                       ^~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DXYMONTOPDIR=\"/opt/pkg/libexec/xymon\" -DXYMONLOGDIR=\"/var/opt/pkg/log/xymon\" -DXYMONHOSTNAME=\"pkgsrc-upstream-trunk\" -DXYMONHOSTIP=\"127.0.0.1\" -DXYMONHOSTOS=\"sunos\" -DXYMONHOME=\"/opt/pkg/share/xymon/xymonhome\" -c -o environ.o environ.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o errormsg.o errormsg.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -I/opt/pkg/include -c -o eventlog.o eventlog.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o files.o files.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -I/opt/pkg/include -c -o headfoot.o headfoot.c
headfoot.c: In function 'output_parsed':
headfoot.c:976:58: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign]
  976 |                                                 nldecode(dismsg);
      |                                                          ^~~~~~
      |                                                          |
      |                                                          char *
In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74,
                 from headfoot.c:27:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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:1130:58: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign]
 1130 |                                                 nldecode(cmd);
      |                                                          ^~~
      |                                                          |
      |                                                          char *
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *'
   18 | extern void nldecode(unsigned char *msg);
      |                      ~~~~~~~~~~~~~~~^~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o xymonrrd.o xymonrrd.c
xymonrrd.c: In function 'rrd_setup.part.0':
xymonrrd.c:87:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
   87 |         strncpy(tcptests, services, tcptests_buflen);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99,
                 from xymonrrd.c:23:
xymonrrd.c:84:31: note: length computed here
   84 |         SBUF_MALLOC(tcptests, strlen(services)+1);
      |                               ^~~~~~~~~~~~~~~~
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:34:51: note: in definition of macro 'SBUF_MALLOC'
   34 | #define SBUF_MALLOC(NAME, LEN) { NAME##_buflen = (LEN); NAME = (char *)malloc((LEN)+1); }
      |                                                   ^~~
In function 'xymon_graph_text',
    inlined from 'xymon_graph_data' at xymonrrd.c:323:9:
xymonrrd.c:244:17: warning: 'strncpy' specified bound 100 equals destination size [-Wstringop-truncation]
  244 |                 strncpy(rrdservicename, graphdef->xymonrrdname, sizeof(rrdservicename));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o holidays.o holidays.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o htmllog.o htmllog.c
htmllog.c: In function 'generate_html_log':
htmllog.c:279:26: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign]
  279 |                 nldecode(acklist);
      |                          ^~~~~~~
      |                          |
      |                          char *
In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74,
                 from htmllog.c:26:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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:353:34: warning: pointer targets in passing argument 1 of 'nldecode' differ in signedness [-Wpointer-sign]
  353 |                         nldecode(modifiers);
      |                                  ^~~~~~~~~
      |                                  |
      |                                  char *
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:18:37: note: expected 'unsigned char *' but argument is of type 'char *'
   18 | extern void nldecode(unsigned char *msg);
      |                      ~~~~~~~~~~~~~~~^~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o ipaccess.o ipaccess.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -I/opt/pkg/include -c -o loadalerts.o loadalerts.c
loadalerts.c: In function 'print_alert_recipients':
loadalerts.c:1220:96: warning: 'strncat' specified bound 25 equals destination size [-Wstringop-overflow=]
 1220 |                 if (recip->noalerts) { if (*codes) strncat(codes, ",A", codes_bytesleft); else strncat(codes, "-A", codes_bytesleft); codes_bytesleft -= 2; }
      |                                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
loadalerts.c:1220:52: warning: 'strncat' specified bound 25 equals destination size [-Wstringop-overflow=]
 1220 |                 if (recip->noalerts) { if (*codes) strncat(codes, ",A", codes_bytesleft); else strncat(codes, "-A", codes_bytesleft); codes_bytesleft -= 2; }
      |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
loadalerts.c: In function 'load_alertconfig':
loadalerts.c:207:23: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  207 |         if (configfn) strncpy(fn, configfn, sizeof(fn)); else snprintf(fn, sizeof(fn), "%s/etc/alerts.cfg", xgetenv("XYMONHOME"));
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o loadcriticalconf.o loadcriticalconf.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o links.o links.c
links.c: In function 'load_all_links':
links.c:143:17: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  143 |                 strncpy(dirname, xgetenv("XYMONNOTESDIR"), sizeof(dirname));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
links.c:148:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  148 |         strncpy(dirname, xgetenv("XYMONNOTESDIR"), sizeof(dirname));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -I/opt/pkg/include -c -o matching.o matching.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o md5.o md5.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o memory.o memory.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o misc.o misc.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o msort.o msort.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o netservices.o netservices.c
netservices.c:36:22: 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:22: note: (near initialization for 'default_svcinfo[0].sendtxt')
netservices.c:36:63: 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:63: note: (near initialization for 'default_svcinfo[0].exptext')
netservices.c:37:63: 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:63: note: (near initialization for 'default_svcinfo[1].exptext')
netservices.c:38:63: 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:63: note: (near initialization for 'default_svcinfo[2].exptext')
netservices.c:39:63: 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:63: note: (near initialization for 'default_svcinfo[3].exptext')
netservices.c:41:22: 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:22: note: (near initialization for 'default_svcinfo[5].sendtxt')
netservices.c:41:63: 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:63: note: (near initialization for 'default_svcinfo[5].exptext')
netservices.c:42:22: 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:22: note: (near initialization for 'default_svcinfo[6].sendtxt')
netservices.c:42:63: 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:63: note: (near initialization for 'default_svcinfo[6].exptext')
netservices.c:43:22: 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:22: note: (near initialization for 'default_svcinfo[7].sendtxt')
netservices.c:43:63: 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:63: note: (near initialization for 'default_svcinfo[7].exptext')
netservices.c:44:22: 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:22: note: (near initialization for 'default_svcinfo[8].sendtxt')
netservices.c:44:63: 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:63: note: (near initialization for 'default_svcinfo[8].exptext')
netservices.c:45:22: 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:22: note: (near initialization for 'default_svcinfo[9].sendtxt')
netservices.c:45:63: 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:63: note: (near initialization for 'default_svcinfo[9].exptext')
netservices.c:46:22: 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:22: note: (near initialization for 'default_svcinfo[10].sendtxt')
netservices.c:46:63: 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:63: note: (near initialization for 'default_svcinfo[10].exptext')
netservices.c:47:22: 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:22: note: (near initialization for 'default_svcinfo[11].sendtxt')
netservices.c:47:63: 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:63: note: (near initialization for 'default_svcinfo[11].exptext')
netservices.c:48:22: 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:22: note: (near initialization for 'default_svcinfo[12].sendtxt')
netservices.c:48:63: 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:63: note: (near initialization for 'default_svcinfo[12].exptext')
netservices.c:49:22: 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:22: note: (near initialization for 'default_svcinfo[13].sendtxt')
netservices.c:49:63: 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:63: note: (near initialization for 'default_svcinfo[13].exptext')
netservices.c:50:22: 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:22: note: (near initialization for 'default_svcinfo[14].sendtxt')
netservices.c:50:63: 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:63: note: (near initialization for 'default_svcinfo[14].exptext')
netservices.c:51:22: 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:22: note: (near initialization for 'default_svcinfo[15].sendtxt')
netservices.c:51:63: 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:63: note: (near initialization for 'default_svcinfo[15].exptext')
netservices.c:53:63: 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:63: note: (near initialization for 'default_svcinfo[17].exptext')
netservices.c:54:22: 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:22: note: (near initialization for 'default_svcinfo[18].sendtxt')
netservices.c:55:22: 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:22: note: (near initialization for 'default_svcinfo[19].sendtxt')
netservices.c:55:63: 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:63: note: (near initialization for 'default_svcinfo[19].exptext')
netservices.c:57:22: 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:22: note: (near initialization for 'default_svcinfo[21].sendtxt')
netservices.c:57:63: 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:63: note: (near initialization for 'default_svcinfo[21].exptext')
netservices.c:58:22: 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:22: note: (near initialization for 'default_svcinfo[22].sendtxt')
netservices.c:58:63: 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:63: note: (near initialization for 'default_svcinfo[22].exptext')
netservices.c:59:22: 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:22: note: (near initialization for 'default_svcinfo[23].sendtxt')
netservices.c:59:63: 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:63: note: (near initialization for 'default_svcinfo[23].exptext')
netservices.c:60:22: 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:22: note: (near initialization for 'default_svcinfo[24].sendtxt')
netservices.c:60:63: 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:63: note: (near initialization for 'default_svcinfo[24].exptext')
netservices.c:62:22: 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:22: note: (near initialization for 'default_svcinfo[26].sendtxt')
netservices.c:62:63: 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:63: note: (near initialization for 'default_svcinfo[26].exptext')
netservices.c:63:22: 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:22: note: (near initialization for 'default_svcinfo[27].sendtxt')
netservices.c:63:63: 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:63: note: (near initialization for 'default_svcinfo[27].exptext')
netservices.c: In function 'binview':
netservices.c:87:51: 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 /usr/include/string.h:34,
                 from netservices.c:17:
/usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   79 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
netservices.c:90:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
   90 |         for (inp=buf, i=0, outp=result; (i<buflen); i++,inp++) {
      |                                ^
netservices.c: In function 'init_tcp_services':
netservices.c:220:79: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
  220 |                                         walk->rec->sendtxt = strdup(first->rec->sendtxt);
      |                                                                     ~~~~~~~~~~^~~~~~~~~
      |                                                                               |
      |                                                                               unsigned char *
/usr/include/string.h:139:21: note: expected 'const char *' but argument is of type 'unsigned char *'
  139 | extern char *strdup(const char *);
      |                     ^~~~~~~~~~~~
netservices.c:220:60: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  220 |                                         walk->rec->sendtxt = strdup(first->rec->sendtxt);
      |                                                            ^
netservices.c:229:79: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
  229 |                                         walk->rec->exptext = strdup(first->rec->exptext);
      |                                                                     ~~~~~~~~~~^~~~~~~~~
      |                                                                               |
      |                                                                               unsigned char *
/usr/include/string.h:139:21: note: expected 'const char *' but argument is of type 'unsigned char *'
  139 | extern char *strdup(const char *);
      |                     ^~~~~~~~~~~~
netservices.c:229:60: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  229 |                                         walk->rec->exptext = strdup(first->rec->exptext);
      |                                                            ^
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -I/opt/pkg/include -c -o notifylog.o notifylog.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -I/opt/pkg/include -c -o acknowledgementslog.o acknowledgementslog.c
acknowledgementslog.c: In function 'do_acknowledgementslog':
acknowledgementslog.c:225:25: warning: 'strncpy' specified bound 16384 equals destination size [-Wstringop-truncation]
  225 |                         strncpy(svc,p+1,  sizeof(svc));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
acknowledgementslog.c:230:25: warning: 'strncpy' specified bound 16384 equals destination size [-Wstringop-truncation]
  230 |                         strncpy(recipient,p+12, sizeof(recipient));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o readmib.o readmib.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o reportlog.o reportlog.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  `./test-endianness` -c -o rmd160c.o rmd160c.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  `./test-endianness` -c -o sha1.o sha1.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o sig.o sig.c
sig.c: In function 'setup_signalhandler':
sig.c:101:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  101 |         strncpy(signal_xymoncmd, xgetenv("XYMON"), sizeof(signal_xymoncmd));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sig.c:102:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  102 |         strncpy(signal_xymondserver, xgetenv("XYMSRV"), sizeof(signal_xymondserver));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sig.c:103:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  103 |         strncpy(signal_tmpdir, xgetenv("XYMONTMP"), sizeof(signal_tmpdir));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o stackio.o stackio.c
stackio.c: In function 'addtofnlist':
stackio.c:338:30: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  338 |         if (*dirname == '/') strncpy(dirfn, dirname, sizeof(dirfn)); else snprintf(dirfn, sizeof(dirfn), "%s/%s", stackfd_base, dirname);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stackio.c: In function 'stackfopen':
stackio.c:211:25: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  211 |                         strncpy(stackfd_filename, filename, sizeof(stackfd_filename));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stackio.c:207:17: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  207 |                 strncpy(stackfd_filename, filename, sizeof(stackfd_filename));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o strfunc.o strfunc.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o suid.o suid.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o timefunc.o timefunc.c
timefunc.c: In function 'timespec_text':
timefunc.c:110:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  110 |                         cause = strdup("Planned downtime");
      |                               ^
timefunc.c:161:45: 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/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99,
                 from timefunc.c:24:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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);
      |                                           ~~~~~~^~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o tree.o tree.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o url.o url.c
url.c: In function 'decode_url':
url.c:629:46: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  629 |                 if (okstart) weburl->okcodes = strdup(okstart);
      |                                              ^
url.c:630:50: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  630 |                 if (notokstart) weburl->badcodes = strdup(notokstart);
      |                                                  ^
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -c -o loadhosts.o loadhosts.c
loadhosts.c: In function 'xmh_item':
loadhosts.c:595:56: 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/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74,
                 from loadhosts.c:25:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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:47: 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/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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:349:
loadhosts_net.c: In function 'load_hostinfo':
loadhosts_net.c:95:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
   95 |                 strncpy(hival_hostinfo.ip, hivals[XMH_IP], sizeof(hival_hostinfo.ip));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from loadhosts.c:348:
In function 'prepare_fromnet',
    inlined from 'load_hostnames' at loadhosts_file.c:142:16:
loadhosts_file.c:113:9: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation]
  113 |         strncpy(contentmd5, fhash, sizeof(contentmd5));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o locator.o locator.c
locator.c: In function 'locator_cmd':
locator.c:209:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation]
  209 |         strncpy(pingbuf, cmd, sizeof(pingbuf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o sendmsg.o sendmsg.c
sendmsg.c: In function 'sendtomany':
sendmsg.c:474:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  474 |                 for (i = 0; (multircptcmds[i] && strcmp(multircptcmds[i], msgcmd)); i++) ;
      |                 ^~~
In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:87,
                 from sendmsg.c:44:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/memory.h:101:18: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  101 | #define xfree(P) { if ((P) == NULL) { errprintf(xfreenullstr); abort(); } free((P)); (P) = NULL; }
      |                  ^
sendmsg.c:475:17: note: in expansion of macro 'xfree'
  475 |                 xfree(msgcmd);
      |                 ^~~~~
sendmsg.c: In function 'sendtoxymond':
sendmsg.c:277:25: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
  277 |                         strncpy(hostip, inet_ntoa(addr), sizeof(hostip));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o xymond_ipc.o xymond_ipc.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -c -o run.o run.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1  -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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DCLIENTONLY -c -o color-client.o color.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DXYMONTOPDIR=\"/opt/pkg/libexec/xymon\" -DXYMONLOGDIR=\"/var/opt/pkg/log/xymon\" -DXYMONHOSTNAME=\"pkgsrc-upstream-trunk\" -DXYMONHOSTIP=\"127.0.0.1\" -DXYMONHOSTOS=\"sunos\" -DXYMONHOME=\"/opt/pkg/share/xymon/xymonhome/client\" -c -o environ-client.o environ.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DCLIENTONLY -c -o timefunc-client.o timefunc.c
timefunc.c: In function 'timespec_text':
timefunc.c:110:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  110 |                         cause = strdup("Planned downtime");
      |                               ^
timefunc.c:161:45: 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/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99,
                 from timefunc.c:24:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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);
      |                                           ~~~~~~^~~~~~~
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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DSTANDALONE -o loadhosts loadhosts.c libxymoncomm.a  -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl 
loadhosts.c: In function 'xmh_item':
loadhosts.c:595:56: 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/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74,
                 from loadhosts.c:25:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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:47: 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/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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:349:
loadhosts_net.c: In function 'load_hostinfo':
loadhosts_net.c:95:17: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
   95 |                 strncpy(hival_hostinfo.ip, hivals[XMH_IP], sizeof(hival_hostinfo.ip));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from loadhosts.c:348:
In function 'prepare_fromnet',
    inlined from 'load_hostnames' at loadhosts_file.c:142:16:
loadhosts_file.c:113:9: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation]
  113 |         strncpy(contentmd5, fhash, sizeof(contentmd5));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DSTANDALONE -o stackio stackio.c libxymon.a
stackio.c: In function 'addtofnlist':
stackio.c:338:30: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  338 |         if (*dirname == '/') strncpy(dirfn, dirname, sizeof(dirfn)); else snprintf(dirfn, sizeof(dirfn), "%s/%s", stackfd_base, dirname);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stackio.c: In function 'stackfopen':
stackio.c:211:25: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  211 |                         strncpy(stackfd_filename, filename, sizeof(stackfd_filename));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stackio.c:207:17: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
  207 |                 strncpy(stackfd_filename, filename, sizeof(stackfd_filename));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DSTANDALONE -o availability availability.c libxymon.a
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DSTANDALONE `./test-endianness` -o md5 md5.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DSTANDALONE `./test-endianness` -o sha1 sha1.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DSTANDALONE `./test-endianness` -o rmd160 rmd160c.c
rmd160c.c: In function 'main':
rmd160c.c:538:27: 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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DSTANDALONE -o locator locator.c libxymoncomm.a  -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl  libxymon.a
locator.c: In function 'locator_cmd':
locator.c:209:9: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation]
  209 |         strncpy(pingbuf, cmd, sizeof(pingbuf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -I../include  -DSTANDALONE -o tree tree.c
gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/lib'
CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" RPATHOPT="-Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="-I/opt/pkg/include" SSLLIBS="-L/opt/pkg/lib -lssl -lcrypto" NETLIBS="-lresolv -lsocket -lnsl"  ZLIBLIBS="" LIBRTDEF="" XYMONHOME="/opt/pkg/share/xymon/xymonhome" /opt/pkg/bin/gmake -C common all
gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/common'
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymongrep.o xymongrep.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymongrep xymongrep.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl   ../lib/libxymon.a
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymondigest.o xymondigest.c
xymondigest.c: In function 'main':
xymondigest.c:48:34: 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/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:73,
                 from xymondigest.c:20:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymondigest xymondigest.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl   ../lib/libxymon.a
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymon.o xymon.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymon xymon.o ../lib/libxymoncomm.a -L/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl   ../lib/libxymon.a
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymoncmd.o xymoncmd.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymoncmd xymoncmd.o ../lib/libxymon.a
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymonlaunch.o xymonlaunch.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymonlaunch xymonlaunch.o ../lib/libxymontime.a  ../lib/libxymon.a
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymoncfg.o xymoncfg.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o xymoncfg xymoncfg.o ../lib/libxymon.a
gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/common'
CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" RPATHOPT="-Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="-I/opt/pkg/include" SSLLIBS="-L/opt/pkg/lib -lssl -lcrypto" NETLIBS="-lresolv -lsocket -lnsl" LIBRTDEF="" XYMONHOME="/opt/pkg/share/xymon/xymonhome" XYMONVAR="/var/opt/pkg/xymon" HISTGRAPHDEF="" RUNTIMEDEFS="" PCREINCDIR="-I/opt/pkg/include" PCRELIBS="-L/opt/pkg/lib -lpcre" ZLIBINCDIR="" ZLIBLIBS="" /opt/pkg/bin/gmake -C xymongen all
gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymongen'
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o xymongen.o xymongen.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o loadlayout.o loadlayout.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o loaddata.o loaddata.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o pagegen.o pagegen.c
pagegen.c: In function 'do_hosts.part.0':
pagegen.c:644:83: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
  644 |                                                         sprintf(textrepurl, "%s/%s",
      |                                                                                   ^
pagegen.c:644:57: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024
  644 |                                                         sprintf(textrepurl, "%s/%s",
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  645 |                                                                 xgetenv("XYMONWEB"), textrepfn);
      |                                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pagegen.c: In function 'do_one_page':
pagegen.c:947:41: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  947 |                 sprintf(tmpfilename, "%s.tmp", filename);
      |                                         ^~~~
pagegen.c:947:17: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
  947 |                 sprintf(tmpfilename, "%s.tmp", filename);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pagegen.c:948:44: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  948 |                 sprintf(tmprssfilename, "%s.tmp", rssfilename);
      |                                            ^~~~
pagegen.c:948:17: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
  948 |                 sprintf(tmprssfilename, "%s.tmp", rssfilename);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pagegen.c: In function 'do_nongreen_page':
pagegen.c:1251:33: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
 1251 |         sprintf(tmpfilename, "%s.tmp", filename);
      |                                 ^~~~
pagegen.c:1251:9: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
 1251 |         sprintf(tmpfilename, "%s.tmp", filename);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pagegen.c:1259:44: warning: '.tmp' directive writing 4 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
 1259 |                 sprintf(tmprssfilename, "%s.tmp", rssfilename);
      |                                            ^~~~
pagegen.c:1259:17: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024
 1259 |                 sprintf(tmprssfilename, "%s.tmp", rssfilename);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o process.o process.c
process.c: In function 'calc_pagecolors':
process.c:106:49: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  106 |                                                 if ( e->propagate &&
      |                                                 ^~
process.c:110:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  110 |                                                         oldage &= e->oldage;
      |                                                         ^~~~~~
process.c:126:49: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  126 |                                                 if ( e->propagate &&
      |                                                 ^~
process.c:130:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  130 |                                                         oldage &= e->oldage;
      |                                                         ^~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o wmlgen.o wmlgen.c
wmlgen.c: In function 'generate_wml_statuscard':
wmlgen.c:122:27: warning: '.' directive writing 1 byte into a region of size between 0 and 1023 [-Wformat-overflow=]
  122 |         sprintf(fn, "%s/%s.%s.wml", wmldir, host->hostname, entry->column->name);
      |                           ^
wmlgen.c:122:9: note: 'sprintf' output 7 or more bytes (assuming 1030) into a destination of size 1024
  122 |         sprintf(fn, "%s/%s.%s.wml", wmldir, host->hostname, entry->column->name);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wmlgen.c: In function 'do_wml_cards':
wmlgen.c:315:32: warning: '/nongreen.wml.tmp' directive writing 17 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  315 |         sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir);
      |                                ^~~~~~~~~~~~~~~~~
wmlgen.c:315:9: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024
  315 |         sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wmlgen.c:315:32: warning: '/nongreen.wml.tmp' directive writing 17 bytes into a region of size between 1 and 1024 [-Wformat-overflow=]
  315 |         sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir);
      |                                ^~~~~~~~~~~~~~~~~
wmlgen.c:315:9: note: 'sprintf' output between 18 and 1041 bytes into a destination of size 1024
  315 |         sprintf(nongreenfn, "%s/nongreen.wml.tmp", wmldir);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
wmlgen.c:339:47: warning: '.wml' directive writing 4 bytes into a region of size between 0 and 1023 [-Wformat-overflow=]
  339 |                         sprintf(hostfn, "%s/%s.wml", wmldir, h->hostentry->hostname);
      |                                               ^~~~
wmlgen.c:339:25: note: 'sprintf' output 6 or more bytes (assuming 1029) into a destination of size 1024
  339 |                         sprintf(hostfn, "%s/%s.wml", wmldir, h->hostentry->hostname);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o rssgen.o rssgen.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o util.o util.c
util.c: In function 'hostpage_link':
util.c:46:56: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=]
   46 |                                 sprintf(tmppath, "%s/%s", pgwalk->name, pagelink);
      |                                                        ^
util.c:46:33: note: 'sprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024
   46 |                                 sprintf(tmppath, "%s/%s", pgwalk->name, pagelink);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o debug.o debug.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -c -o csvreport.o csvreport.c
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -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/opt/pkg/lib -lssl -lcrypto -lresolv -lsocket -lnsl  -L/opt/pkg/lib -lpcre
gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymongen'
CC="gcc" CFLAGS="-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I`pwd`/include -I/opt/pkg/include" LDFLAGS="-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64" RPATHOPT="-Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib" SSLFLAGS="-DHAVE_OPENSSL" SSLINCDIR="-I/opt/pkg/include" SSLLIBS="-L/opt/pkg/lib -lssl -lcrypto" DOLDAP="yes" LDAPFLAGS="-DHAVE_LDAP" LDAPINCDIR="-I/opt/pkg/include" LDAPLIBS="-L/opt/pkg/lib -lldap -llber" DOSNMP="no" SNMPCONFIG="" NETLIBS="-lresolv -lsocket -lnsl" XYMONHOME="/opt/pkg/share/xymon/xymonhome" ARESVER="1.15.0" FPINGVER="3.0" RUNTIMEDEFS="" PCREINCDIR="-I/opt/pkg/include" PCRELIBS="-L/opt/pkg/lib -lpcre" SYSTEMCARES="no" CARESINCDIR="" CARESLIBS="" SQLITELIBS="" ZLIBINCDIR="" ZLIBLIBS="" LIBRTDEF="" /opt/pkg/bin/gmake -C xymonnet all
gmake[1]: Entering directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymonnet'
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -DHAVE_OPENSSL -DHAVE_LDAP -I/opt/pkg/include -I/opt/pkg/include -c -o xymonnet.o xymonnet.c
xymonnet.c: In function 'main':
xymonnet.c:2446:76: warning: pointer targets in passing argument 1 of 'dupstrbuffer' differ in signedness [-Wpointer-sign]
 2446 |                                         t->banner = dupstrbuffer(testresult->banner);
      |                                                                  ~~~~~~~~~~^~~~~~~~
      |                                                                            |
      |                                                                            unsigned char *
In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99,
                 from xymonnet.c:27:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/strfunc.h:23:40: note: expected 'char *' but argument is of type 'unsigned char *'
   23 | extern strbuffer_t *dupstrbuffer(char *src);
      |                                  ~~~~~~^~~
xymonnet.c: In function 'load_tests':
xymonnet.c:845:25: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
  845 |                         strncpy(h->ip, xmh_item(hwalk, XMH_IP), sizeof(h->ip));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xymonnet.c: In function 'ip_to_test':
xymonnet.c:876:25: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation]
  876 |                         strncpy(h->ip, dnsresult, sizeof(h->ip));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xymonnet.c: In function 'run_ntp_service':
xymonnet.c:1081:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
 1081 |         strncpy(cmdpath, (use_sntp ? xgetenv("SNTP") : xgetenv("NTPDATE")), sizeof(cmdpath));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xymonnet.c: In function 'start_ping_service':
xymonnet.c:1136:17: warning: 'strncpy' specified bound 17 equals destination size [-Wstringop-truncation]
 1136 |                 strncpy(ip, ip_to_test(t->host), sizeof(ip));
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xymonnet.c: In function 'finish_ping_service':
xymonnet.c:1397:25: warning: 'strncpy' specified bound 16384 equals destination size [-Wstringop-truncation]
 1397 |                         strncpy(l, t->host->routerdeps, sizeof(l));
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xymonnet.c: In function 'main':
xymonnet.c:2394:41: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation]
 2394 |                                         strncpy(tname, s->testname, sizeof(tname));
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -DHAVE_OPENSSL -I/opt/pkg/include -c -o contest.o contest.c
contest.c: In function 'add_tcp_test':
contest.c:199:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  199 |         newtest->sendlen = (reqmsg ? strlen(reqmsg) : newtest->svcinfo->sendlen);
      |                                             ^~~~~~
      |                                             |
      |                                             unsigned char *
In file included from /usr/include/sys/socket_impl.h:56,
                 from /usr/include/sys/socket.h:52,
                 from contest.c:20:
/usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   76 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
contest.c: In function 'do_telnet_options':
contest.c:290:47: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
  290 |                         item->banner = strdup(inp);
      |                                               ^~~
      |                                               |
      |                                               unsigned char *
In file included from contest.c:31:
/usr/include/string.h:139:21: note: expected 'const char *' but argument is of type 'unsigned char *'
  139 | extern char *strdup(const char *);
      |                     ^~~~~~~~~~~~
contest.c:290:38: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  290 |                         item->banner = strdup(inp);
      |                                      ^
contest.c:291:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  291 |                         item->bannerbytes = strlen(inp);
      |                                                    ^~~
      |                                                    |
      |                                                    unsigned char *
/usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   76 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
contest.c: In function 'do_tcp_tests':
contest.c:1241:114: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
 1241 |                                                                 outlen = (item->sendlen ? item->sendlen : strlen(outbuf));
      |                                                                                                                  ^~~~~~
      |                                                                                                                  |
      |                                                                                                                  unsigned char *
/usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   76 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
contest.c:1249:90: warning: pointer targets in passing argument 2 of 'socket_write' differ in signedness [-Wpointer-sign]
 1249 |                                                                 res = socket_write(item, outbuf, outlen);
      |                                                                                          ^~~~~~
      |                                                                                          |
      |                                                                                          unsigned char *
contest.c:768:48: note: expected 'char *' but argument is of type 'unsigned char *'
  768 | static int socket_write(tcptest_t *item, char *outbuf, int outlen)
      |                                          ~~~~~~^~~~~~
contest.c:1312:87: warning: pointer targets in passing argument 1 of 'item->datacallback' differ in signedness [-Wpointer-sign]
 1312 |                                                         datadone = item->datacallback(msgbuf, res, item->priv);
      |                                                                                       ^~~~~~
      |                                                                                       |
      |                                                                                       char *
contest.c:1312:87: note: expected 'unsigned char *' but argument is of type 'char *'
contest.c: In function 'show_tcp_test_results':
contest.c:1394:70: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
 1394 |                 if (item->banner && (item->bannerbytes == strlen(item->banner))) {
      |                                                                  ~~~~^~~~~~~~
      |                                                                      |
      |                                                                      unsigned char *
/usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   76 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
contest.c:1396:48: warning: pointer targets in passing argument 1 of 'textornull' differ in signedness [-Wpointer-sign]
 1396 |                                 textornull(item->banner),
      |                                            ~~~~^~~~~~~~
      |                                                |
      |                                                unsigned char *
In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:88,
                 from contest.c:36:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:33:43: note: expected 'const char *' but argument is of type 'unsigned char *'
   33 | extern const char *textornull(const char *text);
      |                               ~~~~~~~~~~~~^~~~
contest.c: In function 'tcp_got_expected':
contest.c:1442:98: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
 1442 |                 compbytes = (test->svcinfo->explen ? test->svcinfo->explen : strlen(test->svcinfo->exptext));
      |                                                                                     ~~~~~~~~~~~~~^~~~~~~~~
      |                                                                                                  |
      |                                                                                                  unsigned char *
/usr/include/sys/un.h:76:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   76 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -DHAVE_OPENSSL -I/opt/pkg/include -c -o httptest.o httptest.c
httptest.c: In function 'tcp_http_data_callback':
httptest.c:196:30: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign]
  196 |                 p=strstr(item->headers, "\r\n\r\n");
      |                          ~~~~^~~~~~~~~
      |                              |
      |                              unsigned char *
In file included from /usr/include/string.h:34,
                 from httptest.c:19:
/usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *'
  143 | extern char *strstr(const char *, const char *);
      |                     ^~~~~~~~~~~~
httptest.c:196:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  196 |                 p=strstr(item->headers, "\r\n\r\n");
      |                  ^
httptest.c:201:40: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign]
  201 |                         p = strstr(item->headers, "\n\n");
      |                                    ~~~~^~~~~~~~~
      |                                        |
      |                                        unsigned char *
/usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *'
  143 | extern char *strstr(const char *, const char *);
      |                     ^~~~~~~~~~~~
httptest.c:201:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  201 |                         p = strstr(item->headers, "\n\n");
      |                           ^
httptest.c:212:36: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign]
  212 |                         sscanf(item->headers, "HTTP/1.%d %d", &http1subver, &httpstatus);
      |                                ~~~~^~~~~~~~~
      |                                    |
      |                                    unsigned char *
In file included from /usr/include/stdio.h:82,
                 from httptest.c:18:
/usr/include/iso/stdio_iso.h:214:24: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  214 | extern int      sscanf(const char *_RESTRICT_KYWD,
      |                        ^
httptest.c:243:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
  243 |                         p1 = item->headers; xferencoding = NULL; contlen = 0;
      |                            ^
httptest.c:264:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  264 |                         item->hdrlen = strlen(item->headers);
      |                                               ~~~~^~~~~~~~~
      |                                                   |
      |                                                   unsigned char *
/usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   79 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
httptest.c: In function 'tcp_http_final_callback':
httptest.c:304:28: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign]
  304 |                 sscanf(item->headers, "HTTP/1.%d %d", &http1subver, &item->httpstatus);
      |                        ~~~~^~~~~~~~~
      |                            |
      |                            unsigned char *
/usr/include/iso/stdio_iso.h:214:24: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  214 | extern int      sscanf(const char *_RESTRICT_KYWD,
      |                        ^
httptest.c:307:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
  307 |                 p = item->headers;
      |                   ^
httptest.c: In function 'add_http_test':
httptest.c:406:66: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  406 |                                         httptest->weburl.expdata = strdup(l);
      |                                                                  ^
httptest.c:459:81: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign]
  459 |                         httptest->exp = (void *) strdup(httptest->weburl.expdata+1);
      |                                                         ~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                                                 |
      |                                                                                 unsigned char *
/usr/include/string.h:139:21: note: expected 'const char *' but argument is of type 'unsigned char *'
  139 | extern char *strdup(const char *);
      |                     ^~~~~~~~~~~~
httptest.c:475:84: warning: pointer targets in passing argument 2 of 'regcomp' differ in signedness [-Wpointer-sign]
  475 |                         status = regcomp((regex_t *)httptest->exp, httptest->weburl.expdata, REG_EXTENDED|REG_NOSUB);
      |                                                                    ~~~~~~~~~~~~~~~~^~~~~~~~
      |                                                                                    |
      |                                                                                    unsigned char *
In file included from httptest.c:20:
/usr/include/regex.h:160:45: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  160 | extern int regcomp(regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, int);
      |                                             ^
httptest.c:539:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  539 |                 int contlen = strlen(httptest->weburl.postdata);
      |                                      ~~~~~~~~~~~~~~~~^~~~~~~~~
      |                                                      |
      |                                                      unsigned char *
/usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *'
   79 | extern size_t strlen(const char *);
      |                      ^~~~~~~~~~~~
httptest.c:541:45: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign]
  541 |                 if (strncmp(httptest->weburl.postdata, "file:", 5) == 0) {
      |                             ~~~~~~~~~~~~~~~~^~~~~~~~~
      |                                             |
      |                                             unsigned char *
/usr/include/iso/string_iso.h:81:20: note: expected 'const char *' but argument is of type 'unsigned char *'
   81 | extern int strncmp(const char *, const char *, size_t);
      |                    ^~~~~~~~~~~~
httptest.c:543:67: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
  543 |                         FILE *pf = fopen(httptest->weburl.postdata+5, "r");
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~^~
      |                                                                   |
      |                                                                   unsigned char *
/usr/include/iso/stdio_iso.h:197:24: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  197 | extern FILE     *fopen(const char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD);
      |                        ^
httptest.c:547:59: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  547 |                                 httptest->weburl.postdata = strdup("");
      |                                                           ^
httptest.c:557:67: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  557 |                                         httptest->weburl.postdata = (char *)malloc(st.st_size + 1); *(httptest->weburl.postdata) = '\0';
      |                                                                   ^
httptest.c:570:67: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  570 |                                         httptest->weburl.postdata = strdup("");
      |                                                                   ^
httptest.c:580:66: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign]
  580 |                         addtobuffer(httprequest, httptest->weburl.postcontenttype);
      |                                                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
      |                                                                  |
      |                                                                  unsigned char *
In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:99,
                 from httptest.c:26:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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);
      |                                           ~~~~~~^~~~~~~
httptest.c:618:87: warning: pointer targets in passing argument 1 of 'base64encode' differ in signedness [-Wpointer-sign]
  618 |                         addtobuffer(httprequest, base64encode(httptest->weburl.desturl->auth));
      |                                                               ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
      |                                                                                       |
      |                                                                                       char *
In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:74:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:14:42: note: expected 'unsigned char *' but argument is of type 'char *'
   14 | extern char *base64encode(unsigned char *buf);
      |                           ~~~~~~~~~~~~~~~^~~
httptest.c:624:80: warning: pointer targets in passing argument 1 of 'base64encode' differ in signedness [-Wpointer-sign]
  624 |                 addtobuffer(httprequest, base64encode(httptest->weburl.proxyurl->auth));
      |                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
      |                                                                                |
      |                                                                                char *
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/encoding.h:14:42: note: expected 'unsigned char *' but argument is of type 'char *'
   14 | extern char *base64encode(unsigned char *buf);
      |                           ~~~~~~~~~~~~~~~^~~
httptest.c:673:81: warning: pointer targets in passing argument 2 of 'addtobuffer' differ in signedness [-Wpointer-sign]
  673 |         if (httptest->weburl.postdata) addtobuffer(httprequest, httptest->weburl.postdata);
      |                                                                 ~~~~~~~~~~~~~~~~^~~~~~~~~
      |                                                                                 |
      |                                                                                 unsigned char *
/home/pbulk/build/net/xymon/work/xymon-4.3.30/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);
      |                                           ~~~~~~^~~~~~~
httptest.c:689:78: warning: pointer targets in passing argument 8 of 'add_tcp_test' differ in signedness [-Wpointer-sign]
  689 |                                                  t->testspec, t->silenttest, grabstrbuffer(httprequest),
      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                              |
      |                                                                              char *
In file included from httptest.c:29:
contest.h:202:69: note: expected 'unsigned char *' but argument is of type 'char *'
  202 |                             char *tspec, int silent, unsigned char *reqmsg,
      |                                                      ~~~~~~~~~~~~~~~^~~~~~
httptest.c:697:78: warning: pointer targets in passing argument 8 of 'add_tcp_test' differ in signedness [-Wpointer-sign]
  697 |                                                  t->testspec, t->silenttest, grabstrbuffer(httprequest),
      |                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                              |
      |                                                                              char *
contest.h:202:69: note: expected 'unsigned char *' but argument is of type 'char *'
  202 |                             char *tspec, int silent, unsigned char *reqmsg,
      |                                                      ~~~~~~~~~~~~~~~^~~~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -DHAVE_OPENSSL -I/opt/pkg/include -c -o httpresult.o httpresult.c
httpresult.c: In function 'send_http_results':
httpresult.c:144:86: warning: pointer targets in passing argument 3 of 'update_session_cookies' differ in signedness [-Wpointer-sign]
  144 |                 update_session_cookies(host->hostname, req->weburl.desturl->host, req->headers);
      |                                                                                   ~~~^~~~~~~~~
      |                                                                                      |
      |                                                                                      unsigned char *
In file included from httpresult.c:27:
httpcookies.h:28:73: note: expected 'char *' but argument is of type 'unsigned char *'
   28 | extern void update_session_cookies(char *hostname, char *urlhost, char *headers);
      |                                                                   ~~~~~~^~~~~~~
httpresult.c:148:95: warning: pointer targets in passing argument 3 of 'statuscolor_by_set' differ in signedness [-Wpointer-sign]
  148 |                         req->httpcolor = statuscolor_by_set(host, req->httpstatus, req->weburl.okcodes, req->weburl.badcodes);
      |                                                                                    ~~~~~~~~~~~^~~~~~~~
      |                                                                                               |
      |                                                                                               unsigned char *
httpresult.c:79:66: note: expected 'char *' but argument is of type 'unsigned char *'
   79 | static int statuscolor_by_set(testedhost_t *h, int status, char *okcodes, char *badcodes)
      |                                                            ~~~~~~^~~~~~~
httpresult.c:148:116: warning: pointer targets in passing argument 4 of 'statuscolor_by_set' differ in signedness [-Wpointer-sign]
  148 |                         req->httpcolor = statuscolor_by_set(host, req->httpstatus, req->weburl.okcodes, req->weburl.badcodes);
      |                                                                                                         ~~~~~~~~~~~^~~~~~~~~
      |                                                                                                                    |
      |                                                                                                                    unsigned char *
httpresult.c:79:81: note: expected 'char *' but argument is of type 'unsigned char *'
   79 | static int statuscolor_by_set(testedhost_t *h, int status, char *okcodes, char *badcodes)
      |                                                                           ~~~~~~^~~~~~~~
httpresult.c:217:43: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign]
  217 |                                 char *p = req->headers;
      |                                           ^~~
httpresult.c:302:48: warning: pointer targets in passing argument 1 of 'addtostatus' differ in signedness [-Wpointer-sign]
  302 |                                 addtostatus(req->headers);
      |                                             ~~~^~~~~~~~~
      |                                                |
      |                                                unsigned char *
In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:94,
                 from httpresult.c:23:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/sendmsg.h:59:31: note: expected 'char *' but argument is of type 'unsigned char *'
   59 | extern void addtostatus(char *p);
      |                         ~~~~~~^
httpresult.c:365:40: warning: pointer targets in passing argument 1 of 'addtostatus' differ in signedness [-Wpointer-sign]
  365 |                         addtostatus(req->headers);
      |                                     ~~~^~~~~~~~~
      |                                        |
      |                                        unsigned char *
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/sendmsg.h:59:31: note: expected 'char *' but argument is of type 'unsigned char *'
   59 | extern void addtostatus(char *p);
      |                         ~~~~~~^
httpresult.c:388:39: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
  388 |                 if (req->output) data = req->output;
      |                                       ^
httpresult.c: In function 'send_content_results':
httpresult.c:466:92: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign]
  466 |                                                 status = (regexec((regex_t *) req->exp, req->headers, 0, foo, 0) == 0) ? 0 :
      |                                                                                         ~~~^~~~~~~~~
      |                                                                                            |
      |                                                                                            unsigned char *
In file included from httpresult.c:19:
/usr/include/regex.h:161:51: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  161 | extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
      |                                                   ^
httpresult.c:467:111: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign]
  467 |                                                             (req->output && (regexec((regex_t *) req->exp, req->output, 0, foo, 0) == 0)) ? 0 : 1;
      |                                                                                                            ~~~^~~~~~~~
      |                                                                                                               |
      |                                                                                                               unsigned char *
/usr/include/regex.h:161:51: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  161 | extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
      |                                                   ^
httpresult.c:471:91: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign]
  471 |                                                 status = regexec((regex_t *) req->exp, req->output, 0, foo, 0);
      |                                                                                        ~~~^~~~~~~~
      |                                                                                           |
      |                                                                                           unsigned char *
/usr/include/regex.h:161:51: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  161 | extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
      |                                                   ^
httpresult.c:482:95: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign]
  482 |                                                 status = ( (!regexec((regex_t *) req->exp, req->headers, 0, foo, 0)) &&
      |                                                                                            ~~~^~~~~~~~~
      |                                                                                               |
      |                                                                                               unsigned char *
/usr/include/regex.h:161:51: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  161 | extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
      |                                                   ^
httpresult.c:483:112: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign]
  483 |                                                            (!req->output || (!regexec((regex_t *) req->exp, req->output, 0, foo, 0))) );
      |                                                                                                             ~~~^~~~~~~~
      |                                                                                                                |
      |                                                                                                                unsigned char *
/usr/include/regex.h:161:51: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  161 | extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
      |                                                   ^
httpresult.c:487:93: warning: pointer targets in passing argument 2 of 'regexec' differ in signedness [-Wpointer-sign]
  487 |                                                 status = (!regexec((regex_t *) req->exp, req->output, 0, foo, 0));
      |                                                                                          ~~~^~~~~~~~
      |                                                                                             |
      |                                                                                             unsigned char *
/usr/include/regex.h:161:51: note: expected 'const char * restrict' but argument is of type 'unsigned char *'
  161 | extern int regexec(const regex_t *_RESTRICT_KYWD, const char *_RESTRICT_KYWD,
      |                                                   ^
httpresult.c:503:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  503 |                                         req->output = (char *) malloc(strlen(req->digest)+strlen((char *)req->exp)+strlen("Expected:\nGot     :\n")+1);
      |                                                     ^
httpresult.c:504:52: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  504 |                                         sprintf(req->output, "Expected:%s\nGot     :%s\n",
      |                                                 ~~~^~~~~~~~
      |                                                    |
      |                                                    unsigned char *
In file included from /usr/include/stdio.h:82,
                 from httpresult.c:17:
/usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  212 | extern int      sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...);
      |                         ^
httpresult.c:518:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign]
  518 |                                         req->output = (char *) malloc(strlen(req->contenttype)+strlen((char *)req->exp)+strlen("Expected content-type: %s\nGot content-type     : %s\n")+1);
      |                                                     ^
httpresult.c:519:52: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign]
  519 |                                         sprintf(req->output, "Expected content-type: %s\nGot content-type     : %s\n",
      |                                                 ~~~^~~~~~~~
      |                                                    |
      |                                                    unsigned char *
/usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'unsigned char *'
  212 | extern int      sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...);
      |                         ^
httpresult.c:589:40: warning: pointer targets in passing argument 1 of 'addtostatus' differ in signedness [-Wpointer-sign]
  589 |                         addtostatus(req->headers);
      |                                     ~~~^~~~~~~~~
      |                                        |
      |                                        unsigned char *
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/sendmsg.h:59:31: note: expected 'char *' but argument is of type 'unsigned char *'
   59 | extern void addtostatus(char *p);
      |                         ~~~~~~^
httpresult.c:604:46: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign]
  604 |                              (strncasecmp(req->output, "<html", 5) == 0) ) {
      |                                           ~~~^~~~~~~~
      |                                              |
      |                                              unsigned char *
In file included from httpresult.c:18:
/usr/include/string.h:133:24: note: expected 'const char *' but argument is of type 'unsigned char *'
  133 | extern int strncasecmp(const char *, const char *, size_t);
      |                        ^~~~~~~~~~~~
httpresult.c:608:55: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign]
  608 |                                 bodystart = strstr(req->output, "<body");
      |                                                    ~~~^~~~~~~~
      |                                                       |
      |                                                       unsigned char *
In file included from /usr/include/string.h:34:
/usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *'
  143 | extern char *strstr(const char *, const char *);
      |                     ^~~~~~~~~~~~
httpresult.c:609:78: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign]
  609 |                                 if (bodystart == NULL) bodystart = strstr(req->output, "<BODY");
      |                                                                           ~~~^~~~~~~~
      |                                                                              |
      |                                                                              unsigned char *
/usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'unsigned char *'
  143 | extern char *strstr(const char *, const char *);
      |                     ^~~~~~~~~~~~
httpresult.c:616:48: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign]
  616 |                                 else bodystart = req->output;
      |                                                ^
httpresult.c:629:48: warning: pointer targets in passing argument 1 of 'addtostatus' differ in signedness [-Wpointer-sign]
  629 |                                 addtostatus(req->output);
      |                                             ~~~^~~~~~~~
      |                                                |
      |                                                unsigned char *
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/sendmsg.h:59:31: note: expected 'char *' but argument is of type 'unsigned char *'
   59 | extern void addtostatus(char *p);
      |                         ~~~~~~^
httpresult.c: In function 'show_http_test_results':
httpresult.c:651:60: warning: pointer targets in passing argument 1 of 'textornull' differ in signedness [-Wpointer-sign]
  651 |                 printf("HTTP headers\n%s\n", textornull(req->headers));
      |                                                         ~~~^~~~~~~~~
      |                                                            |
      |                                                            unsigned char *
In file included from /home/pbulk/build/net/xymon/work/xymon-4.3.30/include/libxymon.h:88:
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:33:43: note: expected 'const char *' but argument is of type 'unsigned char *'
   33 | extern const char *textornull(const char *text);
      |                               ~~~~~~~~~~~~^~~~
httpresult.c:652:59: warning: pointer targets in passing argument 1 of 'textornull' differ in signedness [-Wpointer-sign]
  652 |                 printf("HTTP output\n%s\n", textornull(req->output));
      |                                                        ~~~^~~~~~~~
      |                                                           |
      |                                                           unsigned char *
/home/pbulk/build/net/xymon/work/xymon-4.3.30/include/../lib/misc.h:33:43: note: expected 'const char *' but argument is of type 'unsigned char *'
   33 | extern const char *textornull(const char *text);
      |                               ~~~~~~~~~~~~^~~~
gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/apr-1 -g -O2 -Wall -Wno-unused -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSunOS -I/home/pbulk/build/net/xymon/work/xymon-4.3.30/include -I/opt/pkg/include -DHAVE_LDAP -I/opt/pkg/include -c -o ldaptest.o ldaptest.c
gzip -dc c-ares-1.15.0.tar.gz | tar xf -
mv c-ares-1.15.0 c-ares
# Must touch "configure", or it will trigger a rebuild because it is older than the tar.gz file.
touch c-ares/configure
mkdir c-ares/.libs
touch c-ares/.libs/libcares.la
(cd c-ares && ../c-ares-shim.sh ./configure --disable-shared)
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether /opt/pkg/bin/gmake supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... not specified (assuming yes)
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to expose internal static functions for testing... no
checking for path separator... :
checking for sed... /usr/bin/sed
checking for grep... /usr/xpg4/bin/grep
checking for egrep... /usr/xpg4/bin/grep -E
checking for ar... /usr/bin/ar
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking whether to build with code coverage support... no
checking build system type... x86_64-pc-solaris2.11
checking host system type... x86_64-pc-solaris2.11
configure: using LDFLAGS: -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64
configure: LDFLAGS error: LDFLAGS may only be used to specify linker flags, not libraries. Use LIBS for: -lintl
configure: LDFLAGS error: LDFLAGS may only be used to specify linker flags, not libraries. Use LIBS for: -liconv
configure: error: Can not continue. Fix errors mentioned immediately above this line.
gmake[1]: *** [Makefile:67: c-ares/Makefile] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/net/xymon/work/xymon-4.3.30/xymonnet'
gmake: *** [build/Makefile.rules:106: xymonnet-build] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/xymon
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/xymon