+ 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/brs-4.0nb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/brs-4.0nb3/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for brs-4.0nb3 --- bible.o --- --- brl.o --- --- bible-index.o --- --- tsl.o --- --- bible.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fwritable-strings -DDESTLIB=\"/opt/pkg/libdata/brs\" -c bible.c --- brl.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fwritable-strings -DDESTLIB=\"/opt/pkg/libdata/brs\" -c brl.c --- bible-index.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fwritable-strings -DDESTLIB=\"/opt/pkg/libdata/brs\" -c bible-index.c --- tsl.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fwritable-strings -DDESTLIB=\"/opt/pkg/libdata/brs\" -c tsl.c --- bible.o --- bible.c:198:1: warning: data definition has no type or storage class 198 | tsl_scan_concordance( char *target, ref_t *sbuf, ref_t range_start, ref_t range_end ); | ^~~~~~~~~~~~~~~~~~~~ bible.c:198:1: error: type defaults to 'int' in declaration of 'tsl_scan_concordance' [-Wimplicit-int] bible.c:199:1: warning: data definition has no type or storage class 199 | brl_init( char *dfname, char *dfpath, int memlimit ); | ^~~~~~~~ bible.c:199:1: error: type defaults to 'int' in declaration of 'brl_init' [-Wimplicit-int] bible.c:403:1: error: return type defaults to 'int' [-Wimplicit-int] 403 | cmd_help() | ^~~~~~~~ bible.c:554:1: error: return type defaults to 'int' [-Wimplicit-int] 554 | cmd_pretty_print(verbose) | ^~~~~~~~~~~~~~~~ bible.c:633:1: error: return type defaults to 'int' [-Wimplicit-int] 633 | cmd_write( fname ) | ^~~~~~~~~ bible.c:671:1: error: return type defaults to 'int' [-Wimplicit-int] 671 | do_command( cmd ) | ^~~~~~~~~~ bible.c: In function 'do_command': bible.c:760:9: error: implicit declaration of function 'brl_close' [-Wimplicit-function-declaration] 760 | brl_close(); | ^~~~~~~~~ bible.c: At top level: bible.c:771:1: error: return type defaults to 'int' [-Wimplicit-int] 771 | user_input( cmd ) | ^~~~~~~~~~ bible.c:818:1: error: return type defaults to 'int' [-Wimplicit-int] 818 | prompter() | ^~~~~~~~ bible.c:842:1: error: return type defaults to 'int' [-Wimplicit-int] 842 | usage() | ^~~~~ bible.c:873:1: error: return type defaults to 'int' [-Wimplicit-int] 873 | main(argc, argv) | ^~~~ *** [bible.o] Error code 1 bmake: stopped making "bible" in /home/pbulk/build/misc/brs/work/bible --- tsl.o --- tsl.c:124:1: warning: data definition has no type or storage class 124 | tsl_textread( long start, long vsize, char *vb ); | ^~~~~~~~~~~~ tsl.c:124:1: error: type defaults to 'int' in declaration of 'tsl_textread' [-Wimplicit-int] tsl.c:125:1: warning: data definition has no type or storage class 125 | cmp_decompress( char *inb, char *outb, int insize ); | ^~~~~~~~~~~~~~ tsl.c:125:1: error: type defaults to 'int' in declaration of 'cmp_decompress' [-Wimplicit-int] tsl.c:182:1: error: return type defaults to 'int' [-Wimplicit-int] 182 | tsl_scan_concordance( char *target, ref_t *sbuf, ref_t range_start, ref_t range_end ) | ^~~~~~~~~~~~~~~~~~~~ tsl.c:377:1: error: return type defaults to 'int' [-Wimplicit-int] 377 | tsl_textread( long start, long vsize, char *vb ) | ^~~~~~~~~~~~ --- brl.o --- brl.c:292:1: warning: data definition has no type or storage class 292 | tsl_init(char *dfname, char *path, int memlimit); | ^~~~~~~~ brl.c:292:1: error: type defaults to 'int' in declaration of 'tsl_init' [-Wimplicit-int] brl.c: In function 'get_book': brl.c:568:13: error: implicit declaration of function 'brl_close' [-Wimplicit-function-declaration] 568 | brl_close(); | ^~~~~~~~~ brl.c:569:13: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 569 | exit( 0 ); | ^~~~ brl.c:148:1: note: include '' or provide a declaration of 'exit' 147 | #include "brl.h" +++ |+#include 148 | brl.c:569:13: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 569 | exit( 0 ); | ^~~~ brl.c:569:13: note: include '' or provide a declaration of 'exit' brl.c: At top level: brl.c:1125:1: error: return type defaults to 'int' [-Wimplicit-int] 1125 | brl_init( char *dfname, char *dfpath, int memlimit ) | ^~~~~~~~ brl.c:1159:1: error: return type defaults to 'int' [-Wimplicit-int] 1159 | brl_close() | ^~~~~~~~~ brl.c: In function 'brl_close': brl.c:1171:5: error: implicit declaration of function 'tsl_close'; did you mean 'brl_close'? [-Wimplicit-function-declaration] 1171 | tsl_close(); | ^~~~~~~~~ | brl_close --- tsl.o --- tsl.c:540:1: error: return type defaults to 'int' [-Wimplicit-int] 540 | tsl_init(dfname, path, memlimit) | ^~~~~~~~ tsl.c: In function 'tsl_init': tsl.c:630:5: error: implicit declaration of function 'cmp_init' [-Wimplicit-function-declaration] 630 | cmp_init(); /* Initialize decompression */ | ^~~~~~~~ tsl.c: At top level: tsl.c:674:1: error: return type defaults to 'int' [-Wimplicit-int] 674 | tsl_close() | ^~~~~~~~~ tsl.c: In function 'tsl_init': tsl.c:634:5: warning: 'strncat' specified bound 255 equals destination size [-Wstringop-overflow=] 634 | strncat( cfname, ".conc", STRSZ ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ *** [tsl.o] Error code 1 bmake: stopped making "bible" in /home/pbulk/build/misc/brs/work/bible --- brl.o --- *** [brl.o] Error code 1 bmake: stopped making "bible" in /home/pbulk/build/misc/brs/work/bible bmake: 3 errors bmake: stopped making "bible" in /home/pbulk/build/misc/brs/work/bible *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/brs *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/brs