=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/gif320", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for gif320-3.3 --- develop.o --- --- primary.o --- --- develop.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c develop.c --- primary.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c primary.c --- develop.o --- In file included from develop.c:23: gif320.h:32:14: error: 'bool' cannot be defined via 'typedef' 32 | typedef char bool; | ^~~~ gif320.h:32:14: note: 'bool' is a keyword with '-std=c23' onwards gif320.h:32:1: warning: useless type name in empty declaration 32 | typedef char bool; | ^~~~~~~ develop.c: In function 'develop': develop.c:50:5: warning: old-style function definition [-Wold-style-definition] 50 | int develop(grwidth, grheight, topLine) | ^~~~~~~ develop.c:76:5: error: too many arguments to function 'drawBox'; expected 0, have 4 76 | drawBox(topLine, 1, topLine + 3, 80); | ^~~~~~~ ~~~~~~~ develop.c:39:16: note: declared here 39 | drawLines(), drawBox(); | ^~~~~~~ develop.c:79:5: error: too many arguments to function 'drawLines'; expected 0, have 1 79 | drawLines(topLine); | ^~~~~~~~~ ~~~~~~~ develop.c:39:3: note: declared here 39 | drawLines(), drawBox(); | ^~~~~~~~~ develop.c:84:5: error: implicit declaration of function 'linedraw' [-Wimplicit-function-declaration] 84 | linedraw(stdout,TRUE); | ^~~~~~~~ develop.c:135:13: error: too many arguments to function 'plot'; expected 0, have 2 135 | plot (ditherFull + grcol, grrow); | ^~~~ ~~~~~~~~~~~~~~~~~~ develop.c:38:42: note: declared here 38 | extern void show_image(), clear_image(), plot(), drawMeters(), | ^~~~ develop.c:137:13: error: too many arguments to function 'plot'; expected 0, have 2 137 | plot (ditherHalf + grcol, grrow); | ^~~~ ~~~~~~~~~~~~~~~~~~ develop.c:38:42: note: declared here 38 | extern void show_image(), clear_image(), plot(), drawMeters(), | ^~~~ develop.c:140:11: error: implicit declaration of function 'pack' [-Wimplicit-function-declaration] 140 | if (pack(mgrrow, mgrcol)) { | ^~~~ develop.c:141:9: error: too many arguments to function 'drawMeters'; expected 0, have 3 141 | drawMeters(topLine, METER_PROG, METER_MAX); | ^~~~~~~~~~ ~~~~~~~ develop.c:38:50: note: declared here 38 | extern void show_image(), clear_image(), plot(), drawMeters(), | ^~~~~~~~~~ develop.c:147:7: error: too many arguments to function 'drawMeters'; expected 0, have 3 147 | drawMeters(topLine, METER_PROG, METER_CELLS); | ^~~~~~~~~~ ~~~~~~~ develop.c:38:50: note: declared here 38 | extern void show_image(), clear_image(), plot(), drawMeters(), | ^~~~~~~~~~ develop.c: In function 'check_black': develop.c:166:6: warning: old-style function definition [-Wold-style-definition] 166 | bool check_black(xpos, ypos) | ^~~~~~~~~~~ develop.c: In function 'check_white': develop.c:178:6: warning: old-style function definition [-Wold-style-definition] 178 | bool check_white(xpos, ypos) | ^~~~~~~~~~~ develop.c: In function 'pack': develop.c:210:5: warning: old-style function definition [-Wold-style-definition] 210 | int pack (ypos, xpos) | ^~~~ develop.c: In function 'initcolors': develop.c:321:6: warning: old-style function definition [-Wold-style-definition] 321 | void initcolors(ncolors) | ^~~~~~~~~~ develop.c: In function 'optimise': develop.c:339:6: warning: old-style function definition [-Wold-style-definition] 339 | void optimise(maxX, maxY) | ^~~~~~~~ develop.c:358:14: error: too many arguments to function 'msqrt'; expected 0, have 1 358 | minY = msqrt(chrs / rat); | ^~~~~ ~~~~~~~~~~ develop.c:351:25: note: declared here 351 | extern float Ratio, msqrt(); | ^~~~~ develop.c:396:7: error: implicit declaration of function 'optBoxes' [-Wimplicit-function-declaration] 396 | optBoxes(minX, minY, diffX, diffY, TRUE); | ^~~~~~~~ develop.c:414:3: error: too many arguments to function 'show_image'; expected 0, have 5 414 | show_image(stdout, lastX, lastY, curr_char, FALSE); | ^~~~~~~~~~ ~~~~~~ develop.c:38:13: note: declared here 38 | extern void show_image(), clear_image(), plot(), drawMeters(), | ^~~~~~~~~~ --- primary.o --- In file included from primary.c:26: gif320.h:32:14: error: 'bool' cannot be defined via 'typedef' 32 | typedef char bool; | ^~~~ gif320.h:32:14: note: 'bool' is a keyword with '-std=c23' onwards gif320.h:32:1: warning: useless type name in empty declaration 32 | typedef char bool; | ^~~~~~~ primary.c: In function 'usage': primary.c:63:3: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 63 | exit(1); | ^~~~ primary.c:27:1: note: include '' or provide a declaration of 'exit' 26 | #include "gif320.h" +++ |+#include 27 | primary.c:63:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 63 | exit(1); | ^~~~ primary.c:63:3: note: include '' or provide a declaration of 'exit' primary.c: In function 'fatal': primary.c:66:6: warning: old-style function definition [-Wold-style-definition] 66 | void fatal(s) | ^~~~~ primary.c:67:3: error: number of arguments doesn't match prototype 67 | char *s; { | ^~~~ primary.c:56:33: error: prototype declaration 56 | void commands_info(), domenu(), fatal(), show_header(), | ^~~~~ primary.c:68:3: error: too many arguments to function 'setup_vt'; expected 0, have 1 68 | setup_vt(stdout); | ^~~~~~~~ ~~~~~~ primary.c:49:29: note: declared here 49 | optimise(), show_image(), setup_vt(), change_colors(), drawBox(); | ^~~~~~~~ primary.c:69:3: error: implicit declaration of function 'trap_off' [-Wimplicit-function-declaration] 69 | trap_off(); | ^~~~~~~~ primary.c:71:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 71 | exit(-1); | ^~~~ primary.c:71:3: note: include '' or provide a declaration of 'exit' primary.c: In function 'die_messily': primary.c:75:3: error: too many arguments to function 'setup_vt'; expected 0, have 1 75 | setup_vt(stdout); | ^~~~~~~~ ~~~~~~ primary.c:49:29: note: declared here 49 | optimise(), show_image(), setup_vt(), change_colors(), drawBox(); | ^~~~~~~~ primary.c:78:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 78 | exit(2); | ^~~~ primary.c:78:3: note: include '' or provide a declaration of 'exit' primary.c: In function 'parse': primary.c:107:5: warning: old-style function definition [-Wold-style-definition] 107 | int parse(ArgLine) | ^~~~~ primary.c:109:1: error: number of arguments doesn't match prototype 109 | { | ^ primary.c:58:5: error: prototype declaration 58 | int parse(); | ^~~~~ primary.c: In function 'do_zoom_n_pan': primary.c:125:6: warning: old-style function definition [-Wold-style-definition] 125 | void do_zoom_n_pan(type, shift) | ^~~~~~~~~~~~~ primary.c: In function 'do_change_rgb': primary.c:177:6: warning: old-style function definition [-Wold-style-definition] 177 | void do_change_rgb(r, g, b) { | ^~~~~~~~~~~~~ primary.c:177:6: error: type of 'r' defaults to 'int' [-Wimplicit-int] primary.c:177:6: error: type of 'g' defaults to 'int' [-Wimplicit-int] primary.c:177:6: error: type of 'b' defaults to 'int' [-Wimplicit-int] primary.c: In function 'do_optimise': primary.c:200:6: warning: old-style function definition [-Wold-style-definition] 200 | void do_optimise(maxX, maxY) | ^~~~~~~~~~~ primary.c:206:3: error: too many arguments to function 'optimise'; expected 0, have 2 206 | optimise(maxX, maxY); | ^~~~~~~~ ~~~~ primary.c:49:3: note: declared here 49 | optimise(), show_image(), setup_vt(), change_colors(), drawBox(); | ^~~~~~~~ gif320.h:29:29: error: implicit declaration of function 'gets'; did you mean 'getw'? [-Wimplicit-function-declaration] 29 | #define my_gets(s) if (gets(s) == NULL) die_messily() | ^~~~ primary.c:211:3: note: in expansion of macro 'my_gets' 211 | my_gets(tmp); | ^~~~~~~ gif320.h:29:37: warning: comparison between pointer and integer 29 | #define my_gets(s) if (gets(s) == NULL) die_messily() | ^~ primary.c:211:3: note: in expansion of macro 'my_gets' 211 | my_gets(tmp); | ^~~~~~~ primary.c:218:5: error: too many arguments to function 'do_save_image'; expected 0, have 2 218 | do_save_image(tmp, FALSE); | ^~~~~~~~~~~~~ ~~~ primary.c:57:12: note: declared here 57 | usage(), do_save_image(); | ^~~~~~~~~~~~~ primary.c: In function 'do_save_image': primary.c:223:6: warning: old-style function definition [-Wold-style-definition] 223 | void do_save_image(raw_name, doublesize) | ^~~~~~~~~~~~~ primary.c:225:1: error: number of arguments doesn't match prototype 225 | bool doublesize; { | ^~~~ primary.c:57:12: error: prototype declaration 57 | usage(), do_save_image(); | ^~~~~~~~~~~~~ primary.c:229:22: error: too many arguments to function 'globtilde'; expected 0, have 1 229 | if ((cooked_name = globtilde(raw_name)) == NULL) | ^~~~~~~~~ ~~~~~~~~ primary.c:51:14: note: declared here 51 | extern char *globtilde(), *clean_rcs_keyword(); | ^~~~~~~~~ primary.c:234:5: error: too many arguments to function 'setup_vt'; expected 0, have 1 234 | setup_vt(outFile); | ^~~~~~~~ ~~~~~~~ primary.c:49:29: note: declared here 49 | optimise(), show_image(), setup_vt(), change_colors(), drawBox(); | ^~~~~~~~ primary.c:235:5: error: too many arguments to function 'show_image'; expected 0, have 5 235 | show_image(outFile, lastX, lastY, curr_char, doublesize); | ^~~~~~~~~~ ~~~~~~~ primary.c:49:15: note: declared here 49 | optimise(), show_image(), setup_vt(), change_colors(), drawBox(); | ^~~~~~~~~~ primary.c: In function 'develop_sketch': primary.c:247:12: error: implicit declaration of function 'develop' [-Wimplicit-function-declaration] 247 | (void) develop(240, 72, MESSAGE_AREA + 1); | ^~~~~~~ primary.c:254:5: error: too many arguments to function 'show_image'; expected 0, have 5 254 | show_image(stdout, 16, 6, curr_char, FALSE); | ^~~~~~~~~~ ~~~~~~ primary.c:49:15: note: declared here 49 | optimise(), show_image(), setup_vt(), change_colors(), drawBox(); | ^~~~~~~~~~ primary.c: In function 'redraw_screen': primary.c:264:5: error: too many arguments to function 'show_image'; expected 0, have 5 264 | show_image(stdout, 16, 6, curr_char, FALSE); | ^~~~~~~~~~ ~~~~~~ primary.c:49:15: note: declared here 49 | optimise(), show_image(), setup_vt(), change_colors(), drawBox(); | ^~~~~~~~~~ primary.c: In function 'domenu': gif320.h:29:37: warning: comparison between pointer and integer 29 | #define my_gets(s) if (gets(s) == NULL) die_messily() | ^~ primary.c:279:5: note: in expansion of macro 'my_gets' 279 | my_gets(ArgLine); | ^~~~~~~ primary.c:282:13: error: too many arguments to function 'parse'; expected 0, have 1 282 | nargs = parse(ArgLine); | ^~~~~ ~~~~~~~ primary.c:107:5: note: declared here 107 | int parse(ArgLine) | ^~~~~ primary.c:304:45: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 304 | do_zoom_n_pan(zoom_in, (nargs == 2) ? atoi(Args[1]) : 10); | ^~~~ primary.c:350:14: error: too many arguments to function 'getyn'; expected 0, have 1 350 | if (!getyn(FALSE)) | ^~~~~ primary.c:50:13: note: declared here 50 | extern bool getyn(); | ^~~~~ primary.c:360:14: error: too many arguments to function 'getyn'; expected 0, have 1 360 | if (!getyn(TRUE)) | ^~~~~ primary.c:50:13: note: declared here 50 | extern bool getyn(); | ^~~~~ primary.c:379:9: error: too many arguments to function 'do_save_image'; expected 0, have 2 379 | do_save_image(Args[1], FALSE); | ^~~~~~~~~~~~~ ~~~~~~~ primary.c:223:6: note: declared here 223 | void do_save_image(raw_name, doublesize) | ^~~~~~~~~~~~~ primary.c:391:9: error: too many arguments to function 'do_save_image'; expected 0, have 2 391 | do_save_image(Args[1], TRUE); | ^~~~~~~~~~~~~ ~~~~~~~ primary.c:223:6: note: declared here 223 | void do_save_image(raw_name, doublesize) | ^~~~~~~~~~~~~ primary.c:396:7: error: too many arguments to function 'clean_rcs_keyword'; expected 0, have 2 396 | clean_rcs_keyword(VERSION, ArgLine); | ^~~~~~~~~~~~~~~~~ primary.c:51:28: note: declared here 51 | extern char *globtilde(), *clean_rcs_keyword(); | ^~~~~~~~~~~~~~~~~ primary.c:398:7: error: too many arguments to function 'clean_rcs_keyword'; expected 0, have 2 398 | clean_rcs_keyword(LASTMOD, ArgLine); | ^~~~~~~~~~~~~~~~~ primary.c:51:28: note: declared here 51 | extern char *globtilde(), *clean_rcs_keyword(); | ^~~~~~~~~~~~~~~~~ primary.c:406:14: error: too many arguments to function 'getyn'; expected 0, have 1 406 | if (!getyn(TRUE)) | ^~~~~ primary.c:50:13: note: declared here 50 | extern bool getyn(); | ^~~~~ primary.c: In function 'show_header': primary.c:433:5: error: too many arguments to function 'clean_rcs_keyword'; expected 0, have 2 433 | clean_rcs_keyword(VERSION, tmp); | ^~~~~~~~~~~~~~~~~ primary.c:51:28: note: declared here 51 | extern char *globtilde(), *clean_rcs_keyword(); | ^~~~~~~~~~~~~~~~~ primary.c:471:13: error: implicit declaration of function 'estim_area' [-Wimplicit-function-declaration] 471 | projX = estim_area(curr_char); | ^~~~~~~~~~ primary.c:487:5: error: too many arguments to function 'drawBox'; expected 0, have 4 487 | drawBox(1, 31, 8, 48); | ^~~~~~~ ~ primary.c:49:58: note: declared here 49 | optimise(), show_image(), setup_vt(), change_colors(), drawBox(); | ^~~~~~~ primary.c:491:5: error: implicit declaration of function 'standout'; did you mean 'stdout'? [-Wimplicit-function-declaration] 491 | standout(stdout,TRUE); | ^~~~~~~~ | stdout primary.c:492:5: error: implicit declaration of function 'linedraw' [-Wimplicit-function-declaration] 492 | linedraw(stdout,TRUE); | ^~~~~~~~ --- develop.o --- *** [develop.o] Error code 1 bmake: stopped making "gif320" in /tmp/work/graphics/gif320/work/gif320 --- primary.o --- primary.c: At top level: primary.c:511:1: error: return type defaults to 'int' [-Wimplicit-int] 511 | main(argc, argv) | ^~~~ primary.c: In function 'main': primary.c:511:1: warning: old-style function definition [-Wold-style-definition] primary.c:524:9: error: implicit declaration of function 'trap_on' [-Wimplicit-function-declaration] 524 | trap_on(); | ^~~~~~~ primary.c:525:9: error: too many arguments to function 'readfile'; expected 0, have 1 525 | readfile(TRUE); | ^~~~~~~~ primary.c:48:13: note: declared here 48 | extern void readfile(), readscreen(), checksignature(), clear_image(), | ^~~~~~~~ primary.c:532:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 532 | exit(1); | ^~~~ primary.c:532:9: note: include '' or provide a declaration of 'exit' primary.c:540:7: error: too many arguments to function 'setup_vt'; expected 0, have 1 540 | setup_vt(stdout); | ^~~~~~~~ ~~~~~~ primary.c:49:29: note: declared here 49 | optimise(), show_image(), setup_vt(), change_colors(), drawBox(); | ^~~~~~~~ primary.c:544:7: error: too many arguments to function 'readfile'; expected 0, have 1 544 | readfile(FALSE); | ^~~~~~~~ primary.c:48:13: note: declared here 48 | extern void readfile(), readscreen(), checksignature(), clear_image(), | ^~~~~~~~ *** [primary.o] Error code 1 bmake: stopped making "gif320" in /tmp/work/graphics/gif320/work/gif320 bmake: 2 errors bmake: stopped making "gif320" in /tmp/work/graphics/gif320/work/gif320 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/gif320 *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/gif320