=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/freeze", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for freeze-2.5nb3 --- bitio.o --- --- debug.o --- --- bitio.o --- gcc -O -c -DCOMPAT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -DDEFFILE=\"/opt/pkg/lib/freeze.cnf\" bitio.c --- debug.o --- gcc -O -c -DCOMPAT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -DDEFFILE=\"/opt/pkg/lib/freeze.cnf\" debug.c --- decode.o --- --- default.o --- --- decode.o --- gcc -O -c -DCOMPAT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -DDEFFILE=\"/opt/pkg/lib/freeze.cnf\" decode.c --- default.o --- gcc -O -c -DCOMPAT=1 -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I. -DDEFFILE=\"/opt/pkg/lib/freeze.cnf\" default.c --- decode.o --- In file included from decode.c:1: freeze.h:176:14: warning: conflicting types for built-in function 'strchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] 176 | extern char *strchr(), *strrchr(); | ^~~~~~ freeze.h:149:1: note: 'strchr' is declared in header '' 148 | #include "compat.h" +++ |+#include 149 | #endif freeze.h:176:25: warning: conflicting types for built-in function 'strrchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] 176 | extern char *strchr(), *strrchr(); | ^~~~~~~ freeze.h:176:25: note: 'strrchr' is declared in header '' decode.c: In function 'melt2': decode.c:14:12: error: implicit declaration of function 'read_header'; did you mean 'write_header'? [-Wimplicit-function-declaration] 14 | if(read_header() == EOF) | ^~~~~~~~~~~ | write_header decode.c:16:9: error: too many arguments to function 'StartHuff'; expected 0, have 1 16 | StartHuff(N_CHAR2); | ^~~~~~~~~ In file included from decode.c:2: huf.h:1:13: note: declared here 1 | extern void StartHuff(), init(), write_header(), EncodeChar(), crpt_message(); | ^~~~~~~~~ decode.c:17:9: error: too many arguments to function 'init'; expected 0, have 1 17 | init(Table2); | ^~~~ ~~~~~~ huf.h:1:26: note: declared here 1 | extern void StartHuff(), init(), write_header(), EncodeChar(), crpt_message(); | ^~~~ decode.c: In function 'melt1': decode.c:91:9: error: too many arguments to function 'StartHuff'; expected 0, have 1 91 | StartHuff(N_CHAR1); | ^~~~~~~~~ huf.h:1:13: note: declared here 1 | extern void StartHuff(), init(), write_header(), EncodeChar(), crpt_message(); | ^~~~~~~~~ decode.c:92:9: error: too many arguments to function 'init'; expected 0, have 1 92 | init(Table1); | ^~~~ ~~~~~~ huf.h:1:26: note: declared here 1 | extern void StartHuff(), init(), write_header(), EncodeChar(), crpt_message(); | ^~~~ --- default.o --- In file included from default.c:1: freeze.h:176:14: warning: conflicting types for built-in function 'strchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] 176 | extern char *strchr(), *strrchr(); | ^~~~~~ freeze.h:149:1: note: 'strchr' is declared in header '' 148 | #include "compat.h" +++ |+#include 149 | #endif freeze.h:176:25: warning: conflicting types for built-in function 'strrchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] 176 | extern char *strchr(), *strrchr(); | ^~~~~~~ freeze.h:176:25: note: 'strrchr' is declared in header '' default.c: In function 'defopen': default.c:16:9: warning: old-style function definition [-Wold-style-definition] 16 | int defopen(fname) /* open | reopen | close defaults file */ | ^~~~~~~ default.c: In function 'defread': default.c:37:10: warning: old-style function definition [-Wold-style-definition] 37 | char *defread(pattern) | ^~~~~~~ default.c:40:25: error: type defaults to 'int' in declaration of 'sz_patt' [-Wimplicit-int] 40 | register sz_patt; | ^~~~~~~ default.c:47:19: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 47 | sz_patt = strlen(pattern); | ^~~~~~ default.c:3:1: note: include '' or provide a declaration of 'strlen' 2 | #include +++ |+#include 3 | default.c:47:19: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 47 | sz_patt = strlen(pattern); | ^~~~~~ default.c:47:19: note: include '' or provide a declaration of 'strlen' default.c:50:28: error: too many arguments to function 'strchr'; expected 0, have 2 50 | if (!(cp = strchr(defline, '\n'))) | ^~~~~~ ~~~~~~~ default.c:13:18: note: declared here 13 | char *strchr(); | ^~~~~~ default.c:55:22: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 55 | if (!strncmp(pattern, defline, sz_patt)) | ^~~~~~~ default.c:55:22: note: include '' or provide a declaration of 'strncmp' default.c:55:48: 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] 55 | if (!strncmp(pattern, defline, sz_patt)) | ^~~~~~~ : note: built-in 'strncmp' declared here *** [default.o] Error code 1 bmake: stopped making "prog" in /tmp/work/archivers/freeze/work/freeze-2.5 --- decode.o --- *** [decode.o] Error code 1 bmake: stopped making "prog" in /tmp/work/archivers/freeze/work/freeze-2.5 bmake: 2 errors bmake: stopped making "prog" in /tmp/work/archivers/freeze/work/freeze-2.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/freeze *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/archivers/freeze