=> 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 coq-8.6.tar.gz
=> Checksum RMD160 OK for coq-8.6.tar.gz
=> Checksum SHA512 OK for coq-8.6.tar.gz
===> Installing dependencies for coq-8.6
==========================================================================
The supported build options for coq are:

	coqide doc

The currently selected options are:

	coqide

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

	PKG_OPTIONS.coq (not defined)

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

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * OCAML_USE_OPT_COMPILER = yes
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

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

        * BDBBASE (defined, but empty)
        * BDB_LIBS = -ldb4
        * BDB_TYPE = db4
        * 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 renderproto>=0.9.3nb1: found renderproto-0.11.1
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.7
=> Build dependency xproto>=7.0.13: found xproto-7.0.31
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.12
=> Build dependency dri2proto>=2.1: found dri2proto-2.8
=> Build dependency dri3proto>=1.0: found dri3proto-1.0
=> Build dependency presentproto>=1.0: found presentproto-1.0
=> Build dependency glproto>=1.4.11: found glproto-1.4.17
=> Build dependency damageproto>=1.1.0: found damageproto-1.2.1
=> Build dependency fixesproto>=4.0.0: found fixesproto-5.0
=> Build dependency xextproto>=7.0.99.1: found xextproto-7.3.0
=> Build dependency inputproto>=2.3: found inputproto-2.3.2
=> Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3.1
=> Build dependency xf86driproto>=2.0.3: found xf86driproto-2.1.1nb1
=> Build dependency randrproto>=1.4: found randrproto-1.5.0
=> Build dependency xineramaproto>=1.1.1: found xineramaproto-1.2.1
=> Build dependency compositeproto>=0.3.1: found compositeproto-0.4.2
=> Build dependency cwrappers>=20150314: found cwrappers-20161125
=> Full dependency ocaml>=4.04.0: found ocaml-4.04.0
=> Full dependency ocaml-lablgtk>=2.18.5nb1: found ocaml-lablgtk-2.18.5nb2
=> Full dependency gtk2+>=2.24.30nb2: found gtk2+-2.24.31
===> Overriding tools for coq-8.6
===> Extracting for coq-8.6
===> Patching for coq-8.6
=> Applying pkgsrc patches for coq-8.6
=> Verifying /data/pkgsrc/lang/coq/patches/patch-Makefile.common
=> Applying pkgsrc patch /data/pkgsrc/lang/coq/patches/patch-Makefile.common
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.common,v 1.3 2016/12/30 13:23:06 jaapb Exp $
|
|Use BSD_INSTALL_*
|--- Makefile.common.orig	2016-10-25 20:17:16.000000000 +0000
|+++ Makefile.common
--------------------------
Patching file Makefile.common using Plan A...
Hunk #1 succeeded at 48 (offset 13 lines).
done
=> Verifying /data/pkgsrc/lang/coq/patches/patch-configure.ml
=> Applying pkgsrc patch /data/pkgsrc/lang/coq/patches/patch-configure.ml
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.ml,v 1.2 2016/12/30 13:23:06 jaapb Exp $
|
|NetBSD uses md5sum too
|--- configure.ml.orig	2016-10-25 20:17:16.000000000 +0000
|+++ configure.ml
--------------------------
Patching file configure.ml using Plan A...
Hunk #1 succeeded at 809 (offset -18 lines).
done
===> Creating toolchain wrappers for coq-8.6
src=/usr/pkg/lib/pkgconfig/fixesproto.pc  dst=/data/scratch/lang/coq/work/.buildlink/lib/pkgconfig/fixesext.pc;  /bin/mkdir -p /data/scratch/lang/coq/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
src=/usr/pkg/lib/pkgconfig/compositeproto.pc  dst=/data/scratch/lang/coq/work/.buildlink/lib/pkgconfig/compositeext.pc;  /bin/mkdir -p /data/scratch/lang/coq/work/.buildlink/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for coq-8.6
=> Replacing sh interpreter in configure install.sh.
=> Checking for portability problems in extracted files
You have OCaml 4.04.0. Good!
No Camlp5 installation found.Looking for Camlp4 instead...
No Camlp4 installation found.

Configuration script failed!
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/lang/coq
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/lang/coq
