=> 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 isc-dhcp-4.4.2p1
/scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14 already unpacked...
Building BIND libraries - this takes some time.
Bind libraries already configured
Building isc library in /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isc
Building dns library in /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns
ld: cannot find -latomic
gmake[1]: *** [Makefile:622: gen] Error 1
Building isccfg library in /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg
In file included from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg/include/isccfg/aclconf.h:24:0,
                 from aclconf.c:24:
/scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:58: fatal error: dns/enumtype.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:241: aclconf.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
Building irs library in /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/irs
In file included from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/name.h:75:0,
                 from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/fixedname.h:55,
                 from dnsconf.c:28:
/scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:58: fatal error: dns/enumtype.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:239: dnsconf.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
In file included from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28:0,
                 from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45,
                 from context.c:28:
/scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:58: fatal error: dns/enumtype.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:239: context.o] Error 1
Installing BIND libraries to /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind.
mkdir /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/include
mkdir /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/include/isc
mkdir /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/include/pk11
mkdir /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/include/pkcs11
mkdir /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/lib
ld: cannot find -latomic
gmake[1]: *** [Makefile:622: gen] Error 1
In file included from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/result.h:20:0,
                 from namedconf.c:28:
/scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:58: fatal error: dns/enumtype.h: No such file or directory
compilation terminated.
In file included from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/isccfg/include/isccfg/aclconf.h:24:0,
                 from aclconf.c:24:
/scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:58: fatal error: dns/enumtype.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:241: namedconf.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: *** [Makefile:241: aclconf.o] Error 1
In file included from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/name.h:75:0,
                 from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/fixedname.h:55,
                 from dnsconf.c:28:
/scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:58: fatal error: dns/enumtype.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:239: dnsconf.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
In file included from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28:0,
                 from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45,
                 from context.c:28:
/scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:58: fatal error: dns/enumtype.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:239: context.o] Error 1
In file included from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/tsig.h:28:0,
                 from /scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/client.h:45,
                 from getaddrinfo.c:147:
/scratch/work/net/isc-dhcp4/work/dhcp-4.4.2-P1/bind/bind-9.11.14/lib/dns/include/dns/types.h:230:58: fatal error: dns/enumtype.h: No such file or directory
compilation terminated.
gmake[1]: *** [Makefile:239: getaddrinfo.o] Error 1
gmake: *** [Makefile:76: bind2] Error 2
*** Error code 2

Stop.
make[1]: stopped in /tree/pkgsrc/net/isc-dhcp4
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/net/isc-dhcp4