=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/spiff", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for spiff-1.0nb2 --- spiff.o --- --- output.o --- cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DM_TERMCAP -DNOCHATTER -I/opt/pkg/include/ncurses -c output.c --- spiff.o --- cc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -DM_TERMCAP -DNOCHATTER -I/opt/pkg/include/ncurses -c spiff.c --- output.o --- output.c: In function '_O_st_init': output.c:64:17: error: too many arguments to function 'Z_complain'; expected 0, have 1 64 | Z_complain("can't find TERM entry in environment\n"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from output.c:29: misc.h:45:13: note: declared here 45 | extern void Z_complain(); | ^~~~~~~~~~ output.c:74:17: error: too many arguments to function 'Z_complain'; expected 0, have 1 74 | Z_complain("can't get TERMCAP info for terminal\n"); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.h:45:13: note: declared here 45 | extern void Z_complain(); | ^~~~~~~~~~ output.c: In function '_O_pchars': output.c:154:1: warning: old-style function definition [-Wold-style-definition] 154 | _O_pchars(line,start,end) | ^~~~~~~~~ output.c: At top level: output.c:177:1: error: return type defaults to 'int' [-Wimplicit-int] 177 | _O_con_line(numb,flags,filenum) | ^~~~~~~~~~~ output.c: In function '_O_con_line': output.c:177:1: warning: old-style function definition [-Wold-style-definition] output.c: In function '_O_convert': output.c:205:1: warning: old-style function definition [-Wold-style-definition] 205 | _O_convert(ptr) | ^~~~~~~~~~ output.c: In function '_O_get_text': output.c:232:1: warning: old-style function definition [-Wold-style-definition] 232 | _O_get_text(file,index,flags) | ^~~~~~~~~~~ output.c: In function '_O_do_lines': output.c:266:1: warning: old-style function definition [-Wold-style-definition] 266 | _O_do_lines(start,end,file) | ^~~~~~~~~~~ output.c: In function 'O_output': output.c:328:1: warning: old-style function definition [-Wold-style-definition] 328 | O_output(start,flags) | ^~~~~~~~ output.c:519:25: error: too many arguments to function 'Z_fatal'; expected 0, have 1 519 | Z_fatal("type in O_output wasn't set\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.h:46:13: note: declared here 46 | extern void Z_fatal(); | ^~~~~~~ --- spiff.o --- spiff.c: In function 'main': spiff.c:83:24: error: implicit declaration of function 'L_init_file' [-Wimplicit-function-declaration] 83 | (void) L_init_file(i,filename[i]); | ^~~~~~~~~~~ spiff.c:88:17: error: too many arguments to function 'P_file_parse'; expected 0, have 4 88 | P_file_parse(i,0,L_getrlmax(i),_Y_flags); | ^~~~~~~~~~~~ ~ In file included from spiff.c:18: parse.h:9:13: note: declared here 9 | extern void P_file_parse(); | ^~~~~~~~~~~~ spiff.c:93:24: error: implicit declaration of function 'V_visual' [-Wimplicit-function-declaration] 93 | return(V_visual(_Y_flags)); | ^~~~~~~~ spiff.c:111:28: error: too many arguments to function 'Q_do_exact'; expected 0, have 4 111 | edit_end = Q_do_exact(K_gettmax(0),K_gettmax(1), | ^~~~~~~~~~ In file included from spiff.c:25: exact.h:13:15: note: declared here 13 | extern E_edit Q_do_exact(); | ^~~~~~~~~~ spiff.c:116:28: error: too many arguments to function 'G_do_miller'; expected 0, have 4 116 | edit_end = G_do_miller(K_gettmax(0), K_gettmax(1), | ^~~~~~~~~~~ In file included from spiff.c:26: miller.h:13:15: note: declared here 13 | extern E_edit G_do_miller(); | ^~~~~~~~~~~ spiff.c:122:17: error: too many arguments to function 'O_output'; expected 0, have 2 122 | O_output(edit_end,_Y_flags); | ^~~~~~~~ ~~~~~~~~ In file included from spiff.c:28: output.h:12:13: note: declared here 12 | extern void O_output(); | ^~~~~~~~ spiff.c: In function '_Y_cmdlines': spiff.c:133:1: warning: old-style function definition [-Wold-style-definition] 133 | _Y_cmdlines(from) | ^~~~~~~~~~~ spiff.c:153:17: error: too many arguments to function 'C_addcmd'; expected 0, have 1 153 | C_addcmd(buf); | ^~~~~~~~ ~~~ In file included from spiff.c:23: command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ In file included from token.h:12, from spiff.c:21: spiff.c: In function '_Y_doargs': tol.h:57:25: error: too many arguments to function '_T_addtol'; expected 0, have 3 57 | #define T_defatol(x) _T_addtol(&_T_gtol,T_ABSOLUTE,x) | ^~~~~~~~~ ~~~~~~~~ spiff.c:212:33: note: in expansion of macro 'T_defatol' 212 | T_defatol(ptr); | ^~~~~~~~~ tol.h:51:13: note: declared here 51 | extern void _T_addtol(); | ^~~~~~~~~ tol.h:58:25: error: too many arguments to function '_T_addtol'; expected 0, have 3 58 | #define T_defrtol(x) _T_addtol(&_T_gtol,T_RELATIVE,x) | ^~~~~~~~~ ~~~~~~~~ spiff.c:216:33: note: in expansion of macro 'T_defrtol' 216 | T_defrtol(ptr); | ^~~~~~~~~ tol.h:51:13: note: declared here 51 | extern void _T_addtol(); | ^~~~~~~~~ tol.h:59:25: error: too many arguments to function '_T_addtol'; expected 0, have 3 59 | #define T_defitol() _T_addtol(&_T_gtol,T_IGNORE,(char*)NULL) | ^~~~~~~~~ ~~~~~~~~ spiff.c:219:33: note: in expansion of macro 'T_defitol' 219 | T_defitol(); | ^~~~~~~~~ tol.h:51:13: note: declared here 51 | extern void _T_addtol(); | ^~~~~~~~~ spiff.c:236:46: error: conflicting types for 'fopen'; have 'FILE *(void)' 236 | extern FILE *fopen(); | ^~~~~ In file included from /usr/include/stdio.h:83, from spiff.c:15: /usr/include/iso/stdio_iso.h:197:18: note: previous declaration of 'fopen' with type 'FILE *(const char * restrict, const char * restrict)' 197 | extern FILE *fopen(const char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD); | ^~~~~ spiff.c:241:52: error: too many arguments to function 'fopen'; expected 0, have 2 241 | (cmdfile = fopen(ptr,"r"))) | ^~~~~ ~~~ spiff.c:236:46: note: declared here 236 | extern FILE *fopen(); | ^~~~~ spiff.c:243:41: error: too many arguments to function 'Z_fatal'; expected 0, have 1 243 | Z_fatal("can't open command file\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from spiff.c:16: misc.h:46:13: note: declared here 46 | extern void Z_fatal(); | ^~~~~~~ spiff.c:248:41: error: too many arguments to function 'C_addcmd'; expected 0, have 1 248 | C_addcmd(buf); | ^~~~~~~~ ~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:258:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 258 | C_addcmd("literal \" \" \\ "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:259:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 259 | C_addcmd("comment /* */ "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:260:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 260 | C_addcmd("literal && "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:261:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 261 | C_addcmd("literal || "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:262:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 262 | C_addcmd("literal <= "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:263:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 263 | C_addcmd("literal >= "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:264:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 264 | C_addcmd("literal != "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:265:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 265 | C_addcmd("literal == "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:266:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 266 | C_addcmd("literal -- "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:267:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 267 | C_addcmd("literal ++ "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:268:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 268 | C_addcmd("literal << "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:269:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 269 | C_addcmd("literal >> "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:270:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 270 | C_addcmd("literal -> "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:271:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 271 | C_addcmd("addalpha _ "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:272:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 272 | C_addcmd("tol a0 "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:279:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 279 | C_addcmd("literal ' ' \\ "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:280:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 280 | C_addcmd("comment # $ "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:281:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 281 | C_addcmd("tol a0 "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:288:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 288 | C_addcmd("literal ' ' ' "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:289:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 289 | C_addcmd("comment ^C $ "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:290:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 290 | C_addcmd("tol a0 "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:297:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 297 | C_addcmd("literal \" \" "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:298:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 298 | C_addcmd("comment ; $ "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:299:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 299 | C_addcmd("tol a0 "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:306:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 306 | C_addcmd("literal ' ' "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:307:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 307 | C_addcmd("literal \" \" "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:308:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 308 | C_addcmd("comment (* *) "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:309:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 309 | C_addcmd("literal := "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:310:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 310 | C_addcmd("literal <> "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:311:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 311 | C_addcmd("literal <= "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:312:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 312 | C_addcmd("literal >= "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:313:33: error: too many arguments to function 'C_addcmd'; expected 0, have 1 313 | C_addcmd("tol a0 "); | ^~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ command.h:12:13: note: declared here 12 | extern void C_addcmd(); | ^~~~~~~~ spiff.c:328:33: error: too many arguments to function 'Z_fatal'; expected 0, have 1 328 | Z_fatal("don't understand arguments\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.h:46:13: note: declared here 46 | extern void Z_fatal(); | ^~~~~~~ spiff.c:334:17: error: too many arguments to function 'Z_fatal'; expected 0, have 1 334 | Z_fatal ("spiff requires two file names.\n"); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.h:46:13: note: declared here 46 | extern void Z_fatal(); | ^~~~~~~ --- output.o --- *** [output.o] Error code 1 bmake: stopped making "spiff" in /home/pbulk/work/devel/spiff/work/spiff-1.0 --- spiff.o --- *** [spiff.o] Error code 1 bmake: stopped making "spiff" in /home/pbulk/work/devel/spiff/work/spiff-1.0 bmake: 2 errors bmake: stopped making "spiff" in /home/pbulk/work/devel/spiff/work/spiff-1.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/spiff *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/spiff