=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/fbm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] 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 -Wno-implicit-function-declaration -Wno-implicit-int -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c flalfb.c --- flblue.o --- gcc -Wno-implicit-function-declaration -Wno-implicit-int -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c flblue.c --- flbyte.o --- gcc -Wno-implicit-function-declaration -Wno-implicit-int -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c flbyte.c --- flcavg.o --- gcc -Wno-implicit-function-declaration -Wno-implicit-int -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c flcavg.c --- flbyte.o --- In file included from flbyte.c:41: fbm.h:113:7: warning: conflicting types for built-in function 'strcpy'; expected 'char *(char *, const char *)' [-Wbuiltin-declaration-mismatch] 113 | char *strcpy(); | ^~~~~~ fbm.h:1:1: note: 'strcpy' is declared in header '' +++ |+#include 1 | /***************************************************************** fbm.h:114:7: warning: conflicting types for built-in function 'strncpy'; expected 'char *(char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 114 | char *strncpy(); | ^~~~~~~ fbm.h:114:7: note: 'strncpy' is declared in header '' 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: In function 'get_long': flbyte.c:54:1: warning: old-style function definition [-Wold-style-definition] 54 | get_long (file, order) | ^~~~~~~~ flbyte.c:57:1: error: number of arguments doesn't match prototype 57 | { register long word; | ^ fbm.h:120:15: error: prototype declaration 120 | long time (), get_long (); | ^~~~~~~~ --- flalfb.o --- In file included from flalfb.c:34: fbm.h:112:8: error: conflicting types for 'atof'; have 'double(void)' 112 | double atof (); | ^~~~ In file included from /usr/include/math.h:266, from flalfb.c:32: /usr/include/floatingpoint.h:188:15: note: previous declaration of 'atof' with type 'double(const char *)' 188 | extern double atof(const char *); | ^~~~ fbm.h:113:7: warning: conflicting types for built-in function 'strcpy'; expected 'char *(char *, const char *)' [-Wbuiltin-declaration-mismatch] 113 | char *strcpy(); | ^~~~~~ fbm.h:1:1: note: 'strcpy' is declared in header '' +++ |+#include 1 | /***************************************************************** fbm.h:114:7: warning: conflicting types for built-in function 'strncpy'; expected 'char *(char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 114 | char *strncpy(); | ^~~~~~~ fbm.h:114:7: note: 'strncpy' is declared in header '' 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.o --- flbyte.c: In function 'put_long': flbyte.c:79:1: warning: old-style function definition [-Wold-style-definition] 79 | put_long (word, file, order) | ^~~~~~~~ --- flalfb.o --- flalfb.c: In function 'alloc_fbm': flalfb.c:47:1: warning: old-style function definition [-Wold-style-definition] 47 | alloc_fbm (image) | ^~~~~~~~~ --- flbyte.o --- flbyte.c: In function 'get_short': flbyte.c:102:1: warning: old-style function definition [-Wold-style-definition] 102 | get_short (file, order) | ^~~~~~~~~ flbyte.c:105:1: error: number of arguments doesn't match prototype 105 | { register int word; | ^ fbm.h:121:5: error: prototype declaration 121 | int get_short (); | ^~~~~~~~~ --- flblue.o --- In file included from flblue.c:36: fbm.h:112:8: error: conflicting types for 'atof'; have 'double(void)' 112 | double atof (); | ^~~~ --- flbyte.o --- flbyte.c: In function 'put_short': flbyte.c:123:1: warning: old-style function definition [-Wold-style-definition] 123 | put_short (word, file, order) | ^~~~~~~~~ --- flblue.o --- In file included from /usr/include/math.h:266, from flblue.c:34: /usr/include/floatingpoint.h:188:15: note: previous declaration of 'atof' with type 'double(const char *)' 188 | extern double atof(const char *); | ^~~~ fbm.h:113:7: warning: conflicting types for built-in function 'strcpy'; expected 'char *(char *, const char *)' [-Wbuiltin-declaration-mismatch] 113 | char *strcpy(); | ^~~~~~ fbm.h:1:1: note: 'strcpy' is declared in header '' +++ |+#include 1 | /***************************************************************** fbm.h:114:7: warning: conflicting types for built-in function 'strncpy'; expected 'char *(char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 114 | char *strncpy(); | ^~~~~~~ fbm.h:114:7: note: 'strncpy' is declared in header '' 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.o --- flalfb.c:57:40: error: too many arguments to function 'malloc'; expected 0, have 1 57 | if (! (image->bm = (unsigned char *) malloc (bmsize)) || | ^~~~~~ ~~~~~~ fbm.h:117:7: note: declared here 117 | char *malloc(); | ^~~~~~ --- flblue.o --- flblue.c: In function 'bluenoise_fbm': flblue.c:57:1: warning: old-style function definition [-Wold-style-definition] 57 | bluenoise_fbm (input, output, noiselevel) | ^~~~~~~~~~~~~ --- flalfb.o --- flalfb.c:58:51: error: too many arguments to function 'malloc'; expected 0, have 1 58 | (cmsize && ! (image->cm = (unsigned char *) malloc (cmsize)))) | ^~~~~~ ~~~~~~ fbm.h:117:7: note: declared here 117 | char *malloc(); | ^~~~~~ flalfb.c:59:27: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 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: In function 'free_fbm': flalfb.c:68:1: warning: old-style function definition [-Wold-style-definition] 68 | free_fbm (image) | ^~~~~~~~ flalfb.c:72:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 72 | { free ((char *) image->bm); image->bm = (unsigned char *) NULL; } | ^~~~ 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' --- flblue.o --- flblue.c:88:18: error: too many arguments to function 'malloc'; expected 0, have 1 88 | eerr = (int *) malloc ((unsigned) w * sizeof (*eerr)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fbm.h:117:7: note: declared here 117 | char *malloc(); | ^~~~~~ flblue.c:89:18: error: too many arguments to function 'malloc'; expected 0, have 1 89 | oerr = (int *) malloc ((unsigned) w * sizeof (*oerr)); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fbm.h:117:7: note: declared here 117 | char *malloc(); | ^~~~~~ --- flcavg.o --- In file included from flcavg.c:36: fbm.h:112:8: error: conflicting types for 'atof'; have 'double(void)' 112 | double atof (); | ^~~~ In file included from /usr/include/math.h:266, from flcavg.c:34: /usr/include/floatingpoint.h:188:15: note: previous declaration of 'atof' with type 'double(const char *)' 188 | extern double atof(const char *); | ^~~~ fbm.h:113:7: warning: conflicting types for built-in function 'strcpy'; expected 'char *(char *, const char *)' [-Wbuiltin-declaration-mismatch] 113 | char *strcpy(); | ^~~~~~ fbm.h:1:1: note: 'strcpy' is declared in header '' +++ |+#include 1 | /***************************************************************** fbm.h:114:7: warning: conflicting types for built-in function 'strncpy'; expected 'char *(char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 114 | char *strncpy(); | ^~~~~~~ fbm.h:114:7: note: 'strncpy' is declared in header '' 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: In function 'constravg_fbm': flcavg.c:51:1: warning: old-style function definition [-Wold-style-definition] 51 | constravg_fbm (input, output, gamma) | ^~~~~~~~~~~~~ --- flalfb.o --- *** [flalfb.o] Error code 1 bmake: stopped making "all" in /tmp/work/graphics/fbm/work --- flbyte.o --- *** [flbyte.o] Error code 1 bmake: stopped making "all" in /tmp/work/graphics/fbm/work --- flblue.o --- *** [flblue.o] Error code 1 bmake: stopped making "all" in /tmp/work/graphics/fbm/work --- flcavg.o --- *** [flcavg.o] Error code 1 bmake: stopped making "all" in /tmp/work/graphics/fbm/work bmake: 4 errors bmake: stopped making "all" in /tmp/work/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