=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for libbsd-0.10.0
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in include
Making all in man
Making all in src
--- hash/.dirstamp ---
--- hash/.deps/.dirstamp ---
--- arc4random.lo ---
  CC       arc4random.lo
--- arc4random_uniform.lo ---
--- bsd_getopt.lo ---
--- arc4random_uniform.lo ---
  CC       arc4random_uniform.lo
--- bsd_getopt.lo ---
  CC       bsd_getopt.lo
In file included from /usr/include/getopt.h:36:0,
                 from ../include/bsd/getopt.h:30,
                 from bsd_getopt.c:27:
../include/bsd/unistd.h:62:6: error: conflicting types for 'closefrom'
 void closefrom(int lowfd);
      ^~~~~~~~~
In file included from ../include/bsd/unistd.h:31:0,
                 from /usr/include/getopt.h:36,
                 from ../include/bsd/getopt.h:30,
                 from bsd_getopt.c:27:
/usr/include/unistd.h:328:6: note: previous declaration of 'closefrom' was here
 int  closefrom(int);
      ^~~~~~~~~
--- arc4random.lo ---
In file included from arc4random.c:33:0:
../include/bsd/unistd.h:62:6: error: conflicting types for 'closefrom'
 void closefrom(int lowfd);
      ^~~~~~~~~
In file included from ../include/bsd/unistd.h:31:0,
                 from arc4random.c:33:
/usr/include/unistd.h:328:6: note: previous declaration of 'closefrom' was here
 int  closefrom(int);
      ^~~~~~~~~
--- bsd_getopt.lo ---
*** [bsd_getopt.lo] Error code 1

make[2]: stopped in /scratch/work/devel/libbsd/work/libbsd-0.10.0/src
--- arc4random.lo ---
*** [arc4random.lo] Error code 1

make[2]: stopped in /scratch/work/devel/libbsd/work/libbsd-0.10.0/src
2 errors

make[2]: stopped in /scratch/work/devel/libbsd/work/libbsd-0.10.0/src
*** [all-recursive] Error code 1

make[1]: stopped in /scratch/work/devel/libbsd/work/libbsd-0.10.0
1 error

make[1]: stopped in /scratch/work/devel/libbsd/work/libbsd-0.10.0
*** [all] Error code 2

make: stopped in /scratch/work/devel/libbsd/work/libbsd-0.10.0
1 error

make: stopped in /scratch/work/devel/libbsd/work/libbsd-0.10.0
*** Error code 2

Stop.
make[1]: stopped in /tree/pkgsrc/devel/libbsd
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/devel/libbsd