+ 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/gerbera-1.12.1nb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gerbera-1.12.1nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for gerbera-1.12.1.tar.gz
=> Checksum SHA512 OK for gerbera-1.12.1.tar.gz
===> Installing dependencies for gerbera-1.12.1nb4
==========================================================================
The supported build options for gerbera are:

	debug ffmpeg ffmpegthumbnailer javascript
	lastfm matroska systemd

The currently selected options are:

	ffmpegthumbnailer javascript matroska

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.gerbera (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
gerbera-1.12.1nb4.  Their current value is shown below:

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

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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.26.4
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency ffmpegthumbnailer>=2.2.0: found ffmpegthumbnailer-2.2.2nb4
=> Full dependency libduktape>=1.5.0: found libduktape-2.7.0
=> Full dependency libmatroska>=1.6.0: found libmatroska-1.7.1
=> Full dependency libebml>=1.4.0: found libebml-1.4.4
=> Full dependency taglib>=1.9.1: found taglib-1.13
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency sqlite3>=3.41.2nb1: found sqlite3-3.42.0
=> Full dependency libatomic>=12.1.0nb1: found libatomic-13.1.0
=> Full dependency spdlog>=1.11.0nb2: found spdlog-1.11.0nb2
=> Full dependency fmtlib>=10.0.0: found fmtlib-10.0.0
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency libexif>=0.6.20nb1: found libexif-0.6.24
=> Full dependency libupnp>=1.6.14: found libupnp-1.14.7
=> Full dependency file>=4.17: found file-5.42
=> Full dependency expat>=2.0.0nb1: found expat-2.5.0
=> Full dependency pugixml>=1.7: found pugixml-1.13
=> Full dependency curl>=8.0.1nb1: found curl-8.1.1
===> Overriding tools for gerbera-1.12.1nb4
===> Extracting for gerbera-1.12.1nb4
/bin/cp /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/gerbera/files/config.xml.in /home/pbulk/build/multimedia/gerbera/work/gerbera-1.12.1/config.xml
/bin/cp /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/gerbera/files/gerbera.desktop.in /home/pbulk/build/multimedia/gerbera/work/gerbera-1.12.1/gerbera.desktop
===> Patching for gerbera-1.12.1nb4
=> Applying pkgsrc patches for gerbera-1.12.1nb4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/gerbera/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/gerbera/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.3 2022/11/30 21:28:36 adam Exp $
|
|Darwin does not require libuuid.
|
|--- CMakeLists.txt.orig	2022-11-04 11:22:55.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 352 (offset 15 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/gerbera/patches/patch-src_main.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/gerbera/patches/patch-src_main.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_main.cc,v 1.2 2022/07/11 11:49:48 adam Exp $
|
|Fix build on NetBSD
|
|--- src/main.cc.orig	2022-05-03 17:39:25.000000000 +0000
|+++ src/main.cc
--------------------------
Patching file src/main.cc using Plan A...
Hunk #1 succeeded at 296 (offset 9 lines).
done
===> Creating toolchain wrappers for gerbera-1.12.1nb4
===> Configuring for gerbera-1.12.1nb4
=> Substituting "config" in config.xml gerbera.desktop
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> 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/multimedia/gerbera/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/multimedia/gerbera/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Gerbera Version: 1.12.1
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Looking for __atomic_fetch_add_4 in atomic
-- Looking for __atomic_fetch_add_4 in atomic - found
-- Looking for C++ include filesystem
-- Looking for C++ include filesystem - found
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED
-- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED - Success
-- Performing Test Iconv_IS_BUILT_IN
-- Performing Test Iconv_IS_BUILT_IN - Success
-- Found Iconv: built in to C library  
-- Checking prototype iconv for ICONV_CONST
-- Checking prototype iconv for ICONV_CONST - True
-- Looking for BSD native UUID
-- Looking for libuuid
-- Looking for libuuid - found
-- Found UUID: TRUE  
-- Looking for native LFS support
-- Looking for native LFS support - found
-- Found LFS: TRUE  
-- Found libupnp: /opt/pkg/lib/libupnp.so (found version 1.14.7)
CMake Warning at CMakeLists.txt:407 (message):
      !! It is strongly recommended to build libupnp with --enable-reuseaddr !!
      Without this option Gerbera will be unable to restart with the same port number.


CMake Warning at CMakeLists.txt:414 (message):
      !! It is strongly recommended to build libupnp with --disable-blocking-tcp-connections !!
      Without this option non-responsive control points can cause libupnp to hang.


-- Found spdlog: /home/pbulk/build/multimedia/gerbera/work/.buildlink/lib/cmake/spdlog/spdlogConfig.cmake (found suitable version "1.11.0", minimum required is "1.8.1") 
-- Found pugixml: /opt/pkg/lib/libpugixml.so  
-- Found SQLite3: /opt/pkg/include (found suitable version "3.42.0", minimum required is "3.7.11") 
-- Found CURL: /opt/pkg/lib/libcurl.so (found version "8.1.1")  
-- Found Taglib: /opt/pkg/lib/libtag.so (found suitable version "1.13.0", minimum required is "1.12") 
-- Found LibMagic: /opt/pkg/lib/libmagic.so  
-- Found FFMpegThumbnailer: /opt/pkg/lib/libffmpegthumbnailer.so  
-- Found EXIF: /opt/pkg/lib/libexif.so (found version "0.6.24") 
-- Found EBML: /opt/pkg/lib/libebml.so  
-- Found Matroska: /opt/pkg/lib/libmatroska.so  
-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.2.13")  
-- Configuring done (8.3s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /home/pbulk/build/multimedia/gerbera/work/gerbera-1.12.1
=> Rewrite cmake Dependencies files