+ 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/jemalloc-5.3.0nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/jemalloc-5.3.0nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for jemalloc-5.3.0.tar.bz2
=> Checksum SHA512 OK for jemalloc-5.3.0.tar.bz2
===> Installing dependencies for jemalloc-5.3.0nb1
==========================================================================
The supported build options for jemalloc are:

	debug

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.jemalloc (not defined)

==========================================================================
=> Tool dependency libxslt-[0-9]*: found libxslt-1.1.39
=> Tool dependency docbook-xsl-[0-9]*: found docbook-xsl-1.79.2nb7
=> 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 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.38.2
===> Overriding tools for jemalloc-5.3.0nb1
===> Extracting for jemalloc-5.3.0nb1
===> Patching for jemalloc-5.3.0nb1
=> Applying pkgsrc patches for jemalloc-5.3.0nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jemalloc/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jemalloc/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.4 2022/09/26 20:32:19 wiz Exp $
|
|Fix permissions of installed static libraries.
|
|install(1) on NetBSD does not support -v.
|https://github.com/jemalloc/jemalloc/commit/df7ad8a9b6121c5c4b15bad5606b51bf734416a6
|
|--- Makefile.in.orig	2022-05-06 18:29:14.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 555.
Hunk #2 succeeded at 574.
Hunk #3 succeeded at 594.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jemalloc/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jemalloc/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.3 2018/05/15 08:35:50 adam Exp $
|
|Do not use -O3, -g3, nor -funroll-loops; prefer PkgSrc provided compiler flags.
|
|--- configure.orig	2018-05-08 19:16:45.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 4372 (offset 348 lines).
Hunk #2 succeeded at 6447 (offset 511 lines).
Hunk #3 succeeded at 10079 (offset 1118 lines).
Hunk #4 succeeded at 9523 (offset 511 lines).
Hunk #5 succeeded at 10193 (offset 1118 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jemalloc/patches/patch-include_jemalloc_internal_quantum.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jemalloc/patches/patch-include_jemalloc_internal_quantum.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_jemalloc_internal_quantum.h,v 1.1 2019/04/24 17:11:00 adam Exp $
|
|Add 32-bit SPARC support.
|
|--- include/jemalloc/internal/quantum.h.orig	2019-04-24 16:37:33.000000000 +0000
|+++ include/jemalloc/internal/quantum.h
--------------------------
Patching file include/jemalloc/internal/quantum.h using Plan A...
Hunk #1 succeeded at 15.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jemalloc/patches/patch-src_pages.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/jemalloc/patches/patch-src_pages.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_pages.c,v 1.7 2023/05/31 21:04:17 christos Exp $
|
|Don't affect global state when making alignment modifications to the
|mmap flags.
|
|diff --git a/src/pages.c b/src/pages.c
|index 09b51b88..2d5b8164 100644
|--- src/pages.c
|+++ src/pages.c
--------------------------
Patching file src/pages.c using Plan A...
Hunk #1 succeeded at 132 (offset -23 lines).
Hunk #2 succeeded at 142 (offset -23 lines).
done
===> Creating toolchain wrappers for jemalloc-5.3.0nb1
===> Configuring for jemalloc-5.3.0nb1
=> 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 bin/jeprof.in.
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
checking for xsltproc... /opt/pkg/bin/xsltproc
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 compiler is cray... no
checking whether compiler supports -std=gnu11... yes
checking whether compiler supports -Werror=unknown-warning-option... no
checking whether compiler supports -Wall... yes
checking whether compiler supports -Wextra... yes
checking whether compiler supports -Wshorten-64-to-32... no
checking whether compiler supports -Wsign-compare... yes
checking whether compiler supports -Wundef... yes
checking whether compiler supports -Wno-format-zero-length... yes
checking whether compiler supports -Wpointer-arith... yes
checking whether compiler supports -Wno-missing-braces... yes
checking whether compiler supports -Wno-missing-field-initializers... yes
checking whether compiler supports -Wno-missing-attributes... yes
checking whether compiler supports -pipe... yes
checking whether compiler supports -g3... yes
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking whether g++ supports C++17 features with -std=c++17... no
checking whether g++ supports C++17 features with +std=c++17... no
checking whether g++ supports C++17 features with -h std=c++17... no
checking whether g++ supports C++17 features with -std=c++1z... no
checking whether g++ supports C++17 features with +std=c++1z... no
checking whether g++ supports C++17 features with -h std=c++1z... no
configure: No compiler with C++17 support was found
checking whether g++ supports C++14 features with -std=c++14... no
checking whether g++ supports C++14 features with +std=c++14... no
checking whether g++ supports C++14 features with -h std=c++14... no
checking whether g++ supports C++14 features with -std=c++1y... no
checking whether g++ supports C++14 features with +std=c++1y... no
checking whether g++ supports C++14 features with -h std=c++1y... no
configure: No compiler with C++14 support was found
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 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 whether byte ordering is bigendian... no
checking size of void *... 8
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of intmax_t... 8
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking whether pause instruction is compilable... yes
checking number of significant virtual address bits... 48
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for x86_64-sun-solaris2.11-nm... no
checking for nm... nm
checking for gawk... /usr/bin/nawk
./configure: line 8479: -lsocket: command not found
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking whether malloc_usable_size definition can use const argument... yes
checking for library containing log... -lm
checking whether __attribute__ syntax is compilable... yes
checking whether compiler supports -fvisibility=hidden... yes
checking whether compiler supports -fvisibility=hidden... no
checking whether compiler supports -Werror... yes
checking whether compiler supports -herror_on_warning... yes
checking whether tls_model attribute is compilable... no
checking whether compiler supports -Werror... yes
checking whether compiler supports -herror_on_warning... yes
checking whether alloc_size attribute is compilable... no
checking whether compiler supports -Werror... yes
checking whether compiler supports -herror_on_warning... yes
checking whether format(gnu_printf, ...) attribute is compilable... no
checking whether compiler supports -Werror... yes
checking whether compiler supports -herror_on_warning... yes
checking whether format(printf, ...) attribute is compilable... no
checking whether compiler supports -Werror... yes
checking whether compiler supports -herror_on_warning... yes
checking whether format(printf, ...) attribute is compilable... no
checking whether compiler supports -Wimplicit-fallthrough... yes
checking whether fallthrough attribute is compilable... yes
checking whether compiler supports -Wimplicit-fallthrough... yes
checking whether compiler supports -Wimplicit-fallthrough... no
checking whether compiler supports -Werror... yes
checking whether compiler supports -herror_on_warning... yes
checking whether cold attribute is compilable... no
checking whether vm_make_tag is compilable... no
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for ld... /home/pbulk/build/devel/jemalloc/work/.cwrapper/bin/ld
checking for autoconf... /home/pbulk/build/devel/jemalloc/work/.tools/bin/autoconf
checking for memalign... yes
checking for valloc... yes
checking for malloc_size... no
checking for __libc_calloc... no
checking for __libc_free... no
checking for __libc_malloc... no
checking for __libc_memalign... no
checking for __libc_realloc... no
checking for __libc_valloc... no
checking for __posix_memalign... no
checking whether compiler supports -O3... yes
checking whether compiler supports -O3... no
checking whether compiler supports -funroll-loops... yes
checking configured backtracing method... N/A
checking for sbrk... yes
checking whether utrace(2) is compilable... no
checking whether utrace(2) with label is compilable... no
checking whether a program using __builtin_unreachable is compilable... yes
checking whether a program using __builtin_ffsl is compilable... yes
checking whether a program using __builtin_popcountl is compilable... yes
checking LG_PAGE... 12
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for dlsym... yes
checking whether pthread_atfork(3) is compilable... yes
checking whether pthread_setname_np(3) is compilable... yes
checking whether pthread_getname_np(3) is compilable... yes
checking whether pthread_get_name_np(3) is compilable... no
checking for library containing clock_gettime... none required
checking whether clock_gettime(CLOCK_MONOTONIC_COARSE, ...) is compilable... no
checking whether clock_gettime(CLOCK_MONOTONIC, ...) is compilable... yes
checking whether mach_absolute_time() is compilable... no
checking whether clock_gettime(CLOCK_REALTIME, ...) is compilable... yes
checking whether compiler supports -Werror... yes
checking whether syscall(2) is compilable... yes
checking for secure_getenv... no
checking for sched_getcpu... no
checking for sched_setaffinity... no
checking for issetugid... yes
checking for _malloc_thread_cleanup... no
checking for _pthread_mutex_init_calloc_cb... no
checking for memcntl... yes
checking for TLS... yes
checking whether C11 atomics is compilable... yes
checking whether GCC __atomic atomics is compilable... yes
checking whether GCC 8-bit __atomic atomics is compilable... yes
checking whether GCC __sync atomics is compilable... yes
checking whether GCC 8-bit __sync atomics is compilable... yes
checking whether Darwin OSAtomic*() is compilable... no
checking whether madvise(2) is compilable... yes
checking whether madvise(..., MADV_FREE) is compilable... yes
checking whether madvise(..., MADV_DONTNEED) is compilable... yes
checking whether madvise(..., MADV_DO[NT]DUMP) is compilable... no
checking whether madvise(..., MADV_[NO]HUGEPAGE) is compilable... no
checking whether madvise(..., MADV_[NO]CORE) is compilable... no
checking whether mprotect(2) is compilable... yes
checking for __builtin_clz... yes
checking whether Darwin os_unfair_lock_*() is compilable... no
checking whether pthreads adaptive mutexes is compilable... no
checking whether compiler supports -D_GNU_SOURCE... yes
checking whether compiler supports -Werror... yes
checking whether compiler supports -herror_on_warning... yes
checking whether strerror_r returns char with gnu source is compilable... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating jemalloc.pc
config.status: creating doc/html.xsl
config.status: creating doc/manpages.xsl
config.status: creating doc/jemalloc.xml
config.status: creating include/jemalloc/jemalloc_macros.h
config.status: creating include/jemalloc/jemalloc_protos.h
config.status: creating include/jemalloc/jemalloc_typedefs.h
config.status: creating include/jemalloc/internal/jemalloc_preamble.h
config.status: creating test/test.sh
config.status: creating test/include/test/jemalloc_test.h
config.status: creating config.stamp
config.status: creating bin/jemalloc-config
config.status: creating bin/jemalloc.sh
config.status: creating bin/jeprof
config.status: creating include/jemalloc/jemalloc_defs.h
config.status: creating include/jemalloc/internal/jemalloc_internal_defs.h
config.status: creating test/include/test/jemalloc_test_defs.h
config.status: executing include/jemalloc/internal/public_symbols.txt commands
config.status: executing include/jemalloc/internal/private_symbols.awk commands
config.status: executing include/jemalloc/internal/private_symbols_jet.awk commands
config.status: executing include/jemalloc/internal/public_namespace.h commands
config.status: executing include/jemalloc/internal/public_unnamespace.h commands
config.status: executing include/jemalloc/jemalloc_protos_jet.h commands
config.status: executing include/jemalloc/jemalloc_rename.h commands
config.status: executing include/jemalloc/jemalloc_mangle.h commands
config.status: executing include/jemalloc/jemalloc_mangle_jet.h commands
config.status: executing include/jemalloc/jemalloc.h commands
===============================================================================
jemalloc version   : 5.3.0-0-g54eaed1d8b56b1aa528be3bdd1877e59c56fa90c
library revision   : 2

CONFIG             : --enable-xmalloc --with-xslroot=/opt/pkg/share/xsl/docbook/ --prefix=/opt/pkg --build=x86_64-sun-solaris2.11 --host=x86_64-sun-solaris2.11 --mandir=/opt/pkg/share/man --enable-option-checking=yes build_alias=x86_64-sun-solaris2.11 host_alias=x86_64-sun-solaris2.11 CC=gcc 'CFLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations' LDFLAGS=-Wl,-R/opt/pkg/lib LIBS= CPPFLAGS= CXX=g++ 'CXXFLAGS=-pipe -O2 -msave-args -fno-aggressive-loop-optimizations'
CC                 : gcc
CONFIGURE_CFLAGS   : -std=gnu11 -Wall -Wextra -Wsign-compare -Wundef -Wno-format-zero-length -Wpointer-arith -Wno-missing-braces -Wno-missing-field-initializers -Wno-missing-attributes -pipe -fvisibility=hidden -Wimplicit-fallthrough
SPECIFIED_CFLAGS   : -pipe -O2 -msave-args -fno-aggressive-loop-optimizations
EXTRA_CFLAGS       : 
CPPFLAGS           : -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
CXX                : g++
CONFIGURE_CXXFLAGS : 
SPECIFIED_CXXFLAGS : -pipe -O2 -msave-args -fno-aggressive-loop-optimizations
EXTRA_CXXFLAGS     : 
LDFLAGS            : -Wl,-R/opt/pkg/lib
EXTRA_LDFLAGS      : 
DSO_LDFLAGS        : -shared -Wl,-soname,$(@F)
LIBS               : -lm -D_POSIX_PTHREAD_SEMANTICS -pthread
RPATH_EXTRA        : 

XSLTPROC           : /opt/pkg/bin/xsltproc
XSLROOT            : /opt/pkg/share/xsl/docbook/

PREFIX             : /opt/pkg
BINDIR             : /opt/pkg/bin
DATADIR            : /opt/pkg/share
INCLUDEDIR         : /opt/pkg/include
LIBDIR             : /opt/pkg/lib
MANDIR             : /opt/pkg/share/man

srcroot            : 
abs_srcroot        : /home/pbulk/build/devel/jemalloc/work/jemalloc-5.3.0/
objroot            : 
abs_objroot        : /home/pbulk/build/devel/jemalloc/work/jemalloc-5.3.0/

JEMALLOC_PREFIX    : 
JEMALLOC_PRIVATE_NAMESPACE
                   : je_
install_suffix     : 
malloc_conf        : 
documentation      : 1
shared libs        : 1
static libs        : 1
autogen            : 0
debug              : 0
stats              : 1
experimental_smallocx : 0
prof               : 0
prof-libunwind     : 0
prof-libgcc        : 0
prof-gcc           : 0
fill               : 1
utrace             : 0
xmalloc            : 1
log                : 0
lazy_lock          : 0
cache-oblivious    : 1
cxx                : 0
===============================================================================
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.