=> Bootstrap dependency digest>=20010302: found digest-20180917
===> 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.9.tar.gz
=> Checksum RMD160 OK for ocsigenserver-2.9.tar.gz
=> Checksum SHA512 OK for ocsigenserver-2.9.tar.gz
===> Installing dependencies for ocsigen-2.9nb2
==========================================================================
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.9nb2.  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.2.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency ocaml-react-[0-9]*: found ocaml-react-1.2.1nb4
=> Full dependency ocaml-text-[0-9]*: found ocaml-text-0.8nb8
=> Full dependency ocaml-zip-[0-9]*: found ocaml-zip-1.07nb4
=> Full dependency ocaml-findlib>=1.8.0nb2: found ocaml-findlib-1.8.0nb2
=> Full dependency ocaml>=4.07.0: found ocaml-4.07.0
=> Full dependency ocaml-dbm>=1.0nb16: found ocaml-dbm-1.0nb16
=> Full dependency ocaml-lwt_log>=1.1.0nb1: found ocaml-lwt_log-1.1.0nb1
=> Full dependency ocaml-lwt_react>=1.1.1nb1: found ocaml-lwt_react-1.1.1nb1
=> Full dependency ocaml-lwt_ssl>=1.1.2nb1: found ocaml-lwt_ssl-1.1.2nb1
=> Full dependency ocaml-ssl>=0.5.5nb2: found ocaml-ssl-0.5.5nb2
=> Full dependency pcre-ocaml>=7.3.4nb3: found pcre-ocaml-7.3.4nb3
=> Full dependency ocaml-ipaddr>=2.8.0nb5: found ocaml-ipaddr-2.8.0nb5
=> Full dependency ocamlnet>=4.1.6nb1: found ocamlnet-4.1.6nb2
=> Full dependency ocaml-cryptokit>=1.11nb4: found ocaml-cryptokit-1.11nb4
=> Full dependency ocaml-tyxml>=4.2.0nb1: found ocaml-tyxml-4.2.0nb1
===> Overriding tools for ocsigen-2.9nb2
===> Extracting for ocsigen-2.9nb2
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.9nb2
=> Applying pkgsrc patches for ocsigen-2.9nb2
=> 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
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-Makefile.options
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-Makefile.options
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.options,v 1.4 2018/04/13 13:15:00 jaapb Exp $
|
|Support for preemptive threads is in lwt.unix now
|--- Makefile.options.orig	2018-02-01 12:55:17.000000000 +0000
|+++ Makefile.options
--------------------------
Patching file Makefile.options using Plan A...
Hunk #1 succeeded at 25.
done
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.2 2018/04/13 13:15:00 jaapb Exp $
|
|Support for preemptive threads is in lwt.unix now
|--- configure.orig	2018-02-01 12:55:17.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 412.
Hunk #2 succeeded at 464.
done
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-src_baselib_Makefile
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-src_baselib_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_baselib_Makefile,v 1.3 2018/04/13 13:15:00 jaapb Exp $
|
|The lwt_log package has been separated from lwt
|--- src/baselib/Makefile.orig	2018-02-01 12:55:17.000000000 +0000
|+++ src/baselib/Makefile
--------------------------
Patching file src/baselib/Makefile using Plan A...
Hunk #1 succeeded at 9.
done
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-src_baselib_ocsigen__stream.ml
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-src_baselib_ocsigen__stream.ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_baselib_ocsigen__stream.ml,v 1.1 2018/04/13 13:15:00 jaapb Exp $
|
|Lwt_chan no longer exists in Lwt 4, replaced by Lwt_io
|--- src/baselib/ocsigen_stream.ml.orig	2018-02-01 12:55:17.000000000 +0000
|+++ src/baselib/ocsigen_stream.ml
--------------------------
Patching file src/baselib/ocsigen_stream.ml using Plan A...
Hunk #1 succeeded at 229.
done
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-src_extensions_Makefile
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-src_extensions_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_extensions_Makefile,v 1.4 2018/04/13 13:15:00 jaapb Exp $
|
|The lwt_log package has been separated from lwt
|--- src/extensions/Makefile.orig	2018-02-01 12:55:17.000000000 +0000
|+++ src/extensions/Makefile
--------------------------
Patching file src/extensions/Makefile using Plan A...
Hunk #1 succeeded at 8.
done
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-src_extensions_cgimod.ml
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-src_extensions_cgimod.ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_extensions_cgimod.ml,v 1.1 2018/04/13 13:15:00 jaapb Exp $
|
|Write correct request URI
|Lwt_chan no longer exists in Lwt 4, replaced by Lwt_io
|--- src/extensions/cgimod.ml.orig	2018-02-01 12:55:17.000000000 +0000
|+++ src/extensions/cgimod.ml
--------------------------
Patching file src/extensions/cgimod.ml using Plan A...
Hunk #1 succeeded at 271.
Hunk #2 succeeded at 369.
Hunk #3 succeeded at 377.
Hunk #4 succeeded at 392.
done
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-src_extensions_ocsipersist-pgsql_Makefile
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-src_extensions_ocsipersist-pgsql_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_extensions_ocsipersist-pgsql_Makefile,v 1.2 2018/04/13 13:15:00 jaapb Exp $
|
|The lwt_log package has been separated from lwt
|--- src/extensions/ocsipersist-pgsql/Makefile.orig	2018-02-01 12:55:17.000000000 +0000
|+++ src/extensions/ocsipersist-pgsql/Makefile
--------------------------
Patching file src/extensions/ocsipersist-pgsql/Makefile using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-src_extensions_ocsipersist-sqlite_Makefile
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-src_extensions_ocsipersist-sqlite_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_extensions_ocsipersist-sqlite_Makefile,v 1.1 2018/04/13 13:15:00 jaapb Exp $
|
|The lwt_log package has been separated from lwt
|--- src/extensions/ocsipersist-sqlite/Makefile.orig	2018-02-01 12:55:17.000000000 +0000
|+++ src/extensions/ocsipersist-sqlite/Makefile
--------------------------
Patching file src/extensions/ocsipersist-sqlite/Makefile using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-src_http_Makefile
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-src_http_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_http_Makefile,v 1.4 2018/04/13 13:15:00 jaapb Exp $
|
|The lwt_log package has been separated from lwt
|--- src/http/Makefile.orig	2018-02-01 12:55:17.000000000 +0000
|+++ src/http/Makefile
--------------------------
Patching file src/http/Makefile using Plan A...
Hunk #1 succeeded at 4.
done
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-src_http_ocsigen__http__com.mli
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-src_http_ocsigen__http__com.mli
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_http_ocsigen__http__com.mli,v 1.1 2018/04/13 13:15:00 jaapb Exp $
|
|Lwt_chan no longer exists in Lwt 4, replaced by Lwt_io
|--- src/http/ocsigen_http_com.mli.orig	2018-02-01 12:55:17.000000000 +0000
|+++ src/http/ocsigen_http_com.mli
--------------------------
Patching file src/http/ocsigen_http_com.mli using Plan A...
Hunk #1 succeeded at 69.
done
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-src_server_Makefile
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-src_server_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_server_Makefile,v 1.1 2018/04/13 13:15:00 jaapb Exp $
|
|The lwt_log package has been separated from lwt
|--- src/server/Makefile.orig	2018-02-01 12:55:17.000000000 +0000
|+++ src/server/Makefile
--------------------------
Patching file src/server/Makefile using Plan A...
Hunk #1 succeeded at 2.
done
=> Verifying /data/pkgsrc/www/ocsigen/patches/patch-src_server_ocsigen__server.ml
=> Applying pkgsrc patch /data/pkgsrc/www/ocsigen/patches/patch-src_server_ocsigen__server.ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_server_ocsigen__server.ml,v 1.1 2018/04/13 13:15:00 jaapb Exp $
|
|Lwt_chan no longer exists in Lwt 4, replaced by Lwt_io
|--- src/server/ocsigen_server.ml.orig	2018-02-01 12:55:17.000000000 +0000
|+++ src/server/ocsigen_server.ml
--------------------------
Patching file src/server/ocsigen_server.ml using Plan A...
Hunk #1 succeeded at 1317.
done
===> Creating toolchain wrappers for ocsigen-2.9nb2
===> Configuring for ocsigen-2.9nb2
=> Checking for portability problems in extracted files
\n\tWelcome to Ocsigen server, version 2.9.\n
Checking for ocamlc ... found
Checking for OCaml version... 4.07.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 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 ... found
Checking for lwt.unix ... 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

