=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/ftpproxy", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ftpproxy-1.2.3 --- main.o --- --- config.o --- --- ftp.o --- --- main.o --- gcc -O2 -Wall -ggdb -DVERSION=\"1.2.3\" -DSOLARIS -c main.c --- ftp.o --- gcc -O2 -Wall -ggdb -DVERSION=\"1.2.3\" -DSOLARIS -c ftp.c --- config.o --- gcc -O2 -Wall -ggdb -DVERSION=\"1.2.3\" -DSOLARIS -c config.c --- ftp.o --- ftp.c: In function 'proxy_request': ftp.c:1837:65: warning: pointer targets in passing argument 1 of 'ctime' differ in signedness [-Wpointer-sign] 1837 | copy_string(date, ctime(&now), sizeof(date)); | ^~~~ | | | long unsigned int * In file included from /usr/include/time.h:40, from /usr/include/sys/time.h:490, from /usr/include/sys/select.h:53, from /usr/include/sys/types.h:687, from /usr/include/unistd.h:41, from ftp.c:29: /usr/include/iso/time_iso.h:95:20: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'long unsigned int *' 95 | extern char *ctime(const time_t *); | ^~~~~~~~~~~~~~ --- daemon.o --- gcc -O2 -Wall -ggdb -DVERSION=\"1.2.3\" -DSOLARIS -c daemon.c --- ip-lib.o --- gcc -O2 -Wall -ggdb -DVERSION=\"1.2.3\" -DSOLARIS -c ip-lib.c ip-lib.c: In function 'openip': ip-lib.c:55:33: error: conflicting types for 'gethostbyname'; have 'struct hostent *(void)' 55 | struct hostent *hostp, *gethostbyname(); | ^~~~~~~~~~~~~ In file included from ip-lib.c:38: /usr/include/netdb.h:269:18: note: previous declaration of 'gethostbyname' with type 'struct hostent *(const char *)' 269 | struct hostent *gethostbyname(const char *); | ^~~~~~~~~~~~~ ip-lib.c:89:31: error: too many arguments to function 'gethostbyname'; expected 0, have 1 89 | ifp = gethostbyname(srcip); | ^~~~~~~~~~~~~ ~~~~~ ip-lib.c:55:33: note: declared here 55 | struct hostent *hostp, *gethostbyname(); | ^~~~~~~~~~~~~ ip-lib.c:106:17: error: too many arguments to function 'gethostbyname'; expected 0, have 1 106 | hostp = gethostbyname(host); | ^~~~~~~~~~~~~ ~~~~ ip-lib.c:55:33: note: declared here 55 | struct hostent *hostp, *gethostbyname(); | ^~~~~~~~~~~~~ ip-lib.c:113:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 113 | signal(SIGALRM, alarm_handler); | ^~~~~~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from ip-lib.c:30: /usr/include/iso/signal_iso.h:63:27: note: expected 'void (*)(int)' but argument is of type 'void (*)(void)' 63 | extern void (*signal(int, void (*)(int)))(int); | ^~~~~~~~~~~~~ ip-lib.c:45:13: note: 'alarm_handler' declared here 45 | static void alarm_handler() | ^~~~~~~~~~~~~ *** [ip-lib.o] Error code 1 bmake: stopped making "all" in /tmp/work/net/ftpproxy/work/ftpproxy-1.2.3/src --- ftp.o --- ftp.c: In function 'set_variables': ftp.c:894:55: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 114 and 193 [-Wformat-truncation=] 894 | snprintf (varname, sizeof(varname) - 2, "%s%s=%s", x->config->varname, var, value != NULL? value: ""); | ^~ ...... 910 | setvar(x, "PORT", val); | ~~~ In function 'setvar', inlined from 'set_variables' at ftp.c:910:2: ftp.c:894:9: note: 'snprintf' output between 6 and 284 bytes into a destination of size 198 894 | snprintf (varname, sizeof(varname) - 2, "%s%s=%s", x->config->varname, var, value != NULL? value: ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.c: In function 'set_variables': ftp.c:894:55: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 108 and 187 [-Wformat-truncation=] 894 | snprintf (varname, sizeof(varname) - 2, "%s%s=%s", x->config->varname, var, value != NULL? value: ""); | ^~ In function 'setvar', inlined from 'set_variables' at ftp.c:913:2: ftp.c:894:9: note: 'snprintf' output between 12 and 290 bytes into a destination of size 198 894 | snprintf (varname, sizeof(varname) - 2, "%s%s=%s", x->config->varname, var, value != NULL? value: ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.c: In function 'set_variables': ftp.c:894:55: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 108 and 187 [-Wformat-truncation=] 894 | snprintf (varname, sizeof(varname) - 2, "%s%s=%s", x->config->varname, var, value != NULL? value: ""); | ^~ ...... 917 | setvar(x, "SERVERPORT", val); | ~~~ In function 'setvar', inlined from 'set_variables' at ftp.c:917:2: ftp.c:894:9: note: 'snprintf' output between 12 and 290 bytes into a destination of size 198 894 | snprintf (varname, sizeof(varname) - 2, "%s%s=%s", x->config->varname, var, value != NULL? value: ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.c: In function 'set_variables': ftp.c:894:55: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size between 107 and 186 [-Wformat-truncation=] 894 | snprintf (varname, sizeof(varname) - 2, "%s%s=%s", x->config->varname, var, value != NULL? value: ""); | ^~ In function 'setvar', inlined from 'set_variables' at ftp.c:920:2: ftp.c:894:9: note: 'snprintf' output between 13 and 291 bytes into a destination of size 198 894 | snprintf (varname, sizeof(varname) - 2, "%s%s=%s", x->config->varname, var, value != NULL? value: ""); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.c: In function 'proxy_request': ftp.c:1806:76: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] 1806 | snprintf (x->logusername, sizeof(x->logusername), "%s@%s", x->username, x->server.name); | ^~ ftp.c:1806:25: note: 'snprintf' output between 2 and 280 bytes into a destination of size 100 1806 | snprintf (x->logusername, sizeof(x->logusername), "%s@%s", x->username, x->server.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ftp.c:1804:76: warning: '%s' directive output may be truncated writing up to 199 bytes into a region of size 100 [-Wformat-truncation=] 1804 | snprintf (x->logusername, sizeof(x->logusername), "%s@%s:%u", x->username, x->server.name, x->server.port); | ^~ ftp.c:1804:75: note: using the range [0, 4294967295] for directive argument 1804 | snprintf (x->logusername, sizeof(x->logusername), "%s@%s:%u", x->username, x->server.name, x->server.port); | ^~~~~~~~~~ ftp.c:1804:25: note: 'snprintf' output between 4 and 291 bytes into a destination of size 100 1804 | snprintf (x->logusername, sizeof(x->logusername), "%s@%s:%u", x->username, x->server.name, x->server.port); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bmake: 1 error bmake: stopped making "all" in /tmp/work/net/ftpproxy/work/ftpproxy-1.2.3/src *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ftpproxy *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/ftpproxy