=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/jftpgw", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for jftpgw-0.13.5 --- ./stamp-h.in --- cd . && autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.in'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. --- stamp-h --- cd . && CONFIG_FILES= CONFIG_HEADERS=config.h /usr/bin/bash ./config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default-1 commands --- config.h --- --- all-recursive-am --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in support Making all in doc --- all --- true Making all in debian --- all --- true --- rel2abs.o --- --- config.h --- --- rel2abs.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -c rel2abs.c --- active.o --- --- bindport.o --- --- cache.o --- --- active.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -c active.c --- bindport.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -c bindport.c --- cache.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -c cache.c --- rel2abs.o --- rel2abs.c: In function 'rel2abs': rel2abs.c:46:1: warning: old-style function definition [-Wold-style-definition] 46 | rel2abs(path, base, result, size) | ^~~~~~~ --- cache.o --- cache.c: In function 'cache_delete': cache.c:191:15: warning: variable 'infofile' set but not used [-Wunused-but-set-variable] 191 | char* infofile, *datafile; | ^~~~~~~~ --- cmds.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -c cmds.c --- config.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -c config.c --- cmds.o --- cmds.c: In function 'handle_cmds': cmds.c:42:13: warning: variable 'ss' set but not used [-Wunused-but-set-variable] 42 | int ss, cs; | ^~ cmds.c: In function 'checkforabort': cmds.c:865:36: warning: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Wrestrict] 865 | ret = select(clientfd + 1, &set, NULL, &set, &tm); | ^~~~ ~~~~ --- cache.o --- cache.c: In function 'recursive_mkdir': cache.c:390:9: warning: 'tocreate' may be used uninitialized [-Wmaybe-uninitialized] 390 | enough_mem(tocreate); | ^~~~~~~~~~~~~~~~~~~~ In file included from cache.c:19: jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ --- ftpread.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -c ftpread.c --- cmds.o --- cmds.c: In function 'getftpmdtm': cmds.c:255:9: warning: 'cmd' may be used uninitialized [-Wmaybe-uninitialized] 255 | enough_mem(cmd); | ^~~~~~~~~~~~~~~ In file included from cmds.c:23: jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ --- config.o --- config.c: In function 'config_debug_output_host': config.c:3841:48: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 3841 | char* tmp = strdup(inet_ntoa(*((struct in_addr*)&host.ip.ip))); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config.c:3844:37: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 3844 | inet_ntoa(*((struct in_addr*) &host.ip.netmask))); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- cmds.o --- cmds.c: In function 'getftpsize': cmds.c:298:9: warning: 'cmd' may be used uninitialized [-Wmaybe-uninitialized] 298 | enough_mem(cmd); | ^~~~~~~~~~~~~~~ jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ --- config.o --- config.c: In function 'config_parse_time': config.c:1913:33: warning: pointer 'dat_str' may be used after 'free' [-Wuse-after-free] 1913 | free(dat_str); free(entry); | ^~~~~~~~~~~~~ config.c:1909:25: note: call to 'free' here 1909 | free(dat_str); | ^~~~~~~~~~~~~ --- ftpread.o --- ftpread.c: In function 'readall': ftpread.c:216:53: warning: variable 'linestart' set but not used [-Wunused-but-set-variable] 216 | char* line =0, *buf =0, *tmp =0, *last =0, *linestart =0; | ^~~~~~~~~ --- fw_auth_cmds.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -c fw_auth_cmds.c fw_auth_cmds.c: In function 'std_reset': fw_auth_cmds.c:114:29: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 114 | if (!c->transparent == TRANSPARENT_YES || | ^~ fw_auth_cmds.c:114:13: note: add parentheses around left hand side expression to silence this warning 114 | if (!c->transparent == TRANSPARENT_YES || | ^~~~~~~~~~~~~~~ | ( ) --- jftpgw.o --- gcc -DHAVE_CONFIG_H -I. -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -c jftpgw.c --- config.o --- config.c: In function 'config_parse_tag_global': config.c:1975:9: warning: '' may be used uninitialized [-Wmaybe-uninitialized] 1975 | enough_mem(section->hosts); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from config.c:19: jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ --- jftpgw.o --- In file included from jftpgw.c:29: support/getopt.h:122:12: error: conflicting types for 'getopt'; have 'int(void)' 122 | extern int getopt (); | ^~~~~~ In file included from support/getopt.h:31: /usr/include/stdlib.h:302:12: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 302 | extern int getopt(int, char *const *, const char *); | ^~~~~~ In file included from jftpgw.c:30: support/getopt.c:161:7: error: conflicting types for 'getenv'; have 'char *(void)' 161 | char *getenv (); | ^~~~~~ In file included from /usr/include/stdlib.h:41: /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ support/getopt.c: In function 'my_index': support/getopt.c:164:1: warning: old-style function definition [-Wold-style-definition] 164 | my_index (str, chr) | ^~~~~~~~ support/getopt.c: In function 'exchange': support/getopt.c:210:1: warning: old-style function definition [-Wold-style-definition] 210 | exchange (argv) | ^~~~~~~~ support/getopt.c: In function '_getopt_initialize': support/getopt.c:268:1: warning: old-style function definition [-Wold-style-definition] 268 | _getopt_initialize (optstring) | ^~~~~~~~~~~~~~~~~~ support/getopt.c:291:12: error: too many arguments to function 'getenv'; expected 0, have 1 291 | else if (getenv ("POSIXLY_CORRECT") != NULL) | ^~~~~~ ~~~~~~~~~~~~~~~~~ support/getopt.c:161:7: note: declared here 161 | char *getenv (); | ^~~~~~ support/getopt.c: In function '_getopt_internal': support/getopt.c:360:1: warning: old-style function definition [-Wold-style-definition] 360 | _getopt_internal (argc, argv, optstring, longopts, longind, long_only) | ^~~~~~~~~~~~~~~~ support/getopt.c: At top level: support/getopt.c:716:1: error: conflicting types for 'getopt'; have 'int(void)' 716 | getopt (argc, argv, optstring) | ^~~~~~ /usr/include/stdlib.h:302:12: note: previous declaration of 'getopt' with type 'int(int, char * const*, const char *)' 302 | extern int getopt(int, char *const *, const char *); | ^~~~~~ support/getopt.c: In function 'getopt': support/getopt.c:716:1: warning: old-style function definition [-Wold-style-definition] 716 | getopt (argc, argv, optstring) | ^~~~~~ In file included from jftpgw.c:31: support/getopt1.c: At top level: support/getopt1.c:45:7: error: conflicting types for 'getenv'; have 'char *(void)' 45 | char *getenv (); | ^~~~~~ /usr/include/iso/stdlib_iso.h:139:14: note: previous declaration of 'getenv' with type 'char *(const char *)' 139 | extern char *getenv(const char *); | ^~~~~~ support/getopt1.c: In function 'getopt_long': support/getopt1.c:53:1: warning: old-style function definition [-Wold-style-definition] 53 | getopt_long (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~ support/getopt1.c: In function 'getopt_long_only': support/getopt1.c:69:1: warning: old-style function definition [-Wold-style-definition] 69 | getopt_long_only (argc, argv, options, long_options, opt_index) | ^~~~~~~~~~~~~~~~ *** [jftpgw.o] Error code 1 bmake[2]: stopped making "all-am" in /tmp/work/net/jftpgw/work/jftpgw-0.13.5 --- config.o --- config.c: In function 'ilist_init': config.c:244:9: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] 244 | enough_mem(i); | ^~~~~~~~~~~~~ jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ In function 'ilist_init', inlined from 'ilist_push' at config.c:265:15, inlined from 'ilist_push' at config.c:258:17: config.c:244:9: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] 244 | enough_mem(i); | ^~~~~~~~~~~~~ jftpgw.h: In function 'ilist_push': jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ config.c: In function 'ullist_init': config.c:315:9: warning: 'ul' may be used uninitialized [-Wmaybe-uninitialized] 315 | enough_mem(ul); | ^~~~~~~~~~~~~~ jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ In function 'ullist_init', inlined from 'ullist_push' at config.c:336:15, inlined from 'ullist_push' at config.c:329:18: config.c:315:9: warning: 'ul' may be used uninitialized [-Wmaybe-uninitialized] 315 | enough_mem(ul); | ^~~~~~~~~~~~~~ jftpgw.h: In function 'ullist_push': jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ config.c: In function 'slist_init': config.c:390:9: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 390 | enough_mem(s); | ^~~~~~~~~~~~~ jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ In function 'slist_init', inlined from 'slist_cinit' at config.c:403:6: config.c:390:9: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 390 | enough_mem(s); | ^~~~~~~~~~~~~ jftpgw.h: In function 'slist_cinit': jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ In function 'slist_init', inlined from 'slist_push' at config.c:423:15, inlined from 'slist_push' at config.c:416:17: config.c:390:9: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 390 | enough_mem(s); | ^~~~~~~~~~~~~ jftpgw.h: In function 'slist_push': jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ In function 'slist_init', inlined from 'slist_cinit' at config.c:403:6, inlined from 'slist_clone' at config.c:507:18: config.c:390:9: warning: 's' may be used uninitialized [-Wmaybe-uninitialized] 390 | enough_mem(s); | ^~~~~~~~~~~~~ jftpgw.h: In function 'slist_clone': jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ config.c: In function 'optionlist_init': config.c:585:9: warning: 'o' may be used uninitialized [-Wmaybe-uninitialized] 585 | enough_mem(o); | ^~~~~~~~~~~~~ jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ In function 'optionlist_init', inlined from 'optionlist_push' at config.c:606:13, inlined from 'optionlist_push' at config.c:596:18: config.c:585:9: warning: 'o' may be used uninitialized [-Wmaybe-uninitialized] 585 | enough_mem(o); | ^~~~~~~~~~~~~ jftpgw.h: In function 'optionlist_push': jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ In function 'optionlist_init', inlined from 'optionlist_clone' at config.c:617:8: config.c:585:9: warning: 'o' may be used uninitialized [-Wmaybe-uninitialized] 585 | enough_mem(o); | ^~~~~~~~~~~~~ jftpgw.h: In function 'optionlist_clone': jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ config.c: In function 'hostent_init': config.c:678:9: warning: 'h' may be used uninitialized [-Wmaybe-uninitialized] 678 | enough_mem(h); | ^~~~~~~~~~~~~ jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ config.c: In function 'hostlist_init': config.c:836:9: warning: 'hl' may be used uninitialized [-Wmaybe-uninitialized] 836 | enough_mem(hl); | ^~~~~~~~~~~~~~ jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ In function 'hostlist_init', inlined from 'hostlist_push' at config.c:861:7: config.c:836:9: warning: 'hl' may be used uninitialized [-Wmaybe-uninitialized] 836 | enough_mem(hl); | ^~~~~~~~~~~~~~ jftpgw.h: In function 'hostlist_push': jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ In function 'hostlist_init', inlined from 'hostlist_push' at config.c:867:13: config.c:836:9: warning: 'hl' may be used uninitialized [-Wmaybe-uninitialized] 836 | enough_mem(hl); | ^~~~~~~~~~~~~~ jftpgw.h: In function 'hostlist_push': jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ config.c: In function 'portrangestruct_clone': config.c:941:9: warning: 'new' may be used uninitialized [-Wmaybe-uninitialized] 941 | enough_mem(new); | ^~~~~~~~~~~~~~~ jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ config.c: In function 'quotstrtok': config.c:1130:9: warning: 'ret' may be used uninitialized [-Wmaybe-uninitialized] 1130 | enough_mem(ret); | ^~~~~~~~~~~~~~~ jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ config.c: In function 'config_parse_section': config.c:2259:9: warning: 'section' may be used uninitialized [-Wmaybe-uninitialized] 2259 | enough_mem(section); | ^~~~~~~~~~~~~~~~~~~ jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ In function 'optionlist_init', inlined from 'optionlist_push' at config.c:606:13, inlined from 'optionlist_push' at config.c:596:18, inlined from 'config_option_list_add' at config.c:3405:3: config.c:585:9: warning: 'o' may be used uninitialized [-Wmaybe-uninitialized] 585 | enough_mem(o); | ^~~~~~~~~~~~~ jftpgw.h: In function 'config_option_list_add': jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ In function 'ilist_init', inlined from 'config_read_sections' at config.c:2474:29: config.c:244:9: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] 244 | enough_mem(i); | ^~~~~~~~~~~~~ jftpgw.h: In function 'config_read_sections': jftpgw.h:330:6: note: by argument 1 of type 'const void *' to 'enough_mem' declared here 330 | void enough_mem(const void*); | ^~~~~~~~~~ bmake[2]: 1 error bmake[2]: stopped making "all-am" in /tmp/work/net/jftpgw/work/jftpgw-0.13.5 *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /tmp/work/net/jftpgw/work/jftpgw-0.13.5 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /tmp/work/net/jftpgw/work/jftpgw-0.13.5 *** [all-recursive-am] Error code 2 bmake: stopped making "all" in /tmp/work/net/jftpgw/work/jftpgw-0.13.5 bmake: 1 error bmake: stopped making "all" in /tmp/work/net/jftpgw/work/jftpgw-0.13.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/jftpgw *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/jftpgw