=> Bootstrap dependency digest>=20010302: found digest-20190127
===> 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 engine-pkcs11-0.1.8nb6
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/data/scratch/security/engine-pkcs11/work/engine_pkcs11-engine_pkcs11-0.1.8'
Making all in src
gmake[2]: Entering directory '/data/scratch/security/engine-pkcs11/work/engine_pkcs11-engine_pkcs11-0.1.8/src'
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/usr/pkg/include -I/usr/include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -DENGINE_DYNAMIC_SUPPORT -DSHA1_ASM -DMD5_ASM -DRMD160_ASM  -I/usr/pkg/include  -O2 -I/usr/pkg/include -I/usr/include -MT engine_pkcs11_la-hw_pkcs11.lo -MD -MP -MF .deps/engine_pkcs11_la-hw_pkcs11.Tpo -c -o engine_pkcs11_la-hw_pkcs11.lo `test -f 'hw_pkcs11.c' || echo './'`hw_pkcs11.c
/bin/sh ../libtool  --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I..   -I/usr/pkg/include -I/usr/include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -DENGINE_DYNAMIC_SUPPORT -DSHA1_ASM -DMD5_ASM -DRMD160_ASM  -I/usr/pkg/include  -O2 -I/usr/pkg/include -I/usr/include -MT engine_pkcs11_la-engine_pkcs11.lo -MD -MP -MF .deps/engine_pkcs11_la-engine_pkcs11.Tpo -c -o engine_pkcs11_la-engine_pkcs11.lo `test -f 'engine_pkcs11.c' || echo './'`engine_pkcs11.c
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/engine-pkcs11/work/.buildlink/include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -DENGINE_DYNAMIC_SUPPORT -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -O2 -MT engine_pkcs11_la-hw_pkcs11.lo -MD -MP -MF .deps/engine_pkcs11_la-hw_pkcs11.Tpo -c hw_pkcs11.c  -fPIC -DPIC -o .libs/engine_pkcs11_la-hw_pkcs11.o
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/engine-pkcs11/work/.buildlink/include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -DENGINE_DYNAMIC_SUPPORT -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -O2 -MT engine_pkcs11_la-engine_pkcs11.lo -MD -MP -MF .deps/engine_pkcs11_la-engine_pkcs11.Tpo -c engine_pkcs11.c  -fPIC -DPIC -o .libs/engine_pkcs11_la-engine_pkcs11.o
hw_pkcs11.c:68:10: fatal error: 'openssl/dso.h' file not found
#include <openssl/dso.h>
         ^~~~~~~~~~~~~~~
1 error generated.
gmake[2]: *** [Makefile:493: engine_pkcs11_la-hw_pkcs11.lo] Error 1
gmake[2]: *** Waiting for unfinished jobs....
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I/data/scratch/security/engine-pkcs11/work/.buildlink/include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -DENGINE_DYNAMIC_SUPPORT -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -O2 -MT engine_pkcs11_la-engine_pkcs11.lo -MD -MP -MF .deps/engine_pkcs11_la-engine_pkcs11.Tpo -c engine_pkcs11.c -o engine_pkcs11_la-engine_pkcs11.o >/dev/null 2>&1
mv -f .deps/engine_pkcs11_la-engine_pkcs11.Tpo .deps/engine_pkcs11_la-engine_pkcs11.Plo
gmake[2]: Leaving directory '/data/scratch/security/engine-pkcs11/work/engine_pkcs11-engine_pkcs11-0.1.8/src'
gmake[1]: *** [Makefile:433: all-recursive] Error 1
gmake[1]: Leaving directory '/data/scratch/security/engine-pkcs11/work/engine_pkcs11-engine_pkcs11-0.1.8'
gmake: *** [Makefile:365: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/security/engine-pkcs11
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/security/engine-pkcs11