=> Bootstrap dependency digest>=20010302: found digest-20210928 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 ftpproxy-1.2.3 --- main.o --- --- config.o --- --- ftp.o --- --- daemon.o --- --- config.o --- gcc -O2 -Wall -ggdb -DVERSION=\"1.2.3\" -c config.c --- main.o --- gcc -O2 -Wall -ggdb -DVERSION=\"1.2.3\" -c main.c --- daemon.o --- gcc -O2 -Wall -ggdb -DVERSION=\"1.2.3\" -c daemon.c --- ftp.o --- gcc -O2 -Wall -ggdb -DVERSION=\"1.2.3\" -c ftp.c --- daemon.o --- daemon.c: In function 'acceptloop': daemon.c:75:60: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] if ((connect = accept(sock, (struct sockaddr *) &client, &len)) < 0) { ^ In file included from daemon.c:40:0: /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); ^~~~~~ --- ftp.o --- ftp.c: In function 'get_interface_info': ftp.c:123:51: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness [-Wpointer-sign] if (getsockname(pfd, (struct sockaddr *) &saddr, &size) < 0) { ^ In file included from ftp.c:41:0: /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); ^~~~~~~~~~~ ftp.c: In function 'get_client_info': ftp.c:143:51: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] if (getpeername(pfd, (struct sockaddr *) &saddr, &size) < 0 ) ^ In file included from ftp.c:41:0: /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); ^~~~~~~~~~~ ftp.c: In function 'getc_fd': ftp.c:282:60: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] sock = accept(x->ch.active, (struct sockaddr *) &adr, &adrlen); ^ In file included from ftp.c:41:0: /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); ^~~~~~ ftp.c: In function 'proxy_request': ftp.c:1837:30: warning: pointer targets in passing argument 1 of 'ctime' differ in signedness [-Wpointer-sign] copy_string(date, ctime(&now), sizeof(date)); ^ In file included from ftp.c:32:0: /usr/include/time.h:93:7: note: expected 'const time_t * {aka const long int *}' but argument is of type 'long unsigned int *' char *ctime(const time_t *) __RENAME(__ctime50); ^~~~~ --- ip-lib.o --- gcc -O2 -Wall -ggdb -DVERSION=\"1.2.3\" -c ip-lib.c --- lib.o --- gcc -O2 -Wall -ggdb -DVERSION=\"1.2.3\" -c lib.c lib.c: In function 'strlwr': lib.c:149:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = string; ^ lib.c: In function 'strupr': lib.c:165:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] p = string; ^ lib.c: In function 'noctrl': lib.c:188:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((p = buffer) == NULL) ^ lib.c:191:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(p); ^ In file included from lib.c:26:0: /usr/include/string.h:61:9: note: expected 'const char *' but argument is of type 'unsigned char *' size_t strlen(const char *); ^~~~~~ lib.c:199:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] return (p); ^ lib.c: In function 'get_word': lib.c:212:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] *(p = to) = k = 0; ^ --- ftp.o --- In file included from /usr/include/stdio.h:597:0, from ftp.c:27: ftp.c:1804:54: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] snprintf (x->logusername, sizeof(x->logusername), "%s@%s:%u", x->username, x->server.name, x->server.port); ^ ftp.c:1804:4: note: '__builtin_snprintf' output between 4 and 291 bytes into a destination of size 100 snprintf (x->logusername, sizeof(x->logusername), "%s@%s:%u", x->username, x->server.name, x->server.port); ^ ftp.c:1806:54: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] snprintf (x->logusername, sizeof(x->logusername), "%s@%s", x->username, x->server.name); ^ ftp.c:1806:4: note: '__builtin_snprintf' output between 2 and 280 bytes into a destination of size 100 snprintf (x->logusername, sizeof(x->logusername), "%s@%s", x->username, x->server.name); ^ --- ftp.proxy --- gcc -o ftp.proxy main.o config.o ftp.o daemon.o ip-lib.o lib.o --- all --- ctags *.[ch]