+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gif320-3.3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gif320-3.3/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for gif320-3.3 --- develop.o --- --- primary.o --- --- misc.o --- --- readgif.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 --- misc.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c misc.c --- readgif.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c readgif.c --- primary.o --- 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: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: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 'do_change_rgb': primary.c:177:6: error: type of 'r' defaults to 'int' [-Wimplicit-int] 177 | void do_change_rgb(r, g, b) { | ^~~~~~~~~~~~~ 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] In file included from primary.c:26: primary.c: In function 'do_optimise': 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: 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: 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: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: In function 'show_header': primary.c:471:13: error: implicit declaration of function 'estim_area' [-Wimplicit-function-declaration] 471 | projX = estim_area(curr_char); | ^~~~~~~~~~ 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); | ^~~~~~~~ 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': --- misc.o --- misc.c: In function 'globtilde': misc.c:52:10: warning: function returns address of local variable [-Wreturn-local-addr] 52 | return (fname); | ^ misc.c: In function 'getyn': misc.c:61:7: error: implicit declaration of function 'gets'; did you mean 'getw'? [-Wimplicit-function-declaration] 61 | if (gets(ArgLine) == NULL) { | ^~~~ | getw misc.c:61:21: warning: comparison between pointer and integer 61 | if (gets(ArgLine) == NULL) { | ^~ misc.c:64:5: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 64 | exit(0); | ^~~~ misc.c:29:1: note: include '' or provide a declaration of 'exit' 28 | #include "gif320.h" +++ |+#include 29 | misc.c:64:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 64 | exit(0); | ^~~~ misc.c:64:5: note: include '' or provide a declaration of 'exit' --- primary.o --- primary.c:524:9: error: implicit declaration of function 'trap_on' [-Wimplicit-function-declaration] 524 | trap_on(); | ^~~~~~~ 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' --- misc.o --- misc.c: In function 'clean_rcs_keyword': misc.c:118:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 118 | len = ((int) end) - ((int) start); | ^ misc.c:118:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 118 | len = ((int) end) - ((int) start); | ^ --- develop.o --- develop.c: In function 'develop': develop.c:84:5: error: implicit declaration of function 'linedraw' [-Wimplicit-function-declaration] 84 | linedraw(stdout,TRUE); | ^~~~~~~~ develop.c:140:11: error: implicit declaration of function 'pack' [-Wimplicit-function-declaration] 140 | if (pack(mgrrow, mgrcol)) { | ^~~~ develop.c: In function 'optimise': develop.c:396:7: error: implicit declaration of function 'optBoxes' [-Wimplicit-function-declaration] 396 | optBoxes(minX, minY, diffX, diffY, TRUE); | ^~~~~~~~ --- readgif.o --- readgif.c: In function 'process': readgif.c:74:12: error: type defaults to 'int' in declaration of 'code' [-Wimplicit-int] 74 | register code; | ^~~~ readgif.c:77:10: error: type defaults to 'int' in declaration of 'avail' [-Wimplicit-int] 77 | static avail, oldcode; | ^~~~~ readgif.c:77:17: error: type defaults to 'int' in declaration of 'oldcode' [-Wimplicit-int] 77 | static avail, oldcode; | ^~~~~~~ --- primary.o --- *** [primary.o] Error code 1 bmake: stopped making "gif320" in /home/pbulk/build/graphics/gif320/work/gif320 --- readgif.o --- readgif.c: In function 'read_image': readgif.c:158:30: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 158 | raster = (unsigned char *) malloc(width * height); | ^~~~~~ readgif.c:31:1: note: include '' or provide a declaration of 'malloc' 30 | #include "gif320.h" +++ |+#include 31 | readgif.c:158:30: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 158 | raster = (unsigned char *) malloc(width * height); | ^~~~~~ readgif.c:158:30: note: include '' or provide a declaration of 'malloc' --- misc.o --- *** [misc.o] Error code 1 bmake: stopped making "gif320" in /home/pbulk/build/graphics/gif320/work/gif320 --- readgif.o --- readgif.c: In function 'free_image': readgif.c:184:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 184 | free(i_leave); | ^~~~ readgif.c:184:5: note: include '' or provide a declaration of 'free' readgif.c:184:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] readgif.c:184:5: note: include '' or provide a declaration of 'free' readgif.c:186:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 186 | free(raster); | ^~~~ readgif.c:186:3: note: include '' or provide a declaration of 'free' readgif.c: In function 'readraster': readgif.c:209:28: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 209 | codetable = (codetype *) malloc(4096 * sizeof(codetype)); | ^~~~~~ readgif.c:209:28: note: include '' or provide a declaration of 'malloc' readgif.c:217:3: error: implicit declaration of function 'drawBox' [-Wimplicit-function-declaration] 217 | drawBox(19, 1, 21, 80); | ^~~~~~~ readgif.c:218:3: error: implicit declaration of function 'setupReadMeter' [-Wimplicit-function-declaration] 218 | setupReadMeter(19); | ^~~~~~~~~~~~~~ readgif.c:219:3: error: implicit declaration of function 'linedraw' [-Wimplicit-function-declaration] 219 | linedraw(stdout,TRUE); | ^~~~~~~~ readgif.c:221:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | Min = (int) raster; | ^ readgif.c:234:9: error: implicit declaration of function 'drawReadMeter' [-Wimplicit-function-declaration] 234 | drawReadMeter(19, METER_READ); | ^~~~~~~~~~~~~ readgif.c:202:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 202 | #define METER_READ ((METER_MAX * (((int) fill) - Min)) / Max) | ^ readgif.c:234:27: note: in expansion of macro 'METER_READ' 234 | drawReadMeter(19, METER_READ); | ^~~~~~~~~~ readgif.c:244:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 244 | free(codetable); | ^~~~ readgif.c:244:3: note: include '' or provide a declaration of 'free' --- develop.o --- *** [develop.o] Error code 1 bmake: stopped making "gif320" in /home/pbulk/build/graphics/gif320/work/gif320 --- readgif.o --- *** [readgif.o] Error code 1 bmake: stopped making "gif320" in /home/pbulk/build/graphics/gif320/work/gif320 bmake: 4 errors bmake: stopped making "gif320" in /home/pbulk/build/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