=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for xymonclient-4.3.17 MAKE="/usr/pkg/bin/gmake" CC="cc" CFLAGS="-g -O -D_REENTRANT -Dgeneric -I`pwd`/include -DCLIENTONLY=1" LDFLAGS="-Wl,-R/usr/pkg/lib" `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() config.h created CC="cc" CFLAGS="-g -O -D_REENTRANT -Dgeneric -I`pwd`/include -DCLIENTONLY=1" LDFLAGS="-Wl,-R/usr/pkg/lib" OSDEF="-Dgeneric" RPATHOPT="" PCREINCDIR="" ZLIBINCDIR="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" LIBRTDEF="" XYMONTOPDIR="/usr/pkg/libexec/xymon" XYMONHOME="/usr/pkg/libexec/xymon" XYMONCLIENTHOME=/usr/pkg/libexec/xymon XYMONLOGDIR="/usr/pkg/var/log/xymon" XYMONHOSTNAME="" XYMONHOSTIP="127.0.0.1" XYMONHOSTOS="" LOCALCLIENT="no" /usr/pkg/bin/gmake -C lib client gmake[1]: Entering directory '/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/lib' cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -o test-endianness test-endianness.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o osdefs.o osdefs.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o cgiurls.o cgiurls.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -DCLIENTONLY -c -o color-client.o color.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o crondate.o crondate.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o digest.o digest.c digest.c:40:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] myMD5_Update(ctx->mdctx, input, strlen(input)); ^~~~~ /usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include/../lib/md5.h:18:52: note: passing argument to parameter 'data' here extern void myMD5_Update(void *pms, unsigned char *data, int nbytes); ^ digest.c:185:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mySHA512_Final(md_value, ctx->mdctx); ^~~~~~~~ /usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include/../lib/sha2.h:121:33: note: passing argument to parameter 'md' here extern void mySHA512_Final(char md[20], void *c); ^ digest.c:192:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mySHA256_Final(md_value, ctx->mdctx); ^~~~~~~~ /usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include/../lib/sha2.h:111:33: note: passing argument to parameter 'md' here extern void mySHA256_Final(char md[20], void *c); ^ digest.c:199:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mySHA384_Final(md_value, ctx->mdctx); ^~~~~~~~ /usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include/../lib/sha2.h:116:33: note: passing argument to parameter 'md' here extern void mySHA384_Final(char md[20], void *c); ^ digest.c:206:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] mySHA224_Final(md_value, ctx->mdctx); ^~~~~~~~ /usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include/../lib/sha2.h:106:33: note: passing argument to parameter 'md' here extern void mySHA224_Final(char md[20], void *c); ^ 5 warnings generated. cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o encoding.o encoding.c encoding.c:31:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] result = malloc(4*(strlen(buf)/3 + 1) + 1); ^~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ encoding.c:34:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] while (strlen(inp) >= 3) { ^~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ encoding.c:50:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (strlen(inp) == 1) { ^~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ encoding.c:60:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (strlen(inp) == 2) { ^~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ encoding.c:75:9: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return result; ^~~~~~ encoding.c:86:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int bytesleft = strlen(buf); ^~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ encoding.c:114:9: warning: returning 'unsigned char *' from a function with result type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] return result; ^~~~~~ encoding.c:125:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] outp = *buf = malloc(strlen(msg)+1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ encoding.c:181:23: warning: assigning to 'unsigned char *' from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign] if (msg == NULL) msg = ""; ^ ~~ encoding.c:183:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] maxneeded = 2*strlen(msg)+1; ^~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ encoding.c:187:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] buf = (char *)malloc(bufsz); ^ ~~~~~~~~~~~~~~~~~~~~~ encoding.c:191:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] buf = (char *)realloc(buf, bufsz); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ encoding.c:198:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] n = strcspn(inp, "|\n\r\t\\"); ^~~ /usr/include/string.h:59:29: note: passing argument to parameter here size_t strcspn(const char *, const char *); ^ encoding.c:231:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] n = strcspn(inp, "\\"); ^~~ /usr/include/string.h:59:29: note: passing argument to parameter here size_t strcspn(const char *, const char *); ^ 14 warnings generated. cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -DXYMONTOPDIR=\"/usr/pkg/libexec/xymon\" -DXYMONLOGDIR=\"/usr/pkg/var/log/xymon\" -DXYMONHOSTNAME=\"\" -DXYMONHOSTIP=\"127.0.0.1\" -DXYMONHOSTOS=\"\" -DXYMONHOME=\"/usr/pkg/libexec/xymon\" -c -o environ-client.o environ.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o errormsg.o errormsg.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o holidays.o holidays.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o ipaccess.o ipaccess.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o md5.o md5.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o memory.o memory.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o misc.o misc.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o msort.o msort.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include `./test-endianness` -c -o rmd160c.o rmd160c.c rmd160c.c:515:64: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] void myRIPEMD160_Final(char md[20], void *c) { RIPEMD160_Final(md, (RIPEMD160_CTX *)c); } ^~ 1 warning generated. cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include `./test-endianness` -c -o sha1.o sha1.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o sha2.o sha2.c sha2.c:955:75: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] void mySHA224_Final(char md[20], void *c) { sha224_final((sha224_ctx *)c, md); } ^~ sha2.c:787:51: note: passing argument to parameter 'digest' here void sha224_final(sha224_ctx *ctx, unsigned char *digest) ^ sha2.c:960:75: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] void mySHA256_Final(char md[20], void *c) { sha256_final((sha256_ctx *)c, md); } ^~ sha2.c:388:51: note: passing argument to parameter 'digest' here void sha256_final(sha256_ctx *ctx, unsigned char *digest) ^ sha2.c:965:75: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] void mySHA384_Final(char md[20], void *c) { sha384_final((sha384_ctx *)c, md); } ^~ sha2.c:687:51: note: passing argument to parameter 'digest' here void sha384_final(sha384_ctx *ctx, unsigned char *digest) ^ sha2.c:970:75: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] void mySHA512_Final(char md[20], void *c) { sha512_final((sha512_ctx *)c, md); } ^~ sha2.c:585:51: note: passing argument to parameter 'digest' here void sha512_final(sha512_ctx *ctx, unsigned char *digest) ^ 4 warnings generated. cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o sig.o sig.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o stackio.o stackio.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o strfunc.o strfunc.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o suid.o suid.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -DCLIENTONLY -c -o timefunc-client.o timefunc.c timefunc.c:110:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cause = strdup("Planned downtime"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ timefunc.c:161:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] addtobuffer(result, cause); ^~~~~ /usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include/../lib/strfunc.h:16:49: note: passing argument to parameter 'newtext' here extern void addtobuffer(strbuffer_t *buf, char *newtext); ^ timefunc.c:507:27: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] p += sprintf(p, "%ldd", (left / 86400)); ~~~ ^~~~~~~~~~~~~~ %lld timefunc.c:511:50: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] p += sprintf(p, (*result ? "%02ldh" : "%ldh"), (left / 3600)); ~~~~~ ^~~~~~~~~~~~~ %02lld timefunc.c:511:50: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] p += sprintf(p, (*result ? "%02ldh" : "%ldh"), (left / 3600)); ~~~ ^~~~~~~~~~~~~ %lld timefunc.c:515:50: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] p += sprintf(p, (*result ? "%02ldm" : "%ldm"), (left / 60)); ~~~~~ ^~~~~~~~~~~ %02lld timefunc.c:515:50: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat] p += sprintf(p, (*result ? "%02ldm" : "%ldm"), (left / 60)); ~~~ ^~~~~~~~~~~ %lld timefunc.c:520:29: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Wformat] p += sprintf(p, "%02lds", left); ~~~~~ ^~~~ %02lld 8 warnings generated. cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o tree.o tree.c ar cr libxymonclient.a osdefs.o cgiurls.o color-client.o crondate.o digest.o encoding.o environ-client.o errormsg.o holidays.o ipaccess.o md5.o memory.o misc.o msort.o rmd160c.o sha1.o sha2.o sig.o stackio.o strfunc.o suid.o timefunc-client.o tree.o ranlib libxymonclient.a || echo "" cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o locator.o locator.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o loadhosts.o loadhosts.c loadhosts.c:586:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] addtobuffer(rawtxt, nlencode(p)); ^ /usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include/../lib/encoding.h:17:47: note: passing argument to parameter 'msg' here extern unsigned char *nlencode(unsigned char *msg); ^ loadhosts.c:586:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] addtobuffer(rawtxt, nlencode(p)); ^~~~~~~~~~~ /usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include/../lib/strfunc.h:16:49: note: passing argument to parameter 'newtext' here extern void addtobuffer(strbuffer_t *buf, char *newtext); ^ loadhosts.c:640:13: warning: comparison of constant -1 with expression of type 'enum xmh_item_t' is always false [-Wtautological-constant-out-of-range-compare] return ((i == -1) ? NULL : xmh_item(host, i)); ~ ^ ~~ loadhosts.c:671:11: warning: comparison of unsigned enum expression >= 0 is always true [-Wtautological-compare] if ((idx >= 0) && (idx < XMH_LAST)) return xmh_item_name[idx]; ~~~ ^ ~ 4 warnings generated. cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o sendmsg.o sendmsg.c sendmsg.c:476:76: warning: for loop has empty body [-Wempty-body] for (i = 0; (multircptcmds[i] && strcmp(multircptcmds[i], msgcmd)); i++) ; ^ sendmsg.c:476:76: note: put the semicolon on a separate line to silence this warning 1 warning generated. cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o xymond_ipc.o xymond_ipc.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o xymond_buffer.o xymond_buffer.c ar cr libxymonclientcomm.a locator.o loadhosts.o sendmsg.o xymond_ipc.o xymond_buffer.o ranlib libxymonclientcomm.a || echo "" cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o run.o run.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -I../include -c -o timing.o timing.c ar cr libxymontime.a run.o timing.o ranlib libxymontime.a || echo "" gmake[1]: Leaving directory '/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/lib' CC="cc" CFLAGS="-g -O -D_REENTRANT -Dgeneric -I`pwd`/include -DCLIENTONLY=1" LDFLAGS="-Wl,-R/usr/pkg/lib" RPATHOPT="" SSLFLAGS="" SSLINCDIR="" SSLLIBS="" NETLIBS="" ZLIBLIBS="" LIBRTDEF="" XYMONHOME="/usr/pkg/libexec/xymon" /usr/pkg/bin/gmake -C common client gmake[1]: Entering directory '/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/common' cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -c -o xymon.o xymon.c cc -g -O -D_REENTRANT -Dgeneric -I/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/include -DCLIENTONLY=1 -o ../client/xymon xymon.o ../lib/libxymonclientcomm.a ../lib/libxymonclient.a ../lib/libxymonclientcomm.a(sendmsg.o): In function `sendmessage_local': /usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/lib/sendmsg.c:624: undefined reference to `msgsnd' ../lib/libxymonclientcomm.a(xymond_ipc.o): In function `setup_feedback_queue': /usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/lib/xymond_ipc.c:178: undefined reference to `msgget' ../lib/libxymonclientcomm.a(xymond_ipc.o): In function `close_feedback_queue': /usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/lib/xymond_ipc.c:188: undefined reference to `__msgctl50' clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:46: recipe for target '../client/xymon' failed gmake[1]: *** [../client/xymon] Error 1 gmake[1]: Leaving directory '/usr/pkgsrc/work/net/xymonclient/work/xymon-4.3.17/common' build/Makefile.rules:101: recipe for target 'common-client' failed gmake: *** [common-client] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/net/xymonclient *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/xymonclient