=> 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'. => Checksum SHA1 OK for ghostscript-9.50.tar.xz => Checksum RMD160 OK for ghostscript-9.50.tar.xz => Checksum SHA512 OK for ghostscript-9.50.tar.xz ===> Installing dependencies for ghostscript-agpl-9.50nb2 ========================================================================== The supported build options for ghostscript-agpl are: cups debug disable-compile-inits fontconfig utf8 x11 The currently selected options are: disable-compile-inits fontconfig 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 = disable-compile-inits ========================================================================== ========================================================================== The following variables will affect the build process of this package, ghostscript-agpl-9.50nb2. 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 their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency x11-links>=1.31: found x11-links-1.31 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency ghostscript-fonts>=6.0: found ghostscript-fonts-8.11nb3 => Full dependency perl>=5.0: found perl-5.30.1 => Full dependency fontconfig>=2.13.0: found fontconfig-2.13.1 => Full dependency libidn>=1.20nb1: found libidn-1.34nb1 => Full dependency jbig2dec>=0.17: found jbig2dec-0.17 => Full dependency lcms2>=2.2: found lcms2-2.9 => Full dependency openjpeg>=2.1.0: found openjpeg-2.3.1nb1 => Full dependency png>=1.6.0nb1: found png-1.6.37 => Full dependency tiff>=4.0.3nb5: found tiff-4.1.0 => Full dependency libpaper>=1.1.22: found libpaper-1.1.28 ===> Overriding tools for ghostscript-agpl-9.50nb2 ===> Extracting for ghostscript-agpl-9.50nb2 => Fixing resource directory path /bin/mkdir -p /tmp/print/ghostscript-agpl/work/ghostscript-9.50/bin /bin/mkdir -p /tmp/print/ghostscript-agpl/work/ghostscript-9.50/obj /bin/rm -rf /tmp/print/ghostscript-agpl/work/ghostscript-9.50/freetype /bin/rm -rf /tmp/print/ghostscript-agpl/work/ghostscript-9.50/jbig2dec /bin/rm -rf /tmp/print/ghostscript-agpl/work/ghostscript-9.50/jpeg /bin/rm -rf /tmp/print/ghostscript-agpl/work/ghostscript-9.50/lcms2 /bin/rm -rf /tmp/print/ghostscript-agpl/work/ghostscript-9.50/lcms2mt /bin/rm -rf /tmp/print/ghostscript-agpl/work/ghostscript-9.50/libpng /bin/rm -rf /tmp/print/ghostscript-agpl/work/ghostscript-9.50/openjpeg /bin/rm -rf /tmp/print/ghostscript-agpl/work/ghostscript-9.50/tiff /bin/rm -rf /tmp/print/ghostscript-agpl/work/ghostscript-9.50/zlib (cd /tmp/print/ghostscript-agpl/work/ghostscript-9.50/Resource/Init/; /bin/mv cidfmap cidfmap.dist) ===> Patching for ghostscript-agpl-9.50nb2 => Applying pkgsrc patches for ghostscript-agpl-9.50nb2 => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-Resource_Init_gs_ttf.ps => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-Resource_Init_gs_ttf.ps Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Resource_Init_gs_ttf.ps,v 1.1 2020/01/03 23:56:09 sevan Exp $ | |CVE-2019-14869 |https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=485904772c5f |https://nvd.nist.gov/vuln/detail/CVE-2019-14869 | |--- Resource/Init/gs_ttf.ps.orig 2020-01-03 16:02:12.889444420 +0000 |+++ Resource/Init/gs_ttf.ps -------------------------- Patching file Resource/Init/gs_ttf.ps using Plan A... Hunk #1 succeeded at 1304. Hunk #2 succeeded at 1322. Hunk #3 succeeded at 1339. Hunk #4 succeeded at 1369. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-base_gserrors_h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/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.1 2013/03/16 22:25:21 dholland Exp $ | |This suppresses the noisy warning that __func__ redefined. | |--- base/gserrors.h.orig 2013-02-14 07:58:13.000000000 +0000 |+++ base/gserrors.h -------------------------- Patching file base/gserrors.h using Plan A... Hunk #1 succeeded at 132 (offset 72 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-base_lib.mak => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-base_lib.mak Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_lib.mak,v 1.1 2017/03/31 07:26:23 adam Exp $ | |Don't depend on zlib objects; instead, link against system zlib. | |--- base/lib.mak.orig 2017-03-31 06:55:50.000000000 +0000 |+++ base/lib.mak -------------------------- Patching file base/lib.mak using Plan A... Hunk #1 succeeded at 3532 (offset 180 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-base_mkromfs.c => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-base_mkromfs.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_mkromfs.c,v 1.1 2017/03/31 07:26:23 adam 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 2017-03-16 10:12:02.000000000 +0000 |+++ base/mkromfs.c -------------------------- Patching file base/mkromfs.c using Plan A... Hunk #1 succeeded at 2135 (offset 121 lines). Hunk #2 succeeded at 2399 (offset 31 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-base_ttobjs.h => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-base_ttobjs.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_ttobjs.h,v 1.2 2019/04/17 08:28:44 adam Exp $ | |Avoid GS conflict on older SunOS. | |--- base/ttobjs.h.orig 2019-04-04 07:43:14.000000000 +0000 |+++ base/ttobjs.h -------------------------- Patching file base/ttobjs.h using Plan A... Hunk #1 succeeded at 43. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-base_unix-dll.mak => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-base_unix-dll.mak Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_unix-dll.mak,v 1.4 2018/09/05 13:19:40 adam Exp $ | |Use correct shared library naming on Darwin. |Add some rpaths. | |--- base/unix-dll.mak.orig 2018-09-03 08:50:27.000000000 +0000 |+++ base/unix-dll.mak -------------------------- Patching file base/unix-dll.mak using Plan A... Hunk #1 succeeded at 91. Hunk #2 succeeded at 171. done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-configure => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.3 2018/09/05 13:19:40 adam Exp $ | |Use system zlib for linking. |Add rpath. |Use correct install_name with path on Darwin. | |--- configure.orig 2018-09-03 08:51:26.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 3768 (offset 11 lines). Hunk #2 succeeded at 4382 (offset 11 lines). Hunk #3 succeeded at 6781 (offset 11 lines). Hunk #4 succeeded at 10402 (offset 211 lines). Hunk #5 succeeded at 10215 (offset 11 lines). done => Verifying /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-devices_devs.mak => Applying pkgsrc patch /amd/pkgsrc/CHROOT/P/pkgsrc/print/ghostscript-agpl/patches/patch-devices_devs.mak Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-devices_devs.mak,v 1.6 2018/09/05 13:19:40 adam Exp $ | |Don't depend on src/zlib.h. | |--- devices/devs.mak.orig 2018-09-03 08:50:27.000000000 +0000 |+++ devices/devs.mak -------------------------- Patching file devices/devs.mak using Plan A... Hunk #1 succeeded at 1093 (offset 9 lines). Hunk #2 succeeded at 1244 (offset 20 lines). done ===> Creating toolchain wrappers for ghostscript-agpl-9.50nb2 ===> Configuring for ghostscript-agpl-9.50nb2 => Generating pkg-config file for builtin expat package. => Generating pkg-config files for builtin xz package. => 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 WARNING: [check-portability.awk] => Found $RANDOM: WARNING: [check-portability.awk] configure: CONFAUXDIR=auxtmp$RANDOM$RANDOM Explanation: =========================================================================== The variable $RANDOM is not required for a POSIX-conforming shell, and many implementations of /bin/sh do not support it. It should therefore not be used in shell programs that are meant to be portable across a large number of POSIX-like systems. =========================================================================== checking for x86_64--netbsd-gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for a sed that does not truncate output... /usr/bin/sed checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking for x86_64--netbsd-pkg-config... no checking for pkg-config... /tmp/print/ghostscript-agpl/work/.tools/bin/pkg-config checking for x86_64--netbsd-strip... no checking for strip... /tmp/print/ghostscript-agpl/work/.tools/bin/strip checking if compiler supports restrict... yes checking supported compiler flags... -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -fno-strict-aliasing -Werror=declaration-after-statement -fno-builtin -fno-common -Werror=return-type -gdwarf-2 -g3 -O0 ...done. checking compiler/linker address santizer support... ...done. checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/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 whether byte ordering is bigendian... no checking sse2 support... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) 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 for inttypes.h... (cached) yes 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 for dlopen in -ldl... no checking size of unsigned long long... 8 checking for cos in -lm... yes checking for pread... yes checking for pwrite... yes checking whether pwrite is declared... yes checking whether pread is declared... yes checking whether popen is declared... yes checking for pthread_create in -lpthread... yes checking recursive mutexes.......... checking for stringprep in -lidn... yes checking stringprep.h usability... yes checking stringprep.h presence... yes checking for stringprep.h... yes 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 local freetype library source... no checking for system freetype2 >= 2.4.2 with pkg-config... yes checking for local jpeg library source... no checking for jpeg_set_defaults in -ljpeg... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for jmemsys.h... no 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 lcms2mt library source... no checking for local lcms2 library source... no checking for system lcms2 library... checking for _cmsCreateMutex in -llcms2... yes checking lcms2.h usability... yes checking lcms2.h presence... yes checking for lcms2.h... 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... no checking for jbig2dec 0.16 with pkg-config... yes checking for local Luratech JPEG2K library source... no checking for fseeko... yes checking whether lrintf is declared... yes checking for local OpenJPEG library source... no checking for OpenJPEG2... yes checking for local CAL library source... no checking for GTK+ 3.x... no checking for GTK+ 2.x... no checking for X... libraries /usr/X11R7/lib, headers /usr/X11R7/include checking whether -R must be followed by a space... no 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 configure: WARNING: Unable to include opvp/oprp driver due to missing or disabled prerequisites... configure: WARNING: Unable to include opvp/oprp driver due to missing iconv/libiconv... checking for mkstemp... yes checking for fopen64... no checking for fseeko... (cached) yes checking for mkstemp64... no checking for setlocale... yes checking for strerror... yes checking for isnan... yes checking for isinf... yes checking for fpclassify... no checking whether gcc 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 minimum memory pointer alignment... done checking for sqrtf... yes checking for strnlen... yes checking byteswap support... yes checking for byteswap.h... no checking whether to explicitly disable strict aliasing... yes configure: creating ./config.status config.status: creating Makefile