=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for sendfile-2.1bnb4 --- all --- cd src; make --- sendfile.o --- --- message.o --- --- utf7.o --- --- sendfile.o --- clang -O2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c sendfile.c --- message.o --- clang -O2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c message.c --- utf7.o --- clang -O2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c utf7.c --- pstring.o --- --- sendfile.o --- sendfile.c:510:33: error: use of undeclared identifier 'PF_INET' case '4': addressFamily = PF_INET; break; ^ sendfile.c:511:33: error: use of undeclared identifier 'PF_INET6' case '6': addressFamily = PF_INET6; break; ^ sendfile.c:1030:28: error: use of undeclared identifier 'S_ISVTX' if (!((finfo.st_mode&S_ISVTX) && (finfo.st_mode&S_IRWXO))) { ^ sendfile.c:1165:33: warning: format specifies type 'long long *' but the argument has type 'off_t *' (aka 'long *') [-Wformat] sscanf(line,"SIZE %lld %lld",&size,&orgsize); ~~~~ ^~~~~ %ld sendfile.c:1165:39: warning: format specifies type 'long long *' but the argument has type 'off_t *' (aka 'long *') [-Wformat] sscanf(line,"SIZE %lld %lld",&size,&orgsize); ~~~~ ^~~~~~~~ %ld sendfile.c:1218:35: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ~~~~ ^~~~ %ld --- pstring.o --- clang -O2 -DHAVE_STRERROR=1 -DHAVE_GETOPT_H=1 -DBSD -c pstring.c --- sendfile.o --- sendfile.c:1218:40: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ~~~~ ^~~~~~~ %ld sendfile.c:1353:38: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ~~~~ ^~~~ %ld sendfile.c:1353:43: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ~~~~ ^~~~~~~ %ld sendfile.c:1746:40: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ~~~~ ^~~~ %ld sendfile.c:1746:45: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] snprintf(MAXS(sizes),"%lld %lld",size,orgsize); ~~~~ ^~~~~~~ %ld sendfile.c:2161:3: warning: implicit declaration of function 'gettimeofday' is invalid in C99 [-Wimplicit-function-declaration] gettimeofday(&tv,&tz); ^ sendfile.c:2352:62: warning: format specifies type 'long long *' but the argument has type 'off_t *' (aka 'long *') [-Wformat] if (str_neq_nocase("SIZE",line,4)) sscanf(arg+1,"%lld",&size); ~~~~ ^~~~~ %ld sendfile.c:2635:31: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] oflp->to,hlp->host,file,(oflp->size+512)/1024); ^~~~~~~~~~~~~~~~~~~~~ 11 warnings and 3 errors generated. *** [sendfile.o] Error code 1 make[1]: stopped in /var/pkgsrc/work/net/sendfile/work/sendfile-2.1b/src 1 error make[1]: stopped in /var/pkgsrc/work/net/sendfile/work/sendfile-2.1b/src *** [all] Error code 2 bmake: stopped in /var/pkgsrc/work/net/sendfile/work/sendfile-2.1b 1 error bmake: stopped in /var/pkgsrc/work/net/sendfile/work/sendfile-2.1b *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/net/sendfile *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/sendfile