+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ghostscript-gpl-9.06nb51/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ghostscript-gpl-9.06nb51/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for ghostscript-9.06.tar.bz2 => Checksum SHA512 OK for ghostscript-9.06.tar.bz2 ===> Installing dependencies for ghostscript-gpl-9.06nb51 ========================================================================== The supported build options for ghostscript-gpl are: cups debug disable-compile-inits fontconfig utf8 x11 The currently selected options are: fontconfig utf8 x11 You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.ghostscript (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, ghostscript-gpl-9.06nb51. Their current value is shown below: * JPEG_DEFAULT = jpeg * PAPERSIZE = A4 Based on these variables, the following variables have been set: * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg 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/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency flex>=2.5.4a: found flex-2.6.4 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency xorgproto>=2016.1: found xorgproto-2024.1 => Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.17.0 => Build dependency flex>=2.5.4a: found flex-2.6.4 => Full dependency ghostscript-fonts>=6.0: found ghostscript-fonts-8.11nb3 => Full dependency perl>=5.0: found perl-5.38.2 => Full dependency libX11>=1.1: found libX11-1.8.9 => Full dependency libXt>=1.0.0: found libXt-1.3.0nb1 => Full dependency libXext>=0.99.0: found libXext-1.3.6 => Full dependency fontconfig>=2.14.2nb3: found fontconfig-2.15.0 => Full dependency zlib>=1.2.3: found zlib-1.3.1 => Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.2nb1 => Full dependency png>=1.6.0nb1: found png-1.6.43 => Full dependency tiff>=4.6.0: found tiff-4.6.0nb3 => Full dependency libpaper>=2.1.0: found libpaper-2.2.5 ===> Overriding tools for ghostscript-gpl-9.06nb51 ===> Extracting for ghostscript-gpl-9.06nb51 => Fixing resource directory path /bin/mkdir -p /home/pbulk/build/print/ghostscript-gpl/work/ghostscript-9.06/bin /bin/mkdir -p /home/pbulk/build/print/ghostscript-gpl/work/ghostscript-9.06/obj /bin/rm -rf /home/pbulk/build/print/ghostscript-gpl/work/ghostscript-9.06/freetype /bin/rm -rf /home/pbulk/build/print/ghostscript-gpl/work/ghostscript-9.06/libpng /bin/rm -rf /home/pbulk/build/print/ghostscript-gpl/work/ghostscript-9.06/tiff /bin/rm -rf /home/pbulk/build/print/ghostscript-gpl/work/ghostscript-9.06/zlib ===> Patching for ghostscript-gpl-9.06nb51 => Applying pkgsrc patches for ghostscript-gpl-9.06nb51 => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-af => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-af Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-af,v 1.5 2017/11/10 18:17:55 khorben Exp $ | |(From the log for revision 1.4 of print/ghostscript/patches/patch-af) |date: 2008/11/13 17:36:54; author: chuck; state: Exp; lines: +22 -4 |ghostscript has hand-rolled shared lib handling in src/unix-dll.mak |that does not do the right thing on Darwin (where shared libs are |created with different linking flags and use dylib rather than so |as an extension). | |You need to manually reconfigure unix-dll.mak to make it work, so |do it in hacks.mk. | |XXX: this still leaves the issue of libgs.so (et al.) being hardwired |in PLIST, instead of using libgs.dylib (et al.). i'm not sure of |the best way to fix that. at least it compiles now.... | |--- base/unix-dll.mak.orig 2012-08-08 08:01:36.000000000 +0000 |+++ base/unix-dll.mak -------------------------- Patching file base/unix-dll.mak using Plan A... Hunk #1 succeeded at 59. Hunk #2 succeeded at 84. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-ah => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-ah Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ah,v 1.7 2017/10/27 16:17:49 jperkin Exp $ | |(1) First chunk to fix the X11_TYPE=native problem, which | freetype2 in /usr/X11R7/ is way old, and work around to | use ghostscript-provided freetype2. | This part is not necessary for NetBSD 6.0, 6.1. | |(2) Second chunk for X11_TYPE=native, will have following problem without | this patch: | | Shared object "libpaper.so.1" not found | |(3) SCO_SV chunk for SCO OpenServer 5.0.7/3.2's linker. | |--- configure.orig 2012-08-08 08:04:57.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 3756. Hunk #2 succeeded at 3786. Hunk #3 succeeded at 3806. Hunk #4 succeeded at 5334. Hunk #5 succeeded at 5835. Hunk #6 succeeded at 5874. Hunk #7 succeeded at 6477. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-ai => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-ai Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-ai,v 1.3 2015/08/12 22:20:00 wiz Exp $ | |chunk 1: |fix build with _FORTIFY_SOURCE=2; it seems the arguments sometimes |overlap. | |chunk 2: |replace BSD/Linux specific "qd" printf format specifier by "lld", |should fix build problem on Solaris reported by Joern Clausen |per PR pkg/40664 | |--- base/mkromfs.c.orig 2012-08-08 08:01:36.000000000 +0000 |+++ base/mkromfs.c -------------------------- Patching file base/mkromfs.c using Plan A... Hunk #1 succeeded at 1836. Hunk #2 succeeded at 2178. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-aj => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-aj Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-aj,v 1.2 2014/04/26 13:51:40 wiz Exp $ | |http://bugs.ghostscript.com/show_bug.cgi?id=690883 | |--- base/gxpcolor.h.orig 2009-09-14 10:49:17.000000000 +0200 |+++ base/gxpcolor.h 2009-09-14 10:49:42.000000000 +0200 -------------------------- Patching file base/gxpcolor.h using Plan A... Hunk #1 succeeded at 20 (offset 2 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-al => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-al Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-al,v 1.2 2014/04/26 13:51:40 wiz Exp $ | |Echogs is almost strings command and accepts some glue to output |from its command line. The output, in this case ldt.tr, will be really |shell script for ld command. The adding words with this patch, |$(LDFLAGS_SO), will be included in the argument of ld command. | |$(LDFLAGS_SO) is defined in patch-af, for Mac OS X, Darwin. | -- added by mef@ -- | |--- base/unixlink.mak.orig 2010-02-18 12:08:31.000000000 +0000 |+++ base/unixlink.mak -------------------------- Patching file base/unixlink.mak using Plan A... Hunk #1 succeeded at 51 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-an => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-an Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-an,v 1.2 2014/04/26 13:51:40 wiz Exp $ | |Do some initialization of global stuff earlier, in particular before |"@file" args get processed, fixes PR pkg/42984 from T. M. Pederson. |I'm not 100% sure that this has no side effects (the initialization |order in gs is messy and undocumented) but I haven't found any within |some weeks of testing. | |--- psi/imainarg.c.orig 2011-01-13 23:37:33.000000000 +0900 |+++ psi/imainarg.c 2011-03-30 16:22:08.000000000 +0900 -------------------------- Patching file psi/imainarg.c using Plan A... Hunk #1 succeeded at 205 (offset 11 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-base_configure_ac => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-base_configure_ac Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_configure_ac,v 1.1 2014/04/26 13:51:40 wiz Exp $ | |The source for configure, see patch-ah | |--- base/configure.ac.orig 2012-08-08 17:01:36.000000000 +0900 |+++ base/configure.ac 2013-04-08 10:51:50.000000000 +0900 -------------------------- Patching file base/configure.ac using Plan A... Hunk #1 succeeded at 142. Hunk #2 succeeded at 457. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-base_gdevpng.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-base_gdevpng.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_gdevpng.c,v 1.2 2014/04/26 13:51:40 wiz Exp $ | |The patch was included in patches/patch-ak: | revision 1.5 | date: 2011/01/15 14:08:10; author: wiz; state: Exp; lines: +194 -29 | Fix build with png-1.5. Patch from John Bowler in private mail. | | and 'fix for build with png-1.5' is now included in upstream in different | shape, so some left out is here: | |--- base/gdevpng.c.orig 2011-08-05 20:12:20.000000000 +0900 |+++ base/gdevpng.c 2011-08-22 19:04:12.000000000 +0900 -------------------------- Patching file base/gdevpng.c using Plan A... Hunk #1 succeeded at 42 (offset 2 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-base_gsdevice.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-base_gsdevice.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_gsdevice.c,v 1.1 2017/11/13 16:41:48 he Exp $ | |Apply fix for CVE-2016-7978, |fixing bug 697179, fixing a double free and memory corruption. | |--- base/gsdevice.c.orig 2012-08-08 08:01:36.000000000 +0000 |+++ base/gsdevice.c -------------------------- Patching file base/gsdevice.c using Plan A... Hunk #1 succeeded at 540. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-base_gserrors_h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-base_gserrors_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_gserrors_h,v 1.2 2014/04/26 13:51:40 wiz Exp $ |# This suppresses the noisy warning that __func__ redefined | |--- base/gserrors.h.orig 2012-02-08 17:48:48.000000000 +0900 |+++ base/gserrors.h 2012-03-24 07:26:35.000000000 +0900 -------------------------- Patching file base/gserrors.h using Plan A... Hunk #1 succeeded at 55 (offset 2 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-base_gsmalloc.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-base_gsmalloc.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_gsmalloc.c,v 1.1 2015/09/23 08:25:09 he Exp $ | |In gs_heap_alloc_bytes(), add a sanity check to ensure we don't overflow the |variable holding the actual number of bytes we allocate. | |Fixes CVE-2015-3228. | |--- base/gsmalloc.c.orig 2012-08-08 08:01:36.000000000 +0000 |+++ base/gsmalloc.c -------------------------- Patching file base/gsmalloc.c using Plan A... Hunk #1 succeeded at 178. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-base_memento.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-base_memento.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_memento.c,v 1.1 2015/08/11 18:16:50 wiz Exp $ | |Rely on header to get memset prototype. | |--- base/memento.c.orig 2012-08-08 08:01:36.000000000 +0000 |+++ base/memento.c -------------------------- Patching file base/memento.c using Plan A... Hunk #1 succeeded at 40. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-cups_colord.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-cups_colord.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-cups_colord.h,v 1.1 2017/06/08 01:28:10 khorben Exp $ | |Fix build with cups 2.2.0 | |--- cups/colord.h.orig 2012-08-08 08:01:36.000000000 +0000 |+++ cups/colord.h -------------------------- Patching file cups/colord.h using Plan A... Hunk #1 succeeded at 27. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2012-4405 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2012-4405 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CVE-2012-4405,v 1.2 2014/04/26 13:51:40 wiz Exp $ | |from RedHat bug #854227 | |--- icclib/icc.c.orig 2009-07-28 07:48:19.000000000 +0000 |+++ icclib/icc.c -------------------------- Patching file icclib/icc.c using Plan A... Hunk #1 succeeded at 4996. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2014-8137 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2014-8137 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CVE-2014-8137,v 1.1 2015/03/11 20:58:26 spz Exp $ | |patch for CVE-2014-8137 taken from |http://pkgs.fedoraproject.org/cgit/jasper.git/tree/jasper-CVE-2014-8137.patch | |--- jasper/src/libjasper/base/jas_icc.c.orig 2012-08-08 08:01:36.000000000 +0000 |+++ jasper/src/libjasper/base/jas_icc.c -------------------------- Patching file jasper/src/libjasper/base/jas_icc.c using Plan A... Hunk #1 succeeded at 1024. Hunk #2 succeeded at 1143. Hunk #3 succeeded at 1221. Hunk #4 succeeded at 1345. Hunk #5 succeeded at 1515. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |--- jasper/src/libjasper/jp2/jp2_dec.c.orig 2012-08-08 08:01:36.000000000 +0000 |+++ jasper/src/libjasper/jp2/jp2_dec.c -------------------------- Patching file jasper/src/libjasper/jp2/jp2_dec.c using Plan A... Hunk #1 succeeded at 325. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2014-8138 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2014-8138 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CVE-2014-8138,v 1.1 2015/03/11 20:58:26 spz Exp $ | |--- jasper/src/libjasper/jp2/jp2_dec.c.orig 2012-08-08 08:01:36.000000000 +0000 |+++ jasper/src/libjasper/jp2/jp2_dec.c -------------------------- Patching file jasper/src/libjasper/jp2/jp2_dec.c using Plan A... Hunk #1 succeeded at 450 (offset 3 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2014-8157 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2014-8157 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CVE-2014-8157,v 1.1 2015/03/11 20:58:26 spz Exp $ | |patch for CVE-2014-8157 from |http://pkgs.fedoraproject.org/cgit/jasper.git/tree/jasper-CVE-2014-8157.patch | |--- jasper/src/libjasper/jpc/jpc_dec.c.orig 2012-08-08 08:01:36.000000000 +0000 |+++ jasper/src/libjasper/jpc/jpc_dec.c -------------------------- Patching file jasper/src/libjasper/jpc/jpc_dec.c using Plan A... Hunk #1 succeeded at 496. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2014-8158 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2014-8158 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CVE-2014-8158,v 1.1 2015/03/11 20:58:26 spz Exp $ | |patch for CVE-2014-8158 loosely based on |http://pkgs.fedoraproject.org/cgit/jasper.git/plain/jasper-CVE-2014-8158.patch | |eradicate all code-paths activated by HAVE_VLA | |--- jasper/src/libjasper/jpc/jpc_qmfb.c.orig 2012-08-08 08:01:36.000000000 +0000 |+++ jasper/src/libjasper/jpc/jpc_qmfb.c -------------------------- Patching file jasper/src/libjasper/jpc/jpc_qmfb.c using Plan A... Hunk #1 succeeded at 158. Hunk #2 succeeded at 175. Hunk #3 succeeded at 185. Hunk #4 succeeded at 266. Hunk #5 succeeded at 277. Hunk #6 succeeded at 290. Hunk #7 succeeded at 300. Hunk #8 succeeded at 386. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2014-9029 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2014-9029 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CVE-2014-9029,v 1.1 2014/12/30 07:52:41 dholland Exp $ | |Patch for CVE-2014-9029 from https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2014-9029 |(adjusted very slightly to match the jasper shipped with ghostscript) | | |--- jasper/src/libjasper/jpc/jpc_dec.c.orig 2012-08-08 08:01:36.000000000 +0000 |+++ jasper/src/libjasper/jpc/jpc_dec.c -------------------------- Patching file jasper/src/libjasper/jpc/jpc_dec.c using Plan A... Hunk #1 succeeded at 1294. Hunk #2 succeeded at 1321. Hunk #3 succeeded at 1371. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2016-10217 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2016-10217 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CVE-2016-10217,v 1.1 2017/04/18 22:07:07 tez Exp $ | |Patch for CVE-2016-10217 from |http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=90fd0c7ca3efc1ddff64a86f4104b13b3ac969eb;hp=d621292fb2c8157d9899dcd83fd04dd250e30fe4 |Patch for CVE-2016-10218 from |http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=d621292fb2c8157d9899dcd83fd04dd250e30fe4;hp=4bef1a1d32e29b68855616020dbff574b9cda08f |(actually no patch, the null check was already in place!) | | |--- base/gdevp14.c.orig 2017-04-05 20:36:47.701597100 +0000 |+++ base/gdevp14.c -------------------------- Patching file base/gdevp14.c using Plan A... Hunk #1 succeeded at 1369. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2016-10219 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2016-10219 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CVE-2016-10219,v 1.1 2017/04/18 22:07:07 tez Exp $ | |Patch for CVE-2016-10219 from |http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4bef1a1d32e29b68855616020dbff574b9cda08f;hp=0aeb0bbd41cc16e70ab6e4b1d56e0c510bf2a758 | | |--- base/gxfill.c.orig 2017-04-05 20:56:07.869067200 +0000 |+++ base/gxfill.c -------------------------- Patching file base/gxfill.c using Plan A... Hunk #1 succeeded at 1743. Hunk #2 succeeded at 1752. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2016-10220 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2016-10220 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CVE-2016-10220,v 1.1 2017/04/18 22:07:07 tez Exp $ | |Fix for CVE-2016-10220 from |http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=daf85701dab05f17e924a48a81edc9195b4a04e8;hp=2299c9a25fc9ae7b59752f1795f8b53920901c80 | | |--- base/gsdevmem.c.orig 2017-04-05 21:01:59.873181700 +0000 |+++ base/gsdevmem.c -------------------------- Patching file base/gsdevmem.c using Plan A... Hunk #1 succeeded at 223. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2017-5951 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2017-5951 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CVE-2017-5951,v 1.1 2017/04/18 22:07:07 tez Exp $ | |Patch for CVE-2017-5951 from | http://git.ghostscript.com/?p=user/chrisl/ghostpdl.git;a=commitdiff;h=bfa6b2ec | |--- psi/iparam.c.orig 2017-04-06 19:05:43.573183800 +0000 |+++ psi/iparam.c -------------------------- Patching file psi/iparam.c using Plan A... Hunk #1 succeeded at 770. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2017-6196 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2017-6196 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CVE-2017-6196,v 1.1 2017/03/23 20:38:24 tez Exp $ | |Patch for CVE-2017-6196 adapted from: | |http://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=ecceafe3abba2714ef9b432035fe0739d9b1a283 | | |--- base/gxipixel.c |+++ base/gxipixel.c -------------------------- Patching file base/gxipixel.c using Plan A... Hunk #1 succeeded at 257. Hunk #2 succeeded at 486. Hunk #3 succeeded at 505. Hunk #4 succeeded at 610. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2017-7207 => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-CVE-2017-7207 Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-CVE-2017-7207,v 1.1 2017/04/05 20:11:01 tez Exp $ | |Fix for CVE-2017-7207 from |http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=309eca4e0a31ea70dcc844812691439312dad091;hp=dd5da2cb3e08398ac6d86598b36b00994d058308 | | |--- base/gdevmem.c.orig 2017-04-05 19:13:09.561063700 +0000 |+++ base/gdevmem.c -------------------------- Patching file base/gdevmem.c using Plan A... Hunk #1 succeeded at 562. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-openjpeg_libopenjpeg_opj_malloc_h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-openjpeg_libopenjpeg_opj_malloc_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-openjpeg_libopenjpeg_opj_malloc_h,v 1.2 2014/04/26 13:51:40 wiz Exp $ | |To avoid following problem: || gcc .. (omitted).. g -o ./sobin/gsc ./psi/dxmainc.c \ || -L./sobin -Wl,-R/usr/pkg/lib -lgs || ./sobin/libgs.so: undefined reference to `memalign' || gmake[2]: *** [sobin/gsc] Error 1 | |--- openjpeg/libopenjpeg/opj_malloc.h.orig 2012-08-08 17:01:36.000000000 +0900 |+++ openjpeg/libopenjpeg/opj_malloc.h 2012-10-08 09:17:03.000000000 +0900 -------------------------- Patching file openjpeg/libopenjpeg/opj_malloc.h using Plan A... Hunk #1 succeeded at 84. done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-psi_fapi__ft.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/print/ghostscript-gpl/patches/patch-psi_fapi__ft.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-psi_fapi__ft.c,v 1.1 2020/11/29 22:07:25 dholland Exp $ | |Fix build with freetype2 2.10.3+ | |--- psi/fapi_ft.c~ 2012-08-08 08:01:36.000000000 +0000 |+++ psi/fapi_ft.c -------------------------- Patching file psi/fapi_ft.c using Plan A... Hunk #1 succeeded at 53. done ===> Creating toolchain wrappers for ghostscript-gpl-9.06nb51 ===> Configuring for ghostscript-gpl-9.06nb51 => 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 => Replacing Perl interpreter in toolbin/localcluster/clusterpush.pl toolbin/checkdeps.pl toolbin/pscet_status.pl toolbin/performance.pl toolbin/squeeze2html.pl toolbin/bugsByEngineer.pl toolbin/htmldiff.pl. => Checking for portability problems in extracted files checking for x86_64-redhat-linux-gcc... cc 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 we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for a sed that does not truncate output... /bin/sed checking for x86_64-redhat-linux-ranlib... no checking for ranlib... ranlib checking for pkg-config... /home/pbulk/build/print/ghostscript-gpl/work/.tools/bin/pkg-config checking supported compiler flags... -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -g -O0 ...done. checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/egrep checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking ndir.h usability... no checking ndir.h presence... no checking for ndir.h... no checking sys/dir.h usability... yes checking sys/dir.h presence... yes checking for sys/dir.h... yes checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking sys/window.h usability... no checking sys/window.h presence... no checking for sys/window.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking size of unsigned long int... 8 checking for cos in -lm... yes checking for pthread_create in -lpthread... yes checking for iconv_open in -liconv... yes checking for stringprep in -lidn... no checking for systempapername in -lpaper... yes checking paper.h usability... yes checking paper.h presence... yes checking for paper.h... yes checking for fontconfig with pkg-config... yes checking for dbus with pkg-config... no checking for dbus_message_iter_get_basic in -ldbus... no checking for dlopen in -ldl... yes checking for local freetype library source... no checking for system freetype2 >= 2.4.2 with pkg-config... yes checking for local jpeg library source... jpeg checking for jmemsys.h... yes checking for local zlib source... no checking for deflate in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for local png library source... no checking for png_create_write_struct in -lpng... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for local lcms2 library source... yes checking for libtiff with pkg-config... yes checking for local ijs library source... yes checking for local Luratech JBIG2 library source... no checking for local jbig2dec library source... Running jbig2dec configure script... checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /home/pbulk/build/print/ghostscript-gpl/work/.tools/bin/mkdir -p checking for gawk... /bin/gawk checking whether make sets $(MAKE)... yes checking for gcc... cc 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 we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking whether cc understands -c and -o together... yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/egrep checking for fgrep... /bin/grep -F checking for ld used by cc... /home/pbulk/build/print/ghostscript-gpl/work/.cwrapper/bin/ld checking if the linker (/home/pbulk/build/print/ghostscript-gpl/work/.cwrapper/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B checking the name lister (/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/pbulk/build/print/ghostscript-gpl/work/.cwrapper/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... no checking if cc supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/home/pbulk/build/print/ghostscript-gpl/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for library containing pow... none required checking for png_create_write_struct in -lpng... yes checking for deflate in -lz... yes checking for ANSI C header files... (cached) yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for unistd.h... (cached) yes checking for strings.h... (cached) yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking for stdint.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether byte ordering is bigendian... no checking for working memcmp... yes checking for snprintf... yes checking for memset... yes checking for strdup... yes checking for getopt_long... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config_types.h config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands /bin/rm: cannot remove 'libtoolT': No such file or directory Continuing with Ghostscript configuration... jbig2dec checking for local Luratech JPEG2K library source... no checking for local OpenJPEG library source... yes checking for GTK+ 3.x... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XdbeQueryExtension in -lXext... yes checking for XtAppCreateShell in -lXt... yes checking for mkstemp... yes checking for fopen64... yes checking for mkstemp64... yes checking for setlocale... yes checking for strerror... yes checking whether cc needs -traditional... no checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for vprintf... yes checking for _doprnt... no checking for bzero... yes checking for dup2... yes checking for floor... yes checking for gettimeofday... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for mkfifo... yes checking for modf... yes checking for pow... yes checking for putenv... yes checking for rint... yes checking for setenv... yes checking for sqrt... yes checking for strchr... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for big endian... no checking sse2 support... yes checking byteswap support... yes checking for byteswap.h... yes configure: creating ./config.status config.status: creating Makefile configure: creating ./config.status config.status: creating Makefile config.status: creating cups/gstopxl