=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/netpipes", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for netpipes-4.2 --- faucet.o --- --- common.o --- --- version.o --- --- hose.o --- --- faucet.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c faucet.c --- common.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c common.c --- hose.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c hose.c --- version.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c version.c version.c: In function 'set_progname': version.c:31:6: warning: old-style function definition [-Wold-style-definition] 31 | void set_progname(argv0) | ^~~~~~~~~~~~ version.c: In function 'emit_version': version.c:42:6: warning: old-style function definition [-Wold-style-definition] 42 | void emit_version(progtitle, beginyear) | ^~~~~~~~~~~~ --- common.o --- common.c: In function 'add_fd': common.c:50:6: warning: old-style function definition [-Wold-style-definition] 50 | void add_fd(fd) | ^~~~~~ common.c:52:1: error: number of arguments doesn't match prototype 52 | { | ^ In file included from common.c:37: common.h:42:6: error: prototype declaration 42 | void add_fd(/* int fd */); | ^~~~~~ common.c: In function 'reserve_fds': common.c:70:6: warning: old-style function definition [-Wold-style-definition] 70 | void reserve_fds(placeholder) | ^~~~~~~~~~~ common.c:74:1: error: number of arguments doesn't match prototype 74 | { | ^ common.h:45:6: error: prototype declaration 45 | void reserve_fds(/* int placeholder */); | ^~~~~~~~~~~ common.c:77:14: error: too many arguments to function 'valid_descriptor'; expected 0, have 1 77 | if (!valid_descriptor(fds[i])) | ^~~~~~~~~~~~~~~~ ~~~~~~ common.h:102:5: note: declared here 102 | int valid_descriptor(/*int fd */); | ^~~~~~~~~~~~~~~~ common.c: In function 'dup_n': common.c:82:6: warning: old-style function definition [-Wold-style-definition] 82 | void dup_n(socket) | ^~~~~ common.c:84:1: error: number of arguments doesn't match prototype 84 | { | ^ common.h:49:6: error: prototype declaration 49 | void dup_n(/*int socket */); | ^~~~~ common.c: In function 'name_to_inet_port': common.c:102:5: warning: old-style function definition [-Wold-style-definition] 102 | int name_to_inet_port(portname) | ^~~~~~~~~~~~~~~~~ common.c:107:1: error: number of arguments doesn't match prototype 107 | { | ^ common.h:53:5: error: prototype declaration 53 | int name_to_inet_port(/* char* */); | ^~~~~~~~~~~~~~~~~ common.c: In function 'convert_hostname': common.c:131:1: warning: old-style function definition [-Wold-style-definition] 131 | convert_hostname(name, count_ret) | ^~~~~~~~~~~~~~~~ common.c:134:1: error: number of arguments doesn't match prototype 134 | { | ^ common.h:58:1: error: prototype declaration 58 | convert_hostname(/* char *, int * */); | ^~~~~~~~~~~~~~~~ common.c: In function 'printhost': common.c:183:6: warning: old-style function definition [-Wold-style-definition] 183 | void printhost(fp, addr) | ^~~~~~~~~ common.c:186:1: error: number of arguments doesn't match prototype 186 | { | ^ common.h:63:1: error: prototype declaration 63 | printhost(/* struct in_addr * */); | ^~~~~~~~~ common.c: In function 'bindlocal': common.c:223:1: warning: old-style function definition [-Wold-style-definition] 223 | bindlocal(fd, name, addrname, domain, reuseaddr) | ^~~~~~~~~ common.c:227:1: error: number of arguments doesn't match prototype 227 | { | ^ common.h:68:1: error: prototype declaration 68 | bindlocal(/* int, char *, char*, int, int */); | ^~~~~~~~~ common.c:268:25: error: too many arguments to function 'convert_hostname'; expected 0, have 2 268 | addresses = convert_hostname(addrname, &count); | ^~~~~~~~~~~~~~~~ ~~~~~~~~ common.c:131:1: note: declared here 131 | convert_hostname(name, count_ret) | ^~~~~~~~~~~~~~~~ common.c:279:24: error: too many arguments to function 'name_to_inet_port'; expected 0, have 1 279 | srv.sin_port = name_to_inet_port(name); | ^~~~~~~~~~~~~~~~~ ~~~~ common.c:102:5: note: declared here 102 | int name_to_inet_port(portname) | ^~~~~~~~~~~~~~~~~ common.c: At top level: common.c:333:5: error: conflicting types for 'valid_descriptor'; have 'int(int)' 333 | int valid_descriptor(int fd) | ^~~~~~~~~~~~~~~~ common.h:102:5: note: previous declaration of 'valid_descriptor' with type 'int(void)' 102 | int valid_descriptor(/*int fd */); | ^~~~~~~~~~~~~~~~ --- hose.o --- hose.c: In function 'setup_socket': hose.c:98:5: warning: old-style function definition [-Wold-style-definition] 98 | int setup_socket(hostname,portname, reuseaddr) | ^~~~~~~~~~~~ hose.c:127:27: error: too many arguments to function 'convert_hostname'; expected 0, have 2 127 | if (0==(addresses = convert_hostname(hostname, &num_addresses))) { | ^~~~~~~~~~~~~~~~ ~~~~~~~~ hose.c:81:36: note: declared here 81 | struct in_addr ** /* addr_array */ convert_hostname(); | ^~~~~~~~~~~~~~~~ hose.c:133:28: error: too many arguments to function 'name_to_inet_port'; expected 0, have 1 133 | inet_addr.sin_port = name_to_inet_port(portname); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~ hose.c:91:5: note: declared here 91 | int name_to_inet_port(); | ^~~~~~~~~~~~~~~~~ hose.c:163:14: error: too many arguments to function 'bindlocal'; expected 0, have 5 163 | !bindlocal(sock, localport, localaddr, | ^~~~~~~~~ ~~~~ --- faucet.o --- faucet.c: In function 'setup_socket': --- hose.o --- In file included from hose.c:64: common.h:68:1: note: declared here 68 | bindlocal(/* int, char *, char*, int, int */); | ^~~~~~~~~ --- faucet.o --- faucet.c:106:5: warning: old-style function definition [-Wold-style-definition] 106 | int setup_socket(name, backlog, reuseaddr) | ^~~~~~~~~~~~ --- hose.o --- hose.c:183:17: error: too many arguments to function 'printhost'; expected 0, have 2 183 | printhost(stderr, &inet_addr.sin_addr); | ^~~~~~~~~ ~~~~~~ common.h:63:1: note: declared here 63 | printhost(/* struct in_addr * */); | ^~~~~~~~~ hose.c: In function 'copyio': hose.c:233:6: warning: old-style function definition [-Wold-style-definition] 233 | void copyio(sock, aggressive_close) | ^~~~~~ --- faucet.o --- faucet.c:137:8: error: too many arguments to function 'bindlocal'; expected 0, have 5 137 | if (!bindlocal(sock, name, localhost, | ^~~~~~~~~ ~~~~ In file included from faucet.c:64: common.h:68:1: note: declared here 68 | bindlocal(/* int, char *, char*, int, int */); | ^~~~~~~~~ faucet.c: In function 'authorize_address': faucet.c:166:1: warning: old-style function definition [-Wold-style-definition] 166 | authorize_address(sin) | ^~~~~~~~~~~~~~~~~ faucet.c:195:19: error: too many arguments to function 'printhost'; expected 0, have 2 195 | printhost(stderr, &srv->sin_addr); | ^~~~~~~~~ ~~~~~~ common.h:63:1: note: declared here 63 | printhost(/* struct in_addr * */); | ^~~~~~~~~ faucet.c: In function 'flag_in': faucet.c:221:5: error: too many arguments to function 'add_fd'; expected 0, have 1 221 | add_fd(0); | ^~~~~~ ~ common.h:42:6: note: declared here 42 | void add_fd(/* int fd */); | ^~~~~~ faucet.c: In function 'flag_out': faucet.c:230:5: error: too many arguments to function 'add_fd'; expected 0, have 1 230 | add_fd(1); | ^~~~~~ ~ common.h:42:6: note: declared here 42 | void add_fd(/* int fd */); | ^~~~~~ faucet.c: In function 'flag_err': faucet.c:239:5: error: too many arguments to function 'add_fd'; expected 0, have 1 239 | add_fd(2); | ^~~~~~ ~ common.h:42:6: note: declared here 42 | void add_fd(/* int fd */); | ^~~~~~ faucet.c: In function 'flag_scan_comma_fds': faucet.c:246:5: warning: old-style function definition [-Wold-style-definition] 246 | int flag_scan_comma_fds(s) | ^~~~~~~~~~~~~~~~~~~ faucet.c:258:9: error: too many arguments to function 'add_fd'; expected 0, have 1 258 | add_fd(fd); | ^~~~~~ ~~ common.h:42:6: note: declared here 42 | void add_fd(/* int fd */); | ^~~~~~ --- hose.o --- hose.c: In function 'flag_in': hose.c:366:5: error: too many arguments to function 'add_fd'; expected 0, have 1 366 | add_fd(0); | ^~~~~~ ~ common.h:42:6: note: declared here 42 | void add_fd(/* int fd */); | ^~~~~~ --- faucet.o --- faucet.c: In function 'main': faucet.c:274:5: warning: old-style function definition [-Wold-style-definition] 274 | int main (argc,argv) | ^~~~ --- hose.o --- hose.c: In function 'flag_out': hose.c:375:5: error: too many arguments to function 'add_fd'; expected 0, have 1 375 | add_fd(1); | ^~~~~~ ~ common.h:42:6: note: declared here 42 | void add_fd(/* int fd */); | ^~~~~~ --- faucet.o --- faucet.c:305:3: error: too many arguments to function 'set_progname'; expected 0, have 1 305 | set_progname(argv[0]); | ^~~~~~~~~~~~ ~~~~~~~ --- hose.o --- hose.c: In function 'flag_err': --- faucet.o --- common.h:77:6: note: declared here 77 | void set_progname(/* char *argv0 */); | ^~~~~~~~~~~~ --- hose.o --- hose.c:384:5: error: too many arguments to function 'add_fd'; expected 0, have 1 384 | add_fd(2); | ^~~~~~ ~ common.h:42:6: note: declared here 42 | void add_fd(/* int fd */); | ^~~~~~ hose.c: In function 'flag_scan_comma_fds': hose.c:391:5: warning: old-style function definition [-Wold-style-definition] 391 | int flag_scan_comma_fds(s) | ^~~~~~~~~~~~~~~~~~~ hose.c:403:9: error: too many arguments to function 'add_fd'; expected 0, have 1 403 | add_fd(fd); | ^~~~~~ ~~ common.h:42:6: note: declared here 42 | void add_fd(/* int fd */); | ^~~~~~ --- faucet.o --- faucet.c:336:11: error: too many arguments to function 'add_fd'; expected 0, have 1 336 | add_fd(fd); | ^~~~~~ ~~ --- hose.o --- hose.c: In function 'main': --- faucet.o --- common.h:42:6: note: declared here 42 | void add_fd(/* int fd */); | ^~~~~~ --- hose.o --- hose.c:419:5: warning: old-style function definition [-Wold-style-definition] 419 | int main (argc,argv) | ^~~~ hose.c:429:3: error: too many arguments to function 'set_progname'; expected 0, have 1 429 | set_progname(argv[0]); | ^~~~~~~~~~~~ ~~~~~~~ common.h:77:6: note: declared here 77 | void set_progname(/* char *argv0 */); | ^~~~~~~~~~~~ hose.c:466:11: error: too many arguments to function 'add_fd'; expected 0, have 1 466 | add_fd(fd); | ^~~~~~ ~~ common.h:42:6: note: declared here 42 | void add_fd(/* int fd */); | ^~~~~~ --- faucet.o --- faucet.c:483:7: error: too many arguments to function 'emit_version'; expected 0, have 2 483 | emit_version("faucet", 1992); | ^~~~~~~~~~~~ ~~~~~~~~ common.h:73:1: note: declared here 73 | emit_version(/* char*, int */); | ^~~~~~~~~~~~ faucet.c:506:22: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 506 | signal(SIGCHLD,waitonchild); | ^~~~~~~~~~~ | | | void (*)(void) In file included from /usr/include/signal.h:42, from faucet.c:29: /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); | ^~~~~~~~~~~~~ faucet.c:154:6: note: 'waitonchild' declared here 154 | void waitonchild() | ^~~~~~~~~~~ faucet.c:508:3: error: too many arguments to function 'reserve_fds'; expected 0, have 1 508 | reserve_fds(0); | ^~~~~~~~~~~ ~ common.h:45:6: note: declared here 45 | void reserve_fds(/* int placeholder */); | ^~~~~~~~~~~ faucet.c:512:18: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 512 | signal(SIGHUP, nice_shutdown); | ^~~~~~~~~~~~~ | | | void (*)(void) /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); | ^~~~~~~~~~~~~ faucet.c:97:6: note: 'nice_shutdown' declared here 97 | void nice_shutdown() | ^~~~~~~~~~~~~ --- hose.o --- hose.c:633:7: error: too many arguments to function 'emit_version'; expected 0, have 2 633 | emit_version("hose", 1992); | ^~~~~~~~~~~~ ~~~~~~ common.h:73:1: note: declared here 73 | emit_version(/* char*, int */); | ^~~~~~~~~~~~ --- faucet.o --- faucet.c:513:18: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 513 | signal(SIGINT, nice_shutdown); | ^~~~~~~~~~~~~ | | | void (*)(void) /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); | ^~~~~~~~~~~~~ faucet.c:97:6: note: 'nice_shutdown' declared here 97 | void nice_shutdown() | ^~~~~~~~~~~~~ faucet.c:514:19: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 514 | signal(SIGPIPE, nice_shutdown); | ^~~~~~~~~~~~~ | | | void (*)(void) /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); | ^~~~~~~~~~~~~ faucet.c:97:6: note: 'nice_shutdown' declared here 97 | void nice_shutdown() | ^~~~~~~~~~~~~ faucet.c:515:19: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 515 | signal(SIGALRM, nice_shutdown); | ^~~~~~~~~~~~~ | | | void (*)(void) /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); | ^~~~~~~~~~~~~ --- hose.o --- hose.c:660:21: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 660 | signal(SIGCHLD, endjam); | ^~~~~~ | | | void (*)(void) --- faucet.o --- faucet.c:97:6: note: 'nice_shutdown' declared here 97 | void nice_shutdown() | ^~~~~~~~~~~~~ --- hose.o --- In file included from /usr/include/signal.h:42, from hose.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); | ^~~~~~~~~~~~~ --- faucet.o --- faucet.c:516:19: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 516 | signal(SIGTERM, nice_shutdown); | ^~~~~~~~~~~~~ | | | void (*)(void) /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); | ^~~~~~~~~~~~~ --- hose.o --- hose.c:354:6: note: 'endjam' declared here 354 | void endjam() | ^~~~~~ --- faucet.o --- faucet.c:97:6: note: 'nice_shutdown' declared here 97 | void nice_shutdown() | ^~~~~~~~~~~~~ faucet.c:519:25: error: too many arguments to function 'convert_hostname'; expected 0, have 2 519 | 0==(foreignHOST = convert_hostname(foreignhost, &foreignCOUNT))) { | ^~~~~~~~~~~~~~~~ ~~~~~~~~~~~ faucet.c:82:36: note: declared here 82 | struct in_addr ** /* addr_array */ convert_hostname(); | ^~~~~~~~~~~~~~~~ --- common.o --- *** [common.o] Error code 1 bmake: stopped making "all" in /tmp/work/net/netpipes/work --- faucet.o --- faucet.c:529:27: error: too many arguments to function 'name_to_inet_port'; expected 0, have 1 529 | 0 == (foreignPORT = name_to_inet_port(foreignport)) ) { | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ faucet.c:91:5: note: declared here 91 | int name_to_inet_port(); | ^~~~~~~~~~~~~~~~~ faucet.c:634:15: error: too many arguments to function 'printhost'; expected 0, have 2 634 | printhost(stderr, &sinp->sin_addr); | ^~~~~~~~~ ~~~~~~ common.h:63:1: note: declared here 63 | printhost(/* struct in_addr * */); | ^~~~~~~~~ faucet.c:668:7: error: too many arguments to function 'dup_n'; expected 0, have 1 668 | dup_n(rval); /* dup the socket onto all the chosen file descriptors */ | ^~~~~ ~~~~ common.h:49:6: note: declared here 49 | void dup_n(/*int socket */); | ^~~~~ --- hose.o --- hose.c:685:3: error: too many arguments to function 'reserve_fds'; expected 0, have 1 685 | reserve_fds(0); | ^~~~~~~~~~~ ~ common.h:45:6: note: declared here 45 | void reserve_fds(/* int placeholder */); | ^~~~~~~~~~~ hose.c:725:5: error: too many arguments to function 'dup_n'; expected 0, have 1 725 | dup_n(sock); /* dup the socket onto all the chosen file descriptors */ | ^~~~~ ~~~~ common.h:49:6: note: declared here 49 | void dup_n(/*int socket */); | ^~~~~ --- faucet.o --- *** [faucet.o] Error code 1 bmake: stopped making "all" in /tmp/work/net/netpipes/work --- hose.o --- *** [hose.o] Error code 1 bmake: stopped making "all" in /tmp/work/net/netpipes/work bmake: 3 errors bmake: stopped making "all" in /tmp/work/net/netpipes/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/netpipes *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/netpipes