=> Bootstrap dependency digest>=20211023: found digest-20211023
=> Checksum BLAKE2s OK for pdf2djvu-0.9.17.1.tar.xz
=> Checksum SHA512 OK for pdf2djvu-0.9.17.1.tar.xz
===> Installing dependencies for pdf2djvu-0.9.17.1nb9
==========================================================================
The following variables will affect the build process of this package,
pdf2djvu-0.9.17.1nb9.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

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/bin/make clean' after the changes.
==========================================================================
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb6
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> Tool dependency perl>=5.0: found perl-5.34.0nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency x11-links>=1.34: found x11-links-1.34
=> Build dependency poppler-includes>=21.09.0: found poppler-includes-21.11.0
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency djvulibre-tools-[0-9]*: found djvulibre-tools-3.5.27
=> Full dependency GraphicsMagick>=1.3.36nb4: found GraphicsMagick-1.3.37
=> Full dependency djvulibre-lib>=3.5.24: found djvulibre-lib-3.5.27
=> Full dependency poppler>=21.09.0: found poppler-21.11.0
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Overriding tools for pdf2djvu-0.9.17.1nb9
===> Extracting for pdf2djvu-0.9.17.1nb9
===> Patching for pdf2djvu-0.9.17.1nb9
=> Applying pkgsrc patches for pdf2djvu-0.9.17.1nb9
=> Verifying /tree/pkgsrc/print/pdf2djvu/patches/patch-configure
=> Applying pkgsrc patch /tree/pkgsrc/print/pdf2djvu/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2021/01/16 14:54:14 mef Exp $
|
|https://openbsdmailbox.blogspot.com/2020/12/graphicspdf2djvu-unbreak-for-poppler.html
|the pdf2djvu configure script performs checks against poppler-splash,
|but poppler-splash.pc had been removed in poppler-20.12. Check against
|poppler itself to unbreak the build. 
|
|--- configure.orig	2020-08-08 02:13:47.000000000 +0900
|+++ configure	2021-01-16 23:46:31.375535210 +0900
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 4006.
Hunk #2 succeeded at 4030.
Hunk #3 succeeded at 4056.
Hunk #4 succeeded at 4095.
done
===> Creating toolchain wrappers for pdf2djvu-0.9.17.1nb9
===> Configuring for pdf2djvu-0.9.17.1nb9
=> 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
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g users
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 c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking whether c++ supports C++11... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for c++ option to support OpenMP... -fopenmp
checking for MinGW ANSI stdio... no
checking pkg-config is at least version 0.9.0... yes
checking for ddjvuapi >= 3.5.25... yes
checking DjVuLibre fitness... ok
checking for poppler >= 0.35.0... yes
checking for Poppler xpdf headers... yes
checking for GraphicsMagick++... yes
checking for exiv2 >= 0.21... no
checking whether make sets $(MAKE)... yes
checking for a thread-safe mkdir -p... tools/install-sh -c -d
checking for a sed that does not truncate output... /usr/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /work/print/pdf2djvu/work/.tools/bin/msgfmt
checking for gmsgfmt... /work/print/pdf2djvu/work/.tools/bin/msgfmt
checking for xgettext... /work/print/pdf2djvu/work/.tools/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for x86_64--netbsd-gcc... gcc
checking whether we are using the GNU C compiler... no
checking whether gcc accepts -g... no
checking for gcc option to accept ISO C89... unsupported
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking for GNU gettext in libintl... (cached) yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/lib/libintl.so
checking for iconv... (cached) yes
checking for working iconv... (cached) yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for timegm... yes
checking whether c++ accepts -Werror=unknown-warning-option... no
checking whether c++ accepts -Wall... yes
checking whether c++ accepts -Wempty-body... yes
checking whether c++ accepts -Werror=misleading-indentation... yes
checking whether c++ accepts -Werror=narrowing... yes
checking whether c++ accepts -Werror=overloaded-virtual... yes
configure: creating ./config.status
config.status: creating autoconf.mk
config.status: creating autoconf.hh
config.status: executing po-directories commands

WARNING: Updating XMP metadata will be disabled.
Please consider installing the Exiv2 and libuuid libraries to enable this
feature.
=> Overriding intltool.
WARNING: *** Please consider adding c to USE_LANGUAGES in the package Makefile.