=> Bootstrap dependency digest>=20010302: found digest-20160304
===> 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 yaws-1.97nb5
gmake[1]: Entering directory '/data/scratch/www/yaws/work/yaws-1.97/c_src'
gcc -c -fpic -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/security -I"/usr/pkg/lib/erlang/usr/include" -I/usr/include/pam/ -I/usr/include/security -DDYNAMIC_DRIVER setuid_drv.c
gcc -c -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/security -I"/usr/pkg/lib/erlang/usr/include" -I/usr/include/pam/ -I/usr/include/security epam.c
gcc -shared -o  ../priv/lib/setuid_drv.so setuid_drv.o 
gcc -o ../priv/epam -O2 -I/usr/pkg/include -I/usr/include -I/usr/include/security -I"/usr/pkg/lib/erlang/usr/include" -I/usr/include/pam/ -I/usr/include/security epam.o -lpam
gmake[1]: Leaving directory '/data/scratch/www/yaws/work/yaws-1.97/c_src'
gmake[1]: Entering directory '/data/scratch/www/yaws/work/yaws-1.97/src'
/usr/pkg/bin/gmake IS_LOCAL_INSTALL=true gen_yaws_generated
rm -f yaws_configure.hrl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws.erl
[ false = true ] && echo '-define(HAVE_SENDFILE, true).' > yaws_configure.hrl; \
[ true = true ] && echo '-define(HAVE_ERLANG_SENDFILE, true).' >> yaws_configure.hrl; \
[ true = true ] && echo '-define(HAVE_CRYPTO_HASH, true).' >> yaws_configure.hrl; \
[ -f yaws_configure.hrl ] || touch yaws_configure.hrl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_app.erl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_ticker.erl
gmake[2]: Entering directory '/data/scratch/www/yaws/work/yaws-1.97/src'
rm -f yaws_generated.erl ../ebin/yaws_generated.beam
YAWS_VSN='1.97' VARDIR='/var' ETCDIR='/usr/pkg/etc/yaws' \
    ../scripts/gen-yaws-generated true > yaws_generated.erl
/usr/pkg/bin/gmake ../ebin/yaws_generated.beam
gmake[3]: Entering directory '/data/scratch/www/yaws/work/yaws-1.97/src'
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_generated.erl
gmake[3]: Leaving directory '/data/scratch/www/yaws/work/yaws-1.97/src'
gmake[2]: Leaving directory '/data/scratch/www/yaws/work/yaws-1.97/src'
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_config.erl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_server.erl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_sup.erl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_api.erl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_log.erl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_trace.erl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_logger.erl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_ls.erl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_debug.erl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_compile.erl
"/usr/pkg/bin/erlc" -Werror  -pa ../../yaws -I ../include -o ../ebin yaws_ctl.erl
compile: warnings being treated as errors
yaws_ls.erl:256: crypto:rand_bytes/1 is deprecated and will be removed in a future release; use crypto:strong_rand_bytes/1
yaws_ls.erl:261: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead
../include.mk:109: recipe for target '../ebin/yaws_ls.beam' failed
gmake[1]: *** [../ebin/yaws_ls.beam] Error 1
gmake[1]: *** Waiting for unfinished jobs....
compile: warnings being treated as errors
yaws_ctl.erl:59: random:seed/3: the 'random' module is deprecated; use the 'rand' module instead
yaws_ctl.erl:60: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead
yaws_ctl.erl:69: random:seed/3: the 'random' module is deprecated; use the 'rand' module instead
yaws_ctl.erl:70: random:uniform/1: the 'random' module is deprecated; use the 'rand' module instead
../include.mk:109: recipe for target '../ebin/yaws_ctl.beam' failed
gmake[1]: *** [../ebin/yaws_ctl.beam] Error 1
gmake[1]: Leaving directory '/data/scratch/www/yaws/work/yaws-1.97/src'
Makefile:10: recipe for target 'all' failed
gmake: *** [all] Error 1
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc-current/www/yaws
*** Error code 1

Stop.
make: stopped in /data/pkgsrc-current/www/yaws