=> Bootstrap dependency digest>=20010302: found digest-20190127
===> 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'.
===> Building for ocaml-cairo-0.6.1nb3
    discover gtk/c_flags.sexp,gtk/c_library_flags.sexp (exit 1)
(cd _build/default/gtk && ../config/discover.exe --gtk)
run: /data/scratch/graphics/ocaml-cairo/work/.buildlink/bin/ocamlc.opt -config
-> process exited with code 0
-> stdout:
 | version: 4.09.1
 | standard_library_default: /usr/pkg/lib/ocaml
 | standard_library: /usr/pkg/lib/ocaml
 | ccomp_type: cc
 | c_compiler: clang
 | ocamlc_cflags: -O2 -fno-strict-aliasing -fwrapv -fPIC
 | ocamlc_cppflags: -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 | ocamlopt_cflags: -O2 -fno-strict-aliasing -fwrapv
 | ocamlopt_cppflags: -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 | bytecomp_c_compiler: clang -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 | native_c_compiler: clang -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 | bytecomp_c_libraries: -lm  -lpthread 
 | native_c_libraries: -lm 
 | native_pack_linker: ld -r -o 
 | ranlib: ranlib
 | architecture: amd64
 | model: default
 | int_size: 63
 | word_size: 64
 | system: netbsd
 | asm: as
 | asm_cfi_supported: true
 | with_frame_pointers: false
 | ext_exe: 
 | ext_obj: .o
 | ext_asm: .s
 | ext_lib: .a
 | ext_dll: .so
 | os_type: Unix
 | default_executable_name: a.out
 | systhread_supported: true
 | host: x86_64-unknown-netbsd9.99
 | target: x86_64-unknown-netbsd9.99
 | flambda: false
 | spacetime: false
 | safe_string: false
 | default_safe_string: true
 | flat_float_array: true
 | afl_instrument: false
 | windows_unicode: false
 | supports_shared_libraries: true
 | exec_magic_number: Caml1999X026
 | cmi_magic_number: Caml1999I026
 | cmo_magic_number: Caml1999O026
 | cma_magic_number: Caml1999A026
 | cmx_magic_number: Caml1999Y026
 | cmxa_magic_number: Caml1999Z026
 | ast_impl_magic_number: Caml1999M026
 | ast_intf_magic_number: Caml1999N026
 | cmxs_magic_number: Caml1999D026
 | cmt_magic_number: Caml1999T026
-> stderr:
which: pkg-config
-> not found
Error: Please set Gtk flags through the environment variables GTK_CFLAGS and GTK_LIBS.
    discover pango/c_flags.sexp,pango/c_library_flags.sexp (exit 1)
(cd _build/default/pango && ../config/discover.exe --gtk)
run: /data/scratch/graphics/ocaml-cairo/work/.buildlink/bin/ocamlc.opt -config
-> process exited with code 0
-> stdout:
 | version: 4.09.1
 | standard_library_default: /usr/pkg/lib/ocaml
 | standard_library: /usr/pkg/lib/ocaml
 | ccomp_type: cc
 | c_compiler: clang
 | ocamlc_cflags: -O2 -fno-strict-aliasing -fwrapv -fPIC
 | ocamlc_cppflags: -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 | ocamlopt_cflags: -O2 -fno-strict-aliasing -fwrapv
 | ocamlopt_cppflags: -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 | bytecomp_c_compiler: clang -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 | native_c_compiler: clang -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 | bytecomp_c_libraries: -lm  -lpthread 
 | native_c_libraries: -lm 
 | native_pack_linker: ld -r -o 
 | ranlib: ranlib
 | architecture: amd64
 | model: default
 | int_size: 63
 | word_size: 64
 | system: netbsd
 | asm: as
 | asm_cfi_supported: true
 | with_frame_pointers: false
 | ext_exe: 
 | ext_obj: .o
 | ext_asm: .s
 | ext_lib: .a
 | ext_dll: .so
 | os_type: Unix
 | default_executable_name: a.out
 | systhread_supported: true
 | host: x86_64-unknown-netbsd9.99
 | target: x86_64-unknown-netbsd9.99
 | flambda: false
 | spacetime: false
 | safe_string: false
 | default_safe_string: true
 | flat_float_array: true
 | afl_instrument: false
 | windows_unicode: false
 | supports_shared_libraries: true
 | exec_magic_number: Caml1999X026
 | cmi_magic_number: Caml1999I026
 | cmo_magic_number: Caml1999O026
 | cma_magic_number: Caml1999A026
 | cmx_magic_number: Caml1999Y026
 | cmxa_magic_number: Caml1999Z026
 | ast_impl_magic_number: Caml1999M026
 | ast_intf_magic_number: Caml1999N026
 | cmxs_magic_number: Caml1999D026
 | cmt_magic_number: Caml1999T026
-> stderr:
which: pkg-config
-> not found
Error: Please set Gtk flags through the environment variables GTK_CFLAGS and GTK_LIBS.
    discover src/c_flags.sexp,src/c_library_flags.sexp,src/cairo_ocaml.h (exit 1)
(cd _build/default/src && ../config/discover.exe)
run: /data/scratch/graphics/ocaml-cairo/work/.buildlink/bin/ocamlc.opt -config
-> process exited with code 0
-> stdout:
 | version: 4.09.1
 | standard_library_default: /usr/pkg/lib/ocaml
 | standard_library: /usr/pkg/lib/ocaml
 | ccomp_type: cc
 | c_compiler: clang
 | ocamlc_cflags: -O2 -fno-strict-aliasing -fwrapv -fPIC
 | ocamlc_cppflags: -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 | ocamlopt_cflags: -O2 -fno-strict-aliasing -fwrapv
 | ocamlopt_cppflags: -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 | bytecomp_c_compiler: clang -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 | native_c_compiler: clang -O2 -fno-strict-aliasing -fwrapv -D_FILE_OFFSET_BITS=64 -D_REENTRANT
 | bytecomp_c_libraries: -lm  -lpthread 
 | native_c_libraries: -lm 
 | native_pack_linker: ld -r -o 
 | ranlib: ranlib
 | architecture: amd64
 | model: default
 | int_size: 63
 | word_size: 64
 | system: netbsd
 | asm: as
 | asm_cfi_supported: true
 | with_frame_pointers: false
 | ext_exe: 
 | ext_obj: .o
 | ext_asm: .s
 | ext_lib: .a
 | ext_dll: .so
 | os_type: Unix
 | default_executable_name: a.out
 | systhread_supported: true
 | host: x86_64-unknown-netbsd9.99
 | target: x86_64-unknown-netbsd9.99
 | flambda: false
 | spacetime: false
 | safe_string: false
 | default_safe_string: true
 | flat_float_array: true
 | afl_instrument: false
 | windows_unicode: false
 | supports_shared_libraries: true
 | exec_magic_number: Caml1999X026
 | cmi_magic_number: Caml1999I026
 | cmo_magic_number: Caml1999O026
 | cma_magic_number: Caml1999A026
 | cmx_magic_number: Caml1999Y026
 | cmxa_magic_number: Caml1999Z026
 | ast_impl_magic_number: Caml1999M026
 | ast_intf_magic_number: Caml1999N026
 | cmxs_magic_number: Caml1999D026
 | cmt_magic_number: Caml1999T026
-> stderr:
which: pkg-config
-> not found
compiling c program:
 | #include <stdio.h>
 | #include <cairo.h>
 | 
 | 
 | #define DUNE_ABS(x) ((x >= 0)? x: -(x))
 | #define DUNE_D0(x) ('0'+(DUNE_ABS(x)/1         )%10)
 | #define DUNE_D1(x) ('0'+(DUNE_ABS(x)/10        )%10), DUNE_D0(x)
 | #define DUNE_D2(x) ('0'+(DUNE_ABS(x)/100       )%10), DUNE_D1(x)
 | #define DUNE_D3(x) ('0'+(DUNE_ABS(x)/1000      )%10), DUNE_D2(x)
 | #define DUNE_D4(x) ('0'+(DUNE_ABS(x)/10000     )%10), DUNE_D3(x)
 | #define DUNE_D5(x) ('0'+(DUNE_ABS(x)/100000    )%10), DUNE_D4(x)
 | #define DUNE_D6(x) ('0'+(DUNE_ABS(x)/1000000   )%10), DUNE_D5(x)
 | #define DUNE_D7(x) ('0'+(DUNE_ABS(x)/10000000  )%10), DUNE_D6(x)
 | #define DUNE_D8(x) ('0'+(DUNE_ABS(x)/100000000 )%10), DUNE_D7(x)
 | #define DUNE_D9(x) ('0'+(DUNE_ABS(x)/1000000000)%10), DUNE_D8(x)
 | #define DUNE_SIGN(x) ((x >= 0)? '0': '-')
 | 
 | 
 | const char s0[] = {
 |   'B', 'E', 'G', 'I', 'N', '-', '0', '-',
 |   DUNE_SIGN((CAIRO_VERSION_MAJOR)),
 |   DUNE_D9((CAIRO_VERSION_MAJOR)),
 |   '-', 'E', 'N', 'D'
 | };
 | 
 | 
 | const char s1[] = {
 |   'B', 'E', 'G', 'I', 'N', '-', '1', '-',
 |   DUNE_SIGN((CAIRO_VERSION_MINOR)),
 |   DUNE_D9((CAIRO_VERSION_MINOR)),
 |   '-', 'E', 'N', 'D'
 | };
 | 
run: clang -O2 -fno-strict-aliasing -fwrapv -fPIC -I/usr/include/cairo -I /usr/pkg/lib/ocaml -o /tmp/ocaml-configurator9a381a/c-test-1/test.o -c /tmp/ocaml-configurator9a381a/c-test-1/test.c
-> process exited with code 1
-> stdout:
-> stderr:
 | /tmp/ocaml-configurator9a381a/c-test-1/test.c:2:10: fatal error: 'cairo.h' file not found
 | #include <cairo.h>
 |          ^~~~~~~~~
 | 1 error generated.
Error: failed to compile program
*** Error code 1

Stop.
make[1]: stopped in /data/pkgsrc/graphics/ocaml-cairo
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/graphics/ocaml-cairo