=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/print/mpage", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for mpage-2.5.7nb1 --- mpage.o --- --- glob.o --- --- text.o --- --- mpage.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O2 -s -DPAGE_DEF=\"A4\" -DLIBDIR=\"/opt/pkg/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -Wall -c mpage.c --- glob.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O2 -s -DPAGE_DEF=\"A4\" -DLIBDIR=\"/opt/pkg/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -Wall -c glob.c --- text.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -O2 -s -DPAGE_DEF=\"A4\" -DLIBDIR=\"/opt/pkg/share/mpage\" -DDEFAULT_ENCODING=1 -DDEFAULT_DUPLEX=0 -DDEFAULTSMARGIN=18 -DSPOOLER=BSD_SPOOLER -Wall -c text.c --- glob.o --- glob.c:391:6: error: conflicting types for 'usage'; have 'void(int)' 391 | void usage(int errcode) | ^~~~~ In file included from glob.c:28: mpage.h:348:6: note: previous declaration of 'usage' with type 'void(void)' 348 | void usage(); | ^~~~~ --- text.o --- text.c: In function 'do_text_doc': text.c:70:1: warning: old-style function definition [-Wold-style-definition] 70 | do_text_doc(fd, asheet, outfd, fname) | ^~~~~~~~~~~ text.c:75:1: error: number of arguments doesn't match prototype 75 | { | ^ In file included from text.c:28: mpage.h:369:6: error: prototype declaration 369 | void do_text_doc(); | ^~~~~~~~~~~ --- mpage.o --- mpage.c: In function 'main': mpage.c:45:1: warning: old-style function definition [-Wold-style-definition] 45 | main(argc, argv) | ^~~~ --- text.o --- text.c:91:5: error: too many arguments to function 'do_sheets'; expected 0, have 4 91 | do_sheets(do_text_sheet, fd, asheet, outfd ); | ^~~~~~~~~ ~~~~~~~~~~~~~ mpage.h:346:6: note: declared here 346 | void do_sheets(); | ^~~~~~~~~ text.c: In function 'do_text_sheet': text.c:103:1: warning: old-style function definition [-Wold-style-definition] 103 | do_text_sheet(fd, asheet, outfd) | ^~~~~~~~~~~~~ --- mpage.o --- mpage.c:75:9: error: too many arguments to function 'usage'; expected 0, have 1 75 | usage(currarg); | ^~~~~ ~~~~~~~ In file included from mpage.c:28: mpage.h:348:6: note: declared here 348 | void usage(); | ^~~~~ mpage.c:79:20: error: too many arguments to function 'do_args'; expected 0, have 3 79 | if ((currarg = do_args(argc, argv, 0)) < 0) { | ^~~~~~~ ~~~~ mpage.h:340:5: note: declared here 340 | int do_args(); | ^~~~~~~ mpage.c:80:9: error: too many arguments to function 'usage'; expected 0, have 1 80 | usage(currarg); | ^~~~~ ~~~~~~~ mpage.h:348:6: note: declared here 348 | void usage(); | ^~~~~ --- text.o --- text.c:131:9: error: too many arguments to function 'sheetheader'; expected 0, have 2 131 | sheetheader(outfd, file_name); | ^~~~~~~~~~~ ~~~~~ mpage.h:363:6: note: declared here 363 | void sheetheader(); | ^~~~~~~~~~~ text.c:136:9: error: too many arguments to function 'mp_outline'; expected 0, have 2 136 | mp_outline(outfd, asheet); | ^~~~~~~~~~ ~~~~~ mpage.h:364:6: note: declared here 364 | void mp_outline(); | ^~~~~~~~~~ text.c:157:23: error: too many arguments to function 'text_onepage'; expected 0, have 3 157 | rtn_val = text_onepage(fd, asheet, outfd); | ^~~~~~~~~~~~ ~~ text.c:59:12: note: declared here 59 | static int text_onepage(); | ^~~~~~~~~~~~ --- mpage.o --- mpage.c:155:9: error: too many arguments to function 'ps_title'; expected 0, have 2 155 | ps_title(argv[currarg], outfd); | ^~~~~~~~ ~~~~~~~~~~~~~ mpage.c:40:13: note: declared here 40 | static void ps_title(); | ^~~~~~~~ mpage.c:157:13: error: too many arguments to function 'do_file'; expected 0, have 3 157 | do_file(argv[currarg], thesheet, outfd); | ^~~~~~~ ~~~~~~~~~~~~~ mpage.h:343:6: note: declared here 343 | void do_file(); | ^~~~~~~ mpage.c:160:9: error: too many arguments to function 'ps_title'; expected 0, have 2 160 | ps_title("", outfd); | ^~~~~~~~ ~~~~~~~~~ mpage.c:40:13: note: declared here 40 | static void ps_title(); | ^~~~~~~~ mpage.c:161:9: error: too many arguments to function 'do_stdin'; expected 0, have 2 161 | do_stdin(thesheet, outfd); | ^~~~~~~~ ~~~~~~~~ mpage.h:345:6: note: declared here 345 | void do_stdin(); | ^~~~~~~~ mpage.c: In function 'ps_title': mpage.c:218:1: warning: old-style function definition [-Wold-style-definition] 218 | ps_title(name, outfd) | ^~~~~~~~ --- text.o --- text.c:255:19: error: too many arguments to function 'text_onepage'; expected 0, have 3 255 | rtn_val = text_onepage(fd, asheet, outfd); | ^~~~~~~~~~~~ ~~ text.c:59:12: note: declared here 59 | static int text_onepage(); | ^~~~~~~~~~~~ text.c: In function 'text_onepage': text.c:287:1: warning: old-style function definition [-Wold-style-definition] 287 | text_onepage(file, asheet, outfd) | ^~~~~~~~~~~~ text.c:322:16: error: too many arguments to function 'mp_get_text'; expected 0, have 3 322 | text = mp_get_text(file, &loc, asheet); | ^~~~~~~~~~~ ~~~~ text.c:60:14: note: declared here 60 | static char *mp_get_text(); | ^~~~~~~~~~~ text.c: In function 'mp_get_text': text.c:400:1: warning: old-style function definition [-Wold-style-definition] 400 | mp_get_text(infile, locp, asheet) | ^~~~~~~~~~~ --- glob.o --- *** [glob.o] Error code 1 bmake: stopped making "default" in /tmp/work/print/mpage/work/mpage-2.5.7 --- text.o --- *** [text.o] Error code 1 bmake: stopped making "default" in /tmp/work/print/mpage/work/mpage-2.5.7 --- mpage.o --- *** [mpage.o] Error code 1 bmake: stopped making "default" in /tmp/work/print/mpage/work/mpage-2.5.7 bmake: 3 errors bmake: stopped making "default" in /tmp/work/print/mpage/work/mpage-2.5.7 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/print/mpage *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/print/mpage