+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/zphoto-1.2nb90/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/zphoto-1.2nb90/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for zphoto-1.2.tar.gz
=> Checksum SHA512 OK for zphoto-1.2.tar.gz
===> Installing dependencies for zphoto-1.2nb90
==========================================================================
The supported build options for zphoto are:

	imagemagick imlib2 zip

The currently selected options are:

	imlib2

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.zphoto (not defined)

==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency perl>=5.0: found perl-5.38.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1
=> Build dependency libXt>=1.0.0: found libXt-1.3.0nb1
=> Full dependency imlib2>=1.9.1nb4: found imlib2-1.9.1nb5
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.4
=> Full dependency popt>=1.16nb1: found popt-1.19
=> Full dependency ming>=0.4.8nb9: found ming-0.4.8nb9
===> Overriding tools for zphoto-1.2nb90
===> Extracting for zphoto-1.2nb90
===> Patching for zphoto-1.2nb90
=> Applying pkgsrc patches for zphoto-1.2nb90
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/zphoto/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/zphoto/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.1.1.1 2006/08/12 16:20:35 xtraeme Exp $
|
|--- wxzphoto.cpp.orig	2006-08-12 18:17:15.000000000 +0200
|+++ wxzphoto.cpp	2006-08-12 18:17:21.000000000 +0200
--------------------------
Patching file wxzphoto.cpp using Plan A...
Hunk #1 succeeded at 1166.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/zphoto/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/zphoto/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.1 2006/08/22 15:19:45 joerg Exp $
|
|--- util.c.orig	2006-08-22 17:20:22.000000000 +0000
|+++ util.c
--------------------------
Patching file util.c using Plan A...
Hunk #1 succeeded at 79.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/zphoto/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/zphoto/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.2 2012/05/19 06:43:23 obache Exp $
|
|* fixes build with Imlib2 missing x11 support.
|* fixes `const char*' handling with modern C++.
|
|--- image.cpp.orig	2004-07-20 16:48:11.000000000 +0000
|+++ image.cpp
--------------------------
Patching file image.cpp using Plan A...
Hunk #1 succeeded at 50.
Hunk #2 succeeded at 314.
Hunk #3 succeeded at 552.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/zphoto/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/zphoto/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.1 2008/02/12 13:56:48 obache Exp $
|
|--- templates/default/all/Makefile.in.orig	2004-07-20 16:49:24.000000000 +0000
|+++ templates/default/all/Makefile.in
--------------------------
Patching file templates/default/all/Makefile.in using Plan A...
Hunk #1 succeeded at 369.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/zphoto/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/zphoto/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2022/07/29 06:01:21 rin Exp $
|
|Add minimal support to `pkg-config imlib2`; imlib2-config has been
|dropped since imlib2-1.7.5.
|
|--- configure.orig	2022-07-29 03:07:43.424974273 +0900
|+++ configure	2022-07-29 03:14:20.811192103 +0900
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 4868.
done
===> Creating toolchain wrappers for zphoto-1.2nb90
===> Configuring for zphoto-1.2nb90
=> 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.
INFO: [subst.mk:pkglocaledir] Nothing changed in "doc/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "doc/images/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "icon/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "m4/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "support/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "templates/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "templates/default/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "templates/default/all/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "templates/default/en/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "templates/default/ja/Makefile.in".
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking for x86_64-sun-solaris2.11-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for x86_64-sun-solaris2.11-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for vasprintf... 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 ming.h usability... yes
checking ming.h presence... yes
checking for ming.h... yes
checking for Ming_init in -lming... yes
checking whether ming 0.2a (old API) is used... yes
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking for poptGetContext in -lpopt... yes
checking for imlib2-config... pkg-config imlib2
checking for X... libraries , headers 
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for avifile-config... no
checking for wx-config... no
checking for wxgtk2-config... no
checking for wxgtk-config... no
checking for wxgtk2-2.5-config... no
checking for wxgtk-2.5-config... no
checking for wxgtk2-2.4-config... no
checking for wxgtk-2.4-config... no
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for ld used by GCC... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for LC_MESSAGES... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating doc/Makefile
config.status: creating doc/images/Makefile
config.status: creating icon/Makefile
config.status: creating support/Makefile
config.status: creating templates/Makefile
config.status: creating templates/default/Makefile
config.status: creating templates/default/en/Makefile
config.status: creating templates/default/ja/Makefile
config.status: creating templates/default/all/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile