=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for xbin-2.3nb1 cd /usr/pkgsrc/work/archivers/xbin/work && cc -O2 -march=i586 -DBSD -o xbin xbinunix.c -lcompat -Wl,-R/usr/pkg/lib xbinunix.c:3:8: warning: extra tokens at end of #endif directive [-Wextra-tokens] #endif lint ^ // xbinunix.c:119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(ac, av) ^ xbinunix.c:157:4: warning: implicit declaration of function 'setup_files' is invalid in C99 [-Wimplicit-function-declaration] setup_files(filename, macname); ^ xbinunix.c:159:5: warning: implicit declaration of function 'print_header' is invalid in C99 [-Wimplicit-function-declaration] print_header(); ^ xbinunix.c:162:5: warning: implicit declaration of function 'process_forks' is invalid in C99 [-Wimplicit-function-declaration] process_forks(); ^ xbinunix.c:164:5: warning: implicit declaration of function 'forge_info' is invalid in C99 [-Wimplicit-function-declaration] forge_info(); ^ xbinunix.c:177:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, usage); ^~~~~ xbinunix.c:190:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setup_files(filename, macname) ^ xbinunix.c:236:12: warning: implicit declaration of function 'find_header' is invalid in C99 [-Wimplicit-function-declaration] qformat = find_header(); /* eat mailer header &cetera, intuit format */ ^ xbinunix.c:239:3: warning: implicit declaration of function 'do_q_header' is invalid in C99 [-Wimplicit-function-declaration] do_q_header(macname); ^ xbinunix.c:241:3: warning: implicit declaration of function 'do_o_header' is invalid in C99 [-Wimplicit-function-declaration] do_o_header(macname, filename); ^ xbinunix.c:260:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xbinunix.c:263:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print_header() ^ xbinunix.c:276:35: warning: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types] printf("create time: %s", ctime(&mh.m_createtime)); ^~~~~~~~~~~~~~~~ xbinunix.c:278:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:280:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] process_forks() ^ xbinunix.c:284:3: warning: implicit declaration of function 'do_q_fork' is invalid in C99 [-Wimplicit-function-declaration] do_q_fork(files.f_data, mh.m_datalen); ^ xbinunix.c:288:3: warning: implicit declaration of function 'do_o_forks' is invalid in C99 [-Wimplicit-function-declaration] do_o_forks(); ^ xbinunix.c:289:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:292:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] forge_info() ^ xbinunix.c:314:2: warning: implicit declaration of function 'put2' is invalid in C99 [-Wimplicit-function-declaration] put2(buf + H_FLAGOFF, mh.m_flags & ~F_LOCKED); ^ xbinunix.c:316:3: warning: implicit declaration of function 'put4' is invalid in C99 [-Wimplicit-function-declaration] put4(buf + H_OLD_DLENOFF, mh.m_datalen); ^ xbinunix.c:348:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xbinunix.c:351:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] find_header() ^ xbinunix.c:395:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_q_header(macname) ^ xbinunix.c:403:2: warning: implicit declaration of function 'q_init' is invalid in C99 [-Wimplicit-function-declaration] q_init(); /* reset static variables */ ^ xbinunix.c:405:6: warning: implicit declaration of function 'getq' is invalid in C99 [-Wimplicit-function-declaration] n = getq(); /* namelength */ ^ xbinunix.c:407:2: warning: implicit declaration of function 'getqbuf' is invalid in C99 [-Wimplicit-function-declaration] getqbuf(namebuf, n); /* read name */ ^ xbinunix.c:423:2: warning: implicit declaration of function 'comp_q_crc' is invalid in C99 [-Wimplicit-function-declaration] comp_q_crc(0); ^ xbinunix.c:427:2: warning: implicit declaration of function 'verify_crc' is invalid in C99 [-Wimplicit-function-declaration] verify_crc(calc_crc, file_crc); ^ xbinunix.c:428:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:430:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_q_fork(fname, len) ^ xbinunix.c:461:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xbinunix.c:464:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] verify_crc(calc_crc, file_crc) ^ xbinunix.c:476:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xbinunix.c:483:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] q_init() ^ xbinunix.c:488:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:522:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getqbuf(buf, n) ^ xbinunix.c:539:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getq() ^ xbinunix.c:543:11: warning: implicit declaration of function 'getq_nocrc' is invalid in C99 [-Wimplicit-function-declaration] if ((c = getq_nocrc()) == EOF) ^ xbinunix.c:549:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getq_nocrc() ^ xbinunix.c:558:11: warning: implicit declaration of function 'getq_raw' is invalid in C99 [-Wimplicit-function-declaration] if ((c = getq_raw()) == EOF) { ^ xbinunix.c:581:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getq_raw() ^ xbinunix.c:589:13: warning: implicit declaration of function 'get6bits' is invalid in C99 [-Wimplicit-function-declaration] if ((c = get6bits()) == EOF) ^ xbinunix.c:592:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (ip == &ibuf[2]) ^ xbinunix.c:631:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get6bits() ^ xbinunix.c:659:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] comp_q_crc(c) ^ xbinunix.c:673:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:676:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_o_header(macname, filename) ^ xbinunix.c:722:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xbinunix.c:724:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_o_forks() ^ xbinunix.c:735:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(creat(files.f_data, 0666)); ^ xbinunix.c:735:8: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] close(creat(files.f_data, 0666)); ^ xbinunix.c:774:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xbinunix.c:795:14: warning: implicit declaration of function 'comp_to_bin' is invalid in C99 [-Wimplicit-function-declaration] nbytes += comp_to_bin(ibuf, outf); ^ xbinunix.c:797:14: warning: implicit declaration of function 'hex_to_bin' is invalid in C99 [-Wimplicit-function-declaration] nbytes += hex_to_bin(ibuf, outf); ^ xbinunix.c:804:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] comp_c_crc(c) ^ xbinunix.c:809:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:811:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] comp_e_crc(c) ^ xbinunix.c:815:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:819:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] comp_to_bin(ibuf, outf) ^ xbinunix.c:852:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hex_to_bin(ibuf, outf) ^ xbinunix.c:863:7: warning: implicit declaration of function 'hexit' is invalid in C99 [-Wimplicit-function-declaration] c = hexit(*ip++); ^ xbinunix.c:870:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hexit(c) ^ xbinunix.c:883:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] put2(bp, value) ^ xbinunix.c:889:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:891:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] put4(bp, value) ^ xbinunix.c:902:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 68 warnings generated. /usr/bin/ld: cannot find -lcompat clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/archivers/xbin *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/archivers/xbin