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

        * CURSES_DEFAULT = ncurses
        * READLINE_DEFAULT = readline

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

        * CURSES_TYPE = ncurses
        * READLINE_TYPE = readline
        * TERMCAP_TYPE = curses

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 gmake>=3.81: found gmake-4.4.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency readline>=6.0: found readline-8.2nb2
===> Overriding tools for sqlite-2.8.17nb3
===> Extracting for sqlite-2.8.17nb3
===> Patching for sqlite-2.8.17nb3
=> Applying pkgsrc patches for sqlite-2.8.17nb3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/sqlite/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/sqlite/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.2 2017/04/16 20:27:09 khorben Exp $
|
|* Honour LDFLAGS for bl3.
|* Avoid a warning while generating config.h.
|
|--- Makefile.in.orig	2005-04-23 22:43:23.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 38.
Hunk #2 succeeded at 268.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/sqlite/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/sqlite/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.10 2013/01/04 13:33:43 jperkin Exp $
|
|--- src/sqliteInt.h.orig	2005-02-14 01:22:06.000000000 +0100
|+++ src/sqliteInt.h
--------------------------
Patching file src/sqliteInt.h using Plan A...
Hunk #1 succeeded at 15.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/sqlite/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/sqlite/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.10 2013/01/04 13:33:43 jperkin Exp $
|
|--- configure.orig	2005-02-14 01:22:04.000000000 +0100
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 18376.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/sqlite/patches/patch-tool_lemon.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/databases/sqlite/patches/patch-tool_lemon.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-tool_lemon.c,v 1.3 2022/06/25 09:35:52 he Exp $
|
|Avoid either undefined or implementation defined behaviour,
|by making the base hash variable unsigned, so that we avoid
|it ever going negative (as it did on powerpc).
|
|Just adopt & apply https://sqlite.org/src/info/8d399a03de63c159
|
|--- tool/lemon.c.orig	2005-04-23 22:43:22.000000000 +0000
|+++ tool/lemon.c
--------------------------
Patching file tool/lemon.c using Plan A...
Hunk #1 succeeded at 3016.
Hunk #2 succeeded at 3711.
Hunk #3 succeeded at 3786.
Hunk #4 succeeded at 3842.
Hunk #5 succeeded at 3949.
Hunk #6 succeeded at 4007.
Hunk #7 succeeded at 4084.
Hunk #8 succeeded at 4155.
Hunk #9 succeeded at 4213.
Hunk #10 succeeded at 4243.
Hunk #11 succeeded at 4300.
done
===> Creating toolchain wrappers for sqlite-2.8.17nb3
===> Configuring for sqlite-2.8.17nb3
=> 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 build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
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 a sed that does not truncate output... /home/pbulk/build/databases/sqlite/work/.tools/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for /bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-sun-solaris2.11-g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... cpp
checking for x86_64-sun-solaris2.11-g77... gfortran
checking whether we are using the GNU Fortran 77 compiler... no
checking whether gfortran accepts -g... no
checking the maximum length of command line arguments... 262144
checking command to parse nm output from gcc object... failed
checking for objdir... .libs
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking if gcc static flag  works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... 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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/bin/ld) supports shared libraries... yes
libtool.m4: error: problem compiling CXX test program
checking for g++ option to produce PIC... 
checking if g++ supports -c -o file.o... no
checking whether the g++ linker (/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... no
checking if gfortran supports -c -o file.o... no
checking whether the gfortran linker (/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
Version set to 2.8.17
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking switches for the host compiler... -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DUINT32_TYPE=uint32_t -DUINT16_TYPE=uint16_t -DUINT8_TYPE=uint8_t -DINTPTR_TYPE=long -I/opt/pkg/include -I/opt/pkg/include/ncurses
checking target compiler... gcc
checking switches on the target compiler... -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DUINT32_TYPE=uint32_t -DUINT16_TYPE=uint16_t -DUINT8_TYPE=uint8_t -DINTPTR_TYPE=long -I/opt/pkg/include -I/opt/pkg/include/ncurses
checking target linker... gcc
checking switches on the target compiler... checking for x86_64-sun-solaris2.11-ranlib... ranlib
-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DUINT32_TYPE=uint32_t -DUINT16_TYPE=uint16_t -DUINT8_TYPE=uint8_t -DINTPTR_TYPE=long -I/opt/pkg/include -I/opt/pkg/include/ncurses
checking if host and target compilers are the same... yes
checking character encoding... iso8859
checking whether to support incore databases for attach and open... yes
checking whether to support shared library linked as release mode or not... no
checking whether to use an in-ram database for temporary tables... no
checking if executables have the .exe suffix... unknown
checking for sin... no
checking for dlopen in -ldl... yes
checking TCL header files... -Ino/generic -Ino/unix
checking for library containing tgetent... -lncurses
checking for readline in -lreadline... yes
checking readline header files... -I/opt/pkg/include
checking for usleep... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sqlite.pc
=> 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.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.