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

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = libjpeg-turbo
        * KRB5_DEFAULT = mit-krb5
        * READLINE_DEFAULT = readline
        * 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:

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = libjpeg-turbo
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = mit-krb5
        * READLINE_TYPE = readline
        * TERMCAP_TYPE = curses

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 glib2-tools-[0-9]*: found glib2-tools-2.74.3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb7
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.25.1
=> Tool dependency gmake>=3.81: found gmake-4.4
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.21nb3
=> Tool dependency perl>=5.0: found perl-5.36.0
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1
=> Build dependency gcc12>=12.2.0: found gcc12-12.2.0
=> Full dependency p5-Image-ExifTool-[0-9]*: found p5-Image-ExifTool-12.50
=> Full dependency sqlite3>=3.40.0nb1: found sqlite3-3.40.0nb1
=> Full dependency GConf>=3.2.3nb15: found GConf-3.2.3nb15
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.21
=> Full dependency glib2>=2.70.2: found glib2-2.74.3
=> Full dependency zlib>=1.2.11: found zlib-1.2.13
=> Full dependency libgphoto2>=2.5.27nb3: found libgphoto2-2.5.27nb3
=> Full dependency GraphicsMagick>=1.3.37nb3: found GraphicsMagick-1.3.37nb4
=> Full dependency libICE>=0.99.1: found libICE-1.1.1
=> Full dependency png>=1.6.0nb1: found png-1.6.39
=> Full dependency lcms2>=2.2: found lcms2-2.14
=> Full dependency exiv2>=0.27: found exiv2-0.27.5nb1
=> Full dependency gegl>=0.4.32: found gegl-0.4.40
=> Full dependency json-glib>=1.6.2: found json-glib-1.6.2nb2
=> Full dependency librsvg>=2.54.4nb1: found librsvg-2.54.4nb1
=> Full dependency tiff>=4.0.3nb5: found tiff-4.4.0
=> Full dependency libjpeg-turbo>=1.1.0: found libjpeg-turbo-2.1.4
=> Full dependency lensfun>=0.3.2nb3: found lensfun-0.3.3nb1
=> Full dependency openexr>=3.1: found openexr-3.1.5
=> Full dependency openjpeg>=2.1.0: found openjpeg-2.5.0
=> Full dependency lua53>=5.3.0<5.4: found lua53-5.3.6
=> Full dependency flickcurl>=1.22nb1: found flickcurl-1.26nb26
=> Full dependency libsoup>=2.70.0nb8: found libsoup-2.70.0nb8
=> Full dependency cups-base>=2.4.2nb3: found cups-base-2.4.2nb5
=> Full dependency libsecret>=0.20.4nb2: found libsecret-0.20.4nb6
=> Full dependency iso-codes>=0.50: found iso-codes-4.11.0
=> Full dependency pugixml>=1.7: found pugixml-1.13
=> Full dependency curl>=7.86.0nb1: found curl-7.87.0
=> Full dependency gtk3+>=3.24.34nb2: found gtk3+-3.24.35
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency gcc12-libs>=12.2.0: found gcc12-libs-12.2.0
===> Overriding tools for darktable-3.6.1nb8
===> Extracting for darktable-3.6.1nb8
===> Patching for darktable-3.6.1nb8
=> Applying pkgsrc patches for darktable-3.6.1nb8
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/graphics/darktable/patches/patch-cmake_compiler-warnings.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/graphics/darktable/patches/patch-cmake_compiler-warnings.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_compiler-warnings.cmake,v 1.1 2019/03/05 11:19:24 ryoon Exp $
|
|* Disable -Wshadow always to fix build
|
|--- cmake/compiler-warnings.cmake.orig	2018-12-24 09:31:27.000000000 +0000
|+++ cmake/compiler-warnings.cmake
--------------------------
Patching file cmake/compiler-warnings.cmake using Plan A...
Hunk #1 succeeded at 12.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/graphics/darktable/patches/patch-src_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/graphics/darktable/patches/patch-src_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_CMakeLists.txt,v 1.11 2021/12/20 20:59:42 nia Exp $
|
|Werror with an arbitrary toolchain considered harmful.
|
|Don't link with the C compiler, CMake's CXXABI detection may insert
|C++ libraries into LIBS.
|
|--- src/CMakeLists.txt.orig	2021-09-10 06:20:12.000000000 +0000
|+++ src/CMakeLists.txt
--------------------------
Patching file src/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 739.
Hunk #2 succeeded at 903.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/graphics/darktable/patches/patch-src_common_system__signal__handling.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/graphics/darktable/patches/patch-src_common_system__signal__handling.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_common_system__signal__handling.c,v 1.1 2018/06/26 10:49:11 jperkin Exp $
|
|Fix build on SunOS.
|
|--- src/common/system_signal_handling.c.orig	2017-05-28 14:22:21.000000000 +0000
|+++ src/common/system_signal_handling.c
--------------------------
Patching file src/common/system_signal_handling.c using Plan A...
Hunk #1 succeeded at 70 (offset 1 line).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/graphics/darktable/patches/patch-tools_noise_benchmark.sh
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/graphics/darktable/patches/patch-tools_noise_benchmark.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-tools_noise_benchmark.sh,v 1.3 2017/07/14 10:10:39 hauke Exp $
|
|We bash bashisms.
|
|--- tools/noise/benchmark.sh.orig	2017-05-28 14:22:21.000000000 +0000
|+++ tools/noise/benchmark.sh
--------------------------
Patching file tools/noise/benchmark.sh using Plan A...
Hunk #1 succeeded at 14.
done
===> Creating toolchain wrappers for darktable-3.6.1nb8
===> Configuring for darktable-3.6.1nb8
/usr/bin/mkdir -p /home/pbulk/build/graphics/darktable/work/pkgsrc_build
=> Replacing bash interpreter in tools/common.sh tools/extract_wb_from_images.sh tools/purge_from_cache.sh tools/purge_non_existing_images.sh tools/purge_unused_tags.sh.
INFO: [replace-interpreter] Nothing changed in tools/common.sh.
INFO: [replace-interpreter] Nothing changed in tools/extract_wb_from_images.sh.
INFO: [replace-interpreter] Nothing changed in tools/purge_from_cache.sh.
INFO: [replace-interpreter] Nothing changed in tools/purge_non_existing_images.sh.
INFO: [replace-interpreter] Nothing changed in tools/purge_unused_tags.sh.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Fixing locale directory references.
INFO: [subst.mk:pkglocaledir] Nothing changed in "src/external/lua/Makefile".
INFO: [subst.mk:pkglocaledir] Nothing changed in "src/external/lua/src/Makefile".
INFO: [subst.mk:pkglocaledir] Nothing changed in "src/external/LuaAutoC/Makefile".
INFO: [subst.mk:pkglocaledir] Nothing changed in "src/external/whereami/_gnu-make/Makefile".
INFO: [subst.mk:pkglocaledir] Nothing changed in "src/tests/Makefile".
=> Checking for portability problems in extracted files
-- The CXX compiler identification is GNU 12.2.0
-- The C compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/graphics/darktable/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/graphics/darktable/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Looking for cpuid.h
-- Looking for cpuid.h - found
-- Looking for __get_cpuid
-- Looking for __get_cpuid - found
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Performing Test HAVE_THREAD_RWLOCK_ARCH_T_READERS
-- Performing Test HAVE_THREAD_RWLOCK_ARCH_T_READERS - Failed
-- Performing Test HAVE_THREAD_RWLOCK_ARCH_T_NR_READERS
-- Performing Test HAVE_THREAD_RWLOCK_ARCH_T_NR_READERS - Failed
-- Performing Test IS_SUPPORTED_PLATFORM
-- Performing Test IS_SUPPORTED_PLATFORM - Success
-- Is the target platform supported: 1
-- Found little endian system. Good.
-- Performing Test _MSSE2
-- Performing Test _MSSE2 - Success
-- Building SSE2-optimized codepaths: ON
-- Performing Test C_COMPILER_UNDERSTANDS_-Wall
-- Performing Test C_COMPILER_UNDERSTANDS_-Wall - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wall
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wall - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat-security
-- Performing Test C_COMPILER_UNDERSTANDS_-Wformat-security - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat-security
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wformat-security - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wtype-limits
-- Performing Test C_COMPILER_UNDERSTANDS_-Wtype-limits - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wtype-limits
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wtype-limits - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wvla
-- Performing Test C_COMPILER_UNDERSTANDS_-Wvla - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wvla
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wvla - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wold-style-declaration
-- Performing Test C_COMPILER_UNDERSTANDS_-Wold-style-declaration - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wthread-safety
-- Performing Test C_COMPILER_UNDERSTANDS_-Wthread-safety - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wthread-safety
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wthread-safety - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-unknown-pragmas
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-unknown-pragmas - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-unknown-pragmas
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-unknown-pragmas - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-format-truncation
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-format-truncation - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-format-truncation
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-format-truncation - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Failed
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Failed
-- Looking for external programs
-- Found perl
-- Found intltool-merge
-- Missing desktop-file-validate, problems in darktable.desktop might go unnoticed
-- Missing jsonschema, problems in noiseprofiles.json might go unnoticed
-- Found xsltproc
-- Found xmllint
-- Found exiftool
-- All external programs found
-- Found Gettext: /opt/local/bin/msgmerge (found version "0.21") 
-- Found msgfmt to convert .po file. Translation enabled
-- Found ZLIB: /opt/local/lib/libz.so (found version "1.2.13") 
-- The following OPTIONAL packages have been found:

 * Gettext

-- The following REQUIRED packages have been found:

 * Threads
 * ZLIB

-- Checking for -mtune=generic support
-- Performing Test MTUNEGENERIC
-- Performing Test MTUNEGENERIC - Success
-- Checking for -mtune=generic support - works
-- Checking for -std=c++17 support
-- Performing Test COMPILER_SUPPORTS_CXX17
-- Performing Test COMPILER_SUPPORTS_CXX17 - Success
-- Checking for -std=c++17 support - works
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WALL
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WALL - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEXTRA
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEXTRA - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WCAST_QUAL
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WCAST_QUAL - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEXTRA_SEMI
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WEXTRA_SEMI - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WFORMAT_2
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WFORMAT_2 - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WOLD_STYLE_CASTS
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WOLD_STYLE_CASTS - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WPOINTER_ARITH
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WPOINTER_ARITH - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WVLA
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WVLA - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WMISSING_FORMAT_ATTRIBUTE
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WMISSING_FORMAT_ATTRIBUTE - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WSUGGEST_ATTRIBUTE_FORMAT
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WSUGGEST_ATTRIBUTE_FORMAT - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNUSED_PARAMETER
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WNO_UNUSED_PARAMETER - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WSTACK_USAGE_4096
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WSTACK_USAGE_4096 - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WFRAME_LARGER_THAN_4096
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WFRAME_LARGER_THAN_4096 - Failed
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WLARGER_THAN_32768
-- Performing Test RAWSPEED_HAVE_CXX_FLAG_WLARGER_THAN_32768 - Failed
-- OpenMP is disabled
-- Looking for pugixml
-- Found Pugixml 1.13
-- Looking for pugixml - found (system)
-- Looking for JPEG
-- Found JPEG: /opt/local/lib/libjpeg.so (found version "80") 
-- Looking for JPEG - found
-- Looking for jpeg_mem_src
-- Looking for jpeg_mem_src - not found
-- Looking for ZLIB
-- Found ZLIB: /opt/local/lib/libz.so (found suitable version "1.2.13", minimum required is "1.2.11") 
-- Looking for C++ include zlib.h
-- Looking for C++ include zlib.h - not found
CMake Error at src/external/rawspeed/cmake/Modules/CheckZLIB.cmake:16 (message):
  Did not find <zlib.h> header
Call Stack (most recent call first):
  src/external/rawspeed/cmake/src-dependencies.cmake:162 (include)
  src/external/rawspeed/CMakeLists.txt:213 (include)


-- Looking for sys/types.h
-- Looking for sys/types.h - not found
-- Looking for stdint.h
-- Looking for stdint.h - not found
-- Looking for stddef.h
-- Looking for stddef.h - not found
-- Check size of uLongf
-- Check size of uLongf - failed
CMake Error at src/external/rawspeed/cmake/Modules/CheckZLIB.cmake:23 (message):
  Did not find uLongf type in <zlib.h>
Call Stack (most recent call first):
  src/external/rawspeed/cmake/src-dependencies.cmake:162 (include)
  src/external/rawspeed/CMakeLists.txt:213 (include)


-- Looking for Z_OK
-- Looking for Z_OK - not found
CMake Error at src/external/rawspeed/cmake/Modules/CheckZLIB.cmake:28 (message):
  Did not find Z_OK macro in <zlib.h>
Call Stack (most recent call first):
  src/external/rawspeed/cmake/src-dependencies.cmake:162 (include)
  src/external/rawspeed/CMakeLists.txt:213 (include)


-- Checking prototype uncompress for HAVE_ZLIB_UNCOMPRESS_PROTOTYPE
-- Checking prototype uncompress for HAVE_ZLIB_UNCOMPRESS_PROTOTYPE - False
CMake Error at src/external/rawspeed/cmake/Modules/CheckZLIB.cmake:37 (message):
  Found unexpected prototype for uncompress() in <zlib.h>
Call Stack (most recent call first):
  src/external/rawspeed/cmake/src-dependencies.cmake:162 (include)
  src/external/rawspeed/CMakeLists.txt:213 (include)


-- Checking prototype zError for HAVE_ZLIB_ZERROR_PROTOTYPE
-- Checking prototype zError for HAVE_ZLIB_ZERROR_PROTOTYPE - False
CMake Error at src/external/rawspeed/cmake/Modules/CheckZLIB.cmake:46 (message):
  Found unexpected prototype for zError() in <zlib.h>
Call Stack (most recent call first):
  src/external/rawspeed/cmake/src-dependencies.cmake:162 (include)
  src/external/rawspeed/CMakeLists.txt:213 (include)


-- Looking for uncompress
-- Looking for uncompress - not found
CMake Error at src/external/rawspeed/cmake/Modules/CheckZLIB.cmake:53 (message):
  Did not find uncompress() function in ZLIB
Call Stack (most recent call first):
  src/external/rawspeed/cmake/src-dependencies.cmake:162 (include)
  src/external/rawspeed/CMakeLists.txt:213 (include)


-- Looking for zError
-- Looking for zError - not found
CMake Error at src/external/rawspeed/cmake/Modules/CheckZLIB.cmake:58 (message):
  Did not find zError() function in ZLIB
Call Stack (most recent call first):
  src/external/rawspeed/cmake/src-dependencies.cmake:162 (include)
  src/external/rawspeed/CMakeLists.txt:213 (include)


-- Looking for ZLIB - found (system)
-- Looking for malloc
-- Looking for malloc - not found
-- Looking for free
-- Looking for free - not found
CMake Error at src/external/rawspeed/cmake/Modules/memory-align-alloc.cmake:8 (message):
  Can't even find plain malloc() / free() !
Call Stack (most recent call first):
  src/external/rawspeed/src/CMakeLists.txt:1 (include)


-- Looking for aligned_alloc
-- Looking for aligned_alloc - not found
-- Looking for posix_memalign
-- Looking for posix_memalign - not found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for _aligned_free
-- Looking for _aligned_free - not found
CMake Error at src/external/rawspeed/cmake/Modules/memory-align-alloc.cmake:27 (message):
  Can't find any aligned malloc() implementation!
Call Stack (most recent call first):
  src/external/rawspeed/src/CMakeLists.txt:1 (include)


-- Performing Test HAVE_CXX_THREAD_LOCAL
-- Performing Test HAVE_CXX_THREAD_LOCAL - Failed
-- Performing Test HAVE_GCC_THREAD_LOCAL
-- Performing Test HAVE_GCC_THREAD_LOCAL - Failed
CMake Error at src/external/rawspeed/cmake/Modules/thread-local.cmake:23 (MESSAGE):
  The compiler does not support Thread-local storage.
Call Stack (most recent call first):
  src/external/rawspeed/src/CMakeLists.txt:2 (include)


-- Trying to query CPU L1d cache line size
-- Performing binary package build, using hardcoded value.
-- Deciding that the CPU L1d cache line size is 64 bytes
-- Trying to query CPU page size
-- Performing binary package build, using hardcoded value.
-- Deciding that the CPU page size is 64 bytes
-- Found XMLLINT: /opt/local/bin/xmllint  
-- The following features have been enabled:

 * XML reading, used for loading of data/cameras.xml
 * Lossy JPEG decoding, used for DNG Lossy JPEG compression decoding
 * ZLIB decoding, used for DNG Deflate compression decoding

-- The following OPTIONAL packages have been found:

 * Gettext
 * XMLLINT, command line XML tool, <http://xmlsoft.org/>
   Used for validation of data/cameras.xml

-- The following RECOMMENDED packages have been found:

 * JPEG, free library for handling the JPEG image data format, implements a JPEG codec
   Used for decoding DNG Lossy JPEG compression

-- The following REQUIRED packages have been found:

 * Threads
 * Pugixml (required version >= 1.8), Light-weight, simple and fast XML parser, <http://pugixml.org/>
   Used for loading of data/cameras.xml
 * ZLIB (required version >= 1.2.11), software library used for data compression
   Used for decoding DNG Deflate compression

-- The following features have been disabled:

 * OpenMP-based threading, used for parallelization of the library

-- Performing Test COMPILER_SUPPORTS_C99
-- Performing Test COMPILER_SUPPORTS_C99 - Success
-- Performing Test COMPILER_SUPPORTS_C11
-- Performing Test COMPILER_SUPPORTS_C11 - Success
-- Checking for -std=c++14 support
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Success
-- Checking for -std=c++14 support - works
-- Found Glib 2.74.3
-- Found PkgConfig: /home/pbulk/build/graphics/darktable/work/.tools/bin/pkg-config (found version "1.8.0") 
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.35
-- Found GTK3: /opt/local/include/gtk-3.0;/opt/local/include/pango-1.0;/opt/local/include;/opt/local/include/glib-2.0;/opt/local/lib/glib-2.0/include;/opt/local/include/harfbuzz;/opt/local/include/freetype2;/opt/local/include/libpng16;/opt/local/include/fribidi;/opt/local/include/cairo;/opt/local/include/pixman-1;/opt/local/include/gdk-pixbuf-2.0;/opt/local/include/gio-unix-2.0;/opt/local/include/libdrm;/opt/local/include/atk-1.0;/opt/local/include/at-spi2-atk/2.0;/opt/local/include/dbus-1.0;/opt/local/lib/dbus-1.0/include;/opt/local/include/at-spi-2.0 (Required is at least version "3.22") 
-- Found LibXml2: /opt/local/lib/libxml2.so (found suitable version "2.10.3", minimum required is "2.6") 
-- Found Gphoto2: /opt/local/lib/libgphoto2.so  
-- Found ZLIB: /opt/local/lib/libz.so (found version "1.2.13") 
-- Found WebP: /opt/local/lib/libwebp.so (Required is at least version "0.3.0") 
-- Could NOT find libavif (missing: libavif_DIR)
-- Found LensFun: /opt/local/lib/liblensfun.so  
-- Found Sqlite3 3.40.0
-- Sqlite3 version 3.24 or newer
-- Found GIO 
-- Found GThread: /opt/local/lib/libgthread-2.0.so  
-- Found GModule: /opt/local/lib/libgmodule-2.0.so  
-- Found PangoCairo: /opt/local/lib/libpangocairo-1.0.so  
-- Found Rsvg2: /opt/local/lib/librsvg-2.so  
-- Found LibXml2: /opt/local/lib/libxml2.so (found version "2.10.3") 
-- Found CURL: /opt/local/lib/libcurl.so (found version "7.87.0")  
-- Found PNG: /opt/local/lib/libpng16.so (found version "1.6.39") 
-- Found TIFF: /opt/local/lib/libtiff.so (found version "4.4.0")  
-- Found LCMS2: /opt/local/lib/liblcms2.so  
-- Found JsonGlib 
-- Found Exiv2: /opt/local/lib/libexiv2.so (Required is at least version "0.24") 
-- Looking for EXV_ENABLE_BMFF
-- Looking for EXV_ENABLE_BMFF - found
-- Exiv2 >= 0.27.4 found with ISOBMFF support (CR3, AVIF, HEIF)
-- Found OpenJPEG 
-- Checking for module 'iso-codes'
--   Found iso-codes, version 4.11.0
-- Found Libsecret: /opt/local/include/libsecret-1;/opt/local/include/glib-2.0;/opt/local/lib/glib-2.0/include;/opt/local/include  
-- Found GraphicsMagick 
-- GMIC not found
-- ICU not found
-- Performing Test HAVE_BUILTIN_CPU_SUPPORTS
-- Performing Test HAVE_BUILTIN_CPU_SUPPORTS - Success
-- Does the compiler support __builtin_cpu_supports(): 1
-- Performing Test HAVE_TLS
-- Performing Test HAVE_TLS - Success
-- Lua support: Enabled
-- Found Pugixml 1.13
-- Map mode: disabled, please install libosmgpsmap
-- Found Cups: /opt/local/lib/libcups.so (found version "2.4.2") 
-- Print mode: enabled
-- Game: the good knight
-- Signal debug: print-trace possible
-- Found CURL: /opt/local/lib/libcurl.so (found suitable version "7.87.0", minimum required is "7.56")  
-- Found recent CURL version to build piwigo.
-- Found X11: /opt/local/include   
-- Looking for XOpenDisplay in /opt/local/lib/libX11.so;/opt/local/lib/libXext.so
-- Looking for XOpenDisplay in /opt/local/lib/libX11.so;/opt/local/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for connect
-- Looking for connect - not found
-- Looking for connect in socket
-- Looking for connect in socket - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- no colord support for darktable-cmstest. not cool.
Missing po4a-translate. Can NOT create translated manpages
Missing po4a-updatepo. Can NOT update manpage translations
-- The following features have been enabled:

 * XML reading, used for loading of data/cameras.xml
 * Lossy JPEG decoding, used for DNG Lossy JPEG compression decoding
 * ZLIB decoding, used for DNG Deflate compression decoding

-- The following OPTIONAL packages have been found:

 * Gettext
 * XMLLINT, command line XML tool, <http://xmlsoft.org/>
   Used for validation of data/cameras.xml
 * LibSoup2
 * Gphoto2
 * OpenEXR (required version >= 3.0)
 * WebP (required version >= 0.3.0)
 * LensFun
 * OpenJPEG
 * IsoCodes (required version >= 3.66)
 * Libsecret
 * GraphicsMagick
 * Lua53 (required version >= 5.3)
 * Cups
 * X11

-- The following REQUIRED packages have been found:

 * GTK3 (required version >= 3.22)
 * Threads
 * Sqlite3 (required version >= 3.15)
 * GIO
 * GThread
 * GModule
 * PangoCairo
 * Rsvg2
 * LibXml2
 * ZLIB, software library used for data compression
   Used for decoding DNG Deflate compression
 * PNG
 * JPEG, free library for handling the JPEG image data format, implements a JPEG codec
   Used for decoding DNG Lossy JPEG compression
 * TIFF
 * LCMS2
 * JsonGlib
 * Exiv2 (required version >= 0.24)
 * Pugixml (required version >= 1.2), Light-weight, simple and fast XML parser, <http://pugixml.org/>
   Used for loading of data/cameras.xml
 * CURL (required version >= 7.56)
 * Glib

-- The following features have been disabled:

 * OpenMP-based threading, used for parallelization of the library

-- The following OPTIONAL packages have not been found:

 * libavif (required version >= 0.8.2)
 * GMIC
 * ICU
 * OSMGpsMap

-- Configuring incomplete, errors occurred!
See also "/home/pbulk/build/graphics/darktable/work/pkgsrc_build/CMakeFiles/CMakeOutput.log".
See also "/home/pbulk/build/graphics/darktable/work/pkgsrc_build/CMakeFiles/CMakeError.log".
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/graphics/darktable
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/graphics/darktable