+ 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/yaws-2.1.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/yaws-2.1.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for yaws-2.1.1.tar.gz
=> Checksum SHA512 OK for yaws-2.1.1.tar.gz
===> Installing dependencies for yaws-2.1.1
==========================================================================
The following variables will affect the build process of this package,
yaws-2.1.1.  Their current value is shown below:

        * PAM_DEFAULT = solaris-pam
        * VARBASE = /var/opt/pkg

Based on these variables, the following variables have been set:

        * PAMBASE (defined, but empty)

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 libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb2
=> Tool dependency autoconf>=2.58: found autoconf-2.71nb2
=> Tool dependency gmake>=3.81: found gmake-4.3nb4
=> Tool dependency perl>=5.0: found perl-5.36.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency erlang>=23.3.4nb2: found erlang-25.1.1
===> Overriding tools for yaws-2.1.1
===> Extracting for yaws-2.1.1
cd /home/pbulk/build/www/yaws/work/yaws-yaws-2.1.1 && /usr/bin/chmod -R g-w www
/usr/bin/rm -Rf /home/pbulk/build/www/yaws/work/yaws-yaws-2.1.1/www/testdir
===> Patching for yaws-2.1.1
=> Applying pkgsrc patches for yaws-2.1.1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/www/yaws/patches/patch-ai
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/www/yaws/patches/patch-ai
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ai,v 1.2 2018/04/13 16:12:13 fhajny Exp $
|
|Replace '%var%' with '@VAR@'
|
|--- scripts/netbsd/yaws.sh.orig	2018-04-10 10:32:09.000000000 +0000
|+++ scripts/netbsd/yaws.sh
--------------------------
Patching file scripts/netbsd/yaws.sh using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 18.
Hunk #3 succeeded at 35.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/www/yaws/patches/patch-scripts_yaws.template
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/www/yaws/patches/patch-scripts_yaws.template
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-scripts_yaws.template,v 1.1 2018/04/13 16:12:13 fhajny Exp $
|
|Portability.
|
|--- scripts/yaws.template.orig	2018-04-10 10:32:09.000000000 +0000
|+++ scripts/yaws.template
--------------------------
Patching file scripts/yaws.template using Plan A...
Hunk #1 succeeded at 399.
done
===> Creating toolchain wrappers for yaws-2.1.1
===> Configuring for yaws-2.1.1
cd /home/pbulk/build/www/yaws/work/yaws-yaws-2.1.1 && autoreconf -fi
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'ac-aux'.
libtoolize: copying file 'ac-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:12: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
configure.ac:12: You should run autoupdate.
./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
configure.ac:12: the top level
configure.ac:35: warning: The macro `AC_PROG_LD' is obsolete.
configure.ac:35: You should run autoupdate.
m4/libtool.m4:3350: AC_PROG_LD is expanded from...
configure.ac:35: the top level
configure.ac:41: warning: The macro `AM_DISABLE_STATIC' is obsolete.
configure.ac:41: You should run autoupdate.
m4/ltoptions.m4:260: AM_DISABLE_STATIC is expanded from...
configure.ac:41: the top level
configure.ac:42: warning: The macro `AM_ENABLE_SHARED' is obsolete.
configure.ac:42: You should run autoupdate.
m4/ltoptions.m4:205: AM_ENABLE_SHARED is expanded from...
configure.ac:42: the top level
configure.ac:43: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.ac:43: You should run autoupdate.
m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from...
configure.ac:43: the top level
configure.ac:52: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:52: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:52: the top level
configure.ac:76: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:76: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:76: the top level
configure.ac:138: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:138: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:138: the top level
configure.ac:29: installing 'ac-aux/ar-lib'
configure.ac:29: installing 'ac-aux/compile'
configure.ac:12: installing 'ac-aux/config.guess'
configure.ac:12: installing 'ac-aux/config.sub'
configure.ac:16: installing 'ac-aux/install-sh'
configure.ac:16: installing 'ac-aux/missing'
c_src/Makefile.am: installing 'ac-aux/depcomp'
=> 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
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking target system type... x86_64-sun-solaris2.11
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./ac-aux/install-sh -c -d
checking for gawk... /opt/pkg/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gawk... (cached) /opt/pkg/bin/nawk
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-sun-solaris2.11-gcc... 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 gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for x86_64-sun-solaris2.11-ar... no
checking for x86_64-sun-solaris2.11-lib... no
checking for x86_64-sun-solaris2.11-link... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking whether gcc needs -traditional... no
checking for a sed that does not truncate output... /opt/pkg/bin/nbsed
checking for fgrep... /usr/xpg4/bin/grep -F
checking how to print strings... print -r
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... (cached) /opt/pkg/bin/nbsed
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for x86_64-sun-solaris2.11-file... no
checking for file... file
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for x86_64-sun-solaris2.11-ar... ar
checking for archiver @FILE support... no
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

Check Erlang environment & applications
checking for x86_64-sun-solaris2.11-erl... no
checking for erl... /opt/pkg/bin/erl
checking for x86_64-sun-solaris2.11-erlc... no
checking for erlc... /opt/pkg/bin/erlc
checking for escript... /opt/pkg/bin/escript
checking for dialyzer... /opt/pkg/bin/dialyzer
checking for ct_run... /opt/pkg/bin/ct_run
checking for x86_64-sun-solaris2.11-erl... /opt/pkg/bin/erl
checking for Erlang/OTP root directory... /opt/pkg/lib/erlang
checking for Erlang/OTP library base directory... /opt/pkg/lib/erlang/lib
checking for x86_64-sun-solaris2.11-erlc... /opt/pkg/bin/erlc
checking for Erlang/OTP ERTS version... 13.1.1
checking for Erlang/OTP ERTS directory... /opt/pkg/lib/erlang/erts-13.1.1
checking for Erlang/OTP release... 25
checking for Erlang/OTP library installation base directory... ${prefix}/lib
checking for Erlang/OTP 'yaws' library installation subdirectory... /opt/pkg/lib/yaws
checking for Erlang/OTP 'yapp' library installation subdirectory... ${prefix}/lib/yapp-0.4.2
checking for Erlang/OTP 'kernel' library subdirectory... /opt/pkg/lib/erlang/lib/kernel-8.5.1
checking for Erlang/OTP 'kernel' library version... 8.5.1
checking for Erlang/OTP 'stdlib' library subdirectory... /opt/pkg/lib/erlang/lib/stdlib-4.1.1
checking for Erlang/OTP 'stdlib' library version... 4.1.1
checking for Erlang/OTP 'sasl' library subdirectory... /opt/pkg/lib/erlang/lib/sasl-4.2
checking for Erlang/OTP 'sasl' library version... 4.2
checking for Erlang/OTP 'erts' library subdirectory... /opt/pkg/lib/erlang/lib/erts-13.1.1
checking for Erlang/OTP 'erts' library version... 13.1.1
checking for Erlang/OTP 'compiler' library subdirectory... /opt/pkg/lib/erlang/lib/compiler-8.2.1
checking for Erlang/OTP 'compiler' library version... 8.2.1
checking for Erlang/OTP 'crypto' library subdirectory... /opt/pkg/lib/erlang/lib/crypto-5.1.2
checking for Erlang/OTP 'crypto' library version... 5.1.2
checking for Erlang/OTP 'xmerl' library subdirectory... /opt/pkg/lib/erlang/lib/xmerl-1.3.30
checking for Erlang/OTP 'xmerl' library version... 1.3.30
checking for Erlang/OTP 'public_key' library subdirectory... /opt/pkg/lib/erlang/lib/public_key-1.13.1
checking for Erlang/OTP 'public_key' library version... 1.13.1
checking for Erlang/OTP 'ssl' library subdirectory... /opt/pkg/lib/erlang/lib/ssl-10.8.5
checking for Erlang/OTP 'ssl' library version... 10.8.5
checking for Erlang/OTP 'mnesia' library subdirectory... /opt/pkg/lib/erlang/lib/mnesia-4.21.1
checking for Erlang/OTP 'mnesia' library version... 4.21.1
checking for Erlang/OTP 'eunit' library subdirectory... /opt/pkg/lib/erlang/lib/eunit-2.8.1
checking for Erlang/OTP 'eunit' library version... 2.8.1
checking for Erlang/OTP 'erlsom' library subdirectory... not found
checking for Erlang/OTP 'erlsom' library version... not found
configure: WARNING: "erlsom" Erlang application not found.
It could be required to run Yaws or its testsuites.
checking for Erlang/OTP 'xmlrpc' library subdirectory... not found
checking for Erlang/OTP 'xmlrpc' library version... not found
configure: WARNING: "xmlrpc" Erlang application not found.
It could be required to run Yaws or its testsuites.
checking for Erlang/OTP 'inets' library subdirectory... /opt/pkg/lib/erlang/lib/inets-8.1
checking for Erlang/OTP 'inets' library version... 8.1
checking for Erlang/OTP 'tools' library subdirectory... /opt/pkg/lib/erlang/lib/tools-3.5.3
checking for Erlang/OTP 'tools' library version... 3.5.3
checking for Erlang/OTP 'common_test' library subdirectory... /opt/pkg/lib/erlang/lib/common_test-1.23.1
checking for Erlang/OTP 'common_test' library version... 1.23.1

Check platform-specific and system requirements
checking for the build and host architectures... solaris2.11

Check programs support
checking for latex... no
checking for dvips... (cached) no
checking for pdflatex... no
checking for epstopdf... no
checking for man... man
checking for ps2pdf... no
checking for cadaver... no
checking for curl... curl
checking for unix2dos... unix2dos
checking for todos... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating yaws.pc
config.status: creating Makefile
config.status: creating include.mk
config.status: creating c_src/Makefile
config.status: creating win32/Makefile
config.status: creating win32/build.xml
config.status: creating man/Makefile
config.status: creating doc/Makefile
config.status: creating scripts/Makefile
config.status: creating src/Makefile
config.status: creating ebin/Makefile
config.status: creating examples/src/Makefile
config.status: creating examples/ebin/Makefile
config.status: creating examples/include/Makefile
config.status: creating www/code/Makefile
config.status: creating www/shoppingcart/Makefile
config.status: creating testsuite/Makefile
config.status: creating testsuite/yaws.coverspec
config.status: creating testsuite/testsuite.hrl
config.status: creating applications/chat/Makefile
config.status: creating applications/chat/src/Makefile
config.status: creating applications/chat/ebin/Makefile
config.status: creating applications/mail/Makefile
config.status: creating applications/mail/src/Makefile
config.status: creating applications/mail/ebin/Makefile
config.status: creating applications/wiki/Makefile
config.status: creating applications/wiki/src/Makefile
config.status: creating applications/wiki/ebin/Makefile
config.status: creating applications/yapp/Makefile
config.status: creating applications/yapp/src/Makefile
config.status: creating applications/yapp/ebin/Makefile
config.status: creating src/yaws_charset.hrl
config.status: creating src/yaws_appdeps.hrl
config.status: creating testsuite/run_common_test
config.status: creating testsuite/cover_to_html.sh
config.status: creating testsuite/analyze_coverdata.escript
config.status: creating scripts/make-release
config.status: creating scripts/gen-yaws-generated
config.status: creating applications/wiki/scripts/addFile
config.status: creating applications/wiki/scripts/getPassword
config.status: creating applications/wiki/scripts/importFiles
config.status: creating applications/wiki/scripts/updateWiki
config.status: creating include/Makefile
config.status: creating priv/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory

 == yaws 2.1.1 ==

Configuration:
 Application dir.: /opt/pkg/lib/yaws

 Prefix:  /opt/pkg
 etcdir:  ${prefix}/etc
 confdir: $(sysconfdir)/yaws
 bindir:  ${exec_prefix}/bin
 vardir:  /var/opt/pkg
 wwwdir:  /opt/pkg/share/yaws/www
 appsdir: $(localstatedir)/yaws
 logdir:  $(localstatedir)/log/yaws
 yawsdir: $(libdir)/yaws
 docdir:  ${datarootdir}/doc/${PACKAGE_TARNAME}
 mandir:  /opt/pkg/share/man

 Erlang root dir:          /opt/pkg/lib/erlang
 Erlang lib dir:           /opt/pkg/lib/erlang/lib
 Erlang compiler:          /opt/pkg/bin/erlc
 Erlang emulator:          /opt/pkg/bin/erl
 Windows Erlang emulator:  
 Erlang interpreter:       /opt/pkg/bin/escript
 Erlang dialyzer tool:     /opt/pkg/bin/dialyzer
 Erlang ct_run tool:       /opt/pkg/bin/ct_run

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
/opt/pkg/bin/nbsed -e "s|@PKG_SYSCONFDIR@|/etc/opt/pkg/yaws|g"  -e "s|@PREFIX@|/opt/pkg|g"  -e "s|@VARBASE@|/var/opt/pkg|g"  /data/jenkins/workspace/pkgsrc-upstream-bulktest/www/yaws/files/yaws.conf > /home/pbulk/build/www/yaws/work/yaws.conf