=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for publicfile-0.52
--- load ---
--- compile ---
--- load ---
( cat warn-auto.sh;  echo 'main="$1"; shift';  echo exec "`head -1 conf-ld`"  '-o "$main" "$main".o ${1+"$@"}'  ) > load
--- compile ---
( cat warn-auto.sh;  echo exec "`head -1 conf-cc`" '-c ${1+"$@"}'  ) > compile
chmod 755 compile
--- systype ---
( cat warn-auto.sh;  echo CC=\'`head -1 conf-cc`\';  echo LD=\'`head -1 conf-ld`\';  cat find-systype.sh;  ) | sh > systype
--- load ---
chmod 755 load
--- choose ---
cat warn-auto.sh choose.sh  | sed s}HOME}"`head -1 conf-home`"}g  > choose
chmod 755 choose
--- rts ---
cat warn-auto.sh rts.sh  | sed s}HOME}"`head -1 conf-home`"}g  > rts
chmod 755 rts
--- alloc.o ---
./compile alloc.c
alloc.c:3:14: warning: incompatible redeclaration of library function 'malloc'
extern char *malloc();
             ^
alloc.c:3:14: note: 'malloc' is a builtin with type 'void *(unsigned long)'
1 warning generated.
--- alloc_re.o ---
./compile alloc_re.c
--- auto-str.o ---
./compile auto-str.c
auto-str.c:14:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc,argv)
^~~~
auto-str.c:32:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (ch = *value++) {
         ~~~^~~~~~~~~~
auto-str.c:32:13: note: place parentheses around the assignment to silence this warning
  while (ch = *value++) {
            ^
         (            )
auto-str.c:32:13: note: use '==' to turn this assignment into an equality comparison
  while (ch = *value++) {
            ^
            ==
2 warnings generated.
--- byte_chr.o ---
./compile byte_chr.c
--- byte_copy.o ---
./compile byte_copy.c
--- byte_cr.o ---
./compile byte_cr.c
--- byte_diff.o ---
./compile byte_diff.c
--- byte_rchr.o ---
./compile byte_rchr.c
--- byte_zero.o ---
./compile byte_zero.c
--- caldate_fmjd.o ---
./compile caldate_fmjd.c
--- case_diffs.o ---
./compile case_diffs.c
--- case_lowerb.o ---
./compile case_lowerb.c
--- case_startb.o ---
./compile case_startb.c
--- chkshsgr.o ---
./compile chkshsgr.c
chkshsgr.c:2:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^~~~
chkshsgr.c:7:6: warning: implicit declaration of function 'getgroups' is invalid in C99 [-Wimplicit-function-declaration]
 if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
     ^
chkshsgr.c:7:31: warning: implicit declaration of function 'setgroups' is invalid in C99 [-Wimplicit-function-declaration]
 if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
                              ^
3 warnings generated.
--- env.o ---
./compile env.c
--- error.o ---
./compile error.c
--- error_str.o ---
./compile error_str.c
--- error_temp.o ---
./compile error_temp.c
--- filetype.o ---
./compile filetype.c
filetype.c:11:54: warning: implicitly declaring library function '_exit' with type 'void (int) __attribute__((noreturn))'
  if (!stralloc_copys(contenttype,"Content-Type: ")) _exit(21);
                                                     ^
filetype.c:11:54: note: please include the header <unistd.h> or explicitly provide a declaration for '_exit'
--- fmt_str.o ---
./compile fmt_str.c
--- filetype.o ---
1 warning generated.
--- fmt_uint.o ---
./compile fmt_uint.c
--- fmt_str.o ---
fmt_str.c:9:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (s) { while (ch = t[len]) s[len++] = ch; }
                  ~~~^~~~~~~~
fmt_str.c:9:22: note: place parentheses around the assignment to silence this warning
  if (s) { while (ch = t[len]) s[len++] = ch; }
                     ^
                  (          )
fmt_str.c:9:22: note: use '==' to turn this assignment into an equality comparison
  if (s) { while (ch = t[len]) s[len++] = ch; }
                     ^
                     ==
1 warning generated.
--- fmt_ulong.o ---
./compile fmt_ulong.c
--- fmt_xlong.o ---
./compile fmt_xlong.c
--- getln.o ---
--- getln2.o ---
--- getln.o ---
./compile getln.c
--- getln2.o ---
./compile getln2.c
--- hier.o ---
./compile hier.c
--- install.o ---
--- hier.o ---
hier.c:5:3: warning: implicit declaration of function 'h' is invalid in C99 [-Wimplicit-function-declaration]
  h(auto_home,-1,-1,02755);
  ^
hier.c:7:3: warning: implicit declaration of function 'd' is invalid in C99 [-Wimplicit-function-declaration]
  d(auto_home,"bin",-1,-1,02755);
  ^
hier.c:9:3: warning: implicit declaration of function 'c' is invalid in C99 [-Wimplicit-function-declaration]
  c(auto_home,"bin","configure",-1,-1,0755);
  ^
--- install.o ---
./compile install.c
--- hier.o ---
3 warnings generated.
--- instcheck.o ---
./compile instcheck.c
--- install.o ---
install.c:20:7: warning: implicit declaration of function 'mkdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (mkdir(home,0700) == -1)
      ^
install.c:23:7: warning: implicit declaration of function 'chown' is invalid in C99 [-Wimplicit-function-declaration]
  if (chown(home,uid,gid) == -1)
      ^
install.c:25:7: warning: implicit declaration of function 'chmod' is invalid in C99 [-Wimplicit-function-declaration]
  if (chmod(home,mode) == -1)
      ^
install.c:36:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(home) == -1)
      ^
install.c:63:7: warning: implicit declaration of function 'fchdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (fchdir(fdsourcedir) == -1)
      ^
install.c:88:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  close(fdin);
  ^
install.c:91:7: warning: implicit declaration of function 'fsync' is invalid in C99 [-Wimplicit-function-declaration]
  if (fsync(fdout) == -1)
      ^
install.c:140:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^~~~
install.c:146:3: warning: implicit declaration of function 'umask' is invalid in C99 [-Wimplicit-function-declaration]
  umask(077);
  ^
--- instcheck.o ---
instcheck.c:59:7: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
  if (chdir(home) == -1)
      ^
instcheck.c:104:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^~~~
--- install.o ---
9 warnings generated.
--- instcheck.o ---
2 warnings generated.
--- ip.o ---
--- leapsecs_init.o ---
--- ip.o ---
./compile ip.c
--- leapsecs_init.o ---
./compile leapsecs_init.c
--- main.o ---
./compile main.c
--- ndelay_off.o ---
./compile ndelay_off.c
--- main.o ---
main.c:7:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(int argc,char **argv)
^~~~
main.c:14:9: warning: implicit declaration of function 'chdir' is invalid in C99 [-Wimplicit-function-declaration]
    if (chdir(x) == -1) _exit(20);
        ^
main.c:15:9: warning: implicit declaration of function 'chroot' is invalid in C99 [-Wimplicit-function-declaration]
    if (chroot(".") == -1) _exit(30);
        ^
main.c:21:9: warning: implicit declaration of function 'prot_gid' is invalid in C99 [-Wimplicit-function-declaration]
    if (prot_gid((int) id) == -1) _exit(30);
        ^
main.c:27:9: warning: implicit declaration of function 'prot_uid' is invalid in C99 [-Wimplicit-function-declaration]
    if (prot_uid((int) id) == -1) _exit(30);
        ^
5 warnings generated.
--- ndelay_on.o ---
--- open_read.o ---
./compile open_read.c
--- ndelay_on.o ---
./compile ndelay_on.c
--- open_trunc.o ---
--- pathdecode.o ---
--- open_trunc.o ---
./compile open_trunc.c
--- pathdecode.o ---
./compile pathdecode.c
--- percent.o ---
./compile percent.c
--- scan_ulong.o ---
./compile scan_ulong.c
--- sig_pipe.o ---
./compile sig_pipe.c
--- str_chr.o ---
./compile str_chr.c
--- str_diff.o ---
./compile str_diff.c
--- str_len.o ---
--- str_rchr.o ---
--- str_len.o ---
./compile str_len.c
--- str_rchr.o ---
./compile str_rchr.c
--- str_start.o ---
./compile str_start.c
--- stralloc_cat.o ---
./compile stralloc_cat.c
--- stralloc_catb.o ---
./compile stralloc_catb.c
--- stralloc_cats.o ---
./compile stralloc_cats.c
--- stralloc_copy.o ---
./compile stralloc_copy.c
--- stralloc_eady.o ---
./compile stralloc_eady.c
--- stralloc_num.o ---
./compile stralloc_num.c
--- stralloc_opyb.o ---
--- stralloc_opys.o ---
--- stralloc_opyb.o ---
./compile stralloc_opyb.c
--- stralloc_pend.o ---
./compile stralloc_pend.c
--- stralloc_opys.o ---
./compile stralloc_opys.c
--- strerr_die.o ---
--- strerr_sys.o ---
--- strerr_die.o ---
./compile strerr_die.c
--- strerr_sys.o ---
./compile strerr_sys.c
--- subfderr.o ---
./compile subfderr.c
--- substdi.o ---
./compile substdi.c
--- substdio.o ---
./compile substdio.c
--- substdio_copy.o ---
./compile substdio_copy.c
--- substdo.o ---
./compile substdo.c
--- utime.o ---
./compile utime.c
--- substdo.o ---
substdo.c:20:17: warning: if statement has empty body [-Wempty-body]
    if (w == 0) ; /* luser's fault */
                ^
substdo.c:20:17: note: put the semicolon on a separate line to silence this warning
--- utime.o ---
utime.c:12:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(int argc,char **argv)
^~~~
utime.c:22:7: warning: implicit declaration of function 'utime' is invalid in C99 [-Wimplicit-function-declaration]
  if (utime(fn,ut) == -1) _exit(111);
      ^
2 warnings generated.
--- socket.lib ---
( ( ./compile trylsock.c &&  ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1  && echo -lsocket -lnsl || exit 0 ) > socket.lib
--- substdo.o ---
1 warning generated.
--- direntry.h ---
./choose c trydrent direntry.h1 direntry.h2 > direntry.h
--- hassgact.h ---
./choose cl trysgact hassgact.h1 hassgact.h2 > hassgact.h
--- socket.lib ---
rm -f trylsock.o trylsock
--- hassgprm.h ---
./choose cl trysgprm hassgprm.h1 hassgprm.h2 > hassgprm.h
--- select.h ---
./choose c trysysel select.h1 select.h2 > select.h
--- uint64.h ---
./choose clr tryulong64 uint64.h1 uint64.h2 > uint64.h
--- hasdevtcp.h ---
( case "`cat systype`" in  sunos-5.*) cat hasdevtcp.h2 ;;  *) cat hasdevtcp.h1 ;;  esac ) > hasdevtcp.h
--- makelib ---
( cat warn-auto.sh;  echo 'main="$1"; shift';  echo 'rm -f "$main"';  echo 'ar cr "$main" ${1+"$@"}';  case "`cat systype`" in  sunos-5.*) ;;  unix_sv*) ;;  irix64-*) ;;  irix-*) ;;  dgux-*) ;;  hp-ux-*) ;;  sco*) ;;  *) echo 'ranlib "$main"' ;;  esac  ) > makelib
chmod 755 makelib
--- chkshsgr ---
./load chkshsgr
--- fetch.o ---
--- sig_catch.o ---
./compile sig_catch.c
--- fetch.o ---
./compile fetch.c
--- sig_block.o ---
./compile sig_block.c
--- fetch.o ---
fetch.c:78:18: warning: too many arguments in call to 'printstat'
    printstat(&st);
    ~~~~~~~~~    ^
fetch.c:97:20: warning: too many arguments in call to 'printstat'
      printstat(&st);
      ~~~~~~~~~    ^
fetch.c:108:11: warning: implicit declaration of function 'fchdir' is invalid in C99 [-Wimplicit-function-declaration]
      if (fchdir(fdfile) == -1) {
          ^
fetch.c:110:2: error: non-void function 'doit' should return a value [-Wreturn-type]
        return;
        ^
fetch.c:115:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      while (d = readdir(dir)) /* XXX: temporary errors */
             ~~^~~~~~~~~~~~~~
fetch.c:115:16: note: place parentheses around the assignment to silence this warning
      while (d = readdir(dir)) /* XXX: temporary errors */
               ^
             (               )
fetch.c:115:16: note: use '==' to turn this assignment into an equality comparison
      while (d = readdir(dir)) /* XXX: temporary errors */
               ^
               ==
fetch.c:123:6: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
        r = read(fdfile,inbuf,sizeof inbuf);
            ^
fetch.c:125:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (errno = error_intr) continue;
              ~~~~~~^~~~~~~~~~~~
fetch.c:125:14: note: place parentheses around the assignment to silence this warning
          if (errno = error_intr) continue;
                    ^
              (                 )
fetch.c:125:14: note: use '==' to turn this assignment into an equality comparison
          if (errno = error_intr) continue;
                    ^
                    ==
fetch.c:151:15: warning: implicit declaration of function 'open_read' is invalid in C99 [-Wimplicit-function-declaration]
  fdcurrent = open_read(".");
              ^
fetch.c:156:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  close(fddata);
  ^
fetch.c:160:5: warning: implicit declaration of function 'out_puts' is invalid in C99 [-Wimplicit-function-declaration]
    out_puts("226 Success.\r\n");
    ^
9 warnings and 1 error generated.
*** [fetch.o] Error code 1

make: stopped in /scratch/net/publicfile/work/publicfile-0.52
1 error

make: stopped in /scratch/net/publicfile/work/publicfile-0.52
*** Error code 2

Stop.
make: stopped in /bulk-data/pkgsrc/net/publicfile
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/net/publicfile
