=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/misc/brs", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for brs-4.0nb3 --- bible.o --- --- brl.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fwritable-strings -DDESTLIB=\"/opt/pkg/libdata/brs\" -c brl.c --- bible.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -fwritable-strings -DDESTLIB=\"/opt/pkg/libdata/brs\" -c bible.c --- 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:322:5: warning: old-style function definition [-Wold-style-definition] 322 | int get_book( s, 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' --- 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: In function 'do_concordance': bible.c:201:5: warning: old-style function definition [-Wold-style-definition] 201 | int do_concordance( word, buf ) | ^~~~~~~~~~~~~~ --- brl.o --- brl.c: In function 'verse_continuation': brl.c:611:5: warning: old-style function definition [-Wold-style-definition] 611 | int verse_continuation( s, book, chapter, absverse ) | ^~~~~~~~~~~~~~~~~~ brl.c:653:13: error: too many arguments to function 'verse_id'; expected 0, have 4 653 | if (verse_id( &s1, &book, &chapter, &verse ) == 0) | ^~~~~~~~ ~~~ brl.c:303:7: note: declared here 303 | ref_t verse_id( ); | ^~~~~~~~ brl.c:658:13: error: too many arguments to function 'verse_num'; expected 0, have 3 658 | n = verse_num( book, chapter, verse ); | ^~~~~~~~~ ~~~~ brl.c:304:7: note: declared here 304 | ref_t verse_num( ); | ^~~~~~~~~ brl.c: In function 'verse_id': brl.c:669:7: warning: old-style function definition [-Wold-style-definition] 669 | ref_t verse_id( s, bookp, chapterp, versep ) | ^~~~~~~~ brl.c:703:1: error: number of arguments doesn't match prototype 703 | { | ^ brl.c:303:7: error: prototype declaration 303 | ref_t verse_id( ); | ^~~~~~~~ --- bible.o --- bible.c:231:17: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 231 | brl_num_to_ref(vref1, &inrange_start), | ^~~~~~~~~~~~~~ ~~~~~ In file included from bible.c:142: brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ --- brl.o --- brl.c:729:18: error: too many arguments to function 'verse_num'; expected 0, have 3 729 | vn = verse_num( *bookp, *chapterp, *versep ); | ^~~~~~~~~ ~~~~~~ --- bible.o --- bible.c:232:17: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 232 | brl_num_to_ref(vref2, &inrange_end) ); | ^~~~~~~~~~~~~~ ~~~~~ --- brl.o --- brl.c:304:7: note: declared here 304 | ref_t verse_num( ); | ^~~~~~~~~ --- bible.o --- brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ --- brl.o --- brl.c:731:18: error: too many arguments to function 'brl_extract_num'; expected 0, have 4 731 | vn = brl_extract_num( vn, bookp, chapterp, versep ); | ^~~~~~~~~~~~~~~ ~~ In file included from brl.c:147: brl.h:72:7: note: declared here 72 | ref_t brl_extract_num(); | ^~~~~~~~~~~~~~~ --- bible.o --- bible.c: In function 'cmd_ANDconcordance': bible.c:253:1: warning: old-style function definition [-Wold-style-definition] 253 | cmd_ANDconcordance( word ) | ^~~~~~~~~~~~~~~~~~ --- brl.o --- brl.c:772:13: error: too many arguments to function 'verse_num'; expected 0, have 3 772 | return( verse_num( book, chapter, verse ) ); | ^~~~~~~~~ ~~~~ brl.c:304:7: note: declared here 304 | ref_t verse_num( ); | ^~~~~~~~~ brl.c: In function 'brl_extract_num': brl.c:777:7: warning: old-style function definition [-Wold-style-definition] 777 | ref_t brl_extract_num( absverse, bp, cp, vp ) | ^~~~~~~~~~~~~~~ brl.c:798:1: error: number of arguments doesn't match prototype 798 | { | ^ brl.h:72:7: error: prototype declaration 72 | ref_t brl_extract_num(); | ^~~~~~~~~~~~~~~ --- bible.o --- bible.c: In function 'cmd_ORconcordance': --- brl.o --- brl.c:821:12: error: too many arguments to function 'verse_num'; expected 0, have 3 821 | return verse_num( *bp, *cp, *vp ); | ^~~~~~~~~ ~~~ --- bible.o --- bible.c:310:1: warning: old-style function definition [-Wold-style-definition] 310 | cmd_ORconcordance( word ) | ^~~~~~~~~~~~~~~~~ --- brl.o --- brl.c:304:7: note: declared here 304 | ref_t verse_num( ); | ^~~~~~~~~ brl.c: In function 'verse_num': brl.c:826:7: warning: old-style function definition [-Wold-style-definition] 826 | ref_t verse_num(b, c, v) | ^~~~~~~~~ brl.c:850:1: error: number of arguments doesn't match prototype 850 | { | ^ brl.c:304:7: error: prototype declaration 304 | ref_t verse_num( ); | ^~~~~~~~~ --- bible.o --- bible.c: In function 'cmd_concordance': --- brl.o --- brl.c: In function 'brl_verse_spec': --- bible.o --- bible.c:374:1: warning: old-style function definition [-Wold-style-definition] 374 | cmd_concordance( word ) | ^~~~~~~~~~~~~~~ --- brl.o --- brl.c:867:7: warning: old-style function definition [-Wold-style-definition] 867 | ref_t brl_verse_spec( s, n ) | ^~~~~~~~~~~~~~ brl.c:888:1: error: number of arguments doesn't match prototype 888 | { | ^ brl.h:74:7: error: prototype declaration 74 | ref_t brl_verse_spec(); | ^~~~~~~~~~~~~~ --- bible.o --- bible.c: At top level: bible.c:403:1: error: return type defaults to 'int' [-Wimplicit-int] 403 | cmd_help() | ^~~~~~~~ bible.c: In function 'cmd_inrange': bible.c:429:1: warning: old-style function definition [-Wold-style-definition] 429 | cmd_inrange( range ) | ^~~~~~~~~~~ --- brl.o --- brl.c:909:20: error: too many arguments to function 'brl_extract_num'; expected 0, have 4 909 | brl_cur_vnum = brl_extract_num( brl_cur_vnum, &book, &chapter, &verse ); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~ brl.c:777:7: note: declared here 777 | ref_t brl_extract_num( absverse, bp, cp, vp ) | ^~~~~~~~~~~~~~~ brl.c:910:15: error: too many arguments to function 'verse_id'; expected 0, have 4 910 | if ((av = verse_id( &(*s), &book, &chapter, &verse )) == 0) | ^~~~~~~~ ~~~~~ brl.c:669:7: note: declared here 669 | ref_t verse_id( s, bookp, chapterp, versep ) | ^~~~~~~~ --- bible.o --- bible.c:462:17: error: too many arguments to function 'brl_verse_spec'; expected 0, have 2 462 | if (start = brl_verse_spec( &range, &count )) { | ^~~~~~~~~~~~~~ ~~~~~~ brl.h:74:7: note: declared here 74 | ref_t brl_verse_spec(); | ^~~~~~~~~~~~~~ --- brl.o --- brl.c: In function 'brl_printverse': brl.c:960:7: warning: old-style function definition [-Wold-style-definition] 960 | ref_t brl_printverse( vs, pretty, lwidth, outf ) | ^~~~~~~~~~~~~~ brl.c:991:1: error: number of arguments doesn't match prototype 991 | { | ^ brl.h:75:7: error: prototype declaration 75 | ref_t brl_printverse(); | ^~~~~~~~~~~~~~ --- bible.o --- bible.c:476:20: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 476 | brl_num_to_ref(vref1, &inrange_start), | ^~~~~~~~~~~~~~ ~~~~~ brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ bible.c:477:20: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 477 | brl_num_to_ref(vref2, &inrange_end) ); | ^~~~~~~~~~~~~~ ~~~~~ brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ --- brl.o --- brl.c:1003:24: error: too many arguments to function 'brl_extract_num'; expected 0, have 4 1003 | brl_cur_vnum = brl_extract_num( brl_cur_vnum, | ^~~~~~~~~~~~~~~ ~~~~~~~~~~~~ brl.c:777:7: note: declared here 777 | ref_t brl_extract_num( absverse, bp, cp, vp ) | ^~~~~~~~~~~~~~~ brl.c:1007:31: error: too many arguments to function 'brl_verse_spec'; expected 0, have 2 1007 | while (*vs && (vref = brl_verse_spec( &vs, &vcount ))) { | ^~~~~~~~~~~~~~ ~~~ brl.c:867:7: note: declared here 867 | ref_t brl_verse_spec( s, n ) | ^~~~~~~~~~~~~~ --- bible.o --- bible.c:480:25: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 480 | brl_num_to_ref(vref1, &inrange_start), | ^~~~~~~~~~~~~~ ~~~~~ brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ bible.c:481:25: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 481 | brl_num_to_ref(vref2, &inrange_end) ); | ^~~~~~~~~~~~~~ ~~~~~ brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ --- brl.o --- brl.c:1018:21: error: too many arguments to function 'brl_extract_num'; expected 0, have 4 1018 | brl_extract_num( vn-1, &curbook, &curchapter, &curverse ); | ^~~~~~~~~~~~~~~ ~~~~ brl.c:777:7: note: declared here 777 | ref_t brl_extract_num( absverse, bp, cp, vp ) | ^~~~~~~~~~~~~~~ --- bible.o --- bible.c:485:20: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 485 | brl_num_to_ref(vref1, &inrange_start), | ^~~~~~~~~~~~~~ ~~~~~ brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ bible.c:486:20: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 486 | brl_num_to_ref(vref2, &inrange_end) ); | ^~~~~~~~~~~~~~ ~~~~~ brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ bible.c:489:25: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 489 | brl_num_to_ref(vref1, &inrange_start), | ^~~~~~~~~~~~~~ ~~~~~ brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ bible.c:490:25: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 490 | brl_num_to_ref(vref2, &inrange_end) ); | ^~~~~~~~~~~~~~ ~~~~~ brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ bible.c: In function 'cmd_list': bible.c:529:9: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 529 | brl_num_to_ref(vref, &selectbuf[cnt]); | ^~~~~~~~~~~~~~ ~~~~ brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ --- brl.o --- brl.c:1084:31: error: too many arguments to function 'brl_verse_spec'; expected 0, have 2 1084 | while (*vs && (vref = brl_verse_spec( &vs, &vcount ))) | ^~~~~~~~~~~~~~ ~~~ brl.c:867:7: note: declared here 867 | ref_t brl_verse_spec( s, n ) | ^~~~~~~~~~~~~~ --- bible.o --- bible.c: At top level: bible.c:554:1: error: return type defaults to 'int' [-Wimplicit-int] 554 | cmd_pretty_print(verbose) | ^~~~~~~~~~~~~~~~ bible.c: In function 'cmd_pretty_print': --- brl.o --- brl.c: In function 'brl_num_to_ref': --- bible.o --- bible.c:554:1: warning: old-style function definition [-Wold-style-definition] --- brl.o --- brl.c:1093:7: warning: old-style function definition [-Wold-style-definition] 1093 | char* brl_num_to_ref( vbuf, absversep ) | ^~~~~~~~~~~~~~ brl.c:1115:1: error: number of arguments doesn't match prototype 1115 | { | ^ brl.h:73:7: error: prototype declaration 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ brl.c:1118:18: error: too many arguments to function 'brl_extract_num'; expected 0, have 4 1118 | *absversep = brl_extract_num( *absversep, &bk, &chp, &v); | ^~~~~~~~~~~~~~~ ~~~~~~~~~~ brl.c:777:7: note: declared here 777 | ref_t brl_extract_num( absverse, bp, cp, vp ) | ^~~~~~~~~~~~~~~ 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 ) | ^~~~~~~~ --- bible.o --- bible.c: In function 'cmd_view': --- brl.o --- brl.c:1159:1: error: return type defaults to 'int' [-Wimplicit-int] 1159 | brl_close() | ^~~~~~~~~ --- bible.o --- bible.c:626:9: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 626 | brl_num_to_ref( vref, &selectbuf[cnt] ); | ^~~~~~~~~~~~~~ ~~~~ brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ bible.c:627:9: error: too many arguments to function 'brl_printverse'; expected 0, have 4 627 | brl_printverse( vref, pretty_printing, line_width, outf ); | ^~~~~~~~~~~~~~ ~~~~ brl.h:75:7: note: declared here 75 | ref_t brl_printverse(); | ^~~~~~~~~~~~~~ bible.c: At top level: bible.c:633:1: error: return type defaults to 'int' [-Wimplicit-int] 633 | cmd_write( fname ) | ^~~~~~~~~ bible.c: In function 'cmd_write': bible.c:633:1: warning: old-style function definition [-Wold-style-definition] --- brl.o --- brl.c: In function 'brl_close': --- bible.o --- bible.c: At top level: --- brl.o --- brl.c:1171:5: error: implicit declaration of function 'tsl_close'; did you mean 'brl_close'? [-Wimplicit-function-declaration] 1171 | tsl_close(); | ^~~~~~~~~ | brl_close --- bible.o --- bible.c:671:1: error: return type defaults to 'int' [-Wimplicit-int] 671 | do_command( cmd ) | ^~~~~~~~~~ bible.c: In function 'do_command': bible.c:671:1: warning: old-style function definition [-Wold-style-definition] 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: In function 'user_input': bible.c:771:1: warning: old-style function definition [-Wold-style-definition] bible.c:806:25: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 806 | brl_printverse( brl_num_to_ref(vs, &brl_cur_vnum), | ^~~~~~~~~~~~~~ ~~ brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ bible.c:806:9: error: too many arguments to function 'brl_printverse'; expected 0, have 4 806 | brl_printverse( brl_num_to_ref(vs, &brl_cur_vnum), | ^~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ brl.h:75:7: note: declared here 75 | ref_t brl_printverse(); | ^~~~~~~~~~~~~~ bible.c:812:24: error: too many arguments to function 'brl_printverse'; expected 0, have 4 812 | brl_cur_vnum = brl_printverse( cmd, pretty_printing, line_width, outf ); | ^~~~~~~~~~~~~~ ~~~ brl.h:75:7: note: declared here 75 | ref_t brl_printverse(); | ^~~~~~~~~~~~~~ bible.c: At top level: bible.c:818:1: error: return type defaults to 'int' [-Wimplicit-int] 818 | prompter() | ^~~~~~~~ bible.c: In function 'prompter': bible.c:835:26: error: too many arguments to function 'brl_num_to_ref'; expected 0, have 2 835 | brl_textname, brl_num_to_ref(vbuf, &brl_cur_vnum), | ^~~~~~~~~~~~~~ ~~~~ brl.h:73:7: note: declared here 73 | char* brl_num_to_ref(); | ^~~~~~~~~~~~~~ bible.c: At top level: 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.c: In function 'main': bible.c:873:1: warning: old-style function definition [-Wold-style-definition] bible.c:983:7: error: too many arguments to function 'brl_printverse'; expected 0, have 4 983 | brl_printverse( "Gen1:1", pretty_printing, line_width, outf ); | ^~~~~~~~~~~~~~ ~~~~~~~~ brl.h:75:7: note: declared here 75 | ref_t brl_printverse(); | ^~~~~~~~~~~~~~ *** [bible.o] Error code 1 bmake: stopped making "bible" in /tmp/work/misc/brs/work/bible --- brl.o --- *** [brl.o] Error code 1 bmake: stopped making "bible" in /tmp/work/misc/brs/work/bible bmake: 2 errors bmake: stopped making "bible" in /tmp/work/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