=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/mail/safecat", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for safecat-1.13nb1 cat warn-auto.sh maildir.sh | sed s}HOME}"`head -1 conf-root`"}g > maildir chmod 755 maildir ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\'; ) > auto-ccld.sh cat auto-ccld.sh make-load.sh > make-load chmod 755 make-load cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype ./find-systype > systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load chmod 755 load cat auto-ccld.sh make-compile.sh > make-compile chmod 755 make-compile ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > compile chmod 755 compile ( ( ./compile tryulong32.c && ./load tryulong32 && ./tryulong32 ) >/dev/null 2>&1 && cat uint32.h2 || cat uint32.h1 ) > uint32.h rm -f tryulong32.o tryulong32 ./compile safecat.c In file included from safecat.c:16: safecat.c: In function 'die_nomem': strerr.h:76:1: error: too many arguments to function 'strerr_die'; expected 0, have 8 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^~~~~~~~~~ ~~~ safecat.c:37:20: note: in expansion of macro 'strerr_die2x' 37 | void die_nomem() { strerr_die2x(111,"safecat: fatal: ","out of memory"); } | ^~~~~~~~~~~~ strerr.h:18:13: note: declared here 18 | extern void strerr_die(); | ^~~~~~~~~~ safecat.c: In function 'main': strerr.h:76:1: error: too many arguments to function 'strerr_die'; expected 0, have 8 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^~~~~~~~~~ ~~~ safecat.c:53:5: note: in expansion of macro 'strerr_die2x' 53 | strerr_die2x(100, "safecat: usage: ","safecat "); | ^~~~~~~~~~~~ strerr.h:18:13: note: declared here 18 | extern void strerr_die(); | ^~~~~~~~~~ safecat.c:62:24: error: passing argument 2 of 'set_handler' from incompatible pointer type [-Wincompatible-pointer-types] 62 | set_handler(SIGALRM, alarm_handler); | ^~~~~~~~~~~~~ | | | void (*)(int) In file included from safecat.c:13: sig.h:4:34: note: expected 'void (*)(void)' but argument is of type 'void (*)(int)' 4 | void set_handler(int sig, void (*f)()); | ~~~~~~~^~~~ sig.h:5:6: note: 'alarm_handler' declared here 5 | void alarm_handler(int sig); | ^~~~~~~~~~~~~ safecat.c:72:10: error: too many arguments to function 'stralloc_cats'; expected 0, have 2 72 | if (!stralloc_cats(&outpath,tempdir)) die_nomem(); | ^~~~~~~~~~~~~ ~~~~~~~~ In file included from safecat.c:15: stralloc.h:13:12: note: declared here 13 | extern int stralloc_cats(); | ^~~~~~~~~~~~~ safecat.c:73:10: error: too many arguments to function 'stralloc_append'; expected 0, have 2 73 | if (!stralloc_append(&outpath, "/")) die_nomem(); | ^~~~~~~~~~~~~~~ ~~~~~~~~ stralloc.h:16:12: note: declared here 16 | extern int stralloc_append(); /* beware: this takes a pointer to 1 char */ | ^~~~~~~~~~~~~~~ safecat.c:74:10: error: too many arguments to function 'stralloc_cat'; expected 0, have 2 74 | if (!stralloc_cat(&outpath,&outfile)) die_nomem(); | ^~~~~~~~~~~~ ~~~~~~~~ stralloc.h:11:12: note: declared here 11 | extern int stralloc_cat(); | ^~~~~~~~~~~~ safecat.c:76:12: error: too many arguments to function 'stralloc_cats'; expected 0, have 2 76 | if (!stralloc_cats(&dstpath, destdir)) die_nomem(); | ^~~~~~~~~~~~~ ~~~~~~~~ stralloc.h:13:12: note: declared here 13 | extern int stralloc_cats(); | ^~~~~~~~~~~~~ safecat.c:77:12: error: too many arguments to function 'stralloc_append'; expected 0, have 2 77 | if (!stralloc_append(&dstpath, "/")) die_nomem(); | ^~~~~~~~~~~~~~~ ~~~~~~~~ stralloc.h:16:12: note: declared here 16 | extern int stralloc_append(); /* beware: this takes a pointer to 1 char */ | ^~~~~~~~~~~~~~~ safecat.c:78:12: error: too many arguments to function 'stralloc_cat'; expected 0, have 2 78 | if (!stralloc_cat(&dstpath,&outfile)) die_nomem(); | ^~~~~~~~~~~~ ~~~~~~~~ stralloc.h:11:12: note: declared here 11 | extern int stralloc_cat(); | ^~~~~~~~~~~~ safecat.c:80:12: error: too many arguments to function 'stralloc_cats'; expected 0, have 2 80 | if (!stralloc_cats(&tmppath, tempdir)) die_nomem(); | ^~~~~~~~~~~~~ ~~~~~~~~ stralloc.h:13:12: note: declared here 13 | extern int stralloc_cats(); | ^~~~~~~~~~~~~ safecat.c:81:12: error: too many arguments to function 'stralloc_append'; expected 0, have 2 81 | if (!stralloc_append(&tmppath, "/")) die_nomem(); | ^~~~~~~~~~~~~~~ ~~~~~~~~ stralloc.h:16:12: note: declared here 16 | extern int stralloc_append(); /* beware: this takes a pointer to 1 char */ | ^~~~~~~~~~~~~~~ safecat.c:82:12: error: too many arguments to function 'stralloc_cat'; expected 0, have 2 82 | if (!stralloc_cat(&tmppath,&outfile)) die_nomem(); | ^~~~~~~~~~~~ ~~~~~~~~ stralloc.h:11:12: note: declared here 11 | extern int stralloc_cat(); | ^~~~~~~~~~~~ strerr.h:76:1: error: too many arguments to function 'strerr_die'; expected 0, have 8 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^~~~~~~~~~ ~~~ safecat.c:88:7: note: in expansion of macro 'strerr_die2x' 88 | strerr_die2x(111, "safecat: fatal: ","could not stat temporary file"); | ^~~~~~~~~~~~ strerr.h:18:13: note: declared here 18 | extern void strerr_die(); | ^~~~~~~~~~ safecat.c:92:5: error: too many arguments to function 'stralloc_copys'; expected 0, have 2 92 | stralloc_copys(&outfile,""); | ^~~~~~~~~~~~~~ ~~~~~~~~ stralloc.h:12:12: note: declared here 12 | extern int stralloc_copys(); | ^~~~~~~~~~~~~~ safecat.c:93:5: error: too many arguments to function 'stralloc_copys'; expected 0, have 2 93 | stralloc_copys(&outpath,""); | ^~~~~~~~~~~~~~ ~~~~~~~~ stralloc.h:12:12: note: declared here 12 | extern int stralloc_copys(); | ^~~~~~~~~~~~~~ strerr.h:63:1: error: too many arguments to function 'strerr_die'; expected 0, have 8 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^~~~~~~~~~ ~~~ safecat.c:101:5: note: in expansion of macro 'strerr_die2sys' 101 | strerr_die2sys(111,"safecat: fatal: ","couldn't create output file: "); | ^~~~~~~~~~~~~~ strerr.h:18:13: note: declared here 18 | extern void strerr_die(); | ^~~~~~~~~~ strerr.h:63:1: error: too many arguments to function 'strerr_die'; expected 0, have 8 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^~~~~~~~~~ ~~~ safecat.c:110:5: note: in expansion of macro 'strerr_die2sys' 110 | strerr_die2sys(111,"safecat: fatal: ","can't fsync/close output file: "); | ^~~~~~~~~~~~~~ strerr.h:18:13: note: declared here 18 | extern void strerr_die(); | ^~~~~~~~~~ strerr.h:63:1: error: too many arguments to function 'strerr_die'; expected 0, have 8 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^~~~~~~~~~ ~~~ safecat.c:116:5: note: in expansion of macro 'strerr_die2sys' 116 | strerr_die2sys(111,"safecat: fatal: ","can't link output file: "); | ^~~~~~~~~~~~~~ strerr.h:18:13: note: declared here 18 | extern void strerr_die(); | ^~~~~~~~~~ safecat.c:124:3: error: too many arguments to function 'substdio_puts'; expected 0, have 2 124 | substdio_puts(subfdoutsmall,outfile.s); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~ In file included from subfd.h:4, from safecat.c:17: substdio.h:20:12: note: declared here 20 | extern int substdio_puts(); | ^~~~~~~~~~~~~ safecat.c:125:3: error: too many arguments to function 'substdio_puts'; expected 0, have 2 125 | substdio_puts(subfdoutsmall,"\n"); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~ substdio.h:20:12: note: declared here 20 | extern int substdio_puts(); | ^~~~~~~~~~~~~ safecat.c:126:3: error: too many arguments to function 'substdio_flush'; expected 0, have 1 126 | substdio_flush(subfdoutsmall); | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~ substdio.h:16:12: note: declared here 16 | extern int substdio_flush(); | ^~~~~~~~~~~~~~ *** Error code 1 Stop. bmake: stopped making "it install instcheck" in /tmp/work/mail/safecat/work/safecat-1.13 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/safecat *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/safecat