+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lvm2-2.02.98/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lvm2-2.02.98/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for LVM2.2.02.98.tgz
=> Checksum SHA512 OK for LVM2.2.02.98.tgz
===> Installing dependencies for lvm2-2.02.98
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for lvm2-2.02.98
===> Extracting for lvm2-2.02.98
===> Patching for lvm2-2.02.98
=> Applying pkgsrc patches for lvm2-2.02.98
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/lvm2/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/sysutils/lvm2/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2016/07/08 09:09:47 kamil Exp $
|
|Fix unportable shell constructs.
|
|--- configure.orig	2012-10-15 14:24:58.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 9259.
Hunk #2 succeeded at 9305.
Hunk #3 succeeded at 10040.
done
===> Creating toolchain wrappers for lvm2-2.02.98
===> Configuring for lvm2-2.02.98
=> 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.
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... x86_64-redhat-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for gawk... /bin/gawk
checking for x86_64-redhat-linux-gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking whether cc needs -traditional... no
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/sysutils/lvm2/work/.tools/bin/mkdir -p
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking for cflow... no
checking for cscope... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking asm/byteorder.h usability... yes
checking asm/byteorder.h presence... yes
checking for asm/byteorder.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for struct stat.st_rdev... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for mode_t... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for struct stat.st_rdev... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for ftruncate... yes
checking for gethostname... yes
checking for getpagesize... yes
checking for gettimeofday... yes
checking for memset... yes
checking for mkdir... yes
checking for mkfifo... yes
checking for rmdir... yes
checking for munmap... yes
checking for nl_langinfo... yes
checking for setenv... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strspn... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strerror... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for uname... yes
checking for siginterrupt... yes
checking for working alloca.h... yes
checking for alloca... yes
checking whether closedir returns void... no
checking for unistd.h... (cached) yes
checking for working chown... yes
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 whether lstat accepts an empty string... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether stat accepts an empty string... no
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking whether to use static linking... no
checking file owner... 
checking group owner... 
checking device node uid... 0
checking device node gid... 0
checking device node mode... 0600
checking when to create device nodes... on resume
checking default name mangling... auto
checking whether to enable lvm1 fallback... no
checking whether to include support for lvm1 metadata... internal
checking whether to include support for GFS pool metadata... internal
checking whether to include support for cluster locking... internal
checking whether to include snapshots... internal
checking whether to include mirrors... internal
checking whether to include raid... internal
checking whether to include replicators... none
checking whether to include thin provisioning... none
checking whether to enable readline... maybe
checking whether to enable realtime support... 
checking whether to enable OCF resource agents... no
checking whether to build cluster LVM daemon... none
checking whether to build cluster mirror log daemon... no
checking whether to enable debugging... no
checking for C optimisation flag... -O2
checking whether to gather gcov profiling data... no
checking whether to enable unit testing... no
checking whether to enable valgrind awareness of pools... no
checking whether to use device-mapper... yes
checking whether to build LVMetaD... no
checking whether to enable synchronisation with udev processing... no
checking whether to enable installation of udev rules required for synchronisation... no
checking whether to enable executable path detection in udev rules... no
checking whether udev supports built-in blkid... checking pkg-config is at least version 0.9.0... no
checking for PKGCONFIGINIT... no
pkg-config initialized
./configure: line 9105: --atleast-version=176: command not found
no
checking whether to enable O_DIRECT... yes
checking whether to build liblvm2app.so application library... no
checking whether to compile liblvm2cmd.so... no
checking whether to build Python wrapper for liblvm2app.so... no
checking whether to install fsadm... yes
checking whether to install blkdeactivate... yes
checking whether to use dmeventd... 
checking for getline in -lc... yes
checking for canonicalize_file_name in -lc... yes
checking for dlopen in -ldl... yes
checking whether to enable selinux support... yes
checking for sepol_check_context in -lsepol... no
checking for is_selinux_enabled in -lselinux... no
configure: WARNING: Disabling selinux
checking for getopt.h... (cached) yes
checking for library containing tgetent... -ltinfo
checking for readline in -lreadline... yes
checking for rl_line_buffer in -lreadline... yes
checking for rl_completion_matches... yes
checking whether to enable internationalisation... no
./configure: line 10121: --variable=systemdsystemunitdir: command not found
./configure: line 10133: --variable=systemdutildir: command not found
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking for socket... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for modprobe... /sbin/modprobe
checking for kernel interface choice... ioctl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating make.tmpl
config.status: creating daemons/Makefile
config.status: creating daemons/clvmd/Makefile
config.status: creating daemons/cmirrord/Makefile
config.status: creating daemons/dmeventd/Makefile
config.status: creating daemons/dmeventd/libdevmapper-event.pc
config.status: creating daemons/dmeventd/plugins/Makefile
config.status: creating daemons/dmeventd/plugins/lvm2/Makefile
config.status: creating daemons/dmeventd/plugins/raid/Makefile
config.status: creating daemons/dmeventd/plugins/mirror/Makefile
config.status: creating daemons/dmeventd/plugins/snapshot/Makefile
config.status: creating daemons/dmeventd/plugins/thin/Makefile
config.status: creating daemons/lvmetad/Makefile
config.status: creating doc/Makefile
config.status: creating doc/example.conf
config.status: creating include/.symlinks
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating lib/format1/Makefile
config.status: creating lib/format_pool/Makefile
config.status: creating lib/locking/Makefile
config.status: creating lib/mirror/Makefile
config.status: creating lib/replicator/Makefile
config.status: creating lib/misc/lvm-version.h
config.status: creating lib/raid/Makefile
config.status: creating lib/snapshot/Makefile
config.status: creating lib/thin/Makefile
config.status: creating libdaemon/Makefile
config.status: creating libdaemon/client/Makefile
config.status: creating libdaemon/server/Makefile
config.status: creating libdm/Makefile
config.status: creating libdm/libdevmapper.pc
config.status: creating liblvm/Makefile
config.status: creating liblvm/liblvm2app.pc
config.status: creating man/Makefile
config.status: creating po/Makefile
config.status: creating python/Makefile
config.status: creating python/setup.py
config.status: creating scripts/blkdeactivate.sh
config.status: creating scripts/blk_availability_init_red_hat
config.status: creating scripts/blk_availability_systemd_red_hat.service
config.status: creating scripts/clvmd_init_red_hat
config.status: creating scripts/cmirrord_init_red_hat
config.status: creating scripts/lvm2_lvmetad_init_red_hat
config.status: creating scripts/lvm2_lvmetad_systemd_red_hat.socket
config.status: creating scripts/lvm2_lvmetad_systemd_red_hat.service
config.status: creating scripts/lvm2_monitoring_init_red_hat
config.status: creating scripts/dm_event_systemd_red_hat.socket
config.status: creating scripts/dm_event_systemd_red_hat.service
config.status: creating scripts/lvm2_monitoring_systemd_red_hat.service
config.status: creating scripts/lvm2_tmpfiles_red_hat.conf
config.status: creating scripts/Makefile
config.status: creating test/Makefile
config.status: creating test/api/Makefile
config.status: creating test/unit/Makefile
config.status: creating tools/Makefile
config.status: creating udev/Makefile
config.status: creating unit-tests/datastruct/Makefile
config.status: creating unit-tests/regex/Makefile
config.status: creating unit-tests/mm/Makefile
config.status: creating lib/misc/configure.h