+ 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/postsrsd-1.11/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/postsrsd-1.11/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for postsrsd-1.11.tar.gz
=> Checksum SHA512 OK for postsrsd-1.11.tar.gz
===> Installing dependencies for postsrsd-1.11
=> Tool dependency help2man-[0-9]*: found help2man-1.49.3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.29.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for postsrsd-1.11
===> Extracting for postsrsd-1.11
===> Patching for postsrsd-1.11
=> Applying pkgsrc patches for postsrsd-1.11
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/postsrsd/patches/patch-postsrsd.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/postsrsd/patches/patch-postsrsd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-postsrsd.c,v 1.1 2021/07/10 08:41:56 spz Exp $
|
|make sure we can use a connection more than once
|it'll work without the patch but with many error messages in the log
|
|--- postsrsd.c.orig	2021-03-21 19:23:39.000000000 +0000
|+++ postsrsd.c	2021-07-09 10:29:40.996255562 +0000
--------------------------
Patching file postsrsd.c using Plan A...
Hunk #1 succeeded at 644.
Hunk #2 succeeded at 667.
done
===> Creating toolchain wrappers for postsrsd-1.11
===> Configuring for postsrsd-1.11
=> Fixing man page installation path.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/mail/postsrsd/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for sys/wait.h
-- Looking for sys/wait.h - found
-- Looking for wait.h
-- Looking for wait.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for time.h
-- Looking for time.h - found
-- Looking for alloca.h
-- Looking for alloca.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Detected init flavor: none
-- System startup files will not be installed
CMake Error at CMakeLists.txt:94 (target_link_libraries):
  Cannot specify link libraries for target "postsrsd_tests" which is not
  built by this project.


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/postsrsd
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/mail/postsrsd