+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/indi-2.0.7nb3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/indi-2.0.7nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for indi-2.0.7.tar.gz
=> Checksum SHA512 OK for indi-2.0.7.tar.gz
===> Installing dependencies for indi-2.0.7nb3
==========================================================================
The following variables will affect the build process of this package,
indi-2.0.7nb3.  Their current value is shown below:

        * JPEG_DEFAULT = libjpeg-turbo
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/openssl/private

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = libjpeg-turbo

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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency cmake>=0: found cmake-3.30.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.3.0
=> Full dependency cfitsio>=3.100: found cfitsio-4.2.0nb4
=> Full dependency curl>=8.7.1nb1: found curl-8.9.0
=> Full dependency fftw>=3.3.10nb1: found fftw-3.3.10nb2
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.3.0
=> Full dependency gsl>=2.6: found gsl-2.7.1
=> Full dependency libjpeg-turbo>=1.1.0: found libjpeg-turbo-3.0.3
=> 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
===> Overriding tools for indi-2.0.7nb3
===> Extracting for indi-2.0.7nb3
===> Patching for indi-2.0.7nb3
=> Applying pkgsrc patches for indi-2.0.7nb3
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/indi/patches/patch-libs_alignment_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/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.1 2024/05/03 11:17:14 wiz Exp $
|
|Use CMAKE_DL_LIBS for libdl, which does not exist everywhere.
|
|--- libs/alignment/CMakeLists.txt.orig	2024-05-03 10:36:05.404763201 +0000
|+++ libs/alignment/CMakeLists.txt
--------------------------
Patching file libs/alignment/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 32.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/indi/patches/patch-libs_indicore_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/indi/patches/patch-libs_indicore_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libs_indicore_CMakeLists.txt,v 1.1 2024/05/03 11:17:14 wiz Exp $
|
|Link against librt for shm_*
|
|--- libs/indicore/CMakeLists.txt.orig	2024-05-03 10:33:03.807020284 +0000
|+++ libs/indicore/CMakeLists.txt
--------------------------
Patching file libs/indicore/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 51.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/indi/patches/patch-libs_indicore_indicom.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/indi/patches/patch-libs_indicore_indicom.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libs_indicore_indicom.c,v 1.1 2024/05/03 11:17:14 wiz Exp $
|
|Always include ioctl.h for ioctl(), disable some code like for FreeBSD.
|
|--- libs/indicore/indicom.c.orig	2024-05-03 10:31:04.246317754 +0000
|+++ libs/indicore/indicom.c
--------------------------
Patching file libs/indicore/indicom.c using Plan A...
Hunk #1 succeeded at 50.
Hunk #2 succeeded at 791.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/indi/patches/patch-libs_indicore_indidevapi.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/indi/patches/patch-libs_indicore_indidevapi.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libs_indicore_indidevapi.h,v 1.1 2024/05/03 11:17:14 wiz Exp $
|
|Always include stdarg.h for va_args.
|
|--- libs/indicore/indidevapi.h.orig	2024-05-03 10:30:01.998627645 +0000
|+++ libs/indicore/indidevapi.h
--------------------------
Patching file libs/indicore/indidevapi.h using Plan A...
Hunk #1 succeeded at 93.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/indi/patches/patch-libs_indicore_sharedblob.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/indi/patches/patch-libs_indicore_sharedblob.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libs_indicore_sharedblob.c,v 1.1 2024/05/03 11:17:14 wiz Exp $
|
|Check for symbol existence before using it.
|
|--- libs/indicore/sharedblob.c.orig	2024-05-03 10:31:58.021138213 +0000
|+++ libs/indicore/sharedblob.c
--------------------------
Patching file libs/indicore/sharedblob.c using Plan A...
Hunk #1 succeeded at 225.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/indi/patches/patch-libs_sockets_tcpsocket.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/misc/indi/patches/patch-libs_sockets_tcpsocket.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libs_sockets_tcpsocket.cpp,v 1.1 2024/05/03 11:17:14 wiz Exp $
|
|Add header for sockaddr_in definition.
|
|--- libs/sockets/tcpsocket.cpp.orig	2024-05-03 10:35:05.023675865 +0000
|+++ libs/sockets/tcpsocket.cpp
--------------------------
Patching file libs/sockets/tcpsocket.cpp using Plan A...
Hunk #1 succeeded at 21.
done
===> Creating toolchain wrappers for indi-2.0.7nb3
===> Configuring for indi-2.0.7nb3
=> 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
-- Using bundled httplib
-- Using bundled json library
-- Found NOVA: /opt/local/lib/libnova.so
-- Looking for timespec_get
-- Looking for timespec_get - not found
-- Looking for clock_gettime
-- Looking for clock_gettime - not found
-- Found ZLIB: /opt/local/lib/libz.so (found version "1.3.1")
-- 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/local/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
  /opt/local/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /opt/local/share/cmake-3.30/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-trunk-x86_64/misc/indi
*** Error code 1

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