=> 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 coccinelle-1.0.0-rc17.tgz
=> Checksum RMD160 OK for coccinelle-1.0.0-rc17.tgz
=> Checksum SHA512 OK for coccinelle-1.0.0-rc17.tgz
===> Installing dependencies for coccinelle-1.0.0rc17nb13
==========================================================================
The following variables will affect the build process of this package,
coccinelle-1.0.0rc17nb13.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 27

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

        * PYPACKAGE = python27
        * 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.1nb4
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.4.1nb1
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency ocaml-findlib-[0-9]*: found ocaml-findlib-1.8.0nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency python27>=2.7.1nb2: found python27-2.7.15nb1
=> Full dependency ocaml>=4.06.1: found ocaml-4.06.1
=> Full dependency camlp4>=4.06: found camlp4-4.06+1nb1
===> Overriding tools for coccinelle-1.0.0rc17nb13
===> Extracting for coccinelle-1.0.0rc17nb13
===> Patching for coccinelle-1.0.0rc17nb13
=> Applying pkgsrc patches for coccinelle-1.0.0rc17nb13
=> Verifying /data/pkgsrc/devel/coccinelle/patches/patch-Makefile
=> Applying pkgsrc patch /data/pkgsrc/devel/coccinelle/patches/patch-Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile,v 1.1 2012/11/17 11:50:14 ryoon Exp $
|
|--- Makefile.orig	2012-08-16 16:52:07.000000000 +0000
|+++ Makefile
--------------------------
Patching file Makefile using Plan A...
Hunk #1 succeeded at 473 (offset 115 lines).
Hunk #2 succeeded at 503 (offset 115 lines).
done
===> Creating toolchain wrappers for coccinelle-1.0.0rc17nb13
===> Configuring for coccinelle-1.0.0rc17nb13
=> Fixing manpath.
INFO: [subst.mk:man] Nothing changed in ./configure.
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Replacing Perl interpreter in configure.
INFO: [replace-interpreter] Nothing changed in configure.
=> Checking for portability problems in extracted files
configure: configuring coccinelle 1.0.0-rc15 in /data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... setup/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
configure: determining version suffix
checking for x86_64--netbsd-date... no
checking for date... /data/scratch/devel/coccinelle/work/.tools/bin/date
configure: version suffix set to Fri, 22 Jun 2018 06:38:02 +0000
configure: this configure program uses pkg-config m4 macros
configure: this configure program uses ocaml m4 macros (see setup/ocaml.m4)
configure: this configure program uses custom m4 macros (see setup/cocci.m4)
configure: some fake substitutions for required but unavailable programs may be used (see setup/fake*)
configure: verifying basic tools
checking for style of include used by make... GNU
checking for x86_64--netbsd-gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking dependency style of clang... none
checking how to run the C preprocessor... clang -E
checking for tar... /bin/tar
checking for patch... /data/scratch/devel/coccinelle/work/.tools/bin/patch
checking for patchelf... no
checking pkg-config is at least version 0.9.0... yes
checking for x86_64--netbsd-ocamlc... no
checking for ocamlc... /data/scratch/devel/coccinelle/work/.buildlink/bin/ocamlc
OCaml version is 4.06.1
OCaml library path is /usr/pkg/lib/ocaml
checking for x86_64--netbsd-ocamlopt... no
checking for ocamlopt... /data/scratch/devel/coccinelle/work/.buildlink/bin/ocamlopt
checking for x86_64--netbsd-ocamlc.opt... no
checking for ocamlc.opt... /data/scratch/devel/coccinelle/work/.buildlink/bin/ocamlc.opt
checking for x86_64--netbsd-ocamlopt.opt... no
checking for ocamlopt.opt... /data/scratch/devel/coccinelle/work/.buildlink/bin/ocamlopt.opt
checking for x86_64--netbsd-ocaml... no
checking for ocaml... /data/scratch/devel/coccinelle/work/.buildlink/bin/ocaml
checking for x86_64--netbsd-ocamldep... no
checking for ocamldep... /data/scratch/devel/coccinelle/work/.buildlink/bin/ocamldep
checking for x86_64--netbsd-ocamlmktop... no
checking for ocamlmktop... /data/scratch/devel/coccinelle/work/.buildlink/bin/ocamlmktop
checking for x86_64--netbsd-ocamlmklib... no
checking for ocamlmklib... /data/scratch/devel/coccinelle/work/.buildlink/bin/ocamlmklib
checking for x86_64--netbsd-ocamldoc... no
checking for ocamldoc... /usr/pkg/bin/ocamldoc
checking for x86_64--netbsd-ocamlbuild... no
checking for ocamlbuild... no
checking that the OCaml version is at least 3.10... yes
checking that the OCaml version is at least 3.11... yes
checking for x86_64--netbsd-camlp4... no
checking for camlp4... /usr/pkg/bin/camlp4
checking for x86_64--netbsd-camlp4boot... no
checking for camlp4boot... /usr/pkg/bin/camlp4boot
checking for x86_64--netbsd-camlp4o... no
checking for camlp4o... /usr/pkg/bin/camlp4o
checking for x86_64--netbsd-camlp4of... no
checking for camlp4of... /usr/pkg/bin/camlp4of
checking for x86_64--netbsd-camlp4oof... no
checking for camlp4oof... /usr/pkg/bin/camlp4oof
checking for x86_64--netbsd-camlp4orf... no
checking for camlp4orf... /usr/pkg/bin/camlp4orf
checking for x86_64--netbsd-camlp4prof... no
checking for camlp4prof... /usr/pkg/bin/camlp4prof
checking for x86_64--netbsd-camlp4r... no
checking for camlp4r... /usr/pkg/bin/camlp4r
checking for x86_64--netbsd-camlp4rf... no
checking for camlp4rf... /usr/pkg/bin/camlp4rf
checking for x86_64--netbsd-ocamllex... no
checking for ocamllex... /data/scratch/devel/coccinelle/work/.buildlink/bin/ocamllex
checking for x86_64--netbsd-ocamllex.opt... no
checking for ocamllex.opt... /usr/pkg/bin/ocamllex.opt
checking for x86_64--netbsd-ocamlyacc... no
checking for ocamlyacc... /data/scratch/devel/coccinelle/work/.buildlink/bin/ocamlyacc
checking for x86_64--netbsd-ocamlfind... no
checking for ... no
configure: ocamlfind not found. Trying substitute /data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17/setup/fake-subst.sh ocamlfind.
checking for x86_64--netbsd-ocamlfind... /data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17/setup/fake-subst.sh ocamlfind
checking for x86_64--netbsd-ocamlprof... no
checking for ... no
configure: verifying basic ocaml modules
configure: coccinelle may use external ocaml libraries in /data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17/bundles
configure: the following OCaml packages should be provided by your ocaml installation
checking for OCaml findlib package unix... found
checking for OCaml findlib package bigarray... found
checking for OCaml findlib package num... found
checking for OCaml findlib package str... found
configure: configuring package dynlink
checking for OCaml findlib package dynlink... found
configure: configuring package camlp4
checking for OCaml findlib package camlp4... found
configure: configuring package menhirLib
checking for a bundled substitute of menhirLib... yes
configure: using bundled substitute for menhirLib in /data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17/bundles/menhirLib/
configure: verifying optional features
configure: menhir is disabled explicitly
configure: menhir not found. Trying substitute /data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17/setup/fake-menhir.sh menhir.
checking for x86_64--netbsd-menhir... /data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17/setup/fake-menhir.sh menhir
configure: pregenerated parsers will be required as substitute for Menhir
configure: ocaml scripting is disabled because it depends on ocamlfind
checking for x86_64--netbsd-python... no
checking for ... no
checking for python... /data/scratch/devel/coccinelle/work/.buildlink/bin/python
checking python version... 2.7 found
configure: python major version: 2
configure: looking for the corresponding python library
checking for PYTHON... yes
configure: support for python scripts is enabled
configure: configuring package pycaml
checking for OCaml findlib package pycaml... not found
configure: OCaml package pycaml is not available
checking for a bundled substitute of pycaml... yes
configure: using bundled substitute for pycaml in /data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17/bundles/pycaml/
checking for PCRE... no
checking for x86_64--netbsd-pdflatex... no
checking for ... no
configure: pdflatex not found. Trying substitute /data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17/setup/fake-pdflatex.sh pdflatex.
checking for x86_64--netbsd-pdflatex... /data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17/setup/fake-pdflatex.sh pdflatex
configure: choosing the development Makefile configuration because the release configuration is not explicitly requested.
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile.config
config.status: creating version.ml
config.status: creating commons/commands.ml
config.status: creating globals/config.ml
config.status: creating globals/regexp.ml
config.status: creating python/pycocci.ml
config.status: creating ocaml/prepare_ocamlcocci.ml
config.status: creating scripts/spatch.sh
config.status: creating docs/spatch.1
config.status: creating myocamlbuild.ml
config.status: creating setup/Makefile
config.status: executing depfiles commands
configure: configuration completed
------------------------------------------------------------------------------
Summary

configure flags:  --without-menhir --disable-menhirLib --prefix=/usr/pkg --build=x86_64--netbsd --host=x86_64--netbsd --mandir=/usr/pkg/man
findlib:          /data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17/setup/fake-subst.sh ocamlfind	(an actual version is strongly recommended)
menhir:           /data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17/setup/fake-menhir.sh menhir	(should be an optional tool)
menhirLib module: local	(for local package use --disable-menhirLib)

ocaml scripting:  no	(overridable with --enable-ocaml)
python scripting: yes	(overridable with --enable-python)
pycaml module:    local	(for local package use --disable-pycaml)

pcre regexes:     no	(overridable with --enable-pcre-syntax)
pcre module:      	(for local package use --disable-pcre)
pcre library:     no	(requires the dev version of libpcre)

release config:   no	(strongly recommended to be 'yes', overridable with --enable-release)
optimized spatch: no	(overridable with --disable-opt)

------------------------------------------------------------------------------
Coccinelle can now be compiled and installed.


If you compile coccinelle again after source code changes or
configuration changes, you may need to run first:
  $ make clean

To compile coccinelle, run:
  $ make all

To install coccinelle, run:
  $ make install

Then, to test coccinelle, run for example:
  $ spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c

Or when coccinelle is not installed yet:
  $ COCCINELLE_HOME=/data/scratch/devel/coccinelle/work/coccinelle-1.0.0-rc17 ./scripts/spatch -sp_file demos/simple.cocci demos/simple.c -o /tmp/new_simple.c
------------------------------------------------------------------------------
You may need to set some environment variables so that the python
libraries are found. The frontend 'spatch' sets the following variables:

  $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/pkg/lib
  $ export PYTHONPATH=$PYTHONPATH:/usr/pkg/share/coccinelle/python

------------------------------------------------------------------------------