+ 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/tcpreplay-4.4.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/tcpreplay-4.4.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for tcpreplay-4.4.2.tar.xz
=> Checksum SHA512 OK for tcpreplay-4.4.2.tar.xz
===> Installing dependencies for tcpreplay-4.4.2
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency libpcap>=1.3.0nb1: found libpcap-1.10.4
===> Overriding tools for tcpreplay-4.4.2
===> Extracting for tcpreplay-4.4.2
===> Patching for tcpreplay-4.4.2
===> Creating toolchain wrappers for tcpreplay-4.4.2
===> Configuring for tcpreplay-4.4.2
=> 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 whether to enable maintainer-specific portions of Makefiles... yes
checking if malloc debugging is wanted... no
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 cygwin development environment... no
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 thread-safe mkdir -p... config/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 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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... 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 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 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 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-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 ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for gawk... (cached) /usr/bin/nawk
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking whether make sets $(MAKE)... (cached) yes
checking for printf... /home/pbulk/build/net/tcpreplay/work/.tools/bin/printf
checking for echo... (cached) echo
checking for cut... /home/pbulk/build/net/tcpreplay/work/.tools/bin/cut
checking for autogen... no
checking for groff... no
checking for depmod... /sbin/depmod
checking for insmod... /sbin/insmod
checking for rmmod... /sbin/rmmod
configure: Using included libopts tearoff
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... yes
checking sys/mkdev.h presence... yes
checking for sys/mkdev.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/param.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... (cached) inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for u_int8_t... no
checking for u_int16_t... no
checking for u_int32_t... no
checking for u_int64_t... no
checking for gcc -Wextra support... yes
checking for gcc -Wno-variadic-macros support... yes
checking for gcc -Wfatal-errors support... yes
checking for gcc -Wno-format-contains-nul support... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for sys/time.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/systeminfo.h usability... yes
checking sys/systeminfo.h presence... yes
checking for sys/systeminfo.h... yes
checking sys/io.h usability... no
checking sys/io.h presence... no
checking for sys/io.h... no
checking architecture/i386/pio.h usability... no
checking architecture/i386/pio.h presence... no
checking for architecture/i386/pio.h... no
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking fts.h usability... yes
checking fts.h presence... yes
checking for fts.h... yes
checking for stdbool.h that conforms to C99... (cached) yes
checking for _Bool... (cached) yes
checking for sys/sysctl.h... no
checking for net/route.h... yes
checking for socket in -lsocket... yes
checking for gethostbyname in -lnsl... yes
checking for nanosleep in -lrt... yes
checking for resolv in -lresolv... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether lstat correctly handles trailing slash... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... yes
checking whether time.h and sys/time.h may both be included... yes
checking for alarm... yes
checking for working mktime... no
checking for getpagesize... yes
checking for working mmap... yes
checking for struct timeval.tv_sec... yes
checking for alarm... (cached) yes
checking for atexit... yes
checking for bzero... yes
checking for dup2... yes
checking for gethostbyname... yes
checking for getpagesize... (cached) yes
checking for gettimeofday... yes
checking for ctime... yes
checking for inet_ntoa... yes
checking for memmove... yes
checking for memset... yes
checking for munmap... yes
checking for pow... no
checking for putenv... yes
checking for realpath... yes
checking for regcomp... yes
checking for strdup... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... (cached) yes
checking for strerror... yes
checking for strtol... yes
checking for strncpy... yes
checking for strtoull... yes
checking for poll... yes
checking for ntohll... yes
checking for mmap... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strsignal... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtoul... yes
checking for ioperm... no
checking for strlcpy... yes
checking whether byte ordering is bigendian... no
configure: Bypassing libpcap discovery via pcap_config
configure: Using u_int64_t for packet counters
checking for inet_aton... yes
checking for inet_pton... yes
checking for inet_ntop... yes
checking for inet_addr... yes
checking net/if_tun.h usability... no
checking net/if_tun.h presence... no
checking for net/if_tun.h... no
checking for libpcap... /opt/pkg
checking for library containing nl_handle_alloc... no
checking for nl_cache_alloc in -lnl... no
checking for genl_connect in -lnl-genl-3... no
checking for nl_cache_alloc in -lnl-3... no
checking for dbus_malloc in -ldbus-1... no
checking for numa_available in -lnuma... no
checking for pthread_create in -lpthread... yes
checking for library containing pcap_get_pfring_id... no
checking for library containing pcap_close... none required
checking for libpcap version... >= 0.8.0
checking for pcap_setnonblock... yes
checking for pcap_datalink_val_to_description... yes
checking for pcap_get_selectable_fd... yes
checking for pcap_dump_fopen... yes
checking for pcap_inject sending support... yes
checking for pcap_sendpacket sending support... yes
checking for pcap_breakloop... no
checking for pcap_version... yes
checking for pcap_snapshot... yes
configure: Building tcpbridge
configure: WARNING: Unable to build tcpliveplay.  This tool is only enabled on linux environments.
checking for netmap socket sending support... no
checking for PF_PACKET socket sending support... no
checking for TX_RING socket sending support... no
checking net/bpf.h usability... yes
checking net/bpf.h presence... yes
checking for net/bpf.h... yes
checking for libdnet... no
configure: WARNING: libdnet not found, disabling fragroute feature
checking for DLT_LINUX_SLL in libpcap... yes
checking for DLT_C_HDLC in libpcap... yes
checking for /opt/pkg/pcap-bpf.h... no
checking for libpcap bpf header... no
checking for netmap libpcap... no
checking for pcapnav-config... no 
checking for requires strict byte alignment... no
checking for tcpdump... no
configure: WARNING: Unable to find tcpdump.  Please specify --with-tcpdump.
                 Disabling --verbose
configure: WARNING: Your version of libpcap does not support --verbose
checking for 'make test' profile... yes
checking for OS version... Solaris
configure: Using hme0 for 1st test network interface card
configure: Using hme0 for 2nd test network interface card
checking if it's ok to use pcap_findalldevs()... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/param.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking sys/procset.h usability... yes
checking sys/procset.h presence... yes
checking for sys/procset.h... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking for sys/time.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for dlfcn.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for fcntl.h... (cached) yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for libintl.h... (cached) yes
checking for memory.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for stdbool.h... (cached) yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for inttypes.h... (cached) yes
checking for working stdnoreturn.h... yes
checking for runetype.h... no
checking for wchar.h... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for intptr_t... yes
checking for uintptr_t... yes
checking for uint_t... yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for ptrdiff_t... yes
checking size of char *... 8
checking size of int... 4
checking size of long... 8
checking size of short... 2
checking for pathfind in -lgen... yes
checking for gettext in -lintl... yes
checking for vprintf... (cached) yes
checking for _doprnt... (cached) yes
checking for vfork.h... (cached) no
checking for fork... (cached) yes
checking for vfork... (cached) yes
checking for working fork... (cached) yes
checking for working vfork... (cached) yes
checking for mmap... (cached) yes
checking for canonicalize_file_name... yes
checking for snprintf... (cached) yes
checking for strdup... (cached) yes
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking for strsignal... (cached) yes
checking for fchmod... yes
checking for fstat... yes
checking for chmod... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
configure: Using supplied libopts tearoff
checking whether a reg expr header is specified... no
checking whether with-libregex was specified... no
checking whether with-libregex-cflags was specified... no
checking whether with-libregex-libs was specified... no
checking whether libregex functions properly... yes
checking whether pathfind(3) works... yes
checking whether /dev/zero is readable device... crw-rw-rw- 1 root sys 38, 12 Aug 3 2023 /dev/zero
checking whether we have a functional realpath(3C)... yes
checking whether strftime() works... yes
checking whether fopen accepts "b" mode... yes
checking whether fopen accepts "t" mode... yes
checking whether not wanting optional option args... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libopts/Makefile
config.status: creating Makefile
config.status: creating doxygen.cfg
config.status: creating lib/Makefile
config.status: creating docs/Makefile
config.status: creating src/Makefile
config.status: creating src/tcpedit/Makefile
config.status: creating src/fragroute/Makefile
config.status: creating src/common/Makefile
config.status: creating src/defines.h
config.status: creating test/Makefile
config.status: creating test/config
config.status: creating scripts/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory

##########################################################################
             TCPREPLAY Suite Configuration Results (4.4.2)
##########################################################################
libpcap:                    /opt/pkg (>= 0.9.6)
PF_RING libpcap             no   
libdnet:                    no   
autogen:                     (unknown - man pages will not be built)
Use libopts tearoff:        yes
64bit counter support:      yes
tcpdump binary path:        no
fragroute support:          no
tcpbridge support:          yes
tcpliveplay support:        no

Supported Packet Injection Methods (*):
Linux TX_RING:              no
Linux PF_PACKET:            no
BSD BPF:                    yes
libdnet:                    no
pcap_inject:                yes
pcap_sendpacket:            yes **
pcap_netmap                 no
Linux/BSD netmap:           no
Tuntap device support:      no

* In order of preference; see configure --help to override
** Required for tcpbridge

=> 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.