=> 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.1nb60 ========================================================================== The following variables will affect the build process of this package, camlimages-4.0.1nb60. 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.54.2 => Tool dependency checkperms>=1.1: found checkperms-1.11nb1 => Build dependency omake>=0.9.8.6.0rc1: found omake-0.9.8.6.0rc1nb12 => Build dependency ocaml-findlib>=1.2.6: found ocaml-findlib-1.7.3nb1 => Build dependency kbproto>=1.0.2: found kbproto-1.0.7 => Build dependency xproto>=7.0.13: found xproto-7.0.31 => Build dependency xcb-proto>=1.4: found xcb-proto-1.12 => Build dependency xextproto>=7.0.99.1: found xextproto-7.3.0 => Build dependency inputproto>=2.3: found inputproto-2.3.2 => Build dependency renderproto>=0.9.3nb1: found renderproto-0.11.1 => Build dependency dri2proto>=2.1: found dri2proto-2.8 => Build dependency dri3proto>=1.0: found dri3proto-1.0 => Build dependency presentproto>=1.0: found presentproto-1.1 => Build dependency glproto>=1.4.11: found glproto-1.4.17 => Build dependency damageproto>=1.1.0: found damageproto-1.2.1 => Build dependency fixesproto>=4.0.0: found fixesproto-5.0 => Build dependency xf86vidmodeproto>=2.3: found xf86vidmodeproto-2.3.1 => Build dependency xf86driproto>=2.0.3: found xf86driproto-2.1.1nb1 => Build dependency randrproto>=1.4: found randrproto-1.5.0 => Build dependency xineramaproto>=1.1.1: found xineramaproto-1.2.1 => Build dependency compositeproto>=0.3.1: found compositeproto-0.4.2 => Build dependency recordproto>=1.13.1: found recordproto-1.14.2 => Build dependency cwrappers>=20150314: found cwrappers-20171108 => Full dependency ocaml>=4.05.0: found ocaml-4.05.0nb2 => Full dependency nspr>=4.9.3.2: found nspr-4.17nb1 => Full dependency ocaml-graphics>=4.05.0nb8: found ocaml-graphics-4.05.0nb9 => Full dependency jpeg>=9: found jpeg-9b => Full dependency png>=1.6.0nb1: found png-1.6.34 => Full dependency tiff>=4.0.3nb5: found tiff-4.0.9 => Full dependency giflib>=5.1.0: found giflib-5.1.4 => Full dependency libXpm>=3.5.4.2: found libXpm-3.5.12 => Full dependency freetype2>=2.4.11: found freetype2-2.8.1 => Full dependency ghostscript>=9.05nb9: found ghostscript-9.05nb9 => Full dependency ocaml-lablgtk>=2.18.6nb2: found ocaml-lablgtk-2.18.6nb2 => Full dependency gtk2+>=2.24.31nb2: found gtk2+-2.24.31nb6 ===> Overriding tools for camlimages-4.0.1nb60 ===> Extracting for camlimages-4.0.1nb60 ===> Patching for camlimages-4.0.1nb60 => Applying pkgsrc patches for camlimages-4.0.1nb60 => 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.1nb60 src=/usr/pkg/lib/pkgconfig/fixesproto.pc dst=/data/scratch/graphics/camlimages/work/.buildlink/lib/pkgconfig/fixesext.pc; /bin/mkdir -p /data/scratch/graphics/camlimages/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi src=/usr/pkg/lib/pkgconfig/compositeproto.pc dst=/data/scratch/graphics/camlimages/work/.buildlink/lib/pkgconfig/compositeext.pc; /bin/mkdir -p /data/scratch/graphics/camlimages/work/.buildlink/lib/pkgconfig; if test -f ${src}; then /bin/ln -sf ${src} ${dst}; fi ===> Configuring for camlimages-4.0.1nb60 => Checking for portability problems in extracted files