+ 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/libdivecomputer-0.8.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libdivecomputer-0.8.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libdivecomputer-0.8.0.tar.gz
=> Checksum SHA512 OK for libdivecomputer-0.8.0.tar.gz
===> Installing dependencies for libdivecomputer-0.8.0
=> 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 cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for libdivecomputer-0.8.0
===> Extracting for libdivecomputer-0.8.0
===> Patching for libdivecomputer-0.8.0
===> Creating toolchain wrappers for libdivecomputer-0.8.0
===> Configuring for libdivecomputer-0.8.0
=> 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 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... ./install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... 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 build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
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 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-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... 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 for x86_64-sun-solaris2.11-windres... no
checking for windres... no
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 for doxygen... no
checking for mandoc... mandoc
checking whether make supports nested variables... (cached) yes
checking for operating system... default
checking pkg-config is at least version 0.9.0... no
checking for LIBUSB... no
checking for HIDAPI... no
checking for BLUEZ... no
checking for winsock2.h... no
checking for ws2bth.h... no
checking for winsock2.h... (cached) no
checking for af_irda.h... no
checking for sys/socket.h... yes
checking for linux/types.h... no
checking for linux/irda.h... no
checking for linux/serial.h... no
checking for IOKit/serial/ioss.h... no
checking for unistd.h... (cached) yes
checking for getopt.h... yes
checking for sys/param.h... yes
checking for pthread.h... yes
checking for mach/mach_time.h... no
checking for gcc options needed to detect all undeclared functions... none needed
checking whether optreset is declared... no
checking for struct tm.tm_gmtoff... no
checking whether strerror_r is declared... yes
checking whether strerror_r returns char *... no
checking for localtime_r... yes
checking for gmtime_r... yes
checking for timegm... yes
checking for _mkgmtime... no
checking for clock_gettime... yes
checking for mach_absolute_time... no
checking for getopt_long... yes
checking whether C compiler accepts -Werror=unknown-warning-option... no
checking whether C compiler accepts -pedantic... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Wshadow... yes
checking whether C compiler accepts -Wrestrict... yes
checking whether C compiler accepts -Wformat=2... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wcast-qual... yes
checking whether C compiler accepts -Wpointer-arith... yes
checking whether C compiler accepts -Wstrict-prototypes... yes
checking whether C compiler accepts -Wmissing-prototypes... yes
checking whether C compiler accepts -Wmissing-declarations... yes
checking whether C compiler accepts -Wno-unused-parameter... yes
checking whether C compiler accepts -fmacro-prefix-map=$(top_srcdir)/=... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libdivecomputer.pc
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/libdivecomputer/Makefile
config.status: creating include/libdivecomputer/version.h
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating doc/doxygen.cfg
config.status: creating doc/man/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure:
  libdivecomputer 0.8.0
  ===============

  Compiler:

    CC      : gcc
    CFLAGS  : -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pedantic -Wall -Wextra -Wshadow -Wrestrict -Wformat=2 -Wwrite-strings -Wcast-qual -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-unused-parameter -fmacro-prefix-map=$(top_srcdir)/=
    LDFLAGS : -Wl,-R/opt/pkg/lib

  Features:

    Logging              : yes
    Pseudo terminal      : no
    Example applications : yes
    Documentation        : yes

  Transports:

    Serial    : yes
    USB       : no
    USBHID    : no
    IrDA      : no
    Bluetooth : no
    BLE       : no

  Building:

    Type 'make' to compile libdivecomputer.

    Type 'make install' to install libdivecomputer.

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp