=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/smtpfeed", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for smtpfeed-1.23nb1 --- address.o --- --- dns.o --- --- address.o --- gcc -DINET6 -pipe -Os -I/opt/pkg/include -c address.c --- dns.o --- gcc -DINET6 -pipe -Os -I/opt/pkg/include -c dns.c --- address.o --- address.c:72:20: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | ha->name = newstr(name); | ^ address.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | addmyalias(name) | ^ In file included from address.c:43: ./extern.h:48:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | int addmyalias(); | ^ --- dns.o --- dns.c:52:2: error: unknown type name 'HEADER' 52 | HEADER qb1; | ^ --- address.o --- address.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | isamyalias(name) --- dns.o --- dns.c:141:35: error: use of undeclared identifier 'T_A' --- address.o --- | ^ In file included from address.c:43: ./extern.h:49:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | int isamyalias(); | ^ --- dns.o --- 141 | if (query_domain(cnf.pgateway, T_A) < 0) | ^ --- address.o --- address.c:108:27: warning: passing arguments to 'hash_host_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dns.o --- dns.c:147:20: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | if (query_domain(cnf.pgateway, T_AAAA) < 0) | ^ --- address.o --- 108 | hostp = hash_host_lookup(mxp->name, &hashp); | ^ address.c:132:25: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | hostp->name = newstr(mxp->name); | ^ --- dns.o --- dns.c:165:37: error: use of undeclared identifier 'T_A' 165 | if (query_domain(cnf.fallbackmx, T_A) < 0) | ^ dns.c:171:20: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | if (query_domain(cnf.fallbackmx, T_AAAA) < 0) | ^ --- address.o --- address.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | addinetaddress(mxp, inet_domain, len, addr) | ^ In file included from address.c:43: ./extern.h:56:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | int addinetaddress(); | ^ --- dns.o --- dns.c:206:26: error: use of undeclared identifier 'T_A' 206 | if (query_domain(p, T_A) < 0) | ^ dns.c:212:22: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | if (query_domain(p, T_AAAA) < 0) | ^ dns.c:260:32: error: use of undeclared identifier 'T_MX' 260 | if (query_domain(dp->name, T_MX) < 0) | ^ --- address.o --- address.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | parse_address(str, err, addr, dom) | ^ In file included from address.c:43: ./extern.h:42:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | char *parse_address(); | ^ --- dns.o --- dns.c:272:33: error: use of undeclared identifier 'T_A' 272 | if (query_domain(dp->name, T_A) < 0) | ^ dns.c:279:22: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | if (query_domain(dp->name, T_AAAA) < 0) | ^ --- address.o --- address.c:475:24: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | rcpt->address = newstr(addr); | ^ address.c:482:24: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | rcpt->notify = newstr(notify); | ^ address.c:488:23: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dns.o --- dns.c:289:32: error: use of undeclared identifier 'T_MX' --- address.o --- 488 | rcpt->orcpt = newstr(orcpt); | ^ address.c:493:24: warning: passing arguments to 'hash_domain_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dns.o --- 289 | if (query_domain(*map_arg, T_MX) < 0) | ^ --- address.o --- 493 | d = hash_domain_lookup(domain, &hashp); | ^ address.c:500:30: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | rcpt->domain->name = newstr(domain); | ^ address.c:503:49: warning: passing arguments to 'hash_domain_rcpts_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | rcpt->domain->rcpts = hash_domain_rcpts_lookup(domain); | ^ --- dns.o --- dns.c:315:9: error: use of undeclared identifier 'T_A' 315 | T_A) < 0) | ^ --- address.o --- address.c:514:42: warning: passing arguments to 'host_map_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- dns.o --- dns.c:325:22: warning: passing arguments to 'query_domain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- address.o --- 514 | rcpt->domain->map_arg = host_map_lookup(rcpt->domain->name); | ^ --- dns.o --- 325 | if (query_domain((*map_arg) + 1, | ^ --- address.o --- address.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | addrecipient(addr, domain, notify, orcpt) | ^ --- dns.o --- dns.c:350:20: warning: passing arguments to 'process_query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- address.o --- In file included from address.c:43: ./extern.h:44:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | int addrecipient(); --- dns.o --- 350 | if (process_query(1) < 0) /* sync */ | ^ --- address.o --- | ^ --- dns.o --- dns.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | pregetmx(dl) | ^ In file included from dns.c:43: ./extern.h:53:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | int pregetmx(); | ^ dns.c:370:25: warning: passing arguments to 'hash_query_lookup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | qrp = hash_query_lookup(name, &hashp); | ^ dns.c:379:21: warning: passing arguments to 'newstr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | qrp->name = newstr(name); | ^ --- address.o --- address.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | dnsstatus(rcpt, rcode, response) | ^ --- dns.o --- dns.c:385:9: error: use of undeclared identifier 'T_MX' 385 | case T_MX: | ^ --- address.o --- address.c:573:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 573 | dnsstatus(rcpt, rcpt->result, rcpt->response); | ^~~~~~~~~~~~~~ --- dns.o --- dns.c:386:9: error: use of undeclared identifier 'T_A' 386 | case T_A: | ^ --- address.o --- address.c:584:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] --- dns.o --- dns.c:394:12: warning: passing arguments to 'make_query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- address.o --- 584 | dnsstatus(rcpt, rcpt->result, rcpt->response); | ^~~~~~~~~~~~~~ --- dns.o --- 394 | make_query(qrp, type); | ^ dns.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- address.o --- address.c:591:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] --- dns.o --- 364 | query_domain(name, type) | ^ dns.c:90:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | static int query_domain(), process_query(); | ^ --- address.o --- 591 | dnsstatus(rcpt, rcpt->result, rcpt->response); | ^~~~~~~~~~~~~~ address.c:598:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] --- dns.o --- dns.c:400:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 400 | static query_chain_count = 0; --- address.o --- 598 | dnsstatus(rcpt, rcpt->result, rcpt->response); --- dns.o --- | ~~~~~~ ^ --- address.o --- | ^~~~~~~~~~~~~~ --- dns.o --- | int --- address.o --- address.c:605:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 605 | dnsstatus(rcpt, rcpt->result, rcpt->response); | ^~~~~~~~~~~~~~ address.c:613:34: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] --- dns.o --- dns.c:413:9: error: use of undeclared identifier 'T_MX' 413 | case T_MX: | ^ --- address.o --- 613 | dnsstatus(rcpt, rcpt->result, rcpt->response); | ^~~~~~~~~~~~~~ --- dns.o --- dns.c:416:9: error: use of undeclared identifier 'T_A' 416 | case T_A: | ^ dns.c:440:33: error: use of undeclared identifier 'T_MX' 440 | if (cnf.tryANYfirst && type == T_MX && (qrp->rr_sent & RR_ANY) == 0) | ^ dns.c:442:10: error: use of undeclared identifier 'T_ANY' 442 | type = T_ANY; | ^ dns.c:459:18: error: use of undeclared identifier 'QUERY' 459 | n = res_mkquery(QUERY, qrp->name, C_IN, type, NULL, 0, NULL, | ^ dns.c:459:36: error: use of undeclared identifier 'C_IN' 459 | n = res_mkquery(QUERY, qrp->name, C_IN, type, NULL, 0, NULL, | ^ dns.c:523:19: warning: passing arguments to 'process_query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | if (process_query(0) < 0) | ^ dns.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | make_query(qrp, type) | ^ dns.c:91:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | static int make_query(); | ^ dns.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | whichserver(inp) | ^ dns.c:597:9: error: use of undeclared identifier 'HEADER' 597 | HEADER *qp, *hp; | ^ dns.c:597:17: error: use of undeclared identifier 'qp' 597 | HEADER *qp, *hp; | ^ dns.c:597:22: error: use of undeclared identifier 'hp' 597 | HEADER *qp, *hp; | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 18 warnings and 20 errors generated. *** [dns.o] Error code 1 bmake: stopped making "all" in /var/tmp/work/mail/smtpfeed/work/smtpfeed-1.23 --- address.o --- 27 warnings generated. bmake: 1 error bmake: stopped making "all" in /var/tmp/work/mail/smtpfeed/work/smtpfeed-1.23 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/smtpfeed *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/smtpfeed