=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for coccinelle-1.1.1.tar.gz => Checksum SHA512 OK for coccinelle-1.1.1.tar.gz ===> Installing dependencies for coccinelle-1.1.1nb2 ========================================================================== The following variables will affect the build process of this package, coccinelle-1.1.1nb2. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 311 Based on these variables, the following variables have been set: * PYPACKAGE = python311 * TERMCAP_TYPE = termcap You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency ocaml-findlib-[0-9]*: found ocaml-findlib-1.9.6 => Tool dependency python311>=3.11: found python311-3.11.8 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency automake>=1.9: found automake-1.16.5nb3 => Tool dependency autoconf>=2.58: found autoconf-2.72 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1 => Tool dependency distcc-[0-9]*: found distcc-3.4 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Full dependency ocaml>=4.14.0: found ocaml-4.14.1 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for coccinelle-1.1.1nb2 ===> Extracting for coccinelle-1.1.1nb2 ===> Patching for coccinelle-1.1.1nb2 => Applying pkgsrc patches for coccinelle-1.1.1nb2 ===> Creating toolchain wrappers for coccinelle-1.1.1nb2 ===> Configuring for coccinelle-1.1.1nb2 cd /tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1 && autoreconf -fiv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I setup --install autoreconf: configure.ac: tracing autoreconf: configure.ac: adding subdirectory bundles/stdcompat/stdcompat-current to autoreconf autoreconf: Entering directory 'bundles/stdcompat/stdcompat-current' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 aclocal: warning: couldn't open directory 'm4': No such file or directory autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/pkg/bin/autoconf --force autoreconf: running: /usr/pkg/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory 'bundles/stdcompat/stdcompat-current' autoreconf: configure.ac: adding subdirectory bundles/parmap/parmap to autoreconf autoreconf: Entering directory 'bundles/parmap/parmap' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/pkg/bin/autoconf --force configure.ac:14: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:14: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:14: the top level autoreconf: running: /usr/pkg/bin/autoheader --force autoreconf: configure.ac: not using Automake autoreconf: Leaving directory 'bundles/parmap/parmap' autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/pkg/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory '.' => 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 configure: configuring coccinelle 1.1.1 in /tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1 checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users checking whether build environment is sane... yes checking for a race-free mkdir -p... mkdir -p checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes configure: determining version suffix checking for sparc64--netbsd-date... no checking for date... /tmp/pkgbuild/devel/coccinelle/work.sparc64/.tools/bin/date configure: version suffix set to Sun, 28 Apr 2024 01:44:06 +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 whether make supports the include directive... yes (GNU style) checking for sparc64--netbsd-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for bash... no checking for tar... /bin/tar checking for patch... /tmp/pkgbuild/devel/coccinelle/work.sparc64/.tools/bin/patch checking for echo... (cached) echo checking for patchelf... no checking pkg-config is at least version 0.9.0... yes checking for sparc64--netbsd-ocamlc... no checking for ocamlc... /tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/bin/ocamlc OCaml version is 4.14.1 OCaml library path is /usr/pkg/lib/ocaml checking for sparc64--netbsd-ocamlopt... no checking for ocamlopt... /tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/bin/ocamlopt exec: /usr/pkg/bin/ocamlopt: not found versions differs from ocamlc; ocamlopt discarded. checking for sparc64--netbsd-ocamlc.opt... no checking for ocamlc.opt... /tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/bin/ocamlc.opt exec: /usr/pkg/bin/ocamlc.opt: not found versions differs from ocamlc; ocamlc.opt discarded. checking for sparc64--netbsd-ocaml... no checking for ocaml... /tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/bin/ocaml checking for sparc64--netbsd-ocamldep... no checking for ocamldep... /tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/bin/ocamldep checking for sparc64--netbsd-ocamlmktop... no checking for ocamlmktop... /tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/bin/ocamlmktop checking for sparc64--netbsd-ocamlmklib... no checking for ocamlmklib... /tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/bin/ocamlmklib checking for sparc64--netbsd-ocamldoc... no checking for ocamldoc... /usr/pkg/bin/ocamldoc checking that the OCaml version is at least 3.12... yes checking that the OCaml version is at least 4.02... yes checking that the OCaml version is at least 4.03... yes checking for sparc64--netbsd-ocamllex... no checking for ocamllex... /tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/bin/ocamllex checking for sparc64--netbsd-ocamllex.opt... no checking for ocamllex.opt... no checking for sparc64--netbsd-ocamlyacc... no checking for ocamlyacc... /tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/bin/ocamlyacc checking for sparc64--netbsd-ocamlfind... no checking for ocamlfind... /usr/pkg/bin/ocamlfind checking for sparc64--netbsd-ocamlprof... no checking for ocamlprof... /usr/pkg/bin/ocamlprof configure: verifying basic ocaml modules configure: coccinelle may use external ocaml libraries in /tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1/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 str... found configure: configuring package dynlink checking for OCaml findlib package dynlink... found configure: configuring package parmap checking for OCaml findlib package parmap... not found configure: OCaml package parmap is not available checking for a bundled substitute of parmap... yes configure: using bundled substitute for parmap in /tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1/bundles/parmap configure: configuring package stdcompat checking for OCaml findlib package stdcompat... not found configure: OCaml package stdcompat is not available checking for a bundled substitute of stdcompat... yes configure: using bundled substitute for stdcompat in /tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1/bundles/stdcompat configure: verifying optional features checking for sparc64--netbsd-menhir... no checking for menhir... no configure: menhir not found. Trying substitute /tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1/bundles/menhirLib/menhir. checking for sparc64--netbsd-menhir... /tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1/bundles/menhirLib/menhir configure: ocaml scripting has been disabled by default because the optimized version of dynlink is not available configure: configuring package pyml checking for OCaml findlib package pyml... not found configure: OCaml package pyml is not available checking for a bundled substitute of pyml... yes configure: using bundled substitute for pyml in /tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1/bundles/pyml checking for libpcre... no checking for sparc64--netbsd-pdflatex... no checking for pdflatex... no configure: pdflatex not found. Trying substitute /tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1/setup/fake-pdflatex.sh pdflatex. checking for sparc64--netbsd-pdflatex... /tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1/setup/fake-pdflatex.sh pdflatex configure: the optimized version of coccinelle will not be build because ocamlopt is not present 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 tools/spgen/scripts/spgen.sh config.status: creating docs/spatch.1 config.status: creating setup/Makefile config.status: executing depfiles commands === configuring in bundles/stdcompat/stdcompat-current (/tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1/bundles/stdcompat/stdcompat-current) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/pkg' '--build=sparc64--netbsd' '--host=sparc64--netbsd' '--mandir=/usr/pkg/man' '--enable-option-checking=yes' 'build_alias=sparc64--netbsd' 'host_alias=sparc64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include -I/usr/pkg/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include -I/usr/pkg/include' 'PKG_CONFIG=/tmp/pkgbuild/devel/coccinelle/work.sparc64/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'PKG_CONFIG_LIBDIR=/tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/lib/pkgconfig:/tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/share/pkgconfig' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users checking whether build environment is sane... yes checking for a race-free mkdir -p... mkdir -p checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for sparc64--netbsd-ocaml... no checking for ocaml... ocaml checking for sparc64--netbsd-ocamlc.opt... no checking for ocamlc.opt... ocamlc.opt checking OCaml version... exec: /usr/pkg/bin/ocamlc.opt: not found checking for sparc64--netbsd-ocamlfind... no checking for ocamlfind... ocamlfind checking for ocamlfind package result... no checking for ocamlfind package seq... no checking for ocamlfind package uchar... no checking whether make supports the include directive... yes (GNU style) checking for sparc64--netbsd-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... yes checking OCaml target OS type... test: 3.12.0: unexpected operator Unix test: 3.07: unexpected operator test: 3.08.0: unexpected operator test: 3.09.0: unexpected operator test: 3.10.0: unexpected operator test: 3.11.0: unexpected operator test: 3.12.0: unexpected operator test: 4.00.0: unexpected operator test: 4.01.0: unexpected operator test: 4.02.0: unexpected operator test: 4.03.0: unexpected operator test: 4.04.0: unexpected operator test: 4.05.0: unexpected operator test: 4.06.0: unexpected operator test: 4.07.0: unexpected operator test: 4.07.1: unexpected operator test: 4.08.0: unexpected operator test: 4.09.0: unexpected operator test: 4.10.0: unexpected operator test: 4.11.0: unexpected operator test: 4.12.0: unexpected operator test: 3.11.1: unexpected operator test: 4.02.0: unexpected operator test: 4.00.0: unexpected operator test: 4.08.0: unexpected operator checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating META config.status: creating Makefile config.status: creating stdcompat__hashtbl_ext.mli config.status: creating stdcompat__hashtbl_ext.ml config.status: creating stdcompat__init.mli config.status: creating stdcompat__init.ml config.status: creating stdcompat__root.mli config.status: creating stdcompat__root.ml config.status: creating stdcompat__tools.mli config.status: creating stdcompat__tools.ml config.status: creating stdcompat__native.ml_byte config.status: creating stdcompat__native.ml_native config.status: creating stdcompat_tests.ml config.status: creating stdcompat.h config.status: creating stdcompat__stubs.c config.status: creating stdcompat__pervasives_s.mli config.status: creating stdcompat__arg_s.mli config.status: creating stdcompat__array_s.mli config.status: creating stdcompat__arrayLabels_s.mli config.status: creating stdcompat__atomic_s.mli config.status: creating stdcompat__bool_s.mli config.status: creating stdcompat__buffer_s.mli config.status: creating stdcompat__bytes_s.mli config.status: creating stdcompat__bytesLabels_s.mli config.status: creating stdcompat__char_s.mli config.status: creating stdcompat__digest_s.mli config.status: creating stdcompat__either_s.mli config.status: creating stdcompat__ephemeron_s.mli config.status: creating stdcompat__filename_s.mli config.status: creating stdcompat__float_s.mli config.status: creating stdcompat__format_s.mli config.status: creating stdcompat__fun_s.mli config.status: creating stdcompat__hashtbl_s.mli config.status: creating stdcompat__int_s.mli config.status: creating stdcompat__int32_s.mli config.status: creating stdcompat__int64_s.mli config.status: creating stdcompat__lazy_s.mli config.status: creating stdcompat__lexing_s.mli config.status: creating stdcompat__list_s.mli config.status: creating stdcompat__listLabels_s.mli config.status: creating stdcompat__map_s.mli config.status: creating stdcompat__moreLabels_s.mli config.status: creating stdcompat__nativeint_s.mli config.status: creating stdcompat__option_s.mli config.status: creating stdcompat__printexc_s.mli config.status: creating stdcompat__printf_s.mli config.status: creating stdcompat__queue_s.mli config.status: creating stdcompat__result_s.mli config.status: creating stdcompat__seq_s.mli config.status: creating stdcompat__set_s.mli config.status: creating stdcompat__stack_s.mli config.status: creating stdcompat__stream_s.mli config.status: creating stdcompat__string_s.mli config.status: creating stdcompat__stringLabels_s.mli config.status: creating stdcompat__sys_s.mli config.status: creating stdcompat__uchar_s.mli config.status: creating stdcompat__weak_s.mli config.status: creating stdcompat__stdlib_s.mli config.status: creating stdcompat__pervasives_s.ml config.status: creating stdcompat__arg_s.ml config.status: creating stdcompat__array_s.ml config.status: creating stdcompat__arrayLabels_s.ml config.status: creating stdcompat__atomic_s.ml config.status: creating stdcompat__bool_s.ml config.status: creating stdcompat__buffer_s.ml config.status: creating stdcompat__bytes_s.ml config.status: creating stdcompat__bytesLabels_s.ml config.status: creating stdcompat__char_s.ml config.status: creating stdcompat__digest_s.ml config.status: creating stdcompat__either_s.ml config.status: creating stdcompat__ephemeron_s.ml config.status: creating stdcompat__filename_s.ml config.status: creating stdcompat__float_s.ml config.status: creating stdcompat__format_s.ml config.status: creating stdcompat__fun_s.ml config.status: creating stdcompat__hashtbl_s.ml config.status: creating stdcompat__int_s.ml config.status: creating stdcompat__int32_s.ml config.status: creating stdcompat__int64_s.ml config.status: creating stdcompat__lazy_s.ml config.status: creating stdcompat__lexing_s.ml config.status: creating stdcompat__list_s.ml config.status: creating stdcompat__listLabels_s.ml config.status: creating stdcompat__map_s.ml config.status: creating stdcompat__moreLabels_s.ml config.status: creating stdcompat__nativeint_s.ml config.status: creating stdcompat__option_s.ml config.status: creating stdcompat__printexc_s.ml config.status: creating stdcompat__printf_s.ml config.status: creating stdcompat__queue_s.ml config.status: creating stdcompat__result_s.ml config.status: creating stdcompat__seq_s.ml config.status: creating stdcompat__set_s.ml config.status: creating stdcompat__stack_s.ml config.status: creating stdcompat__stdlib_s.ml config.status: creating stdcompat__stream_s.ml config.status: creating stdcompat__string_s.ml config.status: creating stdcompat__stringLabels_s.ml config.status: creating stdcompat__sys_s.ml config.status: creating stdcompat__uchar_s.ml config.status: creating stdcompat__weak_s.ml config.status: creating stdcompat__pervasives.ml config.status: creating stdcompat__arg.ml config.status: creating stdcompat__array.ml config.status: creating stdcompat__arrayLabels.ml config.status: creating stdcompat__atomic.ml config.status: creating stdcompat__bool.ml config.status: creating stdcompat__buffer.ml config.status: creating stdcompat__bytes.ml config.status: creating stdcompat__bytesLabels.ml config.status: creating stdcompat__char.ml config.status: creating stdcompat__digest.ml config.status: creating stdcompat__either.ml config.status: creating stdcompat__ephemeron.ml config.status: creating stdcompat__filename.ml config.status: creating stdcompat__float.ml config.status: creating stdcompat__format.ml config.status: creating stdcompat__fun.ml config.status: creating stdcompat__hashtbl.ml config.status: creating stdcompat__int.ml config.status: creating stdcompat__int32.ml config.status: creating stdcompat__int64.ml config.status: creating stdcompat__lazy.ml config.status: creating stdcompat__lexing.ml config.status: creating stdcompat__list.ml config.status: creating stdcompat__listLabels.ml config.status: creating stdcompat__map.ml config.status: creating stdcompat__moreLabels.ml config.status: creating stdcompat__nativeint.ml config.status: creating stdcompat__option.ml config.status: creating stdcompat__printexc.ml config.status: creating stdcompat__printf.ml config.status: creating stdcompat__queue.ml config.status: creating stdcompat__result.ml config.status: creating stdcompat__seq.ml config.status: creating stdcompat__set.ml config.status: creating stdcompat__stack.ml config.status: creating stdcompat__stdlib.ml config.status: creating stdcompat__stream.ml config.status: creating stdcompat__string.ml config.status: creating stdcompat__stringLabels.ml config.status: creating stdcompat__sys.ml config.status: creating stdcompat__uchar.ml config.status: creating stdcompat__weak.ml config.status: creating stdcompat__pervasives.mli config.status: creating stdcompat__arg.mli config.status: creating stdcompat__array.mli config.status: creating stdcompat__arrayLabels.mli config.status: creating stdcompat__atomic.mli config.status: creating stdcompat__bool.mli config.status: creating stdcompat__buffer.mli config.status: creating stdcompat__bytes.mli config.status: creating stdcompat__bytesLabels.mli config.status: creating stdcompat__char.mli config.status: creating stdcompat__digest.mli config.status: creating stdcompat__either.mli config.status: creating stdcompat__ephemeron.mli config.status: creating stdcompat__filename.mli config.status: creating stdcompat__float.mli config.status: creating stdcompat__format.mli config.status: creating stdcompat__fun.mli config.status: creating stdcompat__hashtbl.mli config.status: creating stdcompat__int.mli config.status: creating stdcompat__int32.mli config.status: creating stdcompat__int64.mli config.status: creating stdcompat__lazy.mli config.status: creating stdcompat__lexing.mli config.status: creating stdcompat__list.mli config.status: creating stdcompat__listLabels.mli config.status: creating stdcompat__map.mli config.status: creating stdcompat__moreLabels.mli config.status: creating stdcompat__nativeint.mli config.status: creating stdcompat__option.mli config.status: creating stdcompat__printexc.mli config.status: creating stdcompat__printf.mli config.status: creating stdcompat__queue.mli config.status: creating stdcompat__result.mli config.status: creating stdcompat__seq.mli config.status: creating stdcompat__set.mli config.status: creating stdcompat__stack.mli config.status: creating stdcompat__stdlib.mli config.status: creating stdcompat__stream.mli config.status: creating stdcompat__string.mli config.status: creating stdcompat__stringLabels.mli config.status: creating stdcompat__sys.mli config.status: creating stdcompat__uchar.mli config.status: creating stdcompat__weak.mli config.status: creating stdcompat.mli config.status: creating stdcompat.ml config.status: creating config.h config.status: executing depfiles commands configure: OCaml version is configure: Obj.magic will be used in redefinition when possible (add --disable-magic for pure redefinitions). === configuring in bundles/parmap/parmap (/tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1/bundles/parmap/parmap) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/pkg' '--build=sparc64--netbsd' '--host=sparc64--netbsd' '--mandir=/usr/pkg/man' '--enable-option-checking=yes' 'build_alias=sparc64--netbsd' 'host_alias=sparc64--netbsd' 'CC=gcc' 'CFLAGS=-O2 -I/usr/include -I/usr/pkg/include' 'LDFLAGS=-L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/usr/include -I/usr/pkg/include' 'PKG_CONFIG=/tmp/pkgbuild/devel/coccinelle/work.sparc64/.tools/bin/pkg-config' 'PKG_CONFIG_PATH=' 'PKG_CONFIG_LIBDIR=/tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/lib/pkgconfig:/tmp/pkgbuild/devel/coccinelle/work.sparc64/.buildlink/share/pkgconfig' --cache-file=/dev/null --srcdir=. checking for sparc64--netbsd-ocamlc... no checking for ocamlc... ocamlc OCaml version is 4.14.1 OCaml library path is /usr/pkg/lib/ocaml checking for sparc64--netbsd-ocamlopt... no checking for ocamlopt... ocamlopt exec: /usr/pkg/bin/ocamlopt: not found versions differs from ocamlc; ocamlopt discarded. checking for sparc64--netbsd-ocamlc.opt... no checking for ocamlc.opt... ocamlc.opt exec: /usr/pkg/bin/ocamlc.opt: not found versions differs from ocamlc; ocamlc.opt discarded. checking for dynlink.cmxa... no checking for sparc64--netbsd-ocaml... no checking for ocaml... ocaml checking for sparc64--netbsd-ocamldep... no checking for ocamldep... ocamldep checking for sparc64--netbsd-ocamlmktop... no checking for ocamlmktop... ocamlmktop checking for sparc64--netbsd-ocamlmklib... no checking for ocamlmklib... ocamlmklib checking for sparc64--netbsd-ocamldoc... no checking for ocamldoc... ocamldoc checking for sparc64--netbsd-ocamlbuild... no checking for ocamlbuild... no checking for sparc64--netbsd-ocamlfind... no checking for ocamlfind... ocamlfind checking for sparc64--netbsd-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for sched.h... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether sched_setaffinity is declared... no checking for mach/thread_policy.h... no checking whether thread_policy_set is declared... no checking whether to enable maintainer-specific portions of Makefiles... no ocamlbuild does not exists or it does not support -use-ocamlfind configure: creating ./config.status config.status: creating bytearray.ml config.status: creating Makefile_3.11 config.status: creating config.h configure: configuration completed ------------------------------------------------------------------------------ Summary configure flags: --prefix=/usr/pkg --build=sparc64--netbsd --host=sparc64--netbsd --mandir=/usr/pkg/man --enable-option-checking=yes findlib: /usr/pkg/bin/ocamlfind (an actual version is strongly recommended) menhir: /tmp/pkgbuild/devel/coccinelle/work.sparc64/coccinelle-1.1.1/bundles/menhirLib/menhir (for local package use --without-menhir, install the menhir package otherwise) ocaml scripting: no (overridable with --enable-ocaml) python scripting: yes (overridable with --enable-python) pcre regexes: no (overridable with --enable-pcre-syntax) pcre module: (for local package use --disable-pcre) pcre library: no (requires the libpcre-ocaml-dev package) optimized spatch: no (overridable with --disable-opt) bash-completion: ${prefix}/share/bash-completion/completions (overridable with --with-bash-completion) ------------------------------------------------------------------------------ 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 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.sparc64/coccinelle-1.1.1 ./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:${exec_prefix}/lib/coccinelle/python ------------------------------------------------------------------------------