=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xfishtank", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xfishtank-2.2nb1 --- makeh --- --- medcut.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 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' 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); | ^~~~ medcut.c:537:25: note: include '' or provide a declaration of 'free' --- 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' 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] 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.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/x11/xfishtank/work/xfishtank2.0 --- makeh --- *** [makeh] Error code 1 bmake: stopped making "all" in /home/pbulk/work/x11/xfishtank/work/xfishtank2.0 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/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