+ 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/gperftools-2.16/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gperftools-2.16/work.log
=> Checksum BLAKE2s OK for gperftools-2.16.tar.gz
=> Checksum SHA512 OK for gperftools-2.16.tar.gz
===> Installing dependencies for gperftools-2.16
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> 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 perl>=5.0: found perl-5.40.0nb1
===> Overriding tools for gperftools-2.16
===> Extracting for gperftools-2.16
===> Patching for gperftools-2.16
=> Applying pkgsrc patches for gperftools-2.16
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gperftools/patches/patch-src_base_basictypes.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gperftools/patches/patch-src_base_basictypes.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_base_basictypes.h,v 1.2 2024/12/26 17:17:42 adam Exp $
|
|Add support for NetBSD/powerpc, recognized via __powerpc__.
|
|--- src/base/basictypes.h.orig	2024-09-20 20:51:40.000000000 +0000
|+++ src/base/basictypes.h
--------------------------
Patching file src/base/basictypes.h using Plan A...
Hunk #1 succeeded at 200.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gperftools/patches/patch-src_symbolize.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/gperftools/patches/patch-src_symbolize.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_symbolize.cc,v 1.2 2024/12/26 17:17:42 adam Exp $
|
|Get program pathname from sysctl on NetBSD
|
|--- src/symbolize.cc.orig	2024-09-23 18:10:35.000000000 +0000
|+++ src/symbolize.cc
--------------------------
Patching file src/symbolize.cc using Plan A...
Hunk #1 succeeded at 61.
Hunk #2 succeeded at 141.
done
===> Creating toolchain wrappers for gperftools-2.16
===> Configuring for gperftools-2.16
=> 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
=> Replacing Perl interpreter in src/pprof.
=> 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 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 UID '500' is supported by ustar format... yes
checking whether GID '500' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
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
configure: your system isn't Linux, and I won't build heap checker despite your request
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 whether g++ supports C++17 features with -std=gnu++17... yes
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-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++ -std=gnu++17 -E
checking for ld used by g++ -std=gnu++17... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking whether the g++ -std=gnu++17 linker (/bin/ld -64) supports shared libraries... yes
checking for g++ -std=gnu++17 option to produce PIC... -fPIC -DPIC
checking if g++ -std=gnu++17 PIC flag -fPIC -DPIC works... yes
checking if g++ -std=gnu++17 static flag -static works... no
checking if g++ -std=gnu++17 supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if g++ -std=gnu++17 supports -c -o file.o... (cached) yes
checking whether the g++ -std=gnu++17 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 compiler and target supports -fno-omit-frame-pointer -momit-leaf-frame-pointer... yes
checking compiler and target supports -Wthread-safety... no
checking for __attribute__... yes
checking for __attribute__((aligned(N))) on functions... yes
checking for struct mallinfo... yes
checking for struct mallinfo2... no
checking for sbrk... yes
checking for geteuid... yes
checking for features.h... no
checking for malloc.h... yes
checking for glob.h... yes
checking for execinfo.h... yes
checking for unwind.h... yes
checking for sched.h... yes
checking for sys/syscall.h... yes
checking for sys/socket.h... yes
checking for sys/wait.h... yes
checking for poll.h... yes
checking for fcntl.h... yes
checking for sys/cdefs.h... no
checking for sys/ucontext.h... yes
checking for ucontext.h... yes
checking for cygwin/signal.h... no
checking for asm/ptrace.h... no
checking for library containing socketpair... -lsocket
checking for library containing regexec... none required
checking for g++ -std=gnu++17 options needed to detect all undeclared functions... none needed
checking whether cfree is declared... no
checking whether posix_memalign is declared... yes
checking whether memalign is declared... yes
checking whether valloc is declared... yes
checking whether pvalloc is declared... no
configure: WARNING: Could not find the PC.  Will not try to compile libprofiler...
checking for libunwind.h... no
configure: Will build sized deallocation operators that ignore size
checking if C++ compiler supports -fsized-deallocation... yes
checking if target has _Unwind_Backtrace... yes
checking for __environ... no
checking if nanosleep requires any libraries... no
checking how to run the C preprocessor... gcc -E
checking for egrep -e... (cached) /usr/xpg4/bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with "-pthread" and "-lpthread"... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... -D_POSIX_PTHREAD_SEMANTICS
checking for PTHREAD_PRIO_INHERIT... yes
checking for program_invocation_name... no
checking whether backtrace_symbols is declared... yes
checking for library containing backtrace_symbols... none required
checking for Linux SIGEV_THREAD_ID... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/gperftools/tcmalloc.h
config.status: creating vsprojects/include/gperftools/tcmalloc.h
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp