=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for poptop-1.3.4nb1
cd . && /opt/pkg/bin/mksh /opt/work/net/poptop/work/pptpd-1.3.4/missing --run aclocal-1.9 
WARNING: 'aclocal' is missing on your system.  You should only need it if
         you modified 'acinclude.m4' or 'configure.in'.  You might want
         to install the Automake and Perl packages.  Grab them from
         any GNU archive site.
cd . && /opt/pkg/bin/mksh /opt/work/net/poptop/work/pptpd-1.3.4/missing --run autoconf
 cd . && /opt/pkg/bin/mksh /opt/work/net/poptop/work/pptpd-1.3.4/missing --run automake-1.9 --foreign 
WARNING: 'autoconf' is missing on your system.  You should only need it if
         you modified 'configure.in'.  You might want to install the
         Autoconf and GNU m4 packages.  Grab them from any GNU
         archive site.
/opt/pkg/bin/mksh ./config.status --recheck
WARNING: 'automake' is missing on your system.  You should only need it if
         you modified 'Makefile.am', 'acinclude.m4' or 'configure.in'.
         You might want to install the Automake and Perl packages.
         Grab them from any GNU archive site.
 cd . && /opt/pkg/bin/mksh ./config.status Makefile 
config.status: creating Makefile
/opt/pkg/bin/mksh ./config.status --recheck
cd . && /opt/pkg/bin/mksh /opt/work/net/poptop/work/pptpd-1.3.4/missing --run autoheader
WARNING: 'autoheader' is missing on your system.  You should only need it if
         you modified 'acconfig.h' or 'configure.in'.  You might want
         to install the Autoconf and GNU m4 packages.  Grab them
         from any GNU archive site.
rm -f stamp-h1
touch config.h.in
cd . && /opt/pkg/bin/mksh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/opt/pkg/bin/gmake  all-am
gmake[1]: Entering directory '/opt/work/net/poptop/work/pptpd-1.3.4'
/opt/pkg/bin/mksh ./config.status --recheck
clang -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/opt/pkg/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c pqueue.c
for d in plugins; do /opt/pkg/bin/gmake -w -j8 --jobserver-auth=6,7 -C $d all; done
clang -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/opt/pkg/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c pptpd.c
clang -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/opt/pkg/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c configfile.c
clang -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/opt/pkg/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c pptpmanager.c
clang -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/opt/pkg/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c compat.c
clang -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/opt/pkg/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c inststr.c
gmake[2]: Entering directory '/opt/work/net/poptop/work/pptpd-1.3.4'
gmake[2]: warning: -jN forced in submake: disabling jobserver mode.
clang -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/opt/pkg/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c getopt.c
gcc -o pptpd-logwtmp.so -shared -O2 -g -I.. -I../../include -fPIC pptpd-logwtmp.c -lutil
In file included from pptpd-logwtmp.c:15:
./pppd.h:61:10: fatal error: 'net/ppp_defs.h' file not found
#include <net/ppp_defs.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
compat.c:177:3: warning: implicit declaration of function 'memset' is invalid in C99 [-Wimplicit-function-declaration]
  memset(&sa, 0, sizeof(sa));
  ^
gmake[2]: *** [Makefile:19: pptpd-logwtmp.so] Error 1
gmake[2]: Leaving directory '/opt/work/net/poptop/work/pptpd-1.3.4/plugins'
gmake[1]: *** [Makefile:683: all-local] Error 2
gmake[1]: *** Waiting for unfinished jobs....
1 warning generated.
pptpd.c:396:3: warning: 'daemon' is deprecated: first deprecated in macOS 10.5 - Use posix_spawn APIs instead. [-Wdeprecated-declarations]
                daemon(0, 0);
                ^
/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:292:6: note: 'daemon' has been explicitly marked deprecated here
int      daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_5, __IPHONE_2_0, __IPHONE_2_0, "Use posix_spawn APIs instead.") __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
         ^
1 warning generated.
gmake[1]: Leaving directory '/opt/work/net/poptop/work/pptpd-1.3.4'
gmake: *** [Makefile:215: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /opt/pkgsrc/net/poptop
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/net/poptop