=> Bootstrap dependency digest>=20211023: found digest-20211023 => Checksum BLAKE2s OK for ghostscript-9.55.0.tar.xz => Checksum SHA512 OK for ghostscript-9.55.0.tar.xz ===> Installing dependencies for ghostscript-agpl-9.55.0nb1 ========================================================================== The supported build options for ghostscript-agpl are: cups debug disable-compile-inits fontconfig utf8 x11 The currently selected options are: cups 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 (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, ghostscript-agpl-9.55.0nb1. Their current value is shown below: * JPEG_DEFAULT = jpeg * KRB5_DEFAULT = heimdal * PAPERSIZE = A4 * SSLBASE = /usr * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private Based on these variables, the following variables have been set: * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg * KRB5BASE (defined, but empty) * KRB5_TYPE = heimdal 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 gmake>=3.81: found gmake-4.3nb3 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency xorgproto>=2016.1: found xorgproto-2021.5nb1 => Build dependency xcb-proto>=1.4: found xcb-proto-1.14.1nb3 => 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.34.0nb3 => Full dependency libX11>=1.1: found libX11-1.7.3.1 => Full dependency libXt>=1.0.0: found libXt-1.2.1 => Full dependency libXext>=0.99.0: found libXext-1.3.4 => Full dependency libcups>=2.3.3op2nb3: found libcups-2.3.3op2nb4 => Full dependency png>=1.6.0nb1: found png-1.6.37nb1 => Full dependency tiff>=4.0.3nb5: found tiff-4.3.0 => Full dependency fontconfig>=2.13.1nb1: found fontconfig-2.13.1nb5 => Full dependency freetype2>=2.10.0: found freetype2-2.10.4 => Full dependency libidn>=1.20nb1: found libidn-1.38 => Full dependency jbig2dec>=0.19: found jbig2dec-0.19nb1 => Full dependency lcms2>=2.2: found lcms2-2.12 => Full dependency openjpeg>=2.1.0: found openjpeg-2.4.0nb1 => Full dependency libpaper>=1.1.22: found libpaper-1.1.28 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for ghostscript-agpl-9.55.0nb1 ===> Extracting for ghostscript-agpl-9.55.0nb1 => Fixing resource directory path /bin/mkdir -p /tmp/work/ghostscript-9.55.0/bin /bin/mkdir -p /tmp/work/ghostscript-9.55.0/obj /bin/rm -rf /tmp/work/ghostscript-9.55.0/freetype /bin/rm -rf /tmp/work/ghostscript-9.55.0/jbig2dec /bin/rm -rf /tmp/work/ghostscript-9.55.0/jpeg /bin/rm -rf /tmp/work/ghostscript-9.55.0/lcms2 /bin/rm -rf /tmp/work/ghostscript-9.55.0/lcms2mt /bin/rm -rf /tmp/work/ghostscript-9.55.0/libpng /bin/rm -rf /tmp/work/ghostscript-9.55.0/openjpeg /bin/rm -rf /tmp/work/ghostscript-9.55.0/tiff /bin/rm -rf /tmp/work/ghostscript-9.55.0/zlib ===> Patching for ghostscript-agpl-9.55.0nb1 => Applying pkgsrc patches for ghostscript-agpl-9.55.0nb1 => Verifying /usr/pkgsrc/print/ghostscript-agpl/patches/patch-base_gserrors_h => Applying pkgsrc patch /usr/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 141 (offset 81 lines). done => Verifying /usr/pkgsrc/print/ghostscript-agpl/patches/patch-base_gsicc__lcms2.c => Applying pkgsrc patch /usr/pkgsrc/print/ghostscript-agpl/patches/patch-base_gsicc__lcms2.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-base_gsicc__lcms2.c,v 1.1 2021/09/30 23:48:51 ryoon Exp $ | |* Fix typo in function name to fix link. | |--- base/gsicc_lcms2.c.orig 2021-09-27 07:44:02.000000000 +0000 |+++ base/gsicc_lcms2.c -------------------------- Patching file base/gsicc_lcms2.c using Plan A... Hunk #1 succeeded at 462. done => Verifying /usr/pkgsrc/print/ghostscript-agpl/patches/patch-base_lib.mak => Applying pkgsrc patch /usr/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 3614 (offset 262 lines). done => Verifying /usr/pkgsrc/print/ghostscript-agpl/patches/patch-base_mkromfs.c => Applying pkgsrc patch /usr/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.2 2020/03/24 16:34:45 adam Exp $ | |Fix build with _FORTIFY_SOURCE=2; it seems the arguments sometimes |overlap. | |--- base/mkromfs.c.orig 2020-03-19 08:21:42.000000000 +0000 |+++ base/mkromfs.c -------------------------- Patching file base/mkromfs.c using Plan A... Hunk #1 succeeded at 2178 (offset 41 lines). done => Verifying /usr/pkgsrc/print/ghostscript-agpl/patches/patch-base_ttobjs.h => Applying pkgsrc patch /usr/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 /usr/pkgsrc/print/ghostscript-agpl/patches/patch-base_unix-dll.mak => Applying pkgsrc patch /usr/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 100 (offset 9 lines). Hunk #2 succeeded at 186 (offset 15 lines). done => Verifying /usr/pkgsrc/print/ghostscript-agpl/patches/patch-configure => Applying pkgsrc patch /usr/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.8 2021/09/29 19:19:23 adam Exp $ | |Use system zlib for linking. |Add rpath. |Get all LDFLAGS for FreeType2. |Use correct install_name with path on Darwin. | |--- configure.orig 2021-09-27 07:44:02.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 4049. Hunk #2 succeeded at 4681. Hunk #3 succeeded at 7625. Hunk #4 succeeded at 11585. Hunk #5 succeeded at 11605. done => Verifying /usr/pkgsrc/print/ghostscript-agpl/patches/patch-devices_devs.mak => Applying pkgsrc patch /usr/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.7 2020/03/24 16:34:45 adam Exp $ | |Don't depend on src/zlib.h. | |--- devices/devs.mak.orig 2020-03-19 08:21:42.000000000 +0000 |+++ devices/devs.mak -------------------------- Patching file devices/devs.mak using Plan A... Hunk #1 succeeded at 1112 (offset 19 lines). Hunk #2 succeeded at 1504 (offset -10 lines). done ===> Creating toolchain wrappers for ghostscript-agpl-9.55.0nb1 ===> Configuring for ghostscript-agpl-9.55.0nb1 => Generating pkg-config files for builtin xz package. => Generating pkg-config file for builtin expat 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:4074: 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 build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking for x86_64--netbsd-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... /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/work/.tools/bin/pkg-config checking for x86_64--netbsd-strip... no checking for strip... /tmp/work/.tools/bin/strip checking if compiler supports restrict... yes checking supported compiler flags... -O2 -DNDEBUG -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 -fvisibility=hidden ...done. checking compiler/linker address santizer support... ...done. checking compiler/linker address santizer build warnings 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 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 if make is GNU make... 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 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 for recursive mutexes... PTHREAD_MUTEX_RECURSIVE checking for libidn with pkg-config... 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 x86_64--netbsd-cups-config... no checking for cups-config... /usr/pkg/bin/cups-config checking cups/cups.h usability... yes checking cups/cups.h presence... yes checking for cups/cups.h... yes checking cups/raster.h usability... yes checking cups/raster.h presence... yes checking for cups/raster.h... yes checking for local ijs library source... yes checking for local jbig2dec library source... no checking for jbig2dec 0.19 with pkg-config... yes checking for fseeko... yes checking whether lrintf is declared... yes checking for local OpenJPEG library source... no checking for OpenJPEG2... yes checking for URF support... checking for local CAL library source... no checking for GTK+ 3.x... no checking for GTK+ 2.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 Checking for "extract" in default location... 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 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 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