=> Bootstrap dependency digest>=20010302: found digest-20190127 => 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.0rc17nb16 ========================================================================== The following variables will affect the build process of this package, coccinelle-1.0.0rc17nb16. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 37 Based on these variables, the following variables have been set: * PYPACKAGE = python37 * 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 pkgconf-[0-9]*: found pkgconf-1.6.0 => Tool dependency distcc-[0-9]*: found distcc-3.3 => Build dependency ocaml-findlib-[0-9]*: found ocaml-findlib-1.8.1 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency python37>=3.7.0: found python37-3.7.5 => Full dependency ocaml>=4.08.1nb1: found ocaml-4.08.1nb2 => Full dependency camlp4>=4.07: found camlp4-4.08+1 ===> Overriding tools for coccinelle-1.0.0rc17nb16 ===> Extracting for coccinelle-1.0.0rc17nb16 ===> Patching for coccinelle-1.0.0rc17nb16 => Applying pkgsrc patches for coccinelle-1.0.0rc17nb16 ===> Creating toolchain wrappers for coccinelle-1.0.0rc17nb16 ===> Configuring for coccinelle-1.0.0rc17nb16 => 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. configure: configuring coccinelle 1.0.0-rc15 in /tmp/pkgbuild/devel/coccinelle/work.i386/coccinelle-1.0.0-rc17 checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -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 i486--netbsdelf-date... no checking for date... /tmp/pkgbuild/devel/coccinelle/work.i386/.tools/bin/date configure: version suffix set to Sun, 15 Mar 2020 18:14:35 +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 i486--netbsdelf-gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for tar... /bin/tar checking for patch... /tmp/pkgbuild/devel/coccinelle/work.i386/.tools/bin/patch checking for patchelf... no checking pkg-config is at least version 0.9.0... yes checking for i486--netbsdelf-ocamlc... no checking for ocamlc... /tmp/pkgbuild/devel/coccinelle/work.i386/.buildlink/bin/ocamlc OCaml version is 4.08.1 OCaml library path is /usr/pkg/lib/ocaml checking for i486--netbsdelf-ocamlopt... no checking for ocamlopt... /tmp/pkgbuild/devel/coccinelle/work.i386/.buildlink/bin/ocamlopt checking for i486--netbsdelf-ocamlc.opt... no checking for ocamlc.opt... /tmp/pkgbuild/devel/coccinelle/work.i386/.buildlink/bin/ocamlc.opt checking for i486--netbsdelf-ocamlopt.opt... no checking for ocamlopt.opt... /tmp/pkgbuild/devel/coccinelle/work.i386/.buildlink/bin/ocamlopt.opt checking for i486--netbsdelf-ocaml... no checking for ocaml... /tmp/pkgbuild/devel/coccinelle/work.i386/.buildlink/bin/ocaml checking for i486--netbsdelf-ocamldep... no checking for ocamldep... /tmp/pkgbuild/devel/coccinelle/work.i386/.buildlink/bin/ocamldep checking for i486--netbsdelf-ocamlmktop... no checking for ocamlmktop... /tmp/pkgbuild/devel/coccinelle/work.i386/.buildlink/bin/ocamlmktop checking for i486--netbsdelf-ocamlmklib... no checking for ocamlmklib... /tmp/pkgbuild/devel/coccinelle/work.i386/.buildlink/bin/ocamlmklib checking for i486--netbsdelf-ocamldoc... no checking for ocamldoc... /usr/pkg/bin/ocamldoc checking for i486--netbsdelf-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 i486--netbsdelf-camlp4... no checking for camlp4... /usr/pkg/bin/camlp4 checking for i486--netbsdelf-camlp4boot... no checking for camlp4boot... /usr/pkg/bin/camlp4boot checking for i486--netbsdelf-camlp4o... no checking for camlp4o... /usr/pkg/bin/camlp4o checking for i486--netbsdelf-camlp4of... no checking for camlp4of... /usr/pkg/bin/camlp4of checking for i486--netbsdelf-camlp4oof... no checking for camlp4oof... /usr/pkg/bin/camlp4oof checking for i486--netbsdelf-camlp4orf... no checking for camlp4orf... /usr/pkg/bin/camlp4orf checking for i486--netbsdelf-camlp4prof... no checking for camlp4prof... /usr/pkg/bin/camlp4prof checking for i486--netbsdelf-camlp4r... no checking for camlp4r... /usr/pkg/bin/camlp4r checking for i486--netbsdelf-camlp4rf... no checking for camlp4rf... /usr/pkg/bin/camlp4rf checking for i486--netbsdelf-ocamllex... no checking for ocamllex... /tmp/pkgbuild/devel/coccinelle/work.i386/.buildlink/bin/ocamllex checking for i486--netbsdelf-ocamllex.opt... no checking for ocamllex.opt... /usr/pkg/bin/ocamllex.opt checking for i486--netbsdelf-ocamlyacc... no checking for ocamlyacc... /tmp/pkgbuild/devel/coccinelle/work.i386/.buildlink/bin/ocamlyacc checking for i486--netbsdelf-ocamlfind... no checking for ... no configure: ocamlfind not found. Trying substitute /tmp/pkgbuild/devel/coccinelle/work.i386/coccinelle-1.0.0-rc17/setup/fake-subst.sh ocamlfind. checking for i486--netbsdelf-ocamlfind... /tmp/pkgbuild/devel/coccinelle/work.i386/coccinelle-1.0.0-rc17/setup/fake-subst.sh ocamlfind checking for i486--netbsdelf-ocamlprof... no checking for ... no configure: verifying basic ocaml modules configure: coccinelle may use external ocaml libraries in /tmp/pkgbuild/devel/coccinelle/work.i386/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 /tmp/pkgbuild/devel/coccinelle/work.i386/coccinelle-1.0.0-rc17/bundles/menhirLib/ configure: verifying optional features configure: menhir is disabled explicitly configure: menhir not found. Trying substitute /tmp/pkgbuild/devel/coccinelle/work.i386/coccinelle-1.0.0-rc17/setup/fake-menhir.sh menhir. checking for i486--netbsdelf-menhir... /tmp/pkgbuild/devel/coccinelle/work.i386/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 i486--netbsdelf-python... no checking for ... no checking for python... /tmp/pkgbuild/devel/coccinelle/work.i386/.buildlink/bin/python checking python version... 3.7 found configure: python major version: 3 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 /tmp/pkgbuild/devel/coccinelle/work.i386/coccinelle-1.0.0-rc17/bundles/pycaml/ checking for PCRE... no checking for i486--netbsdelf-pdflatex... no checking for ... no configure: pdflatex not found. Trying substitute /tmp/pkgbuild/devel/coccinelle/work.i386/coccinelle-1.0.0-rc17/setup/fake-pdflatex.sh pdflatex. checking for i486--netbsdelf-pdflatex... /tmp/pkgbuild/devel/coccinelle/work.i386/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=i486--netbsdelf --host=i486--netbsdelf --mandir=/usr/pkg/man --enable-option-checking=yes findlib: /tmp/pkgbuild/devel/coccinelle/work.i386/coccinelle-1.0.0-rc17/setup/fake-subst.sh ocamlfind (an actual version is strongly recommended) menhir: /tmp/pkgbuild/devel/coccinelle/work.i386/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=/tmp/pkgbuild/devel/coccinelle/work.i386/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 ------------------------------------------------------------------------------