=> 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'.
=> Checksum SHA1 OK for ocsigenserver-2.8.tar.gz
=> Checksum RMD160 OK for ocsigenserver-2.8.tar.gz
=> Checksum SHA512 OK for ocsigenserver-2.8.tar.gz
===> Installing dependencies for ocsigen-2.8nb1
==========================================================================
The supported build options for ocsigen are:

	camlzip gdbm pgsql sqlite

The currently selected options are:

	camlzip gdbm

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.ocsigen (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
ocsigen-2.8nb1.  Their current value is shown below:

        * APACHE_GROUP = www
        * APACHE_USER = www
        * OCAML_USE_OPT_COMPILER = yes
        * OCSIGEN_GROUP = www
        * OCSIGEN_USER = www
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private
        * VARBASE = /var

Based on these variables, the following variables have been set:

        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Tool dependency checkperms>=1.1: found checkperms-1.11nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20170112
=> Full dependency ocaml-react-[0-9]*: found ocaml-react-1.2.0nb5
=> Full dependency ocaml-text-[0-9]*: found ocaml-text-0.8nb3
=> Full dependency ocaml-zip-[0-9]*: found ocaml-zip-1.06nb2
=> Full dependency ocaml-findlib>=1.6: found ocaml-findlib-1.7.1nb1
=> Full dependency ocaml>=4.04.0: found ocaml-4.04.0
=> Full dependency ocaml-dbm>=1.0nb10: found ocaml-dbm-1.0nb10
=> Full dependency ocaml-lwt>=2.4.2: found ocaml-lwt-2.5.2nb3
=> Full dependency pcre-ocaml>=5.15.0nb2: found pcre-ocaml-7.1.6nb5
=> Full dependency camlp4>=4.04: found camlp4-4.04+1
=> Full dependency ocaml-ipaddr>=2.7.0nb3: found ocaml-ipaddr-2.7.0nb3
=> Full dependency ocamlnet>=4.1.2: found ocamlnet-4.1.2nb2
=> Full dependency ocaml-cryptokit>=1.10nb3: found ocaml-cryptokit-1.10nb3
=> Full dependency ocaml-ssl>=0.5.3: found ocaml-ssl-0.5.3
=> Full dependency ocaml-tyxml>=4.0.1: found ocaml-tyxml-4.0.1
===> Overriding tools for ocsigen-2.8nb1
===> Extracting for ocsigen-2.8nb1
tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes.
===> Patching for ocsigen-2.8nb1
=> Applying pkgsrc patches for ocsigen-2.8nb1
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-Makefile
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.3 2016/12/30 11:55:53 jaapb Exp $
|
|Use BSD_* installation commands
|--- Makefile.orig	2016-11-15 15:04:34.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 67.
done
===> Creating toolchain wrappers for ocsigen-2.8nb1
===> Configuring for ocsigen-2.8nb1
=> Checking for portability problems in extracted files
\n\tWelcome to Ocsigen server, version 2.8.\n
Checking for ocamlc ... found
Checking for OCaml version... 4.04.0
Checking for ocamlfind ... found
Checking for react ... found
Checking for ssl ... found
Checking for lwt ... found
Checking for lwt.unix ... found
Checking for lwt.react ... found
Checking for lwt.ssl ... found
Checking for lwt.preemptive ... found
Checking for netstring ... found
Checking for netstring-pcre ... found
Checking for netsys ... found
Checking for pcre ... found
Checking for cryptokit ... found
Checking for tyxml ... found
Checking for dbm ... found
Checking for camlzip ... not found
Checking for zip ... found
Checking for lwt.preemptive ... found
Checking for rlwrap ... not found
Checking for ledit ... not found

Effective options:
    --disable-debug
    --enable-annot
    --enable-natdynlink
    --without-pgsql
    --without-sqlite
    --with-dbm
    --with-camlzip
    --with-preempt
    --name ocsigenserver
    --root 
    --temproot /data/scratch/www/ocsigen/work/.destdir
    --prefix /usr/pkg
    --ocsigen-user www
    --ocsigen-group www
    --bindir /usr/pkg/bin
    --libdir /usr/pkg/lib/ocaml/site-lib
    --sysconfdir /usr/pkg/share/examples/ocsigen
    --mandir /usr/pkg/man/man1
    --docdir /usr/pkg/share/doc
    --logdir /var/log/ocsigen
    --staticpagesdir /usr/pkg/share/ocsigen/www
    --uploaddir /tmp
    --datadir /var/lib/ocsigen
    --commandpipe /var/run/ocsigen_command

Writing Makefile.config


Please check Makefile.config.

You can now compile Ocsigen Server by invoking:

   make
   make doc

You may want to test the server before installation:

   make run.local
   make run.opt.local

Finally, if you want system-wide install, (become root if needed and) do:

   make install
   make install.doc