+ 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/htmldoc-1.9.16nb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/htmldoc-1.9.16nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for htmldoc/v1.9.16.tar.gz
=> Checksum SHA512 OK for htmldoc/v1.9.16.tar.gz
===> Installing dependencies for htmldoc-1.9.16nb4
==========================================================================
The supported build options for htmldoc are:

	ssl

The currently selected options are:

	ssl

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

	PKG_OPTIONS.htmldoc (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
htmldoc-1.9.16nb4.  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
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bsdtar-[0-9]*: found bsdtar-3.7.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
=> Full dependency gnutls>=3.8.1nb2: found gnutls-3.8.3
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency png>=1.6.0nb1: found png-1.6.42
=> Full dependency jpeg>=9: found jpeg-9e
===> Overriding tools for htmldoc-1.9.16nb4
===> Extracting for htmldoc-1.9.16nb4
===> Patching for htmldoc-1.9.16nb4
=> Applying pkgsrc patches for htmldoc-1.9.16nb4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/www/htmldoc/../../www/htmldoc/patches/patch-desktop_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/www/htmldoc/../../www/htmldoc/patches/patch-desktop_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-desktop_Makefile,v 1.1 2021/05/15 07:22:39 nia Exp $
|
|Ensure desktop files are always installed, not just on Linux.
|
|--- desktop/Makefile.orig	2020-12-24 21:58:42.000000000 +0000
|+++ desktop/Makefile
--------------------------
Patching file desktop/Makefile using Plan A...
Hunk #1 succeeded at 27.
Hunk #2 succeeded at 37.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/www/htmldoc/../../www/htmldoc/patches/patch-htmldoc_http-addrlist.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/www/htmldoc/../../www/htmldoc/patches/patch-htmldoc_http-addrlist.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-htmldoc_http-addrlist.c,v 1.2 2021/02/01 09:33:12 fcambus Exp $
|
|Portability fix, s6_addr32 is not a standard.
|
|--- htmldoc/http-addrlist.c.orig	2021-02-01 09:20:13.146886279 +0000
|+++ htmldoc/http-addrlist.c
--------------------------
Patching file htmldoc/http-addrlist.c using Plan A...
Hunk #1 succeeded at 866.
done
===> Creating toolchain wrappers for htmldoc-1.9.16nb4
===> Configuring for htmldoc-1.9.16nb4
printf "#! /usr/bin/bash\\n case \$1 in\\n --cflags|--libs) pkg-config \$1 gnutls;;\\n --version) pkg-config --modversion gnutls;;\\n *) exit 1;;\\n esac\\n " > /home/pbulk/build/www/htmldoc/work/.buildlink/bin/libgnutls-config
/usr/bin/chmod +x /home/pbulk/build/www/htmldoc/work/.buildlink/bin/libgnutls-config
=> 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
=> Checking for portability problems in extracted files
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for gawk... /usr/bin/nawk
checking for x86_64-sun-solaris2.11-clang... 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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking how to run the C preprocessor... gcc -E
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for chmod... /usr/bin/chmod
checking for cp... /bin/cp
checking for fltk-config... no
checking for install-sh script... using /home/pbulk/build/www/htmldoc/work/htmldoc-1.9.16/install-sh
checking for mv... /usr/bin/mv
checking for mkdir... /usr/bin/mkdir -p
checking for rm... /usr/bin/rm
checking for x86_64-sun-solaris2.11-pkg-config... no
checking for pkg-config... /home/pbulk/build/www/htmldoc/work/.tools/bin/pkg-config
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for strings.h... (cached) yes
checking for locale.h... yes
checking for strdup... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for random... yes
checking for lrand48... yes
checking for arc4random... yes
checking for tm_gmtoff member in tm structure... no
checking for pow in -lm... yes
checking for poll... yes
checking for library containing socket... -lsocket
checking for library containing gethostbyaddr... -lnsl
checking for library containing getaddrinfo... none required
checking for library containing getnameinfo... none required
checking for library containing hstrerror... -lresolv
checking for library containing __res_init... no
checking for library containing res_9_init... no
checking for library containing res_init... none required
checking for resolv.h... 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 long long int... yes
checking for strtoll... yes
checking for x86_64-sun-solaris2.11-libgnutls-config... no
checking for libgnutls-config... /home/pbulk/build/www/htmldoc/work/.buildlink/bin/libgnutls-config
checking for x86_64-sun-solaris2.11-libgcrypt-config... no
checking for libgcrypt-config... /opt/tools/bin/libgcrypt-config
checking for gnutls_transport_set_pull_timeout_function... yes
checking for gnutls_priority_set_direct... yes
configure: Using SSLFLAGS="-I/opt/pkg/include -I/opt/pkg/include/p11-kit-1", SSLLIBS="-Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lgnutls"
checking for libjpeg... yes
checking for library containing gzgets... -lz
checking for libpng-1.6.x... yes
checking whether compiler supports -Wno-char-subscripts... yes
checking whether compiler supports -Wno-deprecated-declarations... yes
checking whether compiler supports -Wno-format-truncation... yes
checking whether compiler supports -Wno-format-y2k... yes
checking whether compiler supports -Wno-switch... yes
checking whether compiler supports -Wno-unused-result... yes
checking whether GCC supports -fno-rtti... yes
checking whether GCC supports -fno-exceptions... yes
configure: creating ./config.status
config.status: creating Makedefs
config.status: creating Makefile
config.status: creating desktop/htmldoc.plist
config.status: creating config.h
configure: WARNING: unrecognized options: --with-libiconv-prefix
configure: Using CPPFLAGS=-I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/libpng16 -I/opt/pkg/include
configure: Using CXXFLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -D_FORTIFY_SOURCE=2 -fno-rtti -fno-exceptions
configure: Using LDFLAGS=-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv
configure: Using LIBS=-Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lpng16 -lz -lresolv -lnsl -lsocket -lm  -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -ljpeg -lz