=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for camlimages-4.0.1a/v4.0.1.tar.gz
=> Checksum RMD160 OK for camlimages-4.0.1a/v4.0.1.tar.gz
=> Checksum SHA512 OK for camlimages-4.0.1a/v4.0.1.tar.gz
===> Installing dependencies for camlimages-4.0.1nb94
==========================================================================
The following variables will affect the build process of this package,
camlimages-4.0.1nb94.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * 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 glib2-tools-[0-9]*: found glib2-tools-2.68.4
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency omake>=0.9.8.6.0rc1: found omake-0.10.3nb4
=> Build dependency ocaml-findlib>=1.2.6: found ocaml-findlib-1.9.1
=> Build dependency x11-links>=1.34: found x11-links-1.34
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency ocaml>=4.11.2: found ocaml-4.11.2
=> Full dependency nspr>=4.9.3.2: found nspr-4.32
=> Full dependency ocaml-graphics>=2.0.0nb1: found ocaml-graphics-2.0.0nb1
=> Full dependency jpeg>=9: found jpeg-9d
=> Full dependency png>=1.6.0nb1: found png-1.6.37nb1
=> Full dependency tiff>=4.0.3nb5: found tiff-4.3.0
=> Full dependency giflib>=5.2.1nb4: found giflib-5.2.1nb4
=> Full dependency ghostscript>=9.05nb25: found ghostscript-9.05nb25
=> Full dependency ocaml-lablgtk>=2.18.10nb9: found ocaml-lablgtk-2.18.10nb9
=> Full dependency gtk2+>=2.24.32nb15: found gtk2+-2.24.33nb2
===> 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 camlimages-4.0.1nb94
===> Extracting for camlimages-4.0.1nb94
===> Patching for camlimages-4.0.1nb94
=> Applying pkgsrc patches for camlimages-4.0.1nb94
=> Verifying /tree/pkgsrc/graphics/camlimages/patches/patch-OMakefile
=> Applying pkgsrc patch /tree/pkgsrc/graphics/camlimages/patches/patch-OMakefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-OMakefile,v 1.3 2016/09/18 05:48:59 dholland Exp $
|
|Use pkgsrc build variables, correct detection of libpng
|
|--- OMakefile.orig	2011-06-22 18:04:32.000000000 +0000
|+++ OMakefile	2011-08-06 17:23:47.000000000 +0000
--------------------------
Patching file OMakefile using Plan A...
Hunk #1 succeeded at 25.
Hunk #2 succeeded at 37.
Hunk #3 succeeded at 126.
done
=> Verifying /tree/pkgsrc/graphics/camlimages/patches/patch-src_gifread.c
=> Applying pkgsrc patch /tree/pkgsrc/graphics/camlimages/patches/patch-src_gifread.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gifread.c,v 1.2 2014/05/24 04:05:24 obache Exp $
|
|* DGifOpenFileName API change for giflib-5
|* DGifCloseFile API change for giflib-5.1
|* PrintGifError API removal for giflib-4.2.0
|
|--- src/gifread.c.orig	2011-06-22 18:04:32.000000000 +0000
|+++ src/gifread.c
--------------------------
Patching file src/gifread.c using Plan A...
Hunk #1 succeeded at 140.
Hunk #2 succeeded at 161.
Hunk #3 succeeded at 200.
done
=> Verifying /tree/pkgsrc/graphics/camlimages/patches/patch-src_gifwrite.c
=> Applying pkgsrc patch /tree/pkgsrc/graphics/camlimages/patches/patch-src_gifwrite.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_gifwrite.c,v 1.2 2014/05/24 04:05:24 obache Exp $
|
|* MakeMapObject API rename for giflib-5
|* DGifOpenFileName API change for giflib-5
|* DGifCloseFile API change for giflib-5.1
|* PrintGifError API removal for giflib-4.2.0
|
|--- src/gifwrite.c.orig	2011-06-22 18:04:32.000000000 +0000
|+++ src/gifwrite.c
--------------------------
Patching file src/gifwrite.c using Plan A...
Hunk #1 succeeded at 52.
Hunk #2 succeeded at 68.
Hunk #3 succeeded at 88.
Hunk #4 succeeded at 133.
done
=> Verifying /tree/pkgsrc/graphics/camlimages/patches/patch-src_jpegread.c
=> Applying pkgsrc patch /tree/pkgsrc/graphics/camlimages/patches/patch-src_jpegread.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_jpegread.c,v 1.2 2016/09/18 05:48:59 dholland Exp $
|
|Make clang happy with proper return value
|
|--- src/jpegread.c.orig	2011-06-22 18:04:32.000000000 +0000
|+++ src/jpegread.c
--------------------------
Patching file src/jpegread.c using Plan A...
Hunk #1 succeeded at 417.
done
=> Verifying /tree/pkgsrc/graphics/camlimages/patches/patch-src_pngread.c
=> Applying pkgsrc patch /tree/pkgsrc/graphics/camlimages/patches/patch-src_pngread.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_pngread.c,v 1.1 2011/08/07 20:36:20 wiz Exp $
|
|Fix build with png-1.5.
|
|--- src/pngread.c.orig	2011-01-25 14:10:44.000000000 +0000
|+++ src/pngread.c	2011-04-17 13:35:40.000000000 +0000
--------------------------
Patching file src/pngread.c using Plan A...
Hunk #1 succeeded at 69.
Hunk #2 succeeded at 134.
Hunk #3 succeeded at 243.
Hunk #4 succeeded at 302.
done
=> Verifying /tree/pkgsrc/graphics/camlimages/patches/patch-src_pngwrite.c
=> Applying pkgsrc patch /tree/pkgsrc/graphics/camlimages/patches/patch-src_pngwrite.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_pngwrite.c,v 1.1 2011/08/07 20:36:20 wiz Exp $
|
|Fix build with png-1.5.
|
|--- src/pngwrite.c.orig	2011-01-25 14:10:44.000000000 +0000
|+++ src/pngwrite.c	2011-04-17 13:36:21.000000000 +0000
--------------------------
Patching file src/pngwrite.c using Plan A...
Hunk #1 succeeded at 62.
Hunk #2 succeeded at 171.
done
=> Verifying /tree/pkgsrc/graphics/camlimages/patches/patch-src_tiffread.c
=> Applying pkgsrc patch /tree/pkgsrc/graphics/camlimages/patches/patch-src_tiffread.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_tiffread.c,v 1.2 2012/07/29 12:52:55 marino Exp $
|
|Both ocaml/caml/config.h and tiff.h define int32, uint32, etc.
|The workaround of this name polution is to intentionally overwrite the
|first caml definition with a garbage macro before tiff.h is included and
|then unset it after the include.  After tiff version 4.0.1, the same hack
|has to be applied to 64-bit types.  Unlike tiffwrite.c, tiffread.c forgot
|to unset the bogus definitions.  The uint16 and uint32 then has to be
|redefined correctly.  (ugly hack)
|
|--- src/tiffread.c.orig	2011-06-22 18:04:32.000000000 +0000
|+++ src/tiffread.c
--------------------------
Patching file src/tiffread.c using Plan A...
Hunk #1 succeeded at 28.
done
=> Verifying /tree/pkgsrc/graphics/camlimages/patches/patch-src_tiffwrite.c
=> Applying pkgsrc patch /tree/pkgsrc/graphics/camlimages/patches/patch-src_tiffwrite.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_tiffwrite.c,v 1.2 2016/09/18 05:46:31 dholland Exp $
|
| - Both ocaml/caml/config.h and tiff.h define int32, uint32, etc.
|The workaround of this name polution is to intentionally overwrite the
|first caml definition with a garbage macro before tiff.h is included and
|then unset it after the include.  After tiff version 4.0.1, the same hack
|has to be applied to 64-bit types.
|
| - As of some newer ocaml there's no "uint32", only "uint32_t". The
|first two hunks of this patch are probably no longer necessary.
|
|
|--- src/tiffwrite.c.orig	2011-06-22 18:04:32.000000000 +0000
|+++ src/tiffwrite.c
--------------------------
Patching file src/tiffwrite.c using Plan A...
Hunk #1 succeeded at 25.
Hunk #2 succeeded at 34.
Hunk #3 succeeded at 60.
done
===> Creating toolchain wrappers for camlimages-4.0.1nb94
===> Configuring for camlimages-4.0.1nb94
=> Fixing vars in OMakefile
=> Checking for portability problems in extracted files