=> 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 camlimages-4.0.1/v4.0.1.tar.gz => Checksum RMD160 OK for camlimages-4.0.1/v4.0.1.tar.gz => Checksum SHA512 OK for camlimages-4.0.1/v4.0.1.tar.gz ===> Installing dependencies for camlimages-4.0.1nb68 ========================================================================== The following variables will affect the build process of this package, camlimages-4.0.1nb68. Their current value is shown below: * BDB185_DEFAULT = db1 * BDB_DEFAULT = db4 * JPEG_DEFAULT = jpeg * SSLBASE = /usr * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private Based on these variables, the following variables have been set: * BDBBASE (defined, but empty) * BDB_LIBS = -ldb4 * BDB_TYPE = db4 * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg * 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 glib2-tools-[0-9]*: found glib2-tools-2.56.1 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency omake>=0.9.8.6.0rc1: found omake-0.10.3nb1 => Build dependency ocaml-findlib>=1.2.6: found ocaml-findlib-1.7.3nb4 => Build dependency xorgproto>=2016.1: found xorgproto-2018.4 => Build dependency xcb-proto>=1.4: found xcb-proto-1.13 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency ocaml>=4.06.1: found ocaml-4.06.1 => Full dependency nspr>=4.9.3.2: found nspr-4.19 => Full dependency ocaml-graphics>=4.06.1nb11: found ocaml-graphics-4.06.1nb11 => Full dependency jpeg>=9: found jpeg-9c => Full dependency png>=1.6.0nb1: found png-1.6.34 => Full dependency tiff>=4.0.3nb5: found tiff-4.0.9nb2 => Full dependency giflib>=5.1.0: found giflib-5.1.4 => Full dependency libXpm>=3.5.4.2: found libXpm-3.5.12nb1 => Full dependency freetype2>=2.4.11: found freetype2-2.9 => Full dependency ghostscript>=9.05nb13: found ghostscript-9.05nb13 => Full dependency ocaml-lablgtk>=2.18.6nb10: found ocaml-lablgtk-2.18.6nb10 => Full dependency gtk2+>=2.24.32nb3: found gtk2+-2.24.32nb4 ===> Overriding tools for camlimages-4.0.1nb68 ===> Extracting for camlimages-4.0.1nb68 ===> Patching for camlimages-4.0.1nb68 => Applying pkgsrc patches for camlimages-4.0.1nb68 => Verifying /data/pkgsrc/graphics/camlimages/patches/patch-OMakefile => Applying pkgsrc patch /data/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 /data/pkgsrc/graphics/camlimages/patches/patch-src_gifread.c => Applying pkgsrc patch /data/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 /data/pkgsrc/graphics/camlimages/patches/patch-src_gifwrite.c => Applying pkgsrc patch /data/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 /data/pkgsrc/graphics/camlimages/patches/patch-src_jpegread.c => Applying pkgsrc patch /data/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 /data/pkgsrc/graphics/camlimages/patches/patch-src_pngread.c => Applying pkgsrc patch /data/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 /data/pkgsrc/graphics/camlimages/patches/patch-src_pngwrite.c => Applying pkgsrc patch /data/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 /data/pkgsrc/graphics/camlimages/patches/patch-src_tiffread.c => Applying pkgsrc patch /data/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 /data/pkgsrc/graphics/camlimages/patches/patch-src_tiffwrite.c => Applying pkgsrc patch /data/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 => Fixing vars in OMakefile ===> Creating toolchain wrappers for camlimages-4.0.1nb68 ===> Configuring for camlimages-4.0.1nb68 => Checking for portability problems in extracted files