=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> 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 -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c net.c -o ../../objs/net.o --- ../../objs/net_rudp.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c net_rudp.c -o ../../objs/net_rudp.o --- ../../objs/net_tcp.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c net_tcp.c -o ../../objs/net_tcp.o --- ../../objs/net_udp.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c net_udp.c -o ../../objs/net_udp.o --- ../../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] if(NetTCPWrite(sock, Data, strlen(Data)) != Length) { ^~~~ net_tcp.c:104:1: note: expected 'unsigned char *' but argument is of type 'char *' 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] return NetTCPRead(sock, out, pl); ^~~ In file included from net_tcp.c:37:0: ../../include/net_tcp.h:34:17: note: expected 'unsigned char *' but argument is of type 'char *' 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] return NetRUDPReadWrite(sock, Data, strlen(Data), out, ol); ^~~~ net_rudp.c:124:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] return NetRUDPReadWrite(sock, Data, strlen(Data), out, ol); ^~~ net_rudp.c:124:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] int Length; ^~~~~~ --- ../../objs/net_udp.o --- net_udp.c: In function 'NetUDPPrintf': net_udp.c:131:31: warning: pointer targets in passing argument 2 of 'NetUDPReadWrite' differ in signedness [-Wpointer-sign] return NetUDPReadWrite(sock, Data, strlen(Data), out, ol); ^~~~ net_udp.c:86:1: note: expected 'unsigned char *' but argument is of type 'char *' NetUDPReadWrite(SOCKET sock, unsigned char *bi, size_t li, unsigned char *bo, size_t lo) ^~~~~~~~~~~~~~~ net_udp.c:131:51: warning: pointer targets in passing argument 4 of 'NetUDPReadWrite' differ in signedness [-Wpointer-sign] return NetUDPReadWrite(sock, Data, strlen(Data), out, ol); ^~~ net_udp.c:86:1: note: expected 'unsigned char *' but argument is of type 'char *' NetUDPReadWrite(SOCKET sock, unsigned char *bi, size_t li, unsigned char *bo, size_t lo) ^~~~~~~~~~~~~~~ net_udp.c:120:6: warning: variable 'Length' set but not used [-Wunused-but-set-variable] int Length; ^~~~~~ --- ../../objs/net_ka.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c net_ka.c -o ../../objs/net_ka.o --- ../../objs/net_cksm.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c net_cksm.c -o ../../objs/net_cksm.o --- ../../objs/net_ka.o --- net_ka.c: In function 'internal_do_pingout': net_ka.c:477:34: warning: operation on 'ping_packet[7]' may be undefined [-Wsequence-point] ping_packet[KA_PING_OFFSET_SEQ] = (++ping_packet[KA_PING_OFFSET_SEQ]) % 0xff; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- ../../objs/base64.o --- --- ../../objs/cli.o --- --- ../../objs/config.o --- --- ../../objs/lib.o --- --- ../../objs/base64.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c base64.c -o ../../objs/base64.o --- ../../objs/cli.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c cli.c -o ../../objs/cli.o --- ../../objs/config.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c config.c -o ../../objs/config.o --- ../../objs/lib.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c lib.c -o ../../objs/lib.o --- ../../objs/log.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c log.c -o ../../objs/log.o --- ../../objs/md5c.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c md5c.c -o ../../objs/md5c.o --- ../../objs/cnfchk.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c cnfchk.c -o ../../objs/cnfchk.o --- ../../objs/md5c.o --- md5c.c: In function 'md5': md5c.c:358:25: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update (&context, string, strlen(string)); ^~~~~~ md5c.c:162:1: note: expected 'const unsigned char *' but argument is of type 'char *' MD5Update (context, input, inputLen) ^~~~~~~~~ md5c.c: In function 'md5digest': md5c.c:374:22: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] MD5Update (&context,string, strlen(string)); ^~~~~~ md5c.c:162:1: note: expected 'const unsigned char *' but argument is of type 'char *' MD5Update (context, input, inputLen) ^~~~~~~~~ md5c.c:375:11: warning: pointer targets in passing argument 1 of 'MD5Final' differ in signedness [-Wpointer-sign] MD5Final(digest, &context); ^~~~~~ md5c.c:228:1: note: expected 'unsigned char *' but argument is of type 'char *' MD5Final (digest, context) ^~~~~~~~ --- ../../objs/tsp_auth.o --- --- ../../objs/tsp_cap.o --- --- ../../objs/tsp_client.o --- --- ../../objs/tsp_net.o --- --- ../../objs/tsp_auth.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c tsp_auth.c -o ../../objs/tsp_auth.o --- ../../objs/tsp_net.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c tsp_net.c -o ../../objs/tsp_net.o --- ../../objs/tsp_cap.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c tsp_cap.c -o ../../objs/tsp_cap.o --- ../../objs/tsp_client.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c tsp_client.c -o ../../objs/tsp_client.o --- ../../objs/tsp_auth.o --- tsp_auth.c: In function 'AuthANONYMOUS': tsp_auth.c:60:30: warning: pointer targets in passing argument 2 of 'nt->netsendrecv' differ in signedness [-Wpointer-sign] if (nt->netsendrecv(socket, string, sizeof(string), Buffer, sizeof(Buffer)) == -1) { ^~~~~~ tsp_auth.c:60:30: note: expected 'unsigned char *' but argument is of type 'char *' tsp_auth.c:60:54: warning: pointer targets in passing argument 4 of 'nt->netsendrecv' differ in signedness [-Wpointer-sign] if (nt->netsendrecv(socket, string, sizeof(string), Buffer, sizeof(Buffer)) == -1) { ^~~~~~ tsp_auth.c:60:54: note: expected 'unsigned char *' but argument is of type 'char *' tsp_auth.c: In function 'AuthPLAIN': tsp_auth.c:84:27: warning: pointer targets in passing argument 2 of 'nt->netsend' differ in signedness [-Wpointer-sign] if ( nt->netsend(socket, string, sizeof(string)) == -1 ) { ^~~~~~ tsp_auth.c:84:27: note: expected 'unsigned char *' but argument is of type 'char *' tsp_auth.c:92:31: warning: pointer targets in passing argument 2 of 'nt->netsendrecv' differ in signedness [-Wpointer-sign] if ( nt->netsendrecv(socket, BufferIn, Length, BufferOut, sizeof(BufferOut)) == -1 ) { ^~~~~~~~ tsp_auth.c:92:31: note: expected 'unsigned char *' but argument is of type 'char *' tsp_auth.c:92:49: warning: pointer targets in passing argument 4 of 'nt->netsendrecv' differ in signedness [-Wpointer-sign] if ( nt->netsendrecv(socket, BufferIn, Length, BufferOut, sizeof(BufferOut)) == -1 ) { ^~~~~~~~~ tsp_auth.c:92:49: note: expected 'unsigned char *' but argument is of type 'char *' tsp_auth.c: In function 'AuthDIGEST_MD5': tsp_auth.c:201:30: warning: pointer targets in passing argument 2 of 'nt->netsendrecv' differ in signedness [-Wpointer-sign] if (nt->netsendrecv(socket, string, sizeof(string), BufferIn, sizeof(BufferIn)) == -1) { ^~~~~~ tsp_auth.c:201:30: note: expected 'unsigned char *' but argument is of type 'char *' tsp_auth.c:201:54: warning: pointer targets in passing argument 4 of 'nt->netsendrecv' differ in signedness [-Wpointer-sign] if (nt->netsendrecv(socket, string, sizeof(string), BufferIn, sizeof(BufferIn)) == -1) { ^~~~~~~~ tsp_auth.c:201:54: note: expected 'unsigned char *' but argument is of type 'char *' tsp_auth.c:385:28: warning: pointer targets in passing argument 2 of 'nt->netrecv' differ in signedness [-Wpointer-sign] if (nt->netrecv(socket, Buffer, sizeof (Buffer) ) == -1) { ^~~~~~ tsp_auth.c:385:28: note: expected 'unsigned char *' but argument is of type 'char *' --- ../../objs/tsp_cap.o --- tsp_cap.c: In function 'tspGetCapabilities': tsp_cap.c:108:30: warning: pointer targets in passing argument 2 of 'nt->netsendrecv' differ in signedness [-Wpointer-sign] if (nt->netsendrecv(socket, dataout, strlen(dataout), datain, sizeof(datain)) == -1) ^~~~~~~ tsp_cap.c:108:30: note: expected 'unsigned char *' but argument is of type 'char *' --- ../../objs/tsp_net.o --- tsp_net.c: In function 'tspSendRecv': --- ../../objs/tsp_cap.o --- tsp_cap.c:108:56: warning: pointer targets in passing argument 4 of 'nt->netsendrecv' differ in signedness [-Wpointer-sign] if (nt->netsendrecv(socket, dataout, strlen(dataout), datain, sizeof(datain)) == -1) ^~~~~~ tsp_cap.c:108:56: note: expected 'unsigned char *' but argument is of type 'char *' --- ../../objs/tsp_net.o --- tsp_net.c:89:33: warning: pointer targets in passing argument 2 of 'nt->netsendrecv' differ in signedness [-Wpointer-sign] ret = nt->netsendrecv(socket, buffer, size + plin->size, plout->payload, plout->size); ^~~~~~ tsp_net.c:89:33: note: expected 'unsigned char *' but argument is of type 'char *' tsp_net.c:89:60: warning: pointer targets in passing argument 4 of 'nt->netsendrecv' differ in signedness [-Wpointer-sign] ret = nt->netsendrecv(socket, buffer, size + plin->size, plout->payload, plout->size); ^~~~~ tsp_net.c:89:60: note: expected 'unsigned char *' but argument is of type 'char *' tsp_net.c: In function 'tspSend': tsp_net.c:132:34: warning: pointer targets in passing argument 2 of 'nt->netsend' differ in signedness [-Wpointer-sign] if ( (ret = nt->netsend(socket, Buffer, ClSize + pl->size)) == -1) { ^~~~~~ tsp_net.c:132:34: note: expected 'unsigned char *' but argument is of type 'char *' tsp_net.c: In function 'tspReceive': tsp_net.c:149:39: warning: pointer targets in passing argument 2 of 'nt->netrecv' differ in signedness [-Wpointer-sign] if ((BytesRead = nt->netrecv(socket, Buffer, sizeof(Buffer))) <= 0) { ^~~~~~ tsp_net.c:149:39: note: expected 'unsigned char *' but argument is of type 'char *' tsp_net.c:179:39: warning: pointer targets in passing argument 2 of 'nt->netrecv' differ in signedness [-Wpointer-sign] if((BytesRead = nt->netrecv(socket, (StartOfPayload + BytesTotal), BytesLeft)) <= 0) { ^ tsp_net.c:179:39: note: expected 'unsigned char *' but argument is of type 'char *' In file included from /usr/include/string.h:127:0, from tsp_net.c:26: tsp_net.c:193:31: warning: argument to 'sizeof' in '__builtin___memset_chk' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset(pl->payload, 0, sizeof(pl->payload)); ^ --- ../../objs/tsp_setup.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c tsp_setup.c -o ../../objs/tsp_setup.o --- ../../objs/xmlparse.o --- --- ../../objs/xml_req.o --- --- ../../objs/xml_tun.o --- --- ../../objs/xmlparse.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c xmlparse.c -o ../../objs/xmlparse.o --- ../../objs/xml_req.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c xml_req.c -o ../../objs/xml_req.o --- ../../objs/xml_tun.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -Wall -I../../include -I../../platform/netbsd -c xml_tun.c -o ../../objs/xml_tun.o --- ../../objs/tsp_local.o --- gcc -g -Wall -I../../include -I../../platform/netbsd -c tsp_local.c -o ../../objs/tsp_local.o tsp_local.c: In function 'tspGetLocalAddress': tsp_local.c:98:52: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(socket, (struct sockaddr *)&addr, &len) < 0) { ^ In file included from platform.h:50:0, from tsp_local.c:44: /usr/include/sys/socket.h:625:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ tsp_local.c: In function 'tspStartLocal': tsp_local.c:159:5: warning: 'tunfd' may be used uninitialized in this function [-Wmaybe-uninitialized] close(tunfd); ^~~~~~~~~~~~ --- ../../bin/tspc --- gcc -g -Wall -I../../include -I../../platform/netbsd -o ../../bin/tspc ../../objs/*.o --- tspc.conf.sample --- Generating basic configuration file chmod 700 ../bin/tspc.conf.sample => Creating /tmp/net/tspc/work/.rc.d/tspc