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

        * CURSES_DEFAULT = ncurses
        * 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:

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * 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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency qt5-qttools-[0-9]*: found qt5-qttools-5.15.14nb1
=> Tool dependency cmake>=0: found cmake-3.30.2
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.80.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> 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
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.17.0nb1
=> Full dependency alsa-lib>=1.2.7.2nb1: found alsa-lib-1.2.12
=> Full dependency jack>=1.9.21nb3: found jack-1.9.21nb3
=> Full dependency pulseaudio>=17.0: found pulseaudio-17.0
=> Full dependency ffmpeg6>=6.1.1nb1: found ffmpeg6-6.1.2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency libXinerama>=1.0.1: found libXinerama-1.1.5
=> Full dependency qt5-qtbase>=5.15.13nb1: found qt5-qtbase-5.15.14nb1
=> Full dependency qt5-qtx11extras>=5.15.13nb1: found qt5-qtx11extras-5.15.14nb1
===> Overriding tools for ssr-0.4.4
===> Extracting for ssr-0.4.4
===> Patching for ssr-0.4.4
=> Applying pkgsrc patches for ssr-0.4.4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/ssr/patches/patch-ffmpeg_updates
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/ssr/patches/patch-ffmpeg_updates
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ffmpeg_updates,v 1.1 2024/08/21 12:25:55 markd Exp $
|
|From f4cbde38021d9330dc73d2e3dfa8a70da3ff5721 Mon Sep 17 00:00:00 2001
|From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= <bero@lindev.ch>
|Date: Sun, 16 Jan 2022 02:40:04 +0100
|Subject: [PATCH 1/2] Fix build with ffmpeg 5.0
|MIME-Version: 1.0
|Content-Type: text/plain; charset=UTF-8
|Content-Transfer-Encoding: 8bit
|
|Adapt to ffmpeg 5.0 requiring more const-ness for AVCodec.
|
|Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
|---
| src/AV/Output/AudioEncoder.cpp |  6 +++---
| src/AV/Output/AudioEncoder.h   |  4 ++--
| src/AV/Output/BaseEncoder.cpp  |  4 ++--
| src/AV/Output/BaseEncoder.h    |  4 ++--
| src/AV/Output/Muxer.cpp        | 12 ++++++------
| src/AV/Output/Muxer.h          |  4 ++--
| src/AV/Output/VideoEncoder.cpp |  6 +++---
| src/AV/Output/VideoEncoder.h   |  4 ++--
| 8 files changed, 22 insertions(+), 22 deletions(-)
|
|diff --git a/src/AV/Output/AudioEncoder.cpp b/src/AV/Output/AudioEncoder.cpp
|index 34d015cf..cefc2e02 100644
|--- src/AV/Output/AudioEncoder.cpp
|+++ src/AV/Output/AudioEncoder.cpp
--------------------------
Patching file src/AV/Output/AudioEncoder.cpp using Plan A...
Hunk #1 succeeded at 34.
Hunk #2 succeeded at 77.
Hunk #3 succeeded at 93.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/src/AV/Output/AudioEncoder.h b/src/AV/Output/AudioEncoder.h
|index c93278cf..ae9c82ee 100644
|--- src/AV/Output/AudioEncoder.h
|+++ src/AV/Output/AudioEncoder.h
--------------------------
Patching file src/AV/Output/AudioEncoder.h using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 57.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/src/AV/Output/BaseEncoder.cpp b/src/AV/Output/BaseEncoder.cpp
|index 7c01ef30..4780aafd 100644
|--- src/AV/Output/BaseEncoder.cpp
|+++ src/AV/Output/BaseEncoder.cpp
--------------------------
Patching file src/AV/Output/BaseEncoder.cpp using Plan A...
Hunk #1 succeeded at 42.
Hunk #2 succeeded at 157.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/src/AV/Output/BaseEncoder.h b/src/AV/Output/BaseEncoder.h
|index 3d92f298..7f02bbd6 100644
|--- src/AV/Output/BaseEncoder.h
|+++ src/AV/Output/BaseEncoder.h
--------------------------
Patching file src/AV/Output/BaseEncoder.h using Plan A...
Hunk #1 succeeded at 51.
Hunk #2 succeeded at 117.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/src/AV/Output/Muxer.cpp b/src/AV/Output/Muxer.cpp
|index ad583803..14650b03 100644
|--- src/AV/Output/Muxer.cpp
|+++ src/AV/Output/Muxer.cpp
--------------------------
Patching file src/AV/Output/Muxer.cpp using Plan A...
Hunk #1 succeeded at 87.
Hunk #2 succeeded at 111.
Hunk #3 succeeded at 194.
Hunk #4 succeeded at 261.
Hunk #5 succeeded at 270.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/src/AV/Output/Muxer.h b/src/AV/Output/Muxer.h
|index d72347d6..b104bcb1 100644
|--- src/AV/Output/Muxer.h
|+++ src/AV/Output/Muxer.h
--------------------------
Patching file src/AV/Output/Muxer.h using Plan A...
Hunk #1 succeeded at 114.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/src/AV/Output/VideoEncoder.cpp b/src/AV/Output/VideoEncoder.cpp
|index 8087e8ed..fc8b5d11 100644
|--- src/AV/Output/VideoEncoder.cpp
|+++ src/AV/Output/VideoEncoder.cpp
--------------------------
Patching file src/AV/Output/VideoEncoder.cpp using Plan A...
Hunk #1 succeeded at 34.
Hunk #2 succeeded at 95.
Hunk #3 succeeded at 111.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/src/AV/Output/VideoEncoder.h b/src/AV/Output/VideoEncoder.h
|index cb7ca275..68d872ed 100644
|--- src/AV/Output/VideoEncoder.h
|+++ src/AV/Output/VideoEncoder.h
--------------------------
Patching file src/AV/Output/VideoEncoder.h using Plan A...
Hunk #1 succeeded at 40.
Hunk #2 succeeded at 55.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|
|From f8988d9f8b48ddfb48079b1a7552c979cff6a912 Mon Sep 17 00:00:00 2001
|From: Jordan Bucklin <jordan.bucklin@gmail.com>
|Date: Sun, 23 Jun 2024 14:21:28 -0700
|Subject: [PATCH 2/2] Update references to AVChannelLayout for compatibility
| with FFmpeg 7
|
|---
| src/AV/Output/AudioEncoder.cpp | 14 +++++++++-----
| src/AV/Output/BaseEncoder.cpp  |  2 +-
| src/AV/Output/Synchronizer.cpp |  2 +-
| 3 files changed, 11 insertions(+), 7 deletions(-)
|
|diff --git a/src/AV/Output/AudioEncoder.cpp b/src/AV/Output/AudioEncoder.cpp
|index 3efde703..3a38a619 100644
|--- src/AV/Output/AudioEncoder.cpp
|+++ src/AV/Output/AudioEncoder.cpp
--------------------------
Patching file src/AV/Output/AudioEncoder.cpp using Plan A...
Hunk #1 succeeded at 42.
Hunk #2 succeeded at 53.
Hunk #3 succeeded at 70.
Hunk #4 succeeded at 107 (offset -1 lines).
Hunk #5 succeeded at 161 (offset -1 lines).
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/src/AV/Output/BaseEncoder.cpp b/src/AV/Output/BaseEncoder.cpp
|index 7c01ef30..6fa8bbca 100644
|--- src/AV/Output/BaseEncoder.cpp
|+++ src/AV/Output/BaseEncoder.cpp
--------------------------
Patching file src/AV/Output/BaseEncoder.cpp using Plan A...
Hunk #1 succeeded at 176.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/src/AV/Output/Synchronizer.cpp b/src/AV/Output/Synchronizer.cpp
|index b109dc67..0faa28d7 100644
|--- src/AV/Output/Synchronizer.cpp
|+++ src/AV/Output/Synchronizer.cpp
--------------------------
Patching file src/AV/Output/Synchronizer.cpp using Plan A...
Hunk #1 succeeded at 180.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/ssr/patches/patch-glinject_elfhacks.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/ssr/patches/patch-glinject_elfhacks.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-glinject_elfhacks.c,v 1.1 2016/02/08 20:43:32 markd Exp $
|
|NetBSD doesn't know about DT_GNU_HASH
|
|--- glinject/elfhacks.c.orig	2015-11-02 21:13:49.000000000 +0000
|+++ glinject/elfhacks.c
--------------------------
Patching file glinject/elfhacks.c using Plan A...
Hunk #1 succeeded at 198.
done
===> Creating toolchain wrappers for ssr-0.4.4
===> Configuring for ssr-0.4.4
=> Replacing bash interpreter in scripts/ssr-glinject.
INFO: [replace-interpreter] Nothing changed in scripts/ssr-glinject.
=> 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.


CMake Deprecation Warning at CMakeLists.txt:2 (cmake_policy):
  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.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/multimedia/ssr/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/multimedia/ssr/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found X11: /opt/pkg/include
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/lib/libXext.so
-- Looking for XOpenDisplay in /opt/pkg/lib/libX11.so;/opt/pkg/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
-- Found OpenGL: /opt/pkg/lib/libGL.so
-- Found PkgConfig: /home/pbulk/build/multimedia/ssr/work/.tools/bin/pkg-config (found version "2.3.0")
-- Checking for module 'libavformat'
--   Found libavformat, version 60.16.100
-- Found AVFormat: /opt/pkg/lib/ffmpeg6/libavformat.so
-- Checking for module 'libavcodec'
--   Found libavcodec, version 60.31.102
-- Found AVCodec: /opt/pkg/lib/ffmpeg6/libavcodec.so
-- Checking for modules 'libavformat;libavcodec;libavutil;libswscale'
--   Found libavformat, version 60.16.100
--   Found libavcodec, version 60.31.102
--   Found libavutil, version 58.29.100
--   Found libswscale, version 7.5.100
-- Found AVUtil: /opt/pkg/lib/ffmpeg6/libavutil.so
-- Checking for modules 'libavformat;libavcodec;libavutil;libswscale'
--   Found libavformat, version 60.16.100
--   Found libavcodec, version 60.31.102
--   Found libavutil, version 58.29.100
--   Found libswscale, version 7.5.100
-- Found SWScale: /opt/pkg/lib/ffmpeg6/libswscale.so
-- Found ALSA: /opt/pkg/lib/libasound.so (found version "1.2.12")
-- Checking for module 'libpulse'
--   Found libpulse, version 17.0
-- Found PulseAudio: /opt/pkg/lib/libpulse.so
-- Checking for module 'jack'
--   Found jack, version 1.9.21
-- Found Jack: /opt/pkg/lib/libjack.so
-- The following REQUIRED packages have been found:

 * OpenGL
 * Threads
 * AVFormat
 * AVCodec
 * AVUtil
 * SWScale
 * X11
 * ALSA
 * PulseAudio
 * PkgConfig
 * Jack
 * Qt5Core
 * Qt5Gui
 * Qt5Widgets
 * Qt5X11Extras
 * Qt5 (required version >= 5.7)
 * Qt5LinguistTools

-- Configuring done (25.7s)
-- Generating done (0.8s)
CMake Warning:
  Manually-specified variables were not used by the project:

    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /home/pbulk/build/multimedia/ssr/work/ssr-0.4.4/cmake-pkgsrc-build