=> "/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 --- 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' --- medcut.o --- medcut.c: In function 'InitMinMax': --- makeh --- 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' --- medcut.o --- medcut.c:43:6: warning: old-style function definition [-Wold-style-definition] 43 | void InitMinMax(boxnum) | ^~~~~~~~~~ medcut.c: In function 'AddHash': medcut.c:55:19: warning: old-style function definition [-Wold-style-definition] 55 | struct color_rec *AddHash(red, green, blue) | ^~~~~~~ --- makeh --- 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: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 'AddColor': medcut.c:78:6: warning: old-style function definition [-Wold-style-definition] 78 | void AddColor(cptr, boxnum) | ^~~~~~~~ medcut.c: In function 'CountColors': medcut.c:107:6: warning: old-style function definition [-Wold-style-definition] 107 | void CountColors(data, colrs) | ^~~~~~~~~~~ medcut.c: In function 'FindTarget': medcut.c:144:5: warning: old-style function definition [-Wold-style-definition] 144 | int FindTarget(tptr) | ^~~~~~~~~~ medcut.c: In function 'SplitBox': medcut.c:180:6: warning: old-style function definition [-Wold-style-definition] 180 | void SplitBox(boxnum, color_indx) | ^~~~~~~~ medcut.c: In function 'SplitColors': medcut.c:261:6: warning: old-style function definition [-Wold-style-definition] 261 | void SplitColors(e_cnt) | ^~~~~~~~~~~ medcut.c: In function 'ConvertColor': medcut.c:299:6: warning: old-style function definition [-Wold-style-definition] 299 | void ConvertColor(rp, gp, bp) | ^~~~~~~~~~~~ medcut.c:301:1: error: number of arguments doesn't match prototype 301 | { | ^ In file included from medcut.c:2: medcut.h:8:13: error: prototype declaration 8 | extern void ConvertColor(); | ^~~~~~~~~~~~ medcut.c: In function 'ConvertData': medcut.c:344:6: warning: old-style function definition [-Wold-style-definition] 344 | void ConvertData(data, colrs) | ^~~~~~~~~~~ medcut.c: In function 'PrintColormap': medcut.c:375:6: warning: old-style function definition [-Wold-style-definition] 375 | void PrintColormap(e_cnt, colrs) | ^~~~~~~~~~~~~ medcut.c: In function 'MedianCut': medcut.c:410:6: warning: old-style function definition [-Wold-style-definition] 410 | void MedianCut(data, w, h, colrs, start_cnt, end_cnt) | ^~~~~~~~~ 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 'MedianCount': medcut.c:470:6: warning: old-style function definition [-Wold-style-definition] 470 | void MedianCount(data, w, h, colrs) | ^~~~~~~~~~~ medcut.c:474:1: error: number of arguments doesn't match prototype 474 | { | ^ medcut.h:6:13: error: prototype declaration 6 | extern void MedianCount(); | ^~~~~~~~~~~ medcut.c: In function 'MedianSplit': medcut.c:504:6: warning: old-style function definition [-Wold-style-definition] 504 | void MedianSplit(end_cnt) | ^~~~~~~~~~~ medcut.c:506:1: error: number of arguments doesn't match prototype 506 | { | ^ medcut.h:7:13: error: prototype declaration 7 | extern void MedianSplit(); | ^~~~~~~~~~~ medcut.c: In function 'MedianConvert': medcut.c:512:6: warning: old-style function definition [-Wold-style-definition] 512 | void MedianConvert(data, w, h, colrs) | ^~~~~~~~~~~~~ medcut.c: In function 'MedianMerge': medcut.c:523:6: warning: old-style function definition [-Wold-style-definition] 523 | void MedianMerge(colrs, end_cnt) | ^~~~~~~~~~~ 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] Error code 1 bmake: stopped making "all" in /home/pbulk/work/x11/xfishtank/work/xfishtank2.0 --- medcut.o --- *** [medcut.o] 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