+ 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/fbm-1.2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/fbm-1.2/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for fbm-1.2 --- flalfb.o --- --- flblue.o --- --- flbyte.o --- --- flcavg.o --- --- flalfb.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c flalfb.c --- flblue.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c flblue.c --- flbyte.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c flbyte.c --- flcavg.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c flcavg.c --- flalfb.o --- In file included from flalfb.c:34: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 117 | char *malloc(); | ^~~~~~ fbm.h:1:1: note: 'malloc' is declared in header '' +++ |+#include 1 | /***************************************************************** flalfb.c:47:1: error: return type defaults to 'int' [-Wimplicit-int] 47 | alloc_fbm (image) | ^~~~~~~~~ flalfb.c: In function 'alloc_fbm': flalfb.c:51:9: error: implicit declaration of function 'free_fbm' [-Wimplicit-function-declaration] 51 | if (! free_fbm (image)) return (0); | ^~~~~~~~ flalfb.c:59:27: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 59 | { perror ("alloc_fbm"); exit (1); } | ^~~~ flalfb.c:35:1: note: include '' or provide a declaration of 'exit' 34 | # include "fbm.h" +++ |+#include 35 | flalfb.c:59:27: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 59 | { perror ("alloc_fbm"); exit (1); } | ^~~~ flalfb.c:59:27: note: include '' or provide a declaration of 'exit' flalfb.c: At top level: flalfb.c:68:1: error: return type defaults to 'int' [-Wimplicit-int] 68 | free_fbm (image) | ^~~~~~~~ flalfb.c: In function 'free_fbm': flalfb.c:72:5: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 72 | { free ((char *) image->bm); image->bm = (unsigned char *) NULL; } | ^~~~ flalfb.c:72:5: note: include '' or provide a declaration of 'free' flalfb.c:72:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] flalfb.c:72:5: note: include '' or provide a declaration of 'free' flalfb.c:75:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 75 | { free ((char *) image->cm); image->cm = (unsigned char *) NULL; } | ^~~~ flalfb.c:75:5: note: include '' or provide a declaration of 'free' *** [flalfb.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/graphics/fbm/work --- flcavg.o --- In file included from flcavg.c:36: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 117 | char *malloc(); | ^~~~~~ fbm.h:1:1: note: 'malloc' is declared in header '' +++ |+#include 1 | /***************************************************************** flcavg.c:51:1: error: return type defaults to 'int' [-Wimplicit-int] 51 | constravg_fbm (input, output, gamma) | ^~~~~~~~~~~~~ flcavg.c: In function 'constravg_fbm': flcavg.c:72:3: error: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] 72 | alloc_fbm (output); | ^~~~~~~~~ --- flblue.o --- In file included from flblue.c:36: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 117 | char *malloc(); | ^~~~~~ fbm.h:1:1: note: 'malloc' is declared in header '' +++ |+#include 1 | /***************************************************************** flblue.c:57:1: error: return type defaults to 'int' [-Wimplicit-int] 57 | bluenoise_fbm (input, output, noiselevel) | ^~~~~~~~~~~~~ flblue.c: In function 'bluenoise_fbm': flblue.c:74:3: error: implicit declaration of function 'free_fbm' [-Wimplicit-function-declaration] 74 | free_fbm (output); | ^~~~~~~~ flblue.c:81:3: error: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] 81 | alloc_fbm (output); | ^~~~~~~~~ --- flbyte.o --- In file included from flbyte.c:41: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 117 | char *malloc(); | ^~~~~~ fbm.h:1:1: note: 'malloc' is declared in header '' +++ |+#include 1 | /***************************************************************** flbyte.c:79:1: error: return type defaults to 'int' [-Wimplicit-int] 79 | put_long (word, file, order) | ^~~~~~~~ flbyte.c:102:1: error: return type defaults to 'int' [-Wimplicit-int] 102 | get_short (file, order) | ^~~~~~~~~ flbyte.c:123:1: error: return type defaults to 'int' [-Wimplicit-int] 123 | put_short (word, file, order) | ^~~~~~~~~ flbyte.c:142:1: error: return type defaults to 'int' [-Wimplicit-int] 142 | machine_byte_order () | ^~~~~~~~~~~~~~~~~~ --- flcavg.o --- *** [flcavg.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/graphics/fbm/work --- flblue.o --- *** [flblue.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/graphics/fbm/work --- flbyte.o --- *** [flbyte.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/graphics/fbm/work bmake: 4 errors bmake: stopped making "all" in /home/pbulk/build/graphics/fbm/work *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/fbm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/fbm