=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/mail/distribute", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for distribute-2.1.26nb12 /usr/bin/touch /tmp/work/mail/distribute/work/distribute-pl19/logging.h /tmp/work/mail/distribute/work/distribute-pl19/strsep.c --- mestab.h --- --- recipfile.o --- --- message.o --- --- mestab.h --- perl tmpl2c.pl mestab.h --- message.o --- gcc -g -DSYSLOG -DISSUE -DSUBJALIAS -DADDVERSION -DSYSLOG_FACILITY=LOG_LOCAL4 -DCCMAIL -DDEF_SEQ_PATH="\"/var/mail-list\"" -DDEF_RECIPIENT_PATH="\"/var/mail-list\"" -DDEF_MAJORDOMO_RECIPIENT_PATH="\"/var/opt/pkg/majordomo/lists\"" -DDEF_DOMAINNAME="\"your.domain.here\"" -DDEF_ARCHIVE_PATH="\"/var/spool/mail-list\"" -DRELEASESTATE=\"Alpha1\" -I/usr/include -c message.c --- recipfile.o --- gcc -g -DSYSLOG -DISSUE -DSUBJALIAS -DADDVERSION -DSYSLOG_FACILITY=LOG_LOCAL4 -DCCMAIL -DDEF_SEQ_PATH="\"/var/mail-list\"" -DDEF_RECIPIENT_PATH="\"/var/mail-list\"" -DDEF_MAJORDOMO_RECIPIENT_PATH="\"/var/opt/pkg/majordomo/lists\"" -DDEF_DOMAINNAME="\"your.domain.here\"" -DDEF_ARCHIVE_PATH="\"/var/spool/mail-list\"" -DRELEASESTATE=\"Alpha1\" -I/usr/include -c recipfile.c --- memory.o --- gcc -g -DSYSLOG -DISSUE -DSUBJALIAS -DADDVERSION -DSYSLOG_FACILITY=LOG_LOCAL4 -DCCMAIL -DDEF_SEQ_PATH="\"/var/mail-list\"" -DDEF_RECIPIENT_PATH="\"/var/mail-list\"" -DDEF_MAJORDOMO_RECIPIENT_PATH="\"/var/opt/pkg/majordomo/lists\"" -DDEF_DOMAINNAME="\"your.domain.here\"" -DDEF_ARCHIVE_PATH="\"/var/spool/mail-list\"" -DRELEASESTATE=\"Alpha1\" -I/usr/include -c memory.c --- message.o --- message.c: In function 'patcompare': message.c:36:1: warning: old-style function definition [-Wold-style-definition] 36 | patcompare(s, pat) | ^~~~~~~~~~ --- recipfile.o --- recipfile.c:34:7: error: conflicting types for 'strchr'; have 'char *(void)' 34 | char *strchr(); | ^~~~~~ In file included from /usr/include/string.h:35, from recipfile.c:18: /usr/include/iso/string_iso.h:140:14: note: previous declaration of 'strchr' with type 'char *(const char *, int)' 140 | extern char *strchr(const char *, int); | ^~~~~~ recipfile.c:35:7: error: conflicting types for 'strrchr'; have 'char *(void)' 35 | char *strrchr(); | ^~~~~~~ /usr/include/iso/string_iso.h:142:14: note: previous declaration of 'strrchr' with type 'char *(const char *, int)' 142 | extern char *strrchr(const char *, int); | ^~~~~~~ recipfile.c: In function 'normalizeaddr': recipfile.c:51:1: warning: old-style function definition [-Wold-style-definition] 51 | normalizeaddr(buf) | ^~~~~~~~~~~~~ --- message.o --- message.c: In function 'lookupmestab': message.c:62:1: warning: old-style function definition [-Wold-style-definition] 62 | lookupmestab(mestab, target) | ^~~~~~~~~~~~ --- recipfile.o --- recipfile.c:59:9: error: too many arguments to function 'logwarn'; expected 0, have 1 59 | logwarn("too large buf\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~ recipfile.c:44:13: note: declared here 44 | extern void logwarn(); | ^~~~~~~ --- message.o --- message.c: In function 'messageprint': message.c:78:1: warning: old-style function definition [-Wold-style-definition] 78 | messageprint(file, mestab, pat, a1, a2) | ^~~~~~~~~~~~ message.c:84:1: error: number of arguments doesn't match prototype 84 | { | ^ In file included from message.c:10: message.h:24:13: error: prototype declaration 24 | extern void messageprint(); /* don't prototype this.. */ | ^~~~~~~~~~~~ message.c:136:19: error: too many arguments to function 'mt->mestab_codeconv'; expected 0, have 1 136 | result = (*(mt->mestab_codeconv))(mesbuf.ls_buf); | ~^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ message.h:18:14: note: declared here 18 | ConvFunc mestab_codeconv; | ^~~~~~~~~~~~~~~ message.c: In function 'euc_to_iso2022jp': message.c:145:1: warning: old-style function definition [-Wold-style-definition] 145 | euc_to_iso2022jp(from) | ^~~~~~~~~~~~~~~~ --- recipfile.o --- recipfile.c:36:17: error: too many arguments to function 'strchr'; expected 0, have 2 36 | #define index strchr | ^~~~~~ recipfile.c:125:23: note: in expansion of macro 'index' 125 | if ((tp = index(beginp, '>')) != NULL) { | ^~~~~ recipfile.c:34:7: note: declared here 34 | char *strchr(); | ^~~~~~ recipfile.c:137:9: error: too many arguments to function 'logwarn'; expected 0, have 3 137 | logwarn("%s: %s.\n", statstr, buf); | ^~~~~~~ ~~~~~~~~~~~ recipfile.c:44:13: note: declared here 44 | extern void logwarn(); | ^~~~~~~ recipfile.c:147:9: error: too many arguments to function 'logwarn'; expected 0, have 2 147 | logwarn("no address: %s.\n", buf); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~ recipfile.c:44:13: note: declared here 44 | extern void logwarn(); | ^~~~~~~ recipfile.c:37:17: error: too many arguments to function 'strrchr'; expected 0, have 2 37 | #define rindex strrchr | ^~~~~~~ recipfile.c:151:10: note: in expansion of macro 'rindex' 151 | rp = rindex(beginp, '\0'); | ^~~~~~ recipfile.c:35:7: note: declared here 35 | char *strrchr(); | ^~~~~~~ recipfile.c: In function 'parserecipfile': recipfile.c:166:1: warning: old-style function definition [-Wold-style-definition] 166 | parserecipfile(filename, errormode) | ^~~~~~~~~~~~~~ recipfile.c:177:13: error: too many arguments to function 'logandexit'; expected 0, have 3 177 | logandexit(EX_NOINPUT, | ^~~~~~~~~~ ~~~~~~~~~~ recipfile.c:43:13: note: declared here 43 | extern void logandexit(); | ^~~~~~~~~~ recipfile.c:36:17: error: too many arguments to function 'strchr'; expected 0, have 2 36 | #define index strchr | ^~~~~~ recipfile.c:188:18: note: in expansion of macro 'index' 188 | if ((p = index(buf, '\n')) != NULL)/* remove trailing LF */ | ^~~~~ recipfile.c:34:7: note: declared here 34 | char *strchr(); | ^~~~~~ recipfile.c:36:17: error: too many arguments to function 'strchr'; expected 0, have 2 36 | #define index strchr | ^~~~~~ recipfile.c:190:18: note: in expansion of macro 'index' 190 | if ((p = index(buf, '#')) != NULL) /* remove comments, if exists */ | ^~~~~ recipfile.c:34:7: note: declared here 34 | char *strchr(); | ^~~~~~ --- message.o --- *** [message.o] Error code 1 bmake: stopped making "all" in /tmp/work/mail/distribute/work/distribute-pl19 --- recipfile.o --- *** [recipfile.o] Error code 1 bmake: stopped making "all" in /tmp/work/mail/distribute/work/distribute-pl19 --- memory.o --- memory.c: In function 'xmalloc': memory.c:23:1: warning: old-style function definition [-Wold-style-definition] 23 | xmalloc(len) | ^~~~~~~ memory.c: In function 'xrealloc': memory.c:36:1: warning: old-style function definition [-Wold-style-definition] 36 | xrealloc(p, len) | ^~~~~~~~ memory.c: In function 'strsave': memory.c:50:1: warning: old-style function definition [-Wold-style-definition] 50 | strsave(p) | ^~~~~~~ memory.c: In function 'memsave': memory.c:66:1: warning: old-style function definition [-Wold-style-definition] 66 | memsave(p, len) | ^~~~~~~ memory.c: In function 'strappend': memory.c:83:1: warning: old-style function definition [-Wold-style-definition] 83 | strappend(d, s) | ^~~~~~~~~ memory.c: In function 'strspappend': memory.c:98:1: warning: old-style function definition [-Wold-style-definition] 98 | strspappend(d, s) | ^~~~~~~~~~~ bmake: 2 errors bmake: stopped making "all" in /tmp/work/mail/distribute/work/distribute-pl19 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/distribute *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/distribute