+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tspc-2.1.1nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tspc-2.1.1nb2/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tspc-2.1.1nb2 --- pre-checks --- mkdir -p bin mkdir -p objs --- all --- --- ../../objs/net.o --- --- ../../objs/net_rudp.o --- --- ../../objs/net_tcp.o --- --- ../../objs/net_udp.o --- --- ../../objs/net.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c net.c -o ../../objs/net.o -Dsolaris --- ../../objs/net_rudp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c net_rudp.c -o ../../objs/net_rudp.o -Dsolaris --- ../../objs/net_tcp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c net_tcp.c -o ../../objs/net_tcp.o -Dsolaris --- ../../objs/net_udp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c net_udp.c -o ../../objs/net_udp.o -Dsolaris --- ../../objs/net_tcp.o --- net_tcp.c: In function 'NetTCPPrintf': net_tcp.c:137:24: warning: pointer targets in passing argument 2 of 'NetTCPWrite' differ in signedness [-Wpointer-sign] 137 | if(NetTCPWrite(sock, Data, strlen(Data)) != Length) { | ^~~~ | | | char * net_tcp.c:104:42: note: expected 'unsigned char *' but argument is of type 'char *' 104 | NetTCPWrite (SOCKET sock, unsigned char *b, size_t l) { | ~~~~~~~~~~~~~~~^ net_tcp.c:141:27: warning: pointer targets in passing argument 2 of 'NetTCPRead' differ in signedness [-Wpointer-sign] 141 | return NetTCPRead(sock, out, pl); | ^~~ | | | char * In file included from net_tcp.c:37: ../../include/net_tcp.h:34:50: note: expected 'unsigned char *' but argument is of type 'char *' 34 | extern int NetTCPRead (SOCKET, unsigned char *, size_t); | ^~~~~~~~~~~~~~~ --- ../../objs/net_rudp.o --- net_rudp.c: In function 'NetRUDPPrintf': net_rudp.c:152:33: warning: pointer targets in passing argument 2 of 'NetRUDPReadWrite' differ in signedness [-Wpointer-sign] 152 | return NetRUDPReadWrite(sock, Data, strlen(Data), out, ol); | ^~~~ | | | char * net_rudp.c:124:50: note: expected 'unsigned char *' but argument is of type 'char *' 124 | int NetRUDPReadWrite(SOCKET sock, unsigned char *in, size_t il, unsigned char *out, size_t ol) | ~~~~~~~~~~~~~~~^~ net_rudp.c:152:53: warning: pointer targets in passing argument 4 of 'NetRUDPReadWrite' differ in signedness [-Wpointer-sign] 152 | return NetRUDPReadWrite(sock, Data, strlen(Data), out, ol); | ^~~ | | | char * net_rudp.c:124:80: note: expected 'unsigned char *' but argument is of type 'char *' 124 | int NetRUDPReadWrite(SOCKET sock, unsigned char *in, size_t il, unsigned char *out, size_t ol) | ~~~~~~~~~~~~~~~^~~ net_rudp.c:143:7: warning: variable 'Length' set but not used [-Wunused-but-set-variable] 143 | int Length; | ^~~~~~ --- ../../objs/net_udp.o --- net_udp.c: In function 'NetUDPPrintf': net_udp.c:131:38: warning: pointer targets in passing argument 2 of 'NetUDPReadWrite' differ in signedness [-Wpointer-sign] 131 | return NetUDPReadWrite(sock, Data, strlen(Data), out, ol); | ^~~~ | | | char * net_udp.c:86:45: note: expected 'unsigned char *' but argument is of type 'char *' 86 | NetUDPReadWrite(SOCKET sock, unsigned char *bi, size_t li, unsigned char *bo, size_t lo) | ~~~~~~~~~~~~~~~^~ net_udp.c:131:58: warning: pointer targets in passing argument 4 of 'NetUDPReadWrite' differ in signedness [-Wpointer-sign] 131 | return NetUDPReadWrite(sock, Data, strlen(Data), out, ol); | ^~~ | | | char * net_udp.c:86:75: note: expected 'unsigned char *' but argument is of type 'char *' 86 | NetUDPReadWrite(SOCKET sock, unsigned char *bi, size_t li, unsigned char *bo, size_t lo) | ~~~~~~~~~~~~~~~^~ net_udp.c:120:13: warning: variable 'Length' set but not used [-Wunused-but-set-variable] 120 | int Length; | ^~~~~~ --- ../../objs/net_ka.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c net_ka.c -o ../../objs/net_ka.o -Dsolaris --- ../../objs/net_cksm.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c net_cksm.c -o ../../objs/net_cksm.o -Dsolaris --- ../../objs/net_ka.o --- net_ka.c: In function 'internal_do_pingout': net_ka.c:477:41: warning: operation on 'ping_packet[7]' may be undefined [-Wsequence-point] 477 | ping_packet[KA_PING_OFFSET_SEQ] = (++ping_packet[KA_PING_OFFSET_SEQ]) % 0xff; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net_ka.c: In function 'NetKeepaliveInit': net_ka.c:109:14: warning: 'strncpy' specified bound 512 equals destination size [-Wstringop-truncation] 109 | if ( strncpy( ka.host, dst, sizeof(ka.host)) == NULL ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ../../objs/base64.o --- --- ../../objs/cli.o --- --- ../../objs/config.o --- --- ../../objs/lib.o --- --- ../../objs/base64.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c base64.c -o ../../objs/base64.o -Dsolaris --- ../../objs/config.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c config.c -o ../../objs/config.o -Dsolaris --- ../../objs/cli.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c cli.c -o ../../objs/cli.o -Dsolaris --- ../../objs/lib.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c lib.c -o ../../objs/lib.o -Dsolaris --- ../../objs/log.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c log.c -o ../../objs/log.o -Dsolaris --- ../../objs/md5c.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c md5c.c -o ../../objs/md5c.o -Dsolaris md5c.c: In function 'md5': md5c.c:358:25: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] 358 | MD5Update (&context, string, strlen(string)); | ^~~~~~ | | | char * md5c.c:164:30: note: expected 'const unsigned char *' but argument is of type 'char *' 164 | const unsigned char *input; | ^~~~~ md5c.c: In function 'md5digest': md5c.c:374:29: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] 374 | MD5Update (&context,string, strlen(string)); | ^~~~~~ | | | char * md5c.c:164:30: note: expected 'const unsigned char *' but argument is of type 'char *' 164 | const unsigned char *input; | ^~~~~ md5c.c:375:18: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness [-Wpointer-sign] 375 | MD5Final(digest, &context); | ^~~~~~ | | | char * md5c.c:229:23: note: expected 'unsigned char *' but argument is of type 'char *' 229 | unsigned char digest[16]; | ^~~~~~ --- ../../objs/cnfchk.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -I../../include -I../../platform/solaris -c cnfchk.c -o ../../objs/cnfchk.o -Dsolaris cnfchk.c: In function 'tspFixConfig': cnfchk.c:68:21: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 68 | if (strcmp(t.template, *tm) == 0) { | ^~~~~~ cnfchk.c:33:1: note: include '' or provide a declaration of 'strcmp' 32 | #include "log.h" +++ |+#include 33 | cnfchk.c: In function 'readfixwrite': cnfchk.c:101:17: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 101 | strncpy(buf, line, strlen(pname)); | ^~~~~~~ cnfchk.c:101:17: note: include '' or provide a declaration of 'strncpy' cnfchk.c:101:17: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] cnfchk.c:101:17: note: include '' or provide a declaration of 'strncpy' cnfchk.c:101:36: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 101 | strncpy(buf, line, strlen(pname)); | ^~~~~~ cnfchk.c:101:36: note: include '' or provide a declaration of 'strlen' cnfchk.c:101:36: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] cnfchk.c:101:36: note: include '' or provide a declaration of 'strlen' cnfchk.c:104:25: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 104 | strcat(buf, pname); | ^~~~~~ cnfchk.c:104:25: note: include '' or provide a declaration of 'strcat' cnfchk.c:104:25: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] cnfchk.c:104:25: note: include '' or provide a declaration of 'strcat' *** [../../objs/cnfchk.o] Error code 1 bmake[1]: stopped making "all" in /home/pbulk/build/net/tspc/work/tspc2/src/lib --- ../../objs/config.o --- config.c: In function 'tspVerifyConfig': config.c:357:17: warning: 'memcpy' forming offset [4, 7] is out of the bounds [0, 4] of object 'address' with type 'struct in_addr' [-Warray-bounds=] 357 | memcpy(&address, &net, sizeof(net)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c:353:24: note: 'address' declared here 353 | struct in_addr address; | ^~~~~~~ bmake[1]: 1 error bmake[1]: stopped making "all" in /home/pbulk/build/net/tspc/work/tspc2/src/lib *** [all] Error code 1 bmake: stopped making "all" in /home/pbulk/build/net/tspc/work/tspc2 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/tspc/work/tspc2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/tspc *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/tspc