=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for zbar-0.23.1.tar.bz2
=> Checksum RMD160 OK for zbar-0.23.1.tar.bz2
=> Checksum SHA512 OK for zbar-0.23.1.tar.bz2
===> Installing dependencies for zbar-0.23.1nb1
==========================================================================
The supported build options for zbar are:

	imagemagick x11

The currently selected options are:

	imagemagick 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.zbar (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
zbar-0.23.1nb1.  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 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.64.5
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2020.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.14nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency ImageMagick>=7.0.10.24nb1: found ImageMagick-7.0.10.28nb1
=> Full dependency libX11>=1.1: found libX11-1.6.12
=> Full dependency libXext>=0.99.0: found libXext-1.3.4
=> Full dependency libSM>=0.99.2: found libSM-1.2.3
=> Full dependency libICE>=0.99.1: found libICE-1.0.10
=> Full dependency libXv>=1.0.1: found libXv-1.0.11nb1
===> 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'.
===> Overriding tools for zbar-0.23.1nb1
===> Extracting for zbar-0.23.1nb1
===> Patching for zbar-0.23.1nb1
=> Applying pkgsrc patches for zbar-0.23.1nb1
=> Verifying /data/pkgsrc/graphics/zbar/patches/patch-configure
=> Applying pkgsrc patch /data/pkgsrc/graphics/zbar/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.2 2020/06/20 10:42:42 leot Exp $
|
|- Avoid `${parameter/pattern/string}' bash-ism
|- Only honor `--with-python' configure argument and completely ignore
|  possible PYTHON environment variable that could be passed via
|  CONFIGURE_ENV by pkgsrc
|- Use standard `=' test(1) operator
|
|--- configure.orig	2020-04-20 21:13:55.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 23896.
Hunk #2 succeeded at 24053.
Hunk #3 succeeded at 25066.
Hunk #4 succeeded at 29148.
done
=> Verifying /data/pkgsrc/graphics/zbar/patches/patch-gtk_Makefile.in
=> Applying pkgsrc patch /data/pkgsrc/graphics/zbar/patches/patch-gtk_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gtk_Makefile.in,v 1.1 2019/12/04 11:17:32 leot Exp $
|
|Avoid gmake-isms.
|
|XXX: Probably that's wrong and needs to be discussed with upstream!
|
|--- gtk/Makefile.in.orig	2019-05-23 21:12:07.000000000 +0000
|+++ gtk/Makefile.in
--------------------------
Patching file gtk/Makefile.in using Plan A...
Hunk #1 succeeded at 911 (offset 24 lines).
done
=> Verifying /data/pkgsrc/graphics/zbar/patches/patch-test_test__examples.sh.in
=> Applying pkgsrc patch /data/pkgsrc/graphics/zbar/patches/patch-test_test__examples.sh.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-test_test__examples.sh.in,v 1.2 2020/06/20 10:42:42 leot Exp $
|
|Use standard `=' test(1) operator.
|
|--- test/test_examples.sh.in.orig	2020-03-13 09:49:04.000000000 +0000
|+++ test/test_examples.sh.in
--------------------------
Patching file test/test_examples.sh.in using Plan A...
Hunk #1 succeeded at 31.
Hunk #2 succeeded at 62.
done
===> Creating toolchain wrappers for zbar-0.23.1nb1
===> Configuring for zbar-0.23.1nb1
=> 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
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64--netbsd
checking host system type... x86_64--netbsd
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for x86_64--netbsd-gcc... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking dependency style of clang... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop
checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64--netbsd-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$
checking for x86_64--netbsd-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64--netbsd-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64--netbsd-strip... no
checking for strip... strip
checking for x86_64--netbsd-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64--netbsd-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... clang -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 clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... NetBSD ld.elf_so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
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 x86_64--netbsd-windres... no
checking for windres... no
checking whether make supports nested variables... (cached) yes
checking for x86_64--netbsd-gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ISO C89... (cached) none needed
checking whether clang understands -c and -o together... (cached) yes
checking dependency style of clang... (cached) gcc3
checking whether we are using the GNU C++ compiler... no
checking whether clang++ accepts -g... no
checking dependency style of clang++... none
checking how to run the C++ preprocessor... clang-cpp
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
yes
libtool.m4: error: problem compiling CXX test program
checking for clang++ option to produce PIC...  -DPIC
checking if clang++ PIC flag  -DPIC works... no
checking if clang++ static flag  works... no
checking if clang++ supports -c -o file.o... rm: conftest*: No such file or directory
no
checking if clang++ supports -c -o file.o... (cached) no
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the c++ compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
NetBSD ld.elf_so
checking how to hardcode library paths into programs... unsupported
checking for clang option to accept ISO C99... none needed
checking for clang option to accept ISO Standard C... (cached) none needed
checking pkg-config is at least version 0.9.0... yes
checking for xmlto... no
checking whether to build EAN symbologies... yes
checking whether to build DataBar symbology... yes
checking whether to build Code 128 symbology... yes
checking whether to build Code 93 symbology... yes
checking whether to build Code 39 symbology... yes
checking whether to build Codabar symbology... yes
checking whether to build Interleaved 2 of 5 symbology... yes
checking whether to build QR Code... yes
checking whether to build SQ Code... yes
checking whether to build PDF417 symbology (incomplete)... no
checking for library containing clock_gettime... none required
checking for ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... no
checking for the common suffixes of directories in the library search path... lib,lib
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking whether NLS is requested... no
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for CFLocaleCopyPreferredLanguages... no
checking whether to use NLS... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
configure: WARNING: libv4l not detected. Install it to support more cameras!
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 X11/extensions/XShm.h... yes
checking for XShmQueryVersion in -lXext... yes
checking for X11/extensions/Xvlib.h... yes
checking for XvQueryExtension in -lXv... yes
checking for DBUS... no
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking jerror.h usability... yes
checking jerror.h presence... yes
checking for jerror.h... yes
checking for jpeg_read_header in -ljpeg... yes
checking for MAGICK... yes
configure: trying ImageMagick version 7.0.10
checking wand/MagickWand.h usability... no
checking wand/MagickWand.h presence... no
checking for wand/MagickWand.h... no
checking MagickWand/MagickWand.h usability... yes
checking MagickWand/MagickWand.h presence... yes
checking for MagickWand/MagickWand.h... yes
configure: using ImageMagick version 7.0.10
checking for javac... no
checking for jikes... no
checking for ecj... no
checking for gcj... no
checking for javah... no
checking for jar... no
checking for java... no
checking whether to enable assertions... 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 features.h usability... no
checking features.h presence... no
checking for features.h... no
checking for inttypes.h... (cached) yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.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 sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking whether sys/types.h defines makedev... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for uintptr_t... yes
checking for uid_t in sys/types.h... yes
checking for int32_t... (cached) yes
checking for int64_t... yes
checking for off_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... (cached) yes
checking for uint64_t... yes
checking for uint8_t... (cached) yes
checking for struct stat.st_rdev... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for alarm... yes
checking for clock_gettime... yes
checking for floor... no
checking for getcwd... yes
checking for gettimeofday... yes
checking for localeconv... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for modf... yes
checking for munmap... yes
checking for pow... no
checking for select... yes
checking for setenv... yes
checking for sqrt... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for malloc... yes
checking for realloc... yes
Generating config files
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gtk/Makefile
config.status: creating java/Makefile
config.status: creating po/Makefile.in
config.status: creating zbar/Makefile
config.status: creating zbar.pc
config.status: creating zbar-gtk.pc
config.status: creating doc/doxygen.conf
config.status: creating test/test_examples.sh
config.status: creating test/check_dbus.sh
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing doc/version.xml commands
config.status: executing doc/reldate.xml commands

please verify that the detected configuration matches your expectations:
------------------------------------------------------------------------
X                      --with-x=yes
pthreads               --enable-pthread=yes
doc                    --enable-doc=yes
v4l                    --enable-video=no
jpeg                   --with-jpeg=yes
Python                 --with-python=no 
GTK                    --with-gtk=no       
GObject introspection  --with-gir=no
Qt                     --with-qt=no         
Java                   --with-java=no
Dbus                   --with-dbus=no
ImageMagick            --with-imagemagick=yes
Enabled codes:         ean databar code128 code93 code39 codabar i25 qrcode sqcode
Disabled codes:        pdf417

        => zbarcam video scanner will *NOT* be built
        => libv4l will *NOT* be used
        => GTK support will *NOT* be built
        => the Qt widget will *NOT* be built
        => the Java interface will *NOT* be built
        => the Java unit test will *NOT* be enabled
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.