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

        * CURSES_DEFAULT = ncurses
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

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

        * CURSES_TYPE = ncurses
        * 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 automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb7
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.4
=> 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
=> Full dependency readline>=6.0: found readline-8.2nb2
=> Full dependency mpfr>=4.0.0: found mpfr-4.2.1
=> Full dependency icu>=74.1: found icu-74.2
=> Full dependency libxml2>=2.10.4nb3: found libxml2-2.12.4
=> Full dependency curl>=8.4.0nb1: found curl-8.6.0
===> Overriding tools for qalculate-4.9.0nb1
===> Extracting for qalculate-4.9.0nb1
===> Patching for qalculate-4.9.0nb1
===> Creating toolchain wrappers for qalculate-4.9.0nb1
===> Configuring for qalculate-4.9.0nb1
cd /home/pbulk/build/math/qalculate/work/libqalculate-4.9.0 && autoreconf
configure.ac:145: warning: gl_HOST_CPU_C_ABI_32BIT is m4_require'd but not m4_defun'd
m4/lib-prefix.m4:155: AC_LIB_PREPARE_MULTILIB is expanded from...
m4/lib-link.m4:181: AC_LIB_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:10: AM_ICONV_LINKFLAGS_BODY is expanded from...
m4/iconv.m4:21: AM_ICONV_LINK is expanded from...
m4/iconv.m4:246: AM_ICONV is expanded from...
configure.ac:145: the top level
=> 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.
=> Fixing locale directory references.
=> Checking for portability problems in extracted files
WARNING: [check-portability.awk] => Found $RANDOM:
WARNING: [check-portability.awk] configure:8562:       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'

Explanation:
===========================================================================
The variable $RANDOM is not required for a POSIX-conforming shell, and
many implementations of /bin/sh do not support it. It should therefore
not be used in shell programs that are meant to be portable across a
large number of POSIX-like systems.
===========================================================================

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... mkdir -p
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
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 dependency style of g++... gcc3
checking how to run the C preprocessor... gcc -E
checking build system type... x86_64-sun-solaris2.11
checking for x86_64-sun-solaris2.11-gcc... no
checking for gcc... gcc
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 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 how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking host system type... x86_64-sun-solaris2.11
checking for x86_64-sun-solaris2.11-g++... no
checking for x86_64-sun-solaris2.11-c++... no
checking for x86_64-sun-solaris2.11-gpp... no
checking for x86_64-sun-solaris2.11-aCC... no
checking for x86_64-sun-solaris2.11-CC... no
checking for x86_64-sun-solaris2.11-cxx... no
checking for x86_64-sun-solaris2.11-cc++... no
checking for x86_64-sun-solaris2.11-cl.exe... no
checking for x86_64-sun-solaris2.11-FCC... no
checking for x86_64-sun-solaris2.11-KCC... no
checking for x86_64-sun-solaris2.11-RCC... no
checking for x86_64-sun-solaris2.11-xlC_r... no
checking for x86_64-sun-solaris2.11-xlC... no
checking for x86_64-sun-solaris2.11-clang++... no
checking for g++... g++
checking whether the compiler supports GNU C++... (cached) yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... (cached) none needed
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether ln -s works... yes
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 NLS is requested... yes
checking for intltool-update... /home/pbulk/build/math/qalculate/work/.tools/bin/intltool-update
checking for intltool-merge... /home/pbulk/build/math/qalculate/work/.tools/bin/intltool-merge
checking for intltool-extract... /home/pbulk/build/math/qalculate/work/.tools/bin/intltool-extract
checking for xgettext... /home/pbulk/build/math/qalculate/work/.tools/bin/xgettext
checking for msgmerge... /home/pbulk/build/math/qalculate/work/.tools/bin/msgmerge
checking for msgfmt... /home/pbulk/build/math/qalculate/work/.tools/bin/msgfmt
checking for gmsgfmt... /home/pbulk/build/math/qalculate/work/.tools/bin/msgfmt
checking for perl... /opt/pkg/bin/perl
checking for perl >= 5.8.1... 5.38.2
checking for XML::Parser... ok
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
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 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... printf %s\n
checking for x86_64-sun-solaris2.11-ar... no
checking for 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... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking for pthread_create in -lpthread... yes
checking for gmp.h... yes
checking for __gmpz_init in -lgmp... yes
checking for mpfr.h... yes
checking for mpfr_get_version in -lmpfr... yes
checking for unordered_map... yes
checking for pipe2... yes
checking pkg-config is at least version 0.9.0... yes
checking for libcurl... yes
checking for icu-uc... yes
checking for libxml-2.0 >= 2.3.8... yes
checking for ld... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking for shared library run path origin... done
./configure: line 21333: gl_HOST_CPU_C_ABI_32BIT: command not found
checking for egrep -e... (cached) /usr/xpg4/bin/grep -E
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... ./configure: line 21559: test: =: unary operator expected
lib,lib,lib
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for doxygen... (cached) no
configure: WARNING: Doxygen not found - API documentation will not be generated
checking whether to use readline... yes
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for readline in -lreadline... yes
  Using -lreadline -lncurses
checking for library containing nanosleep... none required
checking for msgfmt... (cached) /home/pbulk/build/math/qalculate/work/.tools/bin/msgfmt
checking for gmsgfmt... (cached) /home/pbulk/build/math/qalculate/work/.tools/bin/msgfmt
checking for xgettext... (cached) /home/pbulk/build/math/qalculate/work/.tools/bin/xgettext
checking for msgmerge... (cached) /home/pbulk/build/math/qalculate/work/.tools/bin/msgmerge
./configure: line 23251: gt_INTL_MACOSX: command not found
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking locale directory... checking for struct lconv.int_p_cs_precedes... yes
checking for struct lconv.int_n_cs_precedes... yes
"/opt/pkg/share/locale"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating libqalculate/Makefile
config.status: creating data/Makefile
config.status: creating po/Makefile.in
config.status: creating po-defs/Makefile
config.status: creating po-defs/fixed/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating man/Makefile
config.status: creating libqalculate.pc
config.status: creating 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 po/stamp-it commands
=> Overriding intltool.
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp