+ 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/indi-2.1.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/indi-2.1.1/work.log
=> Checksum BLAKE2s OK for indi/indi-2.1.1.tar.gz
=> Checksum SHA512 OK for indi/indi-2.1.1.tar.gz
===> Installing dependencies for indi-2.1.1
==========================================================================
The following variables will affect the build process of this package,
indi-2.1.1.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /etc/opt/pkg/openssl/certs
        * SSLDIR = /etc/opt/pkg/openssl
        * SSLKEYS = /etc/opt/pkg/openssl/private

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency cmake>=0: found cmake-3.31.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency cfitsio>=3.100: found cfitsio-4.4.1nb3
=> Full dependency curl>=8.11.0nb2: found curl-8.11.1nb1
=> Full dependency fftw>=3.3.10nb1: found fftw-3.3.10nb2
=> Full dependency gsl>=2.6: found gsl-2.7.1
=> Full dependency jpeg>=9: found jpeg-9f
=> Full dependency libnova>=0.13.0: found libnova-0.15.0
=> Full dependency libogg>=1.1.2nb1: found libogg-1.3.5nb1
=> Full dependency libtheora>=1.0alpha3nb1: found libtheora-1.1.1nb2
=> Full dependency libusb1>=1.0.9: found libusb1-1.0.27
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency libvorbis>=1.0.1: found libvorbis-1.3.7
=> Full dependency libxml2>=2.6.2: found libxml2-2.12.9nb3
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.64.0nb3
=> Full dependency openssl>=1.1.1: found openssl-3.3.2
=> Full dependency xz>=5.0.0: found xz-5.6.3
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for indi-2.1.1
===> Extracting for indi-2.1.1
===> Patching for indi-2.1.1
=> Applying pkgsrc patches for indi-2.1.1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/indi/patches/patch-libs_alignment_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/indi/patches/patch-libs_alignment_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libs_alignment_CMakeLists.txt,v 1.2 2024/08/05 14:51:37 adam Exp $
|
|On Darwin, set correct install name dir for plug-ins.
|
|--- libs/alignment/CMakeLists.txt.orig	2024-08-05 10:54:29.125435547 +0000
|+++ libs/alignment/CMakeLists.txt
--------------------------
Patching file libs/alignment/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 145.
Hunk #2 succeeded at 171.
done
===> Creating toolchain wrappers for indi-2.1.1
===> Configuring for indi-2.1.1
=> Adding run-time search paths to pkg-config files.
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/misc/indi/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/misc/indi/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPATIBLE_FORTIFY_SOURCE
-- Performing Test COMPATIBLE_FORTIFY_SOURCE - Success
-- Looking for mremap
-- Looking for mremap - not found
CMake Warning (dev) at CMakeLists.txt:165 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Using bundled httplib
-- Using bundled json library
-- Found NOVA: /opt/pkg/lib/libnova.so
-- Looking for timespec_get
-- Looking for timespec_get - not found
-- Looking for clock_gettime
-- Looking for clock_gettime - not found
CMake Warning (dev) at libs/indicore/CMakeLists.txt:94 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.3.1")
CMake Warning (dev) at libs/indidevice/CMakeLists.txt:86 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at libs/indiabstractclient/CMakeLists.txt:35 (install):
  Policy CMP0177 is not set: install() DESTINATION paths are normalized.  Run
  "cmake --help-policy CMP0177" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Building INDI Client
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - no
CMake Error at /opt/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /opt/pkg/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /opt/pkg/share/cmake-3.31/Modules/FindThreads.cmake:226 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  libs/sockets/CMakeLists.txt:4 (find_package)


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

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/indi
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/misc/indi