=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/glimpse", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for glimpse-4.18.6 for d in compress agrep libtemplate index ; do \ ( cd $d; /opt/pkg/bin/gmake ); \ done gmake[1]: Entering directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/compress' gcc -I../index -I../agrep -I../libtemplate/include -O2 -I/opt/pkg/include -c -o hash.o hash.c hash.c: In function 'thash64k': hash.c:29:1: warning: old-style function definition [-Wold-style-definition] 29 | thash64k(word, len) | ^~~~~~~~ hash.c: In function 'get_hash': hash.c:56:1: warning: old-style function definition [-Wold-style-definition] 56 | get_hash(hash_table, word, len, i) | ^~~~~~~~ hash.c:61:1: error: number of arguments doesn't match prototype 61 | { | ^ In file included from hash.c:8: defs.h:135:13: error: prototype declaration 135 | hash_entry *get_hash(); | ^~~~~~~~ hash.c: In function 'insert_hash': hash.c:81:1: warning: old-style function definition [-Wold-style-definition] 81 | insert_hash(hash_table, word, len, freq, offset) | ^~~~~~~~~~~ hash.c:85:1: error: number of arguments doesn't match prototype 85 | { | ^ defs.h:134:13: error: prototype declaration 134 | hash_entry *insert_hash(); | ^~~~~~~~~~~ hash.c:89:13: error: too many arguments to function 'get_hash'; expected 0, have 4 89 | e = get_hash(hash_table, word, len, &i); | ^~~~~~~~ ~~~~~~~~~~ hash.c:56:1: note: declared here 56 | get_hash(hash_table, word, len, i) | ^~~~~~~~ hash.c: In function 'dump_hash': hash.c:131:1: warning: old-style function definition [-Wold-style-definition] 131 | dump_hash(hash_table, HASHFILE) | ^~~~~~~~~ hash.c:134:1: error: number of arguments doesn't match prototype 134 | { | ^ defs.h:130:5: error: prototype declaration 130 | int dump_hash(); | ^~~~~~~~~ hash.c: At top level: hash.c:168:1: error: return type defaults to 'int' [-Wimplicit-int] 168 | thash4k(word, len) | ^~~~~~~ hash.c: In function 'thash4k': hash.c:168:1: warning: old-style function definition [-Wold-style-definition] hash.c: In function 'get_small_hash': hash.c:204:1: warning: old-style function definition [-Wold-style-definition] 204 | get_small_hash(hash_table, word, len, i) | ^~~~~~~~~~~~~~ hash.c: In function 'insert_small_hash': hash.c:222:1: warning: old-style function definition [-Wold-style-definition] 222 | insert_small_hash(hash_table, word, len, freq, offset) | ^~~~~~~~~~~~~~~~~ hash.c: In function 'dump_small_hash': hash.c:261:1: warning: old-style function definition [-Wold-style-definition] 261 | dump_small_hash(hash_table, HASHFILE) | ^~~~~~~~~~~~~~~ hash.c: In function 'dump_hash_debug': hash.c:299:1: warning: old-style function definition [-Wold-style-definition] 299 | dump_hash_debug(hash_table, HASHFILE) | ^~~~~~~~~~~~~~~ hash.c: In function 'myhashread': hash.c:331:1: warning: old-style function definition [-Wold-style-definition] 331 | myhashread(fp, pint1, pint2, str, plen) | ^~~~~~~~~~ hash.c: In function 'tbuild_hash': hash.c:370:1: warning: old-style function definition [-Wold-style-definition] 370 | tbuild_hash(hash_table, hashfp, bytestoread) | ^~~~~~~~~~~ hash.c: In function 'build_partial_hash': hash.c:452:1: warning: old-style function definition [-Wold-style-definition] 452 | build_partial_hash(hash_table, hashfp, srcbuf, srclen, patbuf, patlen, blocksize, loaded_hash_table) | ^~~~~~~~~~~~~~~~~~ hash.c: At top level: hash.c:522:1: error: return type defaults to 'int' [-Wimplicit-int] 522 | pad_hash_file(filename, FILEBLOCKSIZE) | ^~~~~~~~~~~~~ hash.c: In function 'pad_hash_file': hash.c:522:1: warning: old-style function definition [-Wold-style-definition] hash.c:635:67: error: too many arguments to function 'tescapesinglequote'; expected 0, have 2 635 | sprintf((char *)buf, "exec %s '%s.%d' '%s'\n", SYSTEM_MV, tescapesinglequote(filename, es1), pid, tescapesinglequote(filename, es2)); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~ defs.h:137:8: note: declared here 137 | char * tescapesinglequote(); | ^~~~~~~~~~~~~~~~~~ hash.c:635:107: error: too many arguments to function 'tescapesinglequote'; expected 0, have 2 635 | sprintf((char *)buf, "exec %s '%s.%d' '%s'\n", SYSTEM_MV, tescapesinglequote(filename, es1), pid, tescapesinglequote(filename, es2)); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~ defs.h:137:8: note: declared here 137 | char * tescapesinglequote(); | ^~~~~~~~~~~~~~~~~~ gmake[1]: *** [: hash.o] Error 1 gmake[1]: Leaving directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/compress' gmake[1]: Entering directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/agrep' gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -I/opt/pkg/include -c -o follow.o follow.c follow.c: In function 'extend_re': follow.c:24:7: warning: old-style function definition [-Wold-style-definition] 24 | char *extend_re(s) | ^~~~~~~~~ follow.c: In function 'free_pos': follow.c:33:6: warning: old-style function definition [-Wold-style-definition] 33 | void free_pos(fpos, pos_cnt) | ^~~~~~~~ follow.c: In function 'free_cset': follow.c:53:6: warning: old-style function definition [-Wold-style-definition] 53 | void free_cset(cset) | ^~~~~~~~~ follow.c: In function 'free_re': follow.c:67:6: warning: old-style function definition [-Wold-style-definition] 67 | void free_re(e) | ^~~~~~~ follow.c: In function 'mk_followpos_1': follow.c:142:6: warning: old-style function definition [-Wold-style-definition] 142 | void mk_followpos_1(e, fpos) | ^~~~~~~~~~~~~~ follow.c:156:38: error: too many arguments to function 'pset_union'; expected 0, have 3 156 | (*fpos)[i] = pset_union(Firstpos(e), (*fpos)[i], 1); | ^~~~~~~~~~ follow.c:14:13: note: declared here 14 | extern Pset pset_union(); | ^~~~~~~~~~ follow.c:165:38: error: too many arguments to function 'pset_union'; expected 0, have 3 165 | (*fpos)[i] = pset_union(Firstpos(Rchild(e)), (*fpos)[i], 1); | ^~~~~~~~~~ follow.c:14:13: note: declared here 14 | extern Pset pset_union(); | ^~~~~~~~~~ follow.c: In function 'mk_followpos': follow.c:186:12: warning: old-style function definition [-Wold-style-definition] 186 | Pset_array mk_followpos(tree, npos) | ^~~~~~~~~~~~ follow.c: In function 'init': follow.c:208:5: warning: old-style function definition [-Wold-style-definition] 208 | int init(s, table) | ^~~~ follow.c:219:18: error: too many arguments to function 'parse'; expected 0, have 1 219 | if ((e = parse(s1)) == NULL) { | ^~~~~ ~~ follow.c:16:16: note: declared here 16 | extern Re_node parse(); | ^~~~~ gmake[1]: *** [: follow.o] Error 1 gmake[1]: Leaving directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/agrep' gmake[1]: Entering directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/libtemplate' Making all in util gmake[2]: Entering directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/libtemplate/util' gcc -D__STRICT_ANSI__ -I../include -I/opt/pkg/include -c -o buffer.o buffer.c buffer.c: In function 'create_buffer': buffer.c:59:9: warning: old-style function definition [-Wold-style-definition] 59 | Buffer *create_buffer(default_size) | ^~~~~~~~~~~~~ buffer.c: In function 'increase_buffer': buffer.c:77:6: warning: old-style function definition [-Wold-style-definition] 77 | void increase_buffer(b, sz) | ^~~~~~~~~~~~~~~ buffer.c: In function 'grow_buffer': buffer.c:91:6: warning: old-style function definition [-Wold-style-definition] 91 | void grow_buffer(b) | ^~~~~~~~~~~ buffer.c: In function 'shrink_buffer': buffer.c:101:6: warning: old-style function definition [-Wold-style-definition] 101 | void shrink_buffer(b) | ^~~~~~~~~~~~~ buffer.c: In function 'free_buffer': buffer.c:120:6: warning: old-style function definition [-Wold-style-definition] 120 | void free_buffer(b) | ^~~~~~~~~~~ buffer.c: In function 'add_buffer': buffer.c:137:6: warning: old-style function definition [-Wold-style-definition] 137 | void add_buffer(b, s, sz) | ^~~~~~~~~~ gcc -D__STRICT_ANSI__ -I../include -I/opt/pkg/include -c -o host.o host.c host.c: In function 'getfullhostname': host.c:79:20: error: conflicting types for 'gethostname'; have 'int(void)' 79 | extern int gethostname(); /* UNIX system call */ | ^~~~~~~~~~~ In file included from host.c:55: /usr/include/unistd.h:353:12: note: previous declaration of 'gethostname' with type 'int(char *, int)' 353 | extern int gethostname(char *, int); | ^~~~~~~~~~~ host.c:81:13: error: too many arguments to function 'gethostname'; expected 0, have 2 81 | if (gethostname(buf, MAXHOSTNAMELEN) < 0) | ^~~~~~~~~~~ ~~~ host.c:79:20: note: declared here 79 | extern int gethostname(); /* UNIX system call */ | ^~~~~~~~~~~ host.c: In function 'getrealhost': host.c:109:7: warning: old-style function definition [-Wold-style-definition] 109 | char *getrealhost(s) | ^~~~~~~~~~~ host.c:139:39: error: implicit declaration of function 'strdup' [-Wimplicit-function-declaration] 139 | return ((char *)(hp != NULL ? strdup(hp->h_name) : NULL)); | ^~~~~~ host.c:139:39: warning: incompatible implicit declaration of built-in function 'strdup' [-Wbuiltin-declaration-mismatch] gmake[2]: *** [: host.o] Error 1 gmake[2]: Leaving directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/libtemplate/util' Making all in template gmake[2]: Entering directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/libtemplate/template' gcc -I../include -I/opt/pkg/include -c -o template.o template.c template.c: In function 'create_AVList': template.c:67:9: warning: old-style function definition [-Wold-style-definition] 67 | AVList *create_AVList(attr, value, vsize) | ^~~~~~~~~~~~~ template.c: In function 'free_AVList': template.c:91:6: warning: old-style function definition [-Wold-style-definition] 91 | void free_AVList(list) | ^~~~~~~~~~~ template.c: In function 'free_AVPair': template.c:108:6: warning: old-style function definition [-Wold-style-definition] 108 | void free_AVPair(avp) | ^~~~~~~~~~~ template.c: In function 'add_offset': template.c:123:6: warning: old-style function definition [-Wold-style-definition] 123 | void add_offset(l, attr, off) | ^~~~~~~~~~ template.c: In function 'extract_AVPair': template.c:139:9: warning: old-style function definition [-Wold-style-definition] 139 | AVPair *extract_AVPair(list, attribute) | ^~~~~~~~~~~~~~ template.c: In function 'exists_AVList': template.c:156:5: warning: old-style function definition [-Wold-style-definition] 156 | int exists_AVList(list, attr) | ^~~~~~~~~~~~~ template.c: In function 'add_AVList': template.c:167:6: warning: old-style function definition [-Wold-style-definition] 167 | void add_AVList(list, attr, value, vsize) | ^~~~~~~~~~ template.c: In function 'FAST_add_AVList': template.c:198:6: warning: old-style function definition [-Wold-style-definition] 198 | void FAST_add_AVList(list, attr, value, vsize) | ^~~~~~~~~~~~~~~ template.c: In function 'merge_AVList': template.c:220:9: warning: old-style function definition [-Wold-style-definition] 220 | AVList *merge_AVList(a, b) | ^~~~~~~~~~~~ template.c: In function 'append_AVList': template.c:256:6: warning: old-style function definition [-Wold-style-definition] 256 | void append_AVList(list, attr, value, vsize) | ^~~~~~~~~~~~~ template.c: In function 'create_template': template.c:282:11: warning: old-style function definition [-Wold-style-definition] 282 | Template *create_template(type, url) | ^~~~~~~~~~~~~~~ template.c: In function 'free_template': template.c:303:6: warning: old-style function definition [-Wold-style-definition] 303 | void free_template(t) | ^~~~~~~~~~~~~ template.c: In function 'init_print_template': template.c:332:9: warning: old-style function definition [-Wold-style-definition] 332 | Buffer *init_print_template(fp) | ^~~~~~~~~~~~~~~~~~~ template.c: In function 'output_char': template.c:347:13: warning: old-style function definition [-Wold-style-definition] 347 | static void output_char(c) | ^~~~~~~~~~~ template.c:350:9: error: too many arguments to function 'output_buffer'; expected 0, have 2 350 | output_buffer(&c, 1); | ^~~~~~~~~~~~~ ~~ template.c:61:13: note: declared here 61 | static void output_buffer(); | ^~~~~~~~~~~~~ template.c: In function 'output_buffer': template.c:356:13: warning: old-style function definition [-Wold-style-definition] 356 | static void output_buffer(s, sz) | ^~~~~~~~~~~~~ template.c: In function 'print_template': template.c:371:6: warning: old-style function definition [-Wold-style-definition] 371 | void print_template(template) | ^~~~~~~~~~~~~~ template.c: In function 'print_template_header': template.c:389:6: warning: old-style function definition [-Wold-style-definition] 389 | void print_template_header(template) | ^~~~~~~~~~~~~~~~~~~~~ template.c:395:9: error: too many arguments to function 'output_buffer'; expected 0, have 2 395 | output_buffer(buf, strlen(buf)); | ^~~~~~~~~~~~~ ~~~ template.c:356:13: note: declared here 356 | static void output_buffer(s, sz) | ^~~~~~~~~~~~~ template.c: In function 'print_template_body': template.c:398:6: warning: old-style function definition [-Wold-style-definition] 398 | void print_template_body(template) | ^~~~~~~~~~~~~~~~~~~ template.c:410:17: error: too many arguments to function 'output_buffer'; expected 0, have 2 410 | output_buffer(buf, strlen(buf)); | ^~~~~~~~~~~~~ ~~~ template.c:356:13: note: declared here 356 | static void output_buffer(s, sz) | ^~~~~~~~~~~~~ template.c:411:17: error: too many arguments to function 'output_buffer'; expected 0, have 2 411 | output_buffer(walker->data->value, walker->data->vsize); | ^~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~ template.c:356:13: note: declared here 356 | static void output_buffer(s, sz) | ^~~~~~~~~~~~~ template.c:412:17: error: too many arguments to function 'output_char'; expected 0, have 1 412 | output_char('\n'); | ^~~~~~~~~~~ ~~~~ template.c:347:13: note: declared here 347 | static void output_char(c) | ^~~~~~~~~~~ template.c: In function 'print_template_trailer': template.c:416:6: warning: old-style function definition [-Wold-style-definition] 416 | void print_template_trailer(template) | ^~~~~~~~~~~~~~~~~~~~~~ template.c:419:9: error: too many arguments to function 'output_char'; expected 0, have 1 419 | output_char('}'); | ^~~~~~~~~~~ ~~~ template.c:347:13: note: declared here 347 | static void output_char(c) | ^~~~~~~~~~~ template.c:420:9: error: too many arguments to function 'output_char'; expected 0, have 1 420 | output_char('\n'); | ^~~~~~~~~~~ ~~~~ template.c:347:13: note: declared here 347 | static void output_char(c) | ^~~~~~~~~~~ template.c: In function 'init_parse_template_file': template.c:445:6: warning: old-style function definition [-Wold-style-definition] 445 | void init_parse_template_file(fp) | ^~~~~~~~~~~~~~~~~~~~~~~~ template.c: In function 'init_parse_template_string': template.c:453:6: warning: old-style function definition [-Wold-style-definition] 453 | void init_parse_template_string(s, sz) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ template.c: In function 'backup_char': template.c:493:13: warning: old-style function definition [-Wold-style-definition] 493 | static void backup_char(x) | ^~~~~~~~~~~ template.c: In function 'attribute_cmp': template.c:664:12: warning: old-style function definition [-Wold-style-definition] 664 | static int attribute_cmp(a, b) | ^~~~~~~~~~~~~ template.c: In function 'sort_AVList': template.c:699:9: warning: old-style function definition [-Wold-style-definition] 699 | AVList *sort_AVList(avl) | ^~~~~~~~~~~ template.c:721:19: error: too many arguments to function 'acmp'; expected 0, have 2 721 | acmp(a->next->data->attribute, n->data->attribute) < 0; | ^~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ template.c:724:29: error: too many arguments to function 'acmp'; expected 0, have 2 724 | if (acmp(a->data->attribute, n->data->attribute) < 0) { | ^~~~ ~~~~~~~~~~~~~~~~~~ template.c: In function 'embed_template': template.c:747:11: warning: old-style function definition [-Wold-style-definition] 747 | Template *embed_template(t, template) | ^~~~~~~~~~~~~~ template.c: In function 'sink_embedded': template.c:786:9: warning: old-style function definition [-Wold-style-definition] 786 | AVList *sink_embedded(list) | ^~~~~~~~~~~~~ gmake[2]: *** [: template.o] Error 1 gmake[2]: Leaving directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/libtemplate/template' Making all in lib gmake[2]: Entering directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/libtemplate/lib' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/libtemplate/lib' gmake[1]: Leaving directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/libtemplate' gmake[1]: Entering directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/index' rm -f buildcast.c cp glimpse.c buildcast.c gcc -c -I../index -I../agrep -I../libtemplate/include -DBUILDCAST=1 -o buildcast.o buildcast.c buildcast.c:91:8: error: type defaults to 'int' in declaration of 'set_usemalloc' [-Wimplicit-int] 91 | extern set_usemalloc(); /* compress/misc.c */ | ^~~~~~~~~~~~~ buildcast.c:100:1: error: return type defaults to 'int' [-Wimplicit-int] 100 | cross_boundary(oldnum, newnum) | ^~~~~~~~~~~~~~ buildcast.c: In function 'cross_boundary': buildcast.c:100:1: warning: old-style function definition [-Wold-style-definition] buildcast.c: At top level: buildcast.c:113:1: error: return type defaults to 'int' [-Wimplicit-int] 113 | determine_sync() | ^~~~~~~~~~~~~~ buildcast.c:160:1: error: return type defaults to 'int' [-Wimplicit-int] 160 | main(argc, argv) | ^~~~ buildcast.c: In function 'main': buildcast.c:160:1: warning: old-style function definition [-Wold-style-definition] buildcast.c:195:5: error: implicit declaration of function 'build_filename_hashtable' [-Wimplicit-function-declaration] 195 | build_filename_hashtable((char *)NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:203:20: error: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 203 | return usage(1); | ^~~~~ buildcast.c:447:9: error: too many arguments to function 'preprocess_delimiter'; expected 0, have 4 447 | preprocess_delimiter(rdelim, rdelim_len, rdelim, &rdelim_len); | ^~~~~~~~~~~~~~~~~~~~ ~~~~~~ In file included from glimpse.h:18, from buildcast.c:3: ../agrep/agrep.h:101:13: note: declared here 101 | extern void preprocess_delimiter(); | ^~~~~~~~~~~~~~~~~~~~ buildcast.c:538:9: error: implicit declaration of function 'partition' [-Wimplicit-function-declaration] 538 | partition(argc, argv); | ^~~~~~~~~ buildcast.c:575:5: error: implicit declaration of function 'read_filters' [-Wimplicit-function-declaration] 575 | read_filters(INDEX_DIR, UseFilters); | ^~~~~~~~~~~~ buildcast.c:587:5: error: implicit declaration of function 'initialize_tuncompress' [-Wimplicit-function-declaration] 587 | initialize_tuncompress(string_file, freq_file, 0); | ^~~~~~~~~~~~~~~~~~~~~~ buildcast.c:628:5: error: implicit declaration of function 'set_indexable_char' [-Wimplicit-function-declaration] 628 | set_indexable_char(indexable_char); | ^~~~~~~~~~~~~~~~~~ buildcast.c:650:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 650 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), INDEX_FILE, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:650:127: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 650 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), INDEX_FILE, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:658:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 658 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), P_TABLE, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:658:124: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 658 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), P_TABLE, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:666:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 666 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), NAME_LIST, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:666:126: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 666 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), NAME_LIST, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:674:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 674 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), NAME_LIST_INDEX, escapesinglequote(INDEX_DIR, es1), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:674:132: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 674 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), NAME_LIST_INDEX, escapesinglequote(INDEX_DIR, es1), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:682:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 682 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), NAME_HASH, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:682:126: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 682 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), NAME_HASH, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:690:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 690 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), NAME_HASH_INDEX, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:690:132: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 690 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), NAME_HASH_INDEX, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:698:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 698 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), MINI_FILE, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:698:126: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 698 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), MINI_FILE, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:706:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 706 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), DEF_STAT_FILE, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:706:130: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 706 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), DEF_STAT_FILE, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:717:84: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 717 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), ATTRIBUTE_FILE, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:717:135: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 717 | sprintf(s, "exec %s -f '%s/%s' '%s/.glimpse_tempdir.%d'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), ATTRIBUTE_FILE, escapesinglequote(INDEX_DIR, es2), pid); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:732:91: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 732 | sprintf(s, "exec %s -f '%s/.glimpse_quick' '%s/.glimpse_backup.%x'\n", SYSTEM_CP, escapesinglequote(INDEX_DIR, es1), escapesinglequote(INDEX_DIR, es2), backup); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:732:126: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 732 | sprintf(s, "exec %s -f '%s/.glimpse_quick' '%s/.glimpse_backup.%x'\n", SYSTEM_CP, escapesinglequote(INDEX_DIR, es1), escapesinglequote(INDEX_DIR, es2), backup); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:734:94: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 734 | sprintf(s, "exec %s -f '%s/.glimpse_compress' '%s/.glimpse_backup.%x'\n", SYSTEM_CP, escapesinglequote(INDEX_DIR, es1), escapesinglequote(INDEX_DIR, es2), backup); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:734:129: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 734 | sprintf(s, "exec %s -f '%s/.glimpse_compress' '%s/.glimpse_backup.%x'\n", SYSTEM_CP, escapesinglequote(INDEX_DIR, es1), escapesinglequote(INDEX_DIR, es2), backup); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:736:100: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 736 | sprintf(s, "exec %s -f '%s/.glimpse_compress.index' '%s/.glimpse_backup.%x'\n", SYSTEM_CP, escapesinglequote(INDEX_DIR, es1), escapesinglequote(INDEX_DIR, es2), backup); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:736:135: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 736 | sprintf(s, "exec %s -f '%s/.glimpse_compress.index' '%s/.glimpse_backup.%x'\n", SYSTEM_CP, escapesinglequote(INDEX_DIR, es1), escapesinglequote(INDEX_DIR, es2), backup); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:738:96: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 738 | sprintf(s, "exec %s -f '%s/.glimpse_uncompress' '%s/.glimpse_backup.%x'\n", SYSTEM_CP, escapesinglequote(INDEX_DIR, es1), escapesinglequote(INDEX_DIR, es2), backup); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:738:131: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 738 | sprintf(s, "exec %s -f '%s/.glimpse_uncompress' '%s/.glimpse_backup.%x'\n", SYSTEM_CP, escapesinglequote(INDEX_DIR, es1), escapesinglequote(INDEX_DIR, es2), backup); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:740:102: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 740 | sprintf(s, "exec %s -f '%s/.glimpse_uncompress.index' '%s/.glimpse_backup.%x'\n", SYSTEM_CP, escapesinglequote(INDEX_DIR, es1), escapesinglequote(INDEX_DIR, es2), backup); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:740:137: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 740 | sprintf(s, "exec %s -f '%s/.glimpse_uncompress.index' '%s/.glimpse_backup.%x'\n", SYSTEM_CP, escapesinglequote(INDEX_DIR, es1), escapesinglequote(INDEX_DIR, es2), backup); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:747:5: error: implicit declaration of function 'initialize_data_structures' [-Wimplicit-function-declaration] 747 | initialize_data_structures(file_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:749:5: error: implicit declaration of function 'build_index' [-Wimplicit-function-declaration] 749 | build_index(); | ^~~~~~~~~~~ buildcast.c:751:5: error: implicit declaration of function 'cleanup' [-Wimplicit-function-declaration] 751 | cleanup(); | ^~~~~~~ buildcast.c:752:5: error: implicit declaration of function 'save_data_structures' [-Wimplicit-function-declaration] 752 | save_data_structures(); | ^~~~~~~~~~~~~~~~~~~~ buildcast.c:753:5: error: implicit declaration of function 'destroy_filename_hashtable' [-Wimplicit-function-declaration] 753 | destroy_filename_hashtable(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:754:5: error: implicit declaration of function 'uninitialize_common' [-Wimplicit-function-declaration] 754 | uninitialize_common(); | ^~~~~~~~~~~~~~~~~~~ buildcast.c:755:5: error: implicit declaration of function 'uninitialize_tcompress' [-Wimplicit-function-declaration] 755 | uninitialize_tcompress(); | ^~~~~~~~~~~~~~~~~~~~~~ buildcast.c:756:5: error: implicit declaration of function 'uninitialize_tuncompress' [-Wimplicit-function-declaration] 756 | uninitialize_tuncompress(); | ^~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:757:5: error: implicit declaration of function 'compute_dictionary' [-Wimplicit-function-declaration] 757 | compute_dictionary(threshold, DISKBLOCKSIZE, specialwords, INDEX_DIR); | ^~~~~~~~~~~~~~~~~~ buildcast.c:761:14: error: implicit declaration of function 'initialize_tcompress' [-Wimplicit-function-declaration] 761 | if (!initialize_tcompress(hash_file, freq_file, TC_ERRORMSGS)) goto docleanup; | ^~~~~~~~~~~~~~~~~~~~ buildcast.c:767:13: error: implicit declaration of function 'tcompress_file' [-Wimplicit-function-declaration] 767 | tcompress_file(name, outname, TC_REMOVE | TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT); | ^~~~~~~~~~~~~~ buildcast.c:805:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 805 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, escapesinglequote(INDEX_FILE, es2), INDEX_DIR); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:805:120: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 805 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, escapesinglequote(INDEX_FILE, es2), INDEX_DIR); | ^~~~~~~~~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:807:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 807 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, P_TABLE, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:807:129: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 807 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, P_TABLE, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:809:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 809 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, NAME_LIST, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:809:131: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 809 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, NAME_LIST, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:811:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 811 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, NAME_LIST_INDEX, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:811:137: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 811 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, NAME_LIST_INDEX, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:813:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 813 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, NAME_HASH, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:813:131: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 813 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, NAME_HASH, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:815:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 815 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, NAME_HASH_INDEX, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:815:137: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 815 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, NAME_HASH_INDEX, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:817:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 817 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, MINI_FILE, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:817:131: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 817 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, MINI_FILE, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:819:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 819 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, DEF_STAT_FILE, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:819:135: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 819 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, DEF_STAT_FILE, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:821:80: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 821 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, ATTRIBUTE_FILE, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c:821:136: error: too many arguments to function 'escapesinglequote'; expected 0, have 2 821 | sprintf(s, "exec %s -f '%s/.glimpse_tempdir.%d/%s' '%s'\n", SYSTEM_MV, escapesinglequote(INDEX_DIR, es1), pid, ATTRIBUTE_FILE, escapesinglequote(INDEX_DIR, es2)); | ^~~~~~~~~~~~~~~~~ ~~~~~~~~~ glimpse.h:289:14: note: declared here 289 | extern char *escapesinglequote(); | ^~~~~~~~~~~~~~~~~ buildcast.c: At top level: buildcast.c:1065:1: error: return type defaults to 'int' [-Wimplicit-int] 1065 | cleanup() | ^~~~~~~ buildcast.c:1127:1: error: return type defaults to 'int' [-Wimplicit-int] 1127 | usage(flag) | ^~~~~ buildcast.c: In function 'usage': buildcast.c:1127:1: warning: old-style function definition [-Wold-style-definition] gmake[1]: *** [Makefile:134: buildcast.o] Error 1 gmake[1]: Leaving directory '/tmp/work/textproc/glimpse/work/glimpse-4.18.6/index' gmake: *** [Makefile:87: build-sub] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/glimpse *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/glimpse