+ 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/xfishtank-2.2nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xfishtank-2.2nb1/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xfishtank-2.2nb1 --- makeh --- --- medcut.o --- --- read.o --- --- gifread.o --- --- makeh --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I./fishmaps -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o makeh makeh.c -lm -lsocket -lnsl --- medcut.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I./fishmaps -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c medcut.c --- read.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I./fishmaps -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c read.c --- gifread.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I. -I./fishmaps -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c gifread.c --- makeh --- makeh.c:4:1: error: return type defaults to 'int' [-Wimplicit-int] 4 | main() | ^~~~ makeh.c: In function 'main': makeh.c:16:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 16 | exit(1); | ^~~~ makeh.c:3:1: note: include '' or provide a declaration of 'exit' 2 | #include +++ |+#include 3 | makeh.c:16:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 16 | exit(1); | ^~~~ makeh.c:16:17: note: include '' or provide a declaration of 'exit' makeh.c:23:29: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 23 | fishlist = (char **)malloc(numfish * sizeof(char *)); | ^~~~~~ makeh.c:23:29: note: include '' or provide a declaration of 'malloc' --- medcut.o --- medcut.c: In function 'AddHash': medcut.c:61:40: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 61 | hash_ptr = (struct color_rec *)malloc(sizeof(struct color_rec)); | ^~~~~~ medcut.c:3:1: note: include '' or provide a declaration of 'malloc' 2 | #include "medcut.h" +++ |+#include 3 | medcut.c:61:40: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 61 | hash_ptr = (struct color_rec *)malloc(sizeof(struct color_rec)); | ^~~~~~ medcut.c:61:40: note: include '' or provide a declaration of 'malloc' medcut.c:65:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 65 | exit(1); | ^~~~ medcut.c:65:17: note: include '' or provide a declaration of 'exit' --- makeh --- makeh.c:23:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] makeh.c:23:29: note: include '' or provide a declaration of 'malloc' makeh.c:28:46: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 28 | fishlist[i] = (char *)malloc(strlen(prefix) + 1); | ^~~~~~ makeh.c:3:1: note: include '' or provide a declaration of 'strlen' 2 | #include +++ |+#include 3 | makeh.c:28:46: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 28 | fishlist[i] = (char *)malloc(strlen(prefix) + 1); | ^~~~~~ makeh.c:28:46: note: include '' or provide a declaration of 'strlen' makeh.c:29:17: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] --- medcut.o --- medcut.c:65:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] medcut.c:65:17: note: include '' or provide a declaration of 'exit' medcut.c: In function 'MedianCut': medcut.c:441:25: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 441 | free((char *)tptr); | ^~~~ medcut.c:441:25: note: include '' or provide a declaration of 'free' medcut.c:441:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] medcut.c:441:25: note: include '' or provide a declaration of 'free' medcut.c: In function 'MedianMerge': medcut.c:537:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 537 | free((char *)tptr); | ^~~~ --- makeh --- 29 | strcpy(fishlist[i], prefix); | ^~~~~~ makeh.c:29:17: note: include '' or provide a declaration of 'strcpy' makeh.c:29:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] makeh.c:29:17: note: include '' or provide a declaration of 'strcpy' makeh.c:101:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 101 | exit(0); | ^~~~ makeh.c:101:9: note: include '' or provide a declaration of 'exit' --- medcut.o --- medcut.c:537:25: note: include '' or provide a declaration of 'free' *** [medcut.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/xfishtank/work/xfishtank2.0 --- makeh --- *** [makeh] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/xfishtank/work/xfishtank2.0 --- read.o --- read.c:29:1: error: return type defaults to 'int' [-Wimplicit-int] 29 | dscan(fp, ip) | ^~~~~ read.c: In function 'dscan': read.c:50:16: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 50 | exit (-1); | ^~~~ read.c:5:1: note: include '' or provide a declaration of 'exit' 4 | #include "medcut.h" +++ |+#include 5 | read.c:50:16: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 50 | exit (-1); | ^~~~ read.c:50:16: note: include '' or provide a declaration of 'exit' read.c:79:16: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 79 | exit (-1); | ^~~~ read.c:79:16: note: include '' or provide a declaration of 'exit' read.c: In function 'ReadXpmPixmap': --- gifread.o --- gifread.c: In function 'ReadGifBitmap': gifread.c:137:29: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 137 | ptr = (unsigned char *) malloc(strlen(id) + 1); | ^~~~~~ gifread.c:61:1: note: include '' or provide a declaration of 'malloc' 60 | #include +++ |+#include 61 | #else /* SYSV */ gifread.c:137:29: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 137 | ptr = (unsigned char *) malloc(strlen(id) + 1); | ^~~~~~ gifread.c:137:29: note: include '' or provide a declaration of 'malloc' gifread.c:141:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 141 | free(ptr); | ^~~~ gifread.c:141:9: note: include '' or provide a declaration of 'free' --- read.o --- read.c:123:31: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 123 | Color_Vals = (char **)malloc(sizeof(char *) * Colors); | ^~~~~~ read.c:123:31: note: include '' or provide a declaration of 'malloc' read.c:123:31: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] read.c:123:31: note: include '' or provide a declaration of 'malloc' --- gifread.o --- gifread.c:141:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] gifread.c:141:9: note: include '' or provide a declaration of 'free' gifread.c:144:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 144 | free(ptr); | ^~~~ gifread.c:144:5: note: include '' or provide a declaration of 'free' gifread.c:278:12: error: implicit declaration of function 'ReadCode' [-Wimplicit-function-declaration] 278 | Code = ReadCode(); | ^~~~~~~~ --- read.o --- read.c:190:42: error: implicit declaration of function 'rindex' [-Wimplicit-function-declaration] 190 | if ((t = (char *)rindex(name_and_type, '_')) == NULL) | ^~~~~~ read.c:190:42: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] read.c:198:43: error: implicit declaration of function 'index' [-Wimplicit-function-declaration] 198 | if ((t2 = (char *)index(name_and_type, '[')) != NULL) | ^~~~~ read.c:198:43: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] read.c:202:30: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 202 | if (!strcmp("pixels", t)) | ^~~~~~ read.c:5:1: note: include '' or provide a declaration of 'strcmp' 4 | #include "medcut.h" --- gifread.o --- gifread.c:292:13: error: implicit declaration of function 'AddToPixel' [-Wimplicit-function-declaration] 292 | AddToPixel(FinChar); | ^~~~~~~~~~ gifread.c: At top level: gifread.c:398:1: error: return type defaults to 'int' [-Wimplicit-int] 398 | ReadCode() | ^~~~~~~~ --- read.o --- +++ |+#include 5 | read.c:256:37: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 256 | if (strncmp(Color_Vals[k], line, CharsPP) == 0) | ^~~~~~~ read.c:256:37: note: include '' or provide a declaration of 'strncmp' read.c:256:66: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 256 | if (strncmp(Color_Vals[k], line, CharsPP) == 0) | ^~~~~~~ : note: built-in 'strncmp' declared here read.c:279:17: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 279 | free((char *)Color_Vals[i]); | ^~~~ read.c:279:17: note: include '' or provide a declaration of 'free' read.c:279:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] read.c:279:17: note: include '' or provide a declaration of 'free' read.c:281:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 281 | free((char *)Color_Vals); | ^~~~ read.c:281:9: note: include '' or provide a declaration of 'free' read.c: In function 'ReadXbmBitmap': read.c:310:21: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 310 | if (strlen(line) == (MAX_LINE - 1)) | ^~~~~~ read.c:310:21: note: include '' or provide a declaration of 'strlen' --- gifread.o --- gifread.c:412:1: error: return type defaults to 'int' [-Wimplicit-int] 412 | AddToPixel(Index) | ^~~~~~~~~~ --- read.o --- read.c:310:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] read.c:310:21: note: include '' or provide a declaration of 'strlen' read.c:317:43: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] 317 | if (!(t = (char *)rindex(name_and_type, '_'))) | ^~~~~~ read.c:339:43: warning: incompatible implicit declaration of built-in function 'rindex' [-Wbuiltin-declaration-mismatch] 339 | if (!(t = (char *)rindex(name_and_type, '_'))) | ^~~~~~ read.c:343:43: warning: incompatible implicit declaration of built-in function 'index' [-Wbuiltin-declaration-mismatch] 343 | if ((t2 = (char *)index(name_and_type, '[')) != NULL) | ^~~~~ read.c:380:34: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 380 | dataP = (unsigned char *)malloc((*w) * (*h)); | ^~~~~~ read.c:380:34: note: include '' or provide a declaration of 'malloc' read.c: In function 'ReadEbmBitmap': read.c:522:45: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 522 | bit_data = (unsigned char *)malloc(bmap_size); | ^~~~~~ read.c:522:45: note: include '' or provide a declaration of 'malloc' read.c: In function 'ReadCompactEbmBitmap': read.c:632:45: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 632 | bit_data = (unsigned char *)malloc(bmap_size); | ^~~~~~ read.c:632:45: note: include '' or provide a declaration of 'malloc' *** [read.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/xfishtank/work/xfishtank2.0 --- gifread.o --- *** [gifread.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/xfishtank/work/xfishtank2.0 bmake: 4 errors bmake: stopped making "all" in /home/pbulk/build/x11/xfishtank/work/xfishtank2.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xfishtank *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xfishtank