=> 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 iroffer-1.3.11 mkdir -p obj gcc -c -Isrc -Wall -O2 -o obj/convertxdccfile.o src/convertxdccfile.c gcc -c -Isrc -Wall -O2 -o obj/iroffer_md5.o src/iroffer_md5.c In file included from /usr/include/string.h:127:0, from src/iroffer_md5.c:29: src/iroffer_md5.c: In function 'MD5Final': src/iroffer_md5.c:142:23: warning: argument to 'sizeof' in '__builtin___memset_chk' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ gcc -c -Isrc -Wall -O2 -o obj/iroffer_statefile.o src/iroffer_statefile.c In file included from /usr/include/stdio.h:597:0, from src/iroffer_headers.h:23, from src/iroffer_statefile.c:20: src/iroffer_statefile.c: In function 'write_statefile': src/iroffer_statefile.c:249:23: warning: pointer targets in passing argument 1 of '__builtin___snprintf_chk' differ in signedness [-Wpointer-sign] length = snprintf(next, maxtextlength-1, ^ src/iroffer_statefile.c:249:23: note: expected 'char *' but argument is of type 'unsigned char *' In file included from /usr/include/string.h:127:0, from src/iroffer_headers.h:27, from src/iroffer_statefile.c:20: src/iroffer_statefile.c:376:20: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(next, ignore->hostmask); ^ src/iroffer_statefile.c:376:20: note: expected 'char *' but argument is of type 'unsigned char *' src/iroffer_statefile.c:376:20: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(next, ignore->hostmask); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'unsigned char *' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ src/iroffer_statefile.c:428:16: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(next, msglog->hostmask); ^ src/iroffer_statefile.c:428:16: note: expected 'char *' but argument is of type 'unsigned char *' src/iroffer_statefile.c:428:16: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(next, msglog->hostmask); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'unsigned char *' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ src/iroffer_statefile.c:436:16: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(next, msglog->message); ^ src/iroffer_statefile.c:436:16: note: expected 'char *' but argument is of type 'unsigned char *' src/iroffer_statefile.c:436:16: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(next, msglog->message); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'unsigned char *' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ src/iroffer_statefile.c:493:16: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(next, xd->file); ^ src/iroffer_statefile.c:493:16: note: expected 'char *' but argument is of type 'unsigned char *' src/iroffer_statefile.c:493:16: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(next, xd->file); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'unsigned char *' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ src/iroffer_statefile.c:501:16: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(next, xd->desc); ^ src/iroffer_statefile.c:501:16: note: expected 'char *' but argument is of type 'unsigned char *' src/iroffer_statefile.c:501:16: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(next, xd->desc); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'unsigned char *' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ src/iroffer_statefile.c:509:16: warning: pointer targets in passing argument 1 of '__builtin___strcpy_chk' differ in signedness [-Wpointer-sign] strcpy(next, xd->note); ^ src/iroffer_statefile.c:509:16: note: expected 'char *' but argument is of type 'unsigned char *' src/iroffer_statefile.c:509:16: warning: pointer targets in passing argument 1 of '__strcpy_ichk' differ in signedness [-Wpointer-sign] strcpy(next, xd->note); ^ /usr/include/ssp/string.h:89:1: note: expected 'char *' but argument is of type 'unsigned char *' __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ gcc -c -Isrc -Wall -O2 -o obj/iroffer_utilities.o src/iroffer_utilities.c src/iroffer_utilities.c: In function 'removenonprintable': src/iroffer_utilities.c:1117:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i=0; imd5sum, buffer_c+cur, len); ^~~~~~~~ In file included from src/iroffer_headers.h:98:0, from src/iroffer_utilities.c:20: src/iroffer_md5.h:42:6: note: expected 'const unsigned char *' but argument is of type 'const char *' void MD5Update(struct MD5Context *context, md5byte const *buf, unsigned len); ^~~~~~~~~ gcc -O2 obj/convertxdccfile.o obj/iroffer_md5.o obj/iroffer_statefile.o obj/iroffer_utilities.o -lcrypt -o convertxdccfile gcc -c -Isrc -Wall -O2 -o obj/iroffer_admin.o src/iroffer_admin.c src/iroffer_admin.c: In function 'u_memstat': src/iroffer_admin.c:3005:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] u_respond(u, "gdata: %d bytes", sizeof(gdata_t)); ~^ %ld In file included from /usr/include/stdio.h:597:0, from src/iroffer_headers.h:23, from src/iroffer_admin.c:20: src/iroffer_admin.c: In function 'u_removedir': src/iroffer_admin.c:1409:37: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(tempstr2, 8, "%d", n); ^ src/iroffer_admin.c:1409:37: note: directive argument in the range [1, 2147483647] src/iroffer_admin.c:1409:15: note: '__builtin_snprintf' output between 2 and 11 bytes into a destination of size 8 snprintf(tempstr2, 8, "%d", n); ^ gcc -c -Isrc -Wall -O2 -o obj/iroffer_dccchat.o src/iroffer_dccchat.c src/iroffer_dccchat.c: In function 'setupdccchataccept': src/iroffer_dccchat.c:141:70: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if ((chat->fd = accept(listen_fd, (struct sockaddr *) &remoteaddr, &addrlen)) < 0) ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_dccchat.c:20: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ src/iroffer_dccchat.c: In function 'setupdccchat': src/iroffer_dccchat.c:297:60: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(chat->fd,(struct sockaddr *) &localaddr, &addrlen) < 0) ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_dccchat.c:20: /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); ^~~~~~~~~~~ gcc -c -Isrc -Wall -O2 -o obj/iroffer_display.o src/iroffer_display.c gcc -c -Isrc -Wall -O2 -o obj/iroffer_main.o src/iroffer_main.c src/iroffer_main.c: In function 'mainloop': src/iroffer_main.c:628:50: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] &connect_error, &connect_error_len); ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_main.c:21: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ src/iroffer_main.c:669:81: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(gdata.ircserver,(struct sockaddr *) &localaddr, &addrlen) >= 0) ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_main.c:21: /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); ^~~~~~~~~~~ src/iroffer_main.c:776:54: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] &connect_error, &connect_error_len); ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_main.c:21: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ src/iroffer_main.c:847:54: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] &connect_error, &connect_error_len); ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_main.c:21: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ src/iroffer_main.c:1493:76: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t {aka long int}' [-Wformat=] ioutput(CALLTYPE_NORMAL,OUT_S,COLOR_YELLOW,"[MD5]: read %d",howmuch); ~^ %ld src/iroffer_main.c: In function 'parseline': src/iroffer_main.c:1805:13: warning: variable 'found' set but not used [-Wunused-but-set-variable] int j,found; ^~~~~ gcc -c -Isrc -Wall -O2 -o obj/iroffer_misc.o src/iroffer_misc.c gcc -c -Isrc -Wall -O2 -o obj/iroffer_transfer.o src/iroffer_transfer.c src/iroffer_transfer.c: In function 't_establishcon': src/iroffer_transfer.c:97:90: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if ((t->clientsocket = accept(t->listensocket, (struct sockaddr *) &t->serveraddress, &addrlen)) < 0) { ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_transfer.c:20: /usr/include/sys/socket.h:620:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~ src/iroffer_transfer.c:131:63: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] getsockopt(t->clientsocket, SOL_SOCKET, SO_SNDBUF, &tempc, &tempi); ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_transfer.c:20: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ src/iroffer_transfer.c:138:63: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] getsockopt(t->clientsocket, SOL_SOCKET, SO_SNDBUF, &tempc, &tempi); ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_transfer.c:20: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ src/iroffer_transfer.c:145:60: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] getsockopt(t->clientsocket, SOL_SOCKET, 0x1003, &tempc, &tempi); ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_transfer.c:20: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ src/iroffer_transfer.c:152:60: warning: pointer targets in passing argument 5 of 'getsockopt' differ in signedness [-Wpointer-sign] getsockopt(t->clientsocket, SOL_SOCKET, 0x1003, &tempc, &tempi); ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_transfer.c:20: /usr/include/sys/socket.h:626:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^~~~~~~~~~ src/iroffer_transfer.c:172:64: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if ((getpeername(t->clientsocket,(struct sockaddr *) &temp1,&(addrlen))) < 0) ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_transfer.c:20: /usr/include/sys/socket.h:624:5: note: expected '__socklen_t * restrict {aka unsigned int * restrict}' but argument is of type 'int *' int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^~~~~~~~~~~ src/iroffer_transfer.c:179:64: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if ((getsockname(t->clientsocket,(struct sockaddr *) &temp1,&(addrlen))) < 0) ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_transfer.c:20: /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); ^~~~~~~~~~~ src/iroffer_transfer.c: In function 't_transfersome': src/iroffer_transfer.c:483:59: warning: format '%d' expects argument of type 'int', but argument 5 has type 'ssize_t {aka long int}' [-Wformat=] ioutput(CALLTYPE_NORMAL,OUT_S,COLOR_BLUE,"File %d Write %d",howmuch,howmuch2); ~^ %ld src/iroffer_transfer.c:483:68: warning: format '%d' expects argument of type 'int', but argument 6 has type 'ssize_t {aka long int}' [-Wformat=] ioutput(CALLTYPE_NORMAL,OUT_S,COLOR_BLUE,"File %d Write %d",howmuch,howmuch2); ~^ %ld gcc -c -Isrc -Wall -O2 -o obj/iroffer_upload.o src/iroffer_upload.c src/iroffer_upload.c: In function 'l_establishcon': src/iroffer_upload.c:145:68: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(l->clientsocket,(struct sockaddr *) &remoteaddr, &addrlen) < 0) ^ In file included from src/iroffer_headers.h:37:0, from src/iroffer_upload.c:20: /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); ^~~~~~~~~~~ gcc -O2 obj/iroffer_admin.o obj/iroffer_dccchat.o obj/iroffer_display.o obj/iroffer_main.o obj/iroffer_md5.o obj/iroffer_misc.o obj/iroffer_statefile.o obj/iroffer_transfer.o obj/iroffer_upload.o obj/iroffer_utilities.o -lcrypt -o iroffer