=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/www/ijb", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for ijb-2.0.2nb1 --- jcc.o --- --- parsers.o --- gcc -I. -DREGEX -DSTDC_HEADERS -DHAVE_STRING -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c parsers.c --- jcc.o --- gcc -I. -DREGEX -DSTDC_HEADERS -DHAVE_STRING -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c jcc.c --- parsers.o --- parsers.c: In function 'match': parsers.c:71:20: error: too many arguments to function 'strncmpic'; expected 0, have 3 71 | if(strncmpic(buf, v->str, v->len) == 0) { | ^~~~~~~~~ ~~~ In file included from parsers.c:21: jcc.h:214:24: note: declared here 214 | extern int strcmpic(), strncmpic(); | ^~~~~~~~~ parsers.c: At top level: parsers.c:79:1: error: conflicting types for 'flush_socket'; have 'int(int, struct client_state *)' 79 | flush_socket(int fd, struct client_state *csp) | ^~~~~~~~~~~~ jcc.h:232:61: note: previous declaration of 'flush_socket' with type 'int(void)' 232 | extern int read_socket(), write_socket(), getchar_socket(), flush_socket(); | ^~~~~~~~~~~~ parsers.c: In function 'flush_socket': parsers.c:86:13: error: too many arguments to function 'write_socket'; expected 0, have 3 86 | n = write_socket(fd, iob->cur, n); | ^~~~~~~~~~~~ ~~ jcc.h:232:27: note: declared here 232 | extern int read_socket(), write_socket(), getchar_socket(), flush_socket(); | ^~~~~~~~~~~~ parsers.c: At top level: parsers.c:94:1: error: conflicting types for 'add_to_iob'; have 'int(struct client_state *, char *, int)' 94 | add_to_iob(struct client_state *csp, char *buf, int n) | ^~~~~~~~~~ jcc.h:91:5: note: previous declaration of 'add_to_iob' with type 'int(void)' 91 | int add_to_iob(); | ^~~~~~~~~~ parsers.c: In function 'add_to_iob': parsers.c:108:25: error: too many arguments to function 'fperror'; expected 0, have 2 108 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ parsers.c: At top level: parsers.c:153:1: error: conflicting types for 'get_header'; have 'char *(struct client_state *)' 153 | get_header(struct client_state *csp) | ^~~~~~~~~~ jcc.h:224:43: note: previous declaration of 'get_header' with type 'char *(void)' 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~~~~~ parsers.c:185:1: error: conflicting types for 'enlist'; have 'void(struct list *, char *)' 185 | enlist(struct list *h, char *s) | ^~~~~~ jcc.h:223:24: note: previous declaration of 'enlist' with type 'void(void)' 223 | extern void fperror(), enlist(); | ^~~~~~ parsers.c:205:1: error: conflicting types for 'destroy_list'; have 'void(struct list *)' 205 | destroy_list(struct list *h) | ^~~~~~~~~~~~ jcc.h:212:41: note: previous declaration of 'destroy_list' with type 'void(void)' 212 | extern void add_loader(), unload_url(), destroy_list(), *zalloc(); | ^~~~~~~~~~~~ parsers.c: In function 'sed': parsers.c:267:1: warning: old-style function definition [-Wold-style-definition] 267 | sed(pats, more_headers, csp) | ^~~ parsers.c:271:1: error: number of arguments doesn't match prototype 271 | { | ^ jcc.h:224:58: error: prototype declaration 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~ parsers.c:282:31: error: too many arguments to function 'v->parser'; expected 0, have 3 282 | hdr = v->parser(v, p->str, csp); | ^ ~ jcc.h:134:17: note: declared here 134 | char *(*parser)(); | ^~~~~~ parsers.c:292:18: error: too many arguments to function '*f'; expected 0, have 1 292 | (*f)(csp); | ~^~~ ~~~ parsers.c: At top level: parsers.c:304:1: error: conflicting types for 'free_http_request'; have 'void(struct http_request *)' 304 | free_http_request(struct http_request *http) | ^~~~~~~~~~~~~~~~~ jcc.h:226:14: note: previous declaration of 'free_http_request' with type 'void(void)' 226 | extern void free_http_request(); | ^~~~~~~~~~~~~~~~~ parsers.c:317:1: error: conflicting types for 'parse_http_request'; have 'void(char *, struct http_request *, struct client_state *)' 317 | parse_http_request(char *req, struct http_request *http, struct client_state *csp) | ^~~~~~~~~~~~~~~~~~ jcc.h:225:13: note: previous declaration of 'parse_http_request' with type 'void(void)' 225 | extern void parse_http_request(); | ^~~~~~~~~~~~~~~~~~ parsers.c: In function 'parse_http_request': parsers.c:328:13: error: too many arguments to function 'ssplit'; expected 0, have 6 328 | n = ssplit(buf, " \r\n", v, SZ(v), 1, 1); | ^~~~~~ ~~~ jcc.h:228:25: note: declared here 228 | extern int domaincmp(), ssplit(); | ^~~~~~ parsers.c:333:20: error: too many arguments to function 'strcmpic'; expected 0, have 2 333 | if(strcmpic(v[0], "connect") == 0) { | ^~~~~~~~ ~~~~ jcc.h:214:12: note: declared here 214 | extern int strcmpic(), strncmpic(); | ^~~~~~~~ parsers.c:341:21: error: too many arguments to function 'strcmpic'; expected 0, have 2 341 | if((strcmpic(v[0], "get") == 0) | ^~~~~~~~ ~~~~ jcc.h:214:12: note: declared here 214 | extern int strcmpic(), strncmpic(); | ^~~~~~~~ parsers.c:342:21: error: too many arguments to function 'strcmpic'; expected 0, have 2 342 | || (strcmpic(v[0], "head") == 0) | ^~~~~~~~ ~~~~ jcc.h:214:12: note: declared here 214 | extern int strcmpic(), strncmpic(); | ^~~~~~~~ parsers.c:343:21: error: too many arguments to function 'strcmpic'; expected 0, have 2 343 | || (strcmpic(v[0], "post") == 0)) { | ^~~~~~~~ ~~~~ jcc.h:214:12: note: declared here 214 | extern int strcmpic(), strncmpic(); | ^~~~~~~~ parsers.c:350:28: error: too many arguments to function 'strncmpic'; expected 0, have 3 350 | if(strncmpic(url, "http://", 7) == 0) { | ^~~~~~~~~ ~~~ jcc.h:214:24: note: declared here 214 | extern int strcmpic(), strncmpic(); | ^~~~~~~~~ parsers.c:352:35: error: too many arguments to function 'strncmpic'; expected 0, have 3 352 | } else if(strncmpic(url, "https://", 8) == 0) { | ^~~~~~~~~ ~~~ jcc.h:214:24: note: declared here 214 | extern int strcmpic(), strncmpic(); | ^~~~~~~~~ parsers.c:378:13: error: too many arguments to function 'ssplit'; expected 0, have 6 378 | n = ssplit(buf, ":", v, SZ(v), 1, 1); | ^~~~~~ ~~~ jcc.h:228:25: note: declared here 228 | extern int domaincmp(), ssplit(); | ^~~~~~ parsers.c: At top level: parsers.c:403:7: error: conflicting types for 'crumble'; have 'char *(struct parsers *, char *, struct client_state *)' 403 | char *crumble(struct parsers *v, char *s, struct client_state *csp) | ^~~~~~~ jcc.h:238:14: note: previous declaration of 'crumble' with type 'char *(void)' 238 | extern char *crumble(); | ^~~~~~~ parsers.c:409:7: error: conflicting types for 'client_referrer'; have 'char *(struct parsers *, char *, struct client_state *)' 409 | char *client_referrer(struct parsers *v, char *s, struct client_state *csp) | ^~~~~~~~~~~~~~~ jcc.h:240:14: note: previous declaration of 'client_referrer' with type 'char *(void)' 240 | extern char *client_referrer(), *client_uagent(), *client_ua(); | ^~~~~~~~~~~~~~~ --- jcc.o --- jcc.c:156:1: error: conflicting types for 'write_socket'; have 'int(int, char *, int)' 156 | write_socket(int fd, char *buf, int n) | ^~~~~~~~~~~~ In file included from jcc.c:45: jcc.h:232:27: note: previous declaration of 'write_socket' with type 'int(void)' 232 | extern int read_socket(), write_socket(), getchar_socket(), flush_socket(); | ^~~~~~~~~~~~ --- parsers.o --- parsers.c: In function 'client_referrer': parsers.c:433:13: error: too many arguments to function 'strsav'; expected 0, have 2 433 | s = strsav(NULL, "Referer: "); | ^~~~~~ ~~~~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c:434:13: error: too many arguments to function 'strsav'; expected 0, have 2 434 | s = strsav(s, referrer ); | ^~~~~~ ~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c: At top level: parsers.c:438:7: error: conflicting types for 'client_uagent'; have 'char *(struct parsers *, char *, struct client_state *)' 438 | char *client_uagent(struct parsers *v, char *s, struct client_state *csp) | ^~~~~~~~~~~~~ jcc.h:240:34: note: previous declaration of 'client_uagent' with type 'char *(void)' 240 | extern char *client_referrer(), *client_uagent(), *client_ua(); | ^~~~~~~~~~~~~ parsers.c: In function 'client_uagent': parsers.c:460:13: error: too many arguments to function 'strsav'; expected 0, have 2 460 | s = strsav(NULL, "User-Agent: "); | ^~~~~~ ~~~~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c:461:13: error: too many arguments to function 'strsav'; expected 0, have 2 461 | s = strsav(s, uagent ); | ^~~~~~ ~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c: At top level: --- jcc.o --- jcc.c:170:1: error: conflicting types for 'read_socket'; have 'int(int, char *, int)' 170 | read_socket(int fd, char *buf, int n) | ^~~~~~~~~~~ --- parsers.o --- parsers.c:465:7: error: conflicting types for 'client_ua'; have 'char *(struct parsers *, char *, struct client_state *)' 465 | char *client_ua(struct parsers *v, char *s, struct client_state *csp) | ^~~~~~~~~ --- jcc.o --- jcc.h:232:12: note: previous declaration of 'read_socket' with type 'int(void)' 232 | extern int read_socket(), write_socket(), getchar_socket(), flush_socket(); | ^~~~~~~~~~~ --- parsers.o --- jcc.h:240:52: note: previous declaration of 'client_ua' with type 'char *(void)' 240 | extern char *client_referrer(), *client_uagent(), *client_ua(); | ^~~~~~~~~ --- jcc.o --- jcc.c:181:1: error: conflicting types for 'close_socket'; have 'void(int)' 181 | close_socket(int fd) | ^~~~~~~~~~~~ jcc.h:233:13: note: previous declaration of 'close_socket' with type 'void(void)' 233 | extern void close_socket(); | ^~~~~~~~~~~~ --- parsers.o --- parsers.c:489:7: error: conflicting types for 'client_from'; have 'char *(struct parsers *, char *, struct client_state *)' 489 | char *client_from(struct parsers *v, char *s, struct client_state *csp) | ^~~~~~~~~~~ --- jcc.o --- jcc.c: In function 'chat': --- parsers.o --- jcc.h:241:37: note: previous declaration of 'client_from' with type 'char *(void)' 241 | extern char *client_x_forwarded(), *client_from(), *client_send_cookie(); | ^~~~~~~~~~~ --- jcc.o --- jcc.c:215:17: error: too many arguments to function 'add_to_iob'; expected 0, have 3 215 | add_to_iob(csp, buf, n); | ^~~~~~~~~~ ~~~ jcc.h:91:5: note: declared here 91 | int add_to_iob(); | ^~~~~~~~~~ jcc.c:217:23: error: too many arguments to function 'get_header'; expected 0, have 1 217 | req = get_header(csp); | ^~~~~~~~~~ ~~~ jcc.h:224:43: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~~~~~ --- parsers.o --- parsers.c: In function 'client_from': parsers.c:503:13: error: too many arguments to function 'strsav'; expected 0, have 2 503 | s = strsav(NULL, "From: "); | ^~~~~~ ~~~~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c:504:13: error: too many arguments to function 'strsav'; expected 0, have 2 504 | s = strsav(s, from ); | ^~~~~~ ~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ --- jcc.o --- jcc.c:223:17: error: too many arguments to function 'parse_http_request'; expected 0, have 3 223 | parse_http_request(req, http, csp); | ^~~~~~~~~~~~~~~~~~ ~~~ jcc.h:225:13: note: declared here 225 | extern void parse_http_request(); | ^~~~~~~~~~~~~~~~~~ --- parsers.o --- parsers.c: At top level: parsers.c:508:7: error: conflicting types for 'client_send_cookie'; have 'char *(struct parsers *, char *, struct client_state *)' 508 | char *client_send_cookie(struct parsers *v, char *s, struct client_state *csp) | ^~~~~~~~~~~~~~~~~~ jcc.h:241:53: note: previous declaration of 'client_send_cookie' with type 'char *(void)' 241 | extern char *client_x_forwarded(), *client_from(), *client_send_cookie(); | ^~~~~~~~~~~~~~~~~~ --- jcc.o --- jcc.c:236:18: error: too many arguments to function 'forward_url'; expected 0, have 2 236 | if((gw = forward_url(http, csp)) == NULL) { | ^~~~~~~~~~~ ~~~~ jcc.h:263:28: note: declared here 263 | extern struct gateway *forward_url(); | ^~~~~~~~~~~ --- parsers.o --- parsers.c:522:7: error: conflicting types for 'client_x_forwarded'; have 'char *(struct parsers *, char *, struct client_state *)' 522 | char *client_x_forwarded(struct parsers *v, char *s, struct client_state *csp) | ^~~~~~~~~~~~~~~~~~ jcc.h:241:14: note: previous declaration of 'client_x_forwarded' with type 'char *(void)' 241 | extern char *client_x_forwarded(), *client_from(), *client_send_cookie(); | ^~~~~~~~~~~~~~~~~~ parsers.c:536:6: error: conflicting types for 'client_cookie_adder'; have 'void(struct client_state *)' 536 | void client_cookie_adder(struct client_state *csp) | ^~~~~~~~~~~~~~~~~~~ jcc.h:245:13: note: previous declaration of 'client_cookie_adder' with type 'void(void)' 245 | extern void client_cookie_adder(), client_xtra_adder(); | ^~~~~~~~~~~~~~~~~~~ --- jcc.o --- jcc.c:270:25: error: too many arguments to function 'enlist'; expected 0, have 2 270 | enlist(csp->headers, http->cmd); | ^~~~~~ ~~~~~~~~~~~~ jcc.h:223:24: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~ jcc.c:275:29: error: too many arguments to function 'strsav'; expected 0, have 2 275 | p = strsav(p, http->gpc); | ^~~~~~ ~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ --- parsers.o --- parsers.c: In function 'client_cookie_adder': --- jcc.o --- jcc.c:276:29: error: too many arguments to function 'strsav'; expected 0, have 2 276 | p = strsav(p, " "); | ^~~~~~ ~ --- parsers.o --- parsers.c:544:31: error: too many arguments to function 'strsav'; expected 0, have 2 544 | tmp = strsav(tmp, "; "); | ^~~~~~ ~~~ --- jcc.o --- jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ --- parsers.o --- jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c:546:23: error: too many arguments to function 'strsav'; expected 0, have 2 546 | tmp = strsav(tmp, l->str); | ^~~~~~ ~~~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c:551:31: error: too many arguments to function 'strsav'; expected 0, have 2 551 | tmp = strsav(tmp, "; "); | ^~~~~~ ~~~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c:554:25: error: too many arguments to function 'url_encode'; expected 0, have 2 554 | if((e = url_encode(cookie_code_map, l->str))) { | ^~~~~~~~~~ ~~~~~~~~~~~~~~~ jcc.h:256:14: note: declared here 256 | extern char *url_encode(), *url_decode(); | ^~~~~~~~~~ parsers.c:555:31: error: too many arguments to function 'strsav'; expected 0, have 2 555 | tmp = strsav(tmp, e); | ^~~~~~ ~~~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c:564:23: error: too many arguments to function 'strsav'; expected 0, have 2 564 | ret = strsav(ret, tmp); | ^~~~~~ ~~~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c: At top level: parsers.c:572:6: error: conflicting types for 'client_xtra_adder'; have 'void(struct client_state *)' 572 | void client_xtra_adder(struct client_state *csp) | ^~~~~~~~~~~~~~~~~ jcc.h:245:36: note: previous declaration of 'client_xtra_adder' with type 'void(void)' 245 | extern void client_cookie_adder(), client_xtra_adder(); | ^~~~~~~~~~~~~~~~~ parsers.c:582:6: error: conflicting types for 'client_x_forwarded_adder'; have 'void(struct client_state *)' 582 | void client_x_forwarded_adder(struct client_state *csp) | ^~~~~~~~~~~~~~~~~~~~~~~~ jcc.h:246:13: note: previous declaration of 'client_x_forwarded_adder' with type 'void(void)' 246 | extern void client_x_forwarded_adder(); | ^~~~~~~~~~~~~~~~~~~~~~~~ parsers.c: In function 'client_x_forwarded_adder': parsers.c:589:21: error: too many arguments to function 'strsav'; expected 0, have 2 589 | p = strsav(p, csp->x_forwarded); | ^~~~~~ ~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c:590:21: error: too many arguments to function 'strsav'; expected 0, have 2 590 | p = strsav(p, ", "); | ^~~~~~ ~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c:591:21: error: too many arguments to function 'strsav'; expected 0, have 2 591 | p = strsav(p, csp->ip_addr_str); | ^~~~~~ ~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c:593:21: error: too many arguments to function 'strsav'; expected 0, have 2 593 | p = strsav(p, "X-Forwarded-For: "); | ^~~~~~ ~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c:594:21: error: too many arguments to function 'strsav'; expected 0, have 2 594 | p = strsav(p, csp->ip_addr_str); | ^~~~~~ ~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ parsers.c: At top level: parsers.c:600:7: error: conflicting types for 'server_set_cookie'; have 'char *(struct parsers *, char *, struct client_state *)' 600 | char *server_set_cookie(struct parsers *v, char *s, struct client_state *csp) | ^~~~~~~~~~~~~~~~~ jcc.h:242:14: note: previous declaration of 'server_set_cookie' with type 'char *(void)' 242 | extern char *server_set_cookie(); | ^~~~~~~~~~~~~~~~~ parsers.c:610:5: error: conflicting types for 'strcmpic'; have 'int(char *, char *)' 610 | int strcmpic(char *s1, char *s2) | ^~~~~~~~ jcc.h:214:12: note: previous declaration of 'strcmpic' with type 'int(void)' 214 | extern int strcmpic(), strncmpic(); | ^~~~~~~~ parsers.c:622:5: error: conflicting types for 'strncmpic'; have 'int(char *, char *, size_t)' {aka 'int(char *, char *, long unsigned int)'} 622 | int strncmpic(char *s1, char *s2, size_t n) | ^~~~~~~~~ jcc.h:214:24: note: previous declaration of 'strncmpic' with type 'int(void)' 214 | extern int strcmpic(), strncmpic(); | ^~~~~~~~~ *** [parsers.o] Error code 1 bmake: stopped making "all" in /tmp/work/www/ijb/work/ijb20 --- jcc.o --- jcc.c:277:29: error: too many arguments to function 'strsav'; expected 0, have 2 277 | p = strsav(p, http->path); | ^~~~~~ ~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ jcc.c:278:29: error: too many arguments to function 'strsav'; expected 0, have 2 278 | p = strsav(p, " "); | ^~~~~~ ~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ jcc.c:279:29: error: too many arguments to function 'strsav'; expected 0, have 2 279 | p = strsav(p, http->ver); | ^~~~~~ ~ jcc.h:224:32: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~ jcc.c:280:25: error: too many arguments to function 'enlist'; expected 0, have 2 280 | enlist(csp->headers, p); | ^~~~~~ ~~~~~~~~~~~~ jcc.h:223:24: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~ jcc.c:287:18: error: too many arguments to function 'cookie_url'; expected 0, have 2 287 | if((cs = cookie_url(http, csp))) { | ^~~~~~~~~~ ~~~~ jcc.h:262:28: note: declared here 262 | extern struct cookie_spec *cookie_url(); | ^~~~~~~~~~ jcc.c:298:26: error: too many arguments to function 'get_header'; expected 0, have 1 298 | if(( p = get_header(csp)) | ^~~~~~~~~~ ~~~ jcc.h:224:43: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~~~~~ jcc.c:304:33: error: too many arguments to function 'fperror'; expected 0, have 2 304 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:307:25: error: too many arguments to function 'add_to_iob'; expected 0, have 3 307 | add_to_iob(csp, buf, n); | ^~~~~~~~~~ ~~~ jcc.h:91:5: note: declared here 91 | int add_to_iob(); | ^~~~~~~~~~ jcc.c:313:17: error: too many arguments to function 'enlist'; expected 0, have 2 313 | enlist(csp->headers, p); | ^~~~~~ ~~~~~~~~~~~~ jcc.h:223:24: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~ jcc.c:319:15: error: too many arguments to function 'sed'; expected 0, have 3 319 | hdr = sed(client_patterns, add_client_headers, csp); | ^~~ ~~~~~~~~~~~~~~~ jcc.h:224:58: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~ jcc.c:321:9: error: too many arguments to function 'destroy_list'; expected 0, have 1 321 | destroy_list(csp->headers); | ^~~~~~~~~~~~ ~~~~~~~~~~~~ jcc.h:212:41: note: declared here 212 | extern void add_loader(), unload_url(), destroy_list(), *zalloc(); | ^~~~~~~~~~~~ jcc.c:323:17: error: too many arguments to function 'intercept_url'; expected 0, have 2 323 | if((p = intercept_url(http, csp)) | ^~~~~~~~~~~~~ ~~~~ jcc.h:259:14: note: declared here 259 | extern char *intercept_url(); | ^~~~~~~~~~~~~ jcc.c:324:21: error: too many arguments to function 'block_url'; expected 0, have 2 324 | || (p = block_url(http, csp)) | ^~~~~~~~~ ~~~~ jcc.h:260:14: note: declared here 260 | extern char *block_url(); | ^~~~~~~~~ jcc.c:325:21: error: too many arguments to function 'trust_url'; expected 0, have 2 325 | || (p = trust_url(http, csp))) { | ^~~~~~~~~ ~~~~ jcc.h:261:14: note: declared here 261 | extern char *trust_url(); | ^~~~~~~~~ jcc.c:362:23: error: too many arguments to function 'gw->conn'; expected 0, have 3 362 | csp->sfd = (gw->conn)(gw, http, csp); | ~~~^~~~~~~ ~~ jcc.h:45:15: note: declared here 45 | int (*conn)(); | ^~~~ jcc.c:368:25: error: too many arguments to function 'fperror'; expected 0, have 2 368 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:372:31: error: too many arguments to function 'zalloc'; expected 0, have 1 372 | err = zalloc(strlen(CNXDOM) + strlen(http->host)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jcc.h:212:58: note: declared here 212 | extern void add_loader(), unload_url(), destroy_list(), *zalloc(); | ^~~~~~ jcc.c:375:31: error: too many arguments to function 'safe_strerror'; expected 0, have 1 375 | eno = safe_strerror(errno); | ^~~~~~~~~~~~~ ~~~~~ jcc.h:224:14: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~~~~~~~~ jcc.c:376:31: error: too many arguments to function 'zalloc'; expected 0, have 1 376 | err = zalloc(strlen(CFAIL) + strlen(http->hostport) + strlen(eno)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jcc.h:212:58: note: declared here 212 | extern void add_loader(), unload_url(), destroy_list(), *zalloc(); | ^~~~~~ jcc.c:401:21: error: too many arguments to function 'flush_socket'; expected 0, have 2 401 | || (flush_socket(csp->sfd, csp ) < 0)) { | ^~~~~~~~~~~~ ~~~~~~~~ jcc.h:232:61: note: declared here 232 | extern int read_socket(), write_socket(), getchar_socket(), flush_socket(); | ^~~~~~~~~~~~ jcc.c:405:33: error: too many arguments to function 'fperror'; expected 0, have 2 405 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:408:31: error: too many arguments to function 'safe_strerror'; expected 0, have 1 408 | eno = safe_strerror(errno); | ^~~~~~~~~~~~~ ~~~~~ jcc.h:224:14: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~~~~~~~~ jcc.c:409:31: error: too many arguments to function 'zalloc'; expected 0, have 1 409 | err = zalloc(strlen(CFAIL) + strlen(http->hostport) + strlen(eno)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jcc.h:212:58: note: declared here 212 | extern void add_loader(), unload_url(), destroy_list(), *zalloc(); | ^~~~~~ jcc.c:452:25: error: too many arguments to function 'fperror'; expected 0, have 2 452 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:469:33: error: too many arguments to function 'fperror'; expected 0, have 2 469 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:488:33: error: too many arguments to function 'fperror'; expected 0, have 2 488 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:490:39: error: too many arguments to function 'safe_strerror'; expected 0, have 1 490 | eno = safe_strerror(errno); | ^~~~~~~~~~~~~ ~~~~~ jcc.h:224:14: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~~~~~~~~ jcc.c:508:41: error: too many arguments to function 'fperror'; expected 0, have 2 508 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:519:33: error: too many arguments to function 'add_to_iob'; expected 0, have 3 519 | add_to_iob(csp, buf, n); | ^~~~~~~~~~ ~~~ jcc.h:91:5: note: declared here 91 | int add_to_iob(); | ^~~~~~~~~~ jcc.c:522:44: error: too many arguments to function 'get_header'; expected 0, have 1 522 | while((p = get_header(csp))) { | ^~~~~~~~~~ ~~~ jcc.h:224:43: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~~~~~ jcc.c:527:41: error: too many arguments to function 'enlist'; expected 0, have 2 527 | enlist(csp->headers, p); | ^~~~~~ ~~~~~~~~~~~~ jcc.h:223:24: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~ jcc.c:547:39: error: too many arguments to function 'sed'; expected 0, have 3 547 | hdr = sed( | ^~~ 548 | server_patterns, | ~~~~~~~~~~~~~~~ jcc.h:224:58: note: declared here 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~ jcc.c:560:37: error: too many arguments to function 'flush_socket'; expected 0, have 2 560 | || (flush_socket(csp->cfd, csp ) < 0)) { | ^~~~~~~~~~~~ ~~~~~~~~ jcc.h:232:61: note: declared here 232 | extern int read_socket(), write_socket(), getchar_socket(), flush_socket(); | ^~~~~~~~~~~~ jcc.c:565:49: error: too many arguments to function 'fperror'; expected 0, have 2 565 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c: At top level: jcc.c:610:1: error: conflicting types for 'main'; have 'int(int, char **)' 610 | main(int argc, char *argv[]) | ^~~~ jcc.h:231:41: note: previous declaration of 'main' with type 'int(void)' 231 | extern int read_header(), connect_to(), main(); | ^~~~ jcc.c: In function 'main': jcc.c:629:9: error: too many arguments to function 'init_proxy_args'; expected 0, have 2 629 | init_proxy_args(argc, argv); | ^~~~~~~~~~~~~~~ ~~~~ jcc.h:254:13: note: declared here 254 | extern void init_proxy_args(), end_proxy_args(), savearg(), sweep(); | ^~~~~~~~~~~~~~~ jcc.c:649:33: error: too many arguments to function 'fperror'; expected 0, have 2 649 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:693:25: error: too many arguments to function 'savearg'; expected 0, have 2 693 | savearg(cmd, arg); | ^~~~~~~ ~~~ jcc.h:254:50: note: declared here 254 | extern void init_proxy_args(), end_proxy_args(), savearg(), sweep(); | ^~~~~~~ jcc.c:701:33: error: too many arguments to function 'enlist'; expected 0, have 2 701 | enlist(trust_info, arg); | ^~~~~~ ~~~~~~~~~~ jcc.h:223:24: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~ jcc.c:726:33: error: too many arguments to function 'enlist'; expected 0, have 2 726 | enlist(wafer_list, arg); | ^~~~~~ ~~~~~~~~~~ jcc.h:223:24: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~ jcc.c:731:33: error: too many arguments to function 'enlist'; expected 0, have 2 731 | enlist(xtra_list, arg); | ^~~~~~ ~~~~~~~~~ jcc.h:223:24: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~ jcc.c:812:25: error: too many arguments to function 'fperror'; expected 0, have 2 812 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:820:26: error: too many arguments to function 'add_loader'; expected 0, have 1 820 | if(cookiefile) add_loader(load_cookiefile); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~ jcc.h:212:13: note: declared here 212 | extern void add_loader(), unload_url(), destroy_list(), *zalloc(); | ^~~~~~~~~~ jcc.c:822:26: error: too many arguments to function 'add_loader'; expected 0, have 1 822 | if(blockfile) add_loader(load_blockfile); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ jcc.h:212:13: note: declared here 212 | extern void add_loader(), unload_url(), destroy_list(), *zalloc(); | ^~~~~~~~~~ jcc.c:824:26: error: too many arguments to function 'add_loader'; expected 0, have 1 824 | if(trustfile) add_loader(load_trustfile); | ^~~~~~~~~~ ~~~~~~~~~~~~~~ jcc.h:212:13: note: declared here 212 | extern void add_loader(), unload_url(), destroy_list(), *zalloc(); | ^~~~~~~~~~ jcc.c:826:26: error: too many arguments to function 'add_loader'; expected 0, have 1 826 | if(forwardfile) add_loader(load_forwardfile); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ jcc.h:212:13: note: declared here 212 | extern void add_loader(), unload_url(), destroy_list(), *zalloc(); | ^~~~~~~~~~ jcc.c:828:26: error: too many arguments to function 'add_loader'; expected 0, have 1 828 | if(aclfile) add_loader(load_aclfile); | ^~~~~~~~~~ ~~~~~~~~~~~~ jcc.h:212:13: note: declared here 212 | extern void add_loader(), unload_url(), destroy_list(), *zalloc(); | ^~~~~~~~~~ jcc.c:835:25: error: too many arguments to function 'fperror'; expected 0, have 2 835 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:856:12: error: too many arguments to function 'run_loader'; expected 0, have 1 856 | if(run_loader(NULL)) err = 1; | ^~~~~~~~~~ ~~~~ jcc.h:211:12: note: declared here 211 | extern int run_loader(); | ^~~~~~~~~~ jcc.c:868:17: error: too many arguments to function 'enlist'; expected 0, have 2 868 | enlist(wafer_list, VANILLA_WAFER); | ^~~~~~ ~~~~~~~~~~ jcc.h:223:24: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~ jcc.c:876:15: error: too many arguments to function 'bind_port'; expected 0, have 2 876 | bfd = bind_port(haddr, hport); | ^~~~~~~~~ ~~~~~ jcc.h:213:12: note: declared here 213 | extern int bind_port(), accept_connection(), atoip(); | ^~~~~~~~~ jcc.c:881:17: error: too many arguments to function 'fperror'; expected 0, have 2 881 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:918:23: error: too many arguments to function 'accept_connection'; expected 0, have 1 918 | cfd = accept_connection(bfd); | ^~~~~~~~~~~~~~~~~ ~~~ jcc.h:213:25: note: declared here 213 | extern int bind_port(), accept_connection(), atoip(); | ^~~~~~~~~~~~~~~~~ jcc.c:923:33: error: too many arguments to function 'fperror'; expected 0, have 2 923 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:936:25: error: too many arguments to function 'fperror'; expected 0, have 2 936 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c:953:20: error: too many arguments to function 'run_loader'; expected 0, have 1 953 | if(run_loader(csp)) { | ^~~~~~~~~~ ~~~ jcc.h:211:12: note: declared here 211 | extern int run_loader(); | ^~~~~~~~~~ jcc.c:995:33: error: too many arguments to function 'fperror'; expected 0, have 2 995 | fperror(logfp, ""); | ^~~~~~~ ~~~~~ jcc.h:223:13: note: declared here 223 | extern void fperror(), enlist(); | ^~~~~~~ jcc.c: At top level: jcc.c:1036:1: error: conflicting types for 'safe_strerror'; have 'char *(int)' 1036 | safe_strerror(int err) | ^~~~~~~~~~~~~ jcc.h:224:14: note: previous declaration of 'safe_strerror' with type 'char *(void)' 224 | extern char *safe_strerror(), *strsav(), *get_header(), *sed(); | ^~~~~~~~~~~~~ jcc.c:1054:1: error: conflicting types for 'fperror'; have 'void(FILE *, char *)' 1054 | fperror(FILE *fp, char *str) | ^~~~~~~ jcc.h:223:13: note: previous declaration of 'fperror' with type 'void(void)' 223 | extern void fperror(), enlist(); | ^~~~~~~ *** [jcc.o] Error code 1 bmake: stopped making "all" in /tmp/work/www/ijb/work/ijb20 bmake: 2 errors bmake: stopped making "all" in /tmp/work/www/ijb/work/ijb20 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/ijb *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/ijb