=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/mail/deliver", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for deliver-2.1.14nb3 --- addr.o --- --- context.o --- --- addr.o --- cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Iconf -DOSINCLUDE=\"os-netbsd.h\" -c addr.c --- context.o --- cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Iconf -DOSINCLUDE=\"os-netbsd.h\" -c context.c In file included from config.h:75, from deliver.h:40, from context.c:19: conf/finish-os.h:101:13: error: conflicting types for 'sysconf'; have 'long int(void)' 101 | extern long sysconf(); | ^~~~~~~ In file included from conf/finish-os.h:100: /usr/include/unistd.h:542:13: note: previous declaration of 'sysconf' with type 'long int(int)' 542 | extern long sysconf(int); | ^~~~~~~ conf/finish-os.h:102:13: error: conflicting types for 'pathconf'; have 'long int(void)' 102 | extern long pathconf(), fpathconf(); | ^~~~~~~~ /usr/include/unistd.h:431:13: note: previous declaration of 'pathconf' with type 'long int(const char *, int)' 431 | extern long pathconf(const char *, int); | ^~~~~~~~ conf/finish-os.h:102:25: error: conflicting types for 'fpathconf'; have 'long int(void)' 102 | extern long pathconf(), fpathconf(); | ^~~~~~~~~ /usr/include/unistd.h:328:13: note: previous declaration of 'fpathconf' with type 'long int(int, int)' 328 | extern long fpathconf(int, int); | ^~~~~~~~~ context.c: In function 'name_context': context.c:40:1: warning: old-style function definition [-Wold-style-definition] 40 | name_context(name) | ^~~~~~~~~~~~ context.c:42:1: error: number of arguments doesn't match prototype 42 | { | ^ deliver.h:158:10: error: prototype declaration 158 | CONTEXT *name_context(); | ^~~~~~~~~~~~ context.c:55:12: error: too many arguments to function 'new_context'; expected 0, have 1 55 | return new_context(pw); | ^~~~~~~~~~~ ~~ context.c:27:17: note: declared here 27 | static CONTEXT *new_context(); | ^~~~~~~~~~~ context.c: In function 'uid_context': context.c:63:1: warning: old-style function definition [-Wold-style-definition] 63 | uid_context(uid) | ^~~~~~~~~~~ context.c:65:1: error: number of arguments doesn't match prototype 65 | { | ^ deliver.h:159:10: error: prototype declaration 159 | CONTEXT *uid_context(); | ^~~~~~~~~~~ context.c:78:12: error: too many arguments to function 'new_context'; expected 0, have 1 78 | return new_context(pw); | ^~~~~~~~~~~ ~~ context.c:27:17: note: declared here 27 | static CONTEXT *new_context(); | ^~~~~~~~~~~ context.c: In function 'new_context': context.c:87:1: warning: old-style function definition [-Wold-style-definition] 87 | new_context(pw) | ^~~~~~~~~~~ deliver.h:203:30: error: too many arguments to function 'zalloc'; expected 0, have 1 203 | #define talloc(t,n) (t *)zalloc((n) * sizeof(t)) | ^~~~~~ ~~~~~~~~~~~~~~~ context.c:95:10: note: in expansion of macro 'talloc' 95 | ct = talloc(CONTEXT, 1); | ^~~~~~ deliver.h:155:7: note: declared here 155 | char *zalloc(); | ^~~~~~ context.c:98:19: error: too many arguments to function 'copystr'; expected 0, have 1 98 | ct->ct_name = copystr(pw->pw_name); | ^~~~~~~ ~~~~~~~~~~~ deliver.h:153:7: note: declared here 153 | char *copystr(); | ^~~~~~~ context.c:99:19: error: too many arguments to function 'copystr'; expected 0, have 1 99 | ct->ct_home = copystr(pw->pw_dir); | ^~~~~~~ ~~~~~~~~~~ deliver.h:153:7: note: declared here 153 | char *copystr(); | ^~~~~~~ deliver.h:203:30: error: too many arguments to function 'zalloc'; expected 0, have 1 203 | #define talloc(t,n) (t *)zalloc((n) * sizeof(t)) | ^~~~~~ ~~~~~~~~~~~~~~~ context.c:104:11: note: in expansion of macro 'talloc' 104 | ? talloc(GRVEC_T, maxgroups) | ^~~~~~ deliver.h:155:7: note: declared here 155 | char *zalloc(); | ^~~~~~ context.c: In function 'ok_context': context.c:136:1: warning: old-style function definition [-Wold-style-definition] 136 | ok_context(euid, ruid, rgid, ct) | ^~~~~~~~~~ context.c: In function 'group_name': context.c:155:1: warning: old-style function definition [-Wold-style-definition] 155 | group_name(id) | ^~~~~~~~~~ context.c:157:1: error: number of arguments doesn't match prototype 157 | { | ^ deliver.h:144:7: error: prototype declaration 144 | char *group_name(); | ^~~~~~~~~~ context.c: In function 'group_id': context.c:171:1: warning: old-style function definition [-Wold-style-definition] 171 | group_id(name) | ^~~~~~~~ --- addr.o --- In file included from config.h:75, from deliver.h:40, from addr.c:21: conf/finish-os.h:101:13: error: conflicting types for 'sysconf'; have 'long int(void)' 101 | extern long sysconf(); | ^~~~~~~ In file included from conf/finish-os.h:100: /usr/include/unistd.h:542:13: note: previous declaration of 'sysconf' with type 'long int(int)' 542 | extern long sysconf(int); | ^~~~~~~ conf/finish-os.h:102:13: error: conflicting types for 'pathconf'; have 'long int(void)' 102 | extern long pathconf(), fpathconf(); | ^~~~~~~~ /usr/include/unistd.h:431:13: note: previous declaration of 'pathconf' with type 'long int(const char *, int)' 431 | extern long pathconf(const char *, int); | ^~~~~~~~ conf/finish-os.h:102:25: error: conflicting types for 'fpathconf'; have 'long int(void)' 102 | extern long pathconf(), fpathconf(); | ^~~~~~~~~ /usr/include/unistd.h:328:13: note: previous declaration of 'fpathconf' with type 'long int(int, int)' 328 | extern long fpathconf(int, int); | ^~~~~~~~~ addr.c: In function 'addr_clean': addr.c:30:1: warning: old-style function definition [-Wold-style-definition] 30 | addr_clean(addr) | ^~~~~~~~~~ addr.c: In function 'addr_class': addr.c:62:1: warning: old-style function definition [-Wold-style-definition] 62 | addr_class(s) | ^~~~~~~~~~ addr.c:64:1: error: number of arguments doesn't match prototype 64 | { | ^ deliver.h:171:8: error: prototype declaration 171 | DCLASS addr_class(); | ^~~~~~~~~~ addr.c: In function 'addr_dest': addr.c:94:1: warning: old-style function definition [-Wold-style-definition] 94 | addr_dest(s, dfile_ct) | ^~~~~~~~~ addr.c:97:1: error: number of arguments doesn't match prototype 97 | { | ^ deliver.h:164:7: error: prototype declaration 164 | DEST *addr_dest(); | ^~~~~~~~~ addr.c:113:17: error: too many arguments to function 'addr_class'; expected 0, have 1 113 | class = addr_class(s); | ^~~~~~~~~~ ~ addr.c:62:1: note: declared here 62 | addr_class(s) | ^~~~~~~~~~ addr.c:117:17: error: too many arguments to function 'dest'; expected 0, have 3 117 | d = dest(s, CL_USER, (char *) NULL); | ^~~~ ~ deliver.h:165:7: note: declared here 165 | DEST *dest(); | ^~~~ addr.c:140:16: error: too many arguments to function 'dest'; expected 0, have 3 140 | return dest(s, CL_UUCP, (char *) NULL); | ^~~~ ~ deliver.h:165:7: note: declared here 165 | DEST *dest(); | ^~~~ addr.c:147:11: error: too many arguments to function 'copystr'; expected 0, have 1 147 | buf = copystr(s); | ^~~~~~~ ~ deliver.h:153:7: note: declared here 153 | char *copystr(); | ^~~~~~~ addr.c:164:15: error: too many arguments to function 'name_context'; expected 0, have 1 164 | if ((ct = name_context(user)) == NULL) | ^~~~~~~~~~~~ ~~~~ deliver.h:158:10: note: declared here 158 | CONTEXT *name_context(); | ^~~~~~~~~~~~ --- context.o --- *** [context.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/mail/deliver/work/deliver-2.1.14 --- addr.o --- addr.c:167:17: error: implicit declaration of function 'ok_context'; did you mean 'uid_context'? [-Wimplicit-function-declaration] 167 | legal = ok_context(dfile_ct->ct_uid, dfile_ct->ct_uid, | ^~~~~~~~~~ | uid_context addr.c:179:21: error: too many arguments to function 'dest'; expected 0, have 3 179 | d = legal ? dest(user, CL_PROG, param) : NULL; | ^~~~ ~~~~ deliver.h:165:7: note: declared here 165 | DEST *dest(); | ^~~~ addr.c:187:17: error: too many arguments to function 'dest'; expected 0, have 3 187 | d = dest(user, CL_USER, (char *) NULL); | ^~~~ ~~~~ deliver.h:165:7: note: declared here 165 | DEST *dest(); | ^~~~ addr.c:189:27: error: too many arguments to function 'copystr'; expected 0, have 1 189 | d->d_errmsg = copystr(param); | ^~~~~~~ ~~~~~ deliver.h:153:7: note: declared here 153 | char *copystr(); | ^~~~~~~ addr.c:223:25: error: too many arguments to function 'dest'; expected 0, have 3 223 | d = legal ? dest(user, CL_MBOX, param) : NULL; | ^~~~ ~~~~ deliver.h:165:7: note: declared here 165 | DEST *dest(); | ^~~~ addr.c:225:17: error: too many arguments to function 'dest'; expected 0, have 3 225 | d = dest(user, CL_USER, (char *) NULL); | ^~~~ ~~~~ deliver.h:165:7: note: declared here 165 | DEST *dest(); | ^~~~ *** [addr.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/mail/deliver/work/deliver-2.1.14 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/mail/deliver/work/deliver-2.1.14 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/deliver *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/deliver