=> 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:112:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(ac, av) ^~~~ xbinunix.c:150:4: warning: implicit declaration of function 'setup_files' is invalid in C99 [-Wimplicit-function-declaration] setup_files(filename, macname); ^ xbinunix.c:152:5: warning: implicit declaration of function 'print_header' is invalid in C99 [-Wimplicit-function-declaration] print_header(); ^ xbinunix.c:155:5: warning: implicit declaration of function 'process_forks' is invalid in C99 [-Wimplicit-function-declaration] process_forks(); ^ xbinunix.c:157:5: warning: implicit declaration of function 'forge_info' is invalid in C99 [-Wimplicit-function-declaration] forge_info(); ^ xbinunix.c:170:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] fprintf(stderr, usage); ^~~~~ xbinunix.c:171:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ xbinunix.c:171:3: note: please include the header or explicitly provide a declaration for 'exit' xbinunix.c:183:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] setup_files(filename, macname) ^~~~~~~~~~~ xbinunix.c:229: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:232:3: warning: implicit declaration of function 'do_q_header' is invalid in C99 [-Wimplicit-function-declaration] do_q_header(macname); ^ xbinunix.c:234:3: warning: implicit declaration of function 'do_o_header' is invalid in C99 [-Wimplicit-function-declaration] do_o_header(macname, filename); ^ xbinunix.c:237:6: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' n = strlen(mh.m_name); ^ xbinunix.c:237:6: note: please include the header or explicitly provide a declaration for 'strlen' xbinunix.c:240:2: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned int)' strncpy(namebuf, mh.m_name, n); ^ xbinunix.c:240:2: note: please include the header or explicitly provide a declaration for 'strncpy' xbinunix.c:253:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xbinunix.c:256:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print_header() ^~~~~~~~~~~~ xbinunix.c:269: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:271:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:273:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] process_forks() ^~~~~~~~~~~~~ xbinunix.c:277: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:281:3: warning: implicit declaration of function 'do_o_forks' is invalid in C99 [-Wimplicit-function-declaration] do_o_forks(); ^ xbinunix.c:282:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:285:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] forge_info() ^~~~~~~~~~ xbinunix.c:306: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:308:3: warning: implicit declaration of function 'put4' is invalid in C99 [-Wimplicit-function-declaration] put4(buf + H_OLD_DLENOFF, mh.m_datalen); ^ xbinunix.c:340:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xbinunix.c:343:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] find_header() ^~~~~~~~~~~ xbinunix.c:350:7: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned int)' if (strncmp(ibuf, "(This file", 10) == 0) ^ xbinunix.c:350:7: note: please include the header or explicitly provide a declaration for 'strncmp' xbinunix.c:387:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_q_header(macname) ^~~~~~~~~~~ xbinunix.c:395:2: warning: implicit declaration of function 'q_init' is invalid in C99 [-Wimplicit-function-declaration] q_init(); /* reset static variables */ ^ xbinunix.c:397:6: warning: implicit declaration of function 'getq' is invalid in C99 [-Wimplicit-function-declaration] n = getq(); /* namelength */ ^ xbinunix.c:399:2: warning: implicit declaration of function 'getqbuf' is invalid in C99 [-Wimplicit-function-declaration] getqbuf(namebuf, n); /* read name */ ^ xbinunix.c:415:2: warning: implicit declaration of function 'comp_q_crc' is invalid in C99 [-Wimplicit-function-declaration] comp_q_crc(0); ^ xbinunix.c:419:2: warning: implicit declaration of function 'verify_crc' is invalid in C99 [-Wimplicit-function-declaration] verify_crc(calc_crc, file_crc); ^ xbinunix.c:420:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:422:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_q_fork(fname, len) ^~~~~~~~~ xbinunix.c:453:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xbinunix.c:456:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] verify_crc(calc_crc, file_crc) ^~~~~~~~~~ xbinunix.c:468:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xbinunix.c:475:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] q_init() ^~~~~~ xbinunix.c:480:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:514:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getqbuf(buf, n) ^~~~~~~ xbinunix.c:531:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getq() ^~~~ xbinunix.c:535:11: warning: implicit declaration of function 'getq_nocrc' is invalid in C99 [-Wimplicit-function-declaration] if ((c = getq_nocrc()) == EOF) ^ xbinunix.c:541:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getq_nocrc() ^~~~~~~~~~ xbinunix.c:550:11: warning: implicit declaration of function 'getq_raw' is invalid in C99 [-Wimplicit-function-declaration] if ((c = getq_raw()) == EOF) { ^ xbinunix.c:573:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getq_raw() ^~~~~~~~ xbinunix.c:581:13: warning: implicit declaration of function 'get6bits' is invalid in C99 [-Wimplicit-function-declaration] if ((c = get6bits()) == EOF) ^ xbinunix.c:584:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (ip == &ibuf[2]) ^ xbinunix.c:623:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get6bits() ^~~~~~~~ xbinunix.c:651:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] comp_q_crc(c) ^~~~~~~~~~ xbinunix.c:665:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:668:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_o_header(macname, filename) ^~~~~~~~~~~ xbinunix.c:677:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' strcpy(namebuf, filename); ^ xbinunix.c:677:3: note: please include the header or explicitly provide a declaration for 'strcpy' xbinunix.c:714:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xbinunix.c:716:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_o_forks() ^~~~~~~~~~ xbinunix.c:727:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(creat(files.f_data, 0666)); ^ xbinunix.c:727:8: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] close(creat(files.f_data, 0666)); ^ xbinunix.c:766:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ xbinunix.c:787:14: warning: implicit declaration of function 'comp_to_bin' is invalid in C99 [-Wimplicit-function-declaration] nbytes += comp_to_bin(ibuf, outf); ^ xbinunix.c:789:14: warning: implicit declaration of function 'hex_to_bin' is invalid in C99 [-Wimplicit-function-declaration] nbytes += hex_to_bin(ibuf, outf); ^ xbinunix.c:796:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] comp_c_crc(c) ^~~~~~~~~~ xbinunix.c:801:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:803:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] comp_e_crc(c) ^~~~~~~~~~ xbinunix.c:807: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_to_bin(ibuf, outf) ^~~~~~~~~~~ xbinunix.c:844:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hex_to_bin(ibuf, outf) ^~~~~~~~~~ xbinunix.c:855:7: warning: implicit declaration of function 'hexit' is invalid in C99 [-Wimplicit-function-declaration] c = hexit(*ip++); ^ xbinunix.c:862:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hexit(c) ^~~~~ xbinunix.c:875:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] put2(bp, value) ^~~~ xbinunix.c:881:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbinunix.c:883:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] put4(bp, value) ^~~~ xbinunix.c:894:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 73 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: stopped in /usr/pkgsrc/archivers/xbin *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/archivers/xbin