+ 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/qmmp-1.7.4nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qmmp-1.7.4nb3/work.log
=> Checksum BLAKE2s OK for qmmp-1.7.4.tar.bz2
=> Checksum SHA512 OK for qmmp-1.7.4.tar.bz2
===> Installing dependencies for qmmp-1.7.4nb3
==========================================================================
The supported build options for qmmp are:

	alsa ffmpeg jack musepack pulseaudio sidplay
	wavpack

The currently selected options are:

	ffmpeg wavpack

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

	PKG_OPTIONS.qmmp (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
qmmp-1.7.4nb3.  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.16nb2
=> Tool dependency cmake>=0: found cmake-3.31.7nb2
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.5
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.4.3
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency curl>=8.13.0nb2: found curl-8.13.0nb2
=> Full dependency faad2>=2.11.0: found faad2-2.11.2
=> Full dependency ffmpeg7>=7.1.1nb1: found ffmpeg7-7.1.1nb2
=> Full dependency flac>=1.5.0: found flac-1.5.0nb1
=> Full dependency game-music-emu>=0.6.2: found game-music-emu-0.6.3
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency libopus>=1.4: found libopus-1.5.2
=> Full dependency libshout>=2.4.6nb2: found libshout-2.4.6nb2
=> Full dependency libsndfile>=1.2.2nb2: found libsndfile-1.2.2nb2
=> Full dependency libsoxr>=0.1.2: found libsoxr-0.1.3
=> Full dependency libvorbis>=1.1.0nb1: found libvorbis-1.3.7
=> Full dependency libwildmidi>=0.2.3.4: found libwildmidi-0.4.6
=> Full dependency libxmp>=4.1.5: found libxmp-4.5.0
=> Full dependency mpg123>=1.0.0: found mpg123-1.32.10
=> Full dependency opusfile>=0.12nb2: found opusfile-0.12nb3
=> Full dependency qt5-qtbase>=5.15.16nb2: found qt5-qtbase-5.15.16nb3
=> Full dependency qt5-qttools>=5.15.16nb2: found qt5-qttools-5.15.16nb2
=> Full dependency qt5-qtx11extras>=5.15.16nb1: found qt5-qtx11extras-5.15.16nb1
=> Full dependency taglib>=2.0: found taglib-2.0.2
=> Full dependency wavpack>=4.41.0: found wavpack-5.8.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb5
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency MesaLib>=3.4.2: found MesaLib-21.3.9nb4
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency dbus>=0.91: found dbus-1.14.10
=> Full dependency expat>=1.95.7: found expat-2.7.1
=> Full dependency fontconfig>=2.11.91: found fontconfig-2.15.0
=> Full dependency freetype2>=2.13.0: found freetype2-2.13.3
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5
=> Full dependency glib2>=2.4.0: found glib2-2.82.5
=> Full dependency glu>=6.0: found glu-9.0.3
=> Full dependency graphite2>=1.2: found graphite2-1.3.14nb3
=> Full dependency gst-plugins1-base>=1.0.0: found gst-plugins1-base-1.24.12
=> Full dependency gstreamer1>=1.18.4: found gstreamer1-1.24.12
=> Full dependency harfbuzz>=2.1.1: found harfbuzz-11.1.0
=> Full dependency libiconv>=1.9.1: found libiconv-1.17
=> Full dependency icu>=3.4: found icu-77.1
=> Full dependency jpeg>=8nb1: found jpeg-9f
=> Full dependency lame>=3.93.1nb2: found lame-3.100nb7
=> Full dependency libICE>=0.99.1: found libICE-1.1.2
=> Full dependency libSM>=0.99.2: found libSM-1.2.6
=> Full dependency libX11>=1.5: found libX11-1.8.12
=> Full dependency libXau>=1.0: found libXau-1.0.12
=> Full dependency libXcursor>=1.1.1: found libXcursor-1.2.3
=> Full dependency libXdamage>=1.0.3: found libXdamage-1.1.6
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=1.1: found libXext-1.3.6
=> Full dependency libXfixes>=4.0.1: found libXfixes-6.0.1
=> Full dependency libXft>=2.1.10: found libXft-2.3.9
=> Full dependency libXi>=1.0.0: found libXi-1.8.2
=> Full dependency libXmu>=1.0.0: found libXmu-1.2.1
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.12
=> Full dependency libXt>=1.0.0: found libXt-1.3.1
=> Full dependency libXtst>=1.0.1: found libXtst-1.2.5
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.6
=> Full dependency libatomic_ops>=7.4.0<2000: found libatomic_ops-7.8.2
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.124
=> Full dependency libffi>=1.20: found libffi-3.4.8
=> Full dependency libidn2>=2.0.0: found libidn2-2.3.7
=> Full dependency libogg>=1.1: found libogg-1.3.5nb1
=> Full dependency libpciaccess>=0.10.4: found libpciaccess-0.18.1
=> Full dependency libproxy>=0.2.3: found libproxy-0.5.9nb6
=> Full dependency libtheora>=1.0alpha3: found libtheora-1.2.0
=> Full dependency libunistring>=0.9.3: found libunistring-1.2
=> Full dependency libvdpau>=0.3: found libvdpau-1.4nb1
=> Full dependency libvpx>=1.14.0: found libvpx-1.15.0
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxkbcommon>=0.4.0: found libxkbcommon-1.7.0nb6
=> Full dependency libxml2>=2.6.2: found libxml2-2.14.2nb1
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.3
=> Full dependency ncurses>=5.3nb1: found ncurses-6.5
=> Full dependency nghttp2>=1.0.0: found nghttp2-1.65.0nb1
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.24.3
=> Full dependency openssl>=1.1.1: found openssl-3.4.1
=> Full dependency pcre2>=10.21: found pcre2-10.45
=> Full dependency png>=1.2.4: found png-1.6.47
=> Full dependency pulseaudio>=16.1: found pulseaudio-17.0nb2
=> Full dependency qt5-qtdeclarative>=5.9.1: found qt5-qtdeclarative-5.15.16nb2
=> Full dependency qt5-qtlocation>=5.9.1: found qt5-qtlocation-5.15.16nb1
=> Full dependency qt5-qtmultimedia>=5.9.1: found qt5-qtmultimedia-5.15.16nb2
=> Full dependency qt5-qtsensors>=5.9.1: found qt5-qtsensors-5.15.16nb1
=> Full dependency qt5-qtwebchannel>=5.9.1: found qt5-qtwebchannel-5.15.16nb1
=> Full dependency qt5-qtxmlpatterns>=5.9.1: found qt5-qtxmlpatterns-5.15.16nb1
=> Full dependency speex>=1.2rc1: found speex-1.2.1
=> Full dependency sqlite3>=3.0.8: found sqlite3-3.49.1nb3
=> Full dependency x264>=20220601: found x264-20231001
=> Full dependency xcb-util>=0.3.9: found xcb-util-0.4.1
=> Full dependency xcb-util-image>=0.3.9: found xcb-util-image-0.4.1
=> Full dependency xcb-util-keysyms>=0.3.9: found xcb-util-keysyms-0.4.1
=> Full dependency xcb-util-renderutil>=0.3.8nb1: found xcb-util-renderutil-0.3.10
=> Full dependency xcb-util-wm>=0.3.9: found xcb-util-wm-0.4.2nb1
=> Full dependency xvidcore>=1.0.0: found xvidcore-1.3.7nb1
=> Full dependency xz>=5.0.0: found xz-5.8.1
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for qmmp-1.7.4nb3
===> Extracting for qmmp-1.7.4nb3
===> Patching for qmmp-1.7.4nb3
=> Applying pkgsrc patches for qmmp-1.7.4nb3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/qmmp/patches/patch-src_qmmp_output.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/qmmp/patches/patch-src_qmmp_output.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_qmmp_output.cpp,v 1.1 2025/03/31 16:50:45 nia Exp $
|
|Default to oss instead of oss4 so this works on more systems.
|
|--- src/qmmp/output.cpp.orig	2025-03-31 12:04:58.753946864 +0000
|+++ src/qmmp/output.cpp
--------------------------
Patching file src/qmmp/output.cpp using Plan A...
Hunk #1 succeeded at 154.
done
===> Creating toolchain wrappers for qmmp-1.7.4nb3
===> Configuring for qmmp-1.7.4nb3
=> 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/audio/qmmp/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/audio/qmmp/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /home/pbulk/build/audio/qmmp/work/.tools/bin/pkg-config (found version "2.4.3")
-- Qmmp API version: 1.7.4 (stable)
-- Could NOT find Qt5WinExtras (missing: Qt5WinExtras_DIR)
CMake Warning at /home/pbulk/build/audio/qmmp/work/.buildlink/qt5/lib/cmake/Qt5/Qt5Config.cmake:39 (message):
  Failed to find Qt5 component "WinExtras" config file at
  "/home/pbulk/build/audio/qmmp/work/.buildlink/qt5/lib/cmake/Qt5WinExtras/Qt5WinExtrasConfig.cmake"
Call Stack (most recent call first):
  CMakeLists.txt:76 (find_package)


-- Found lrelease executable: /home/pbulk/build/audio/qmmp/work/.buildlink/qt5/bin/lrelease
-- Generating translations ...
-- Checking for one of the modules 'x11'
-- Checking for one of the modules 'enca>=1.9'
-- Checking for one of the modules 'taglib>=1.11'
-- Checking for one of the modules 'libmpg123>=1.13.0'
-- Checking for one of the modules 'flac'
-- Checking for modules 'ogg;vorbis;vorbisfile'
--   Found ogg, version 1.3.5
--   Found vorbis, version 1.3.7
--   Found vorbisfile, version 1.3.7
-- Checking for modules 'libavcodec>=57.107.0;libavformat>=57.83.0;libavutil>=55.78.0'
--   Found libavcodec, version 61.19.101
--   Found libavformat, version 61.7.100
--   Found libavutil, version 59.39.100
-- Checking for one of the modules 'sndfile>=1.0.22'
-- Checking for one of the modules 'wavpack'
-- Checking for one of the modules 'libxmp'
-- Checking for one of the modules 'faad2>=2.9.2'
-- Checking for modules 'libcdio>=1.0.0;libcdio_cdda;libcdio_paranoia'
--   Package 'libcdio' not found
--   Package 'libcdio_cdda' not found
--   Package 'libcdio_paranoia' not found
-- Looking for wildmidi_lib.h
-- Looking for wildmidi_lib.h - found
-- Found WildMidi: /home/pbulk/build/audio/qmmp/work/.buildlink/lib/libWildMidi.so
-- Looking for C++ include gme/gme.h
-- Looking for C++ include gme/gme.h - found
-- Found Game Music Emu: /home/pbulk/build/audio/qmmp/work/.buildlink/lib/libgme.so
-- Checking for modules 'opus>=1.0.2;opusfile>=0.2'
--   Found opus, version 1.5.2
--   Found opusfile, version 0.12
-- Checking for one of the modules 'libarchive>=3.2.0'
-- Looking for sys/soundcard.h
-- Looking for sys/soundcard.h - found
-- Performing Test OSS4_SUPPORT
-- Performing Test OSS4_SUPPORT - Success
-- Looking for windows.h
-- Looking for windows.h - not found
-- Looking for dsound.h
-- Looking for dsound.h - not found
-- Looking for Audioclient.h
-- Looking for Audioclient.h - not found
-- Checking for modules 'ogg;vorbis;vorbisenc;shout>=2.4.3;soxr'
--   Found ogg, version 1.3.5
--   Found vorbis, version 1.3.7
--   Found vorbisenc, version 1.3.7
--   Found shout, version 2.4.6
--   Found soxr, version 0.1.3
-- Found OpenGL implementation: GL
-- Found desktop OpenGL implementation
CMake Warning at src/plugins/Visual/projectm/CMakeLists.txt:8 (find_package):
  By not providing "FindprojectM4.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "projectM4", but CMake did not find one.

  Could not find a package configuration file provided by "projectM4" with
  any of the following names:

    projectM4Config.cmake
    projectm4-config.cmake

  Add the installation prefix of "projectM4" to CMAKE_PREFIX_PATH or set
  "projectM4_DIR" to a directory containing one of the above files.  If
  "projectM4" provides a separate development package or SDK, be sure it has
  been installed.


-- Checking for one of the modules 'libprojectM>=2.0.0'
-- Checking for module 'soxr'
--   Found soxr, version 0.1.3
-- Checking for one of the modules 'libbs2b>=3.0.0'
-- Checking for modules 'vorbis;ogg;vorbisenc'
--   Found vorbis, version 1.3.7
--   Found ogg, version 1.3.5
--   Found vorbisenc, version 1.3.7
-- Checking for one of the modules 'xcb'
-- Checking for one of the modules 'libcurl>=7.32.0'
-- Checking for one of the modules 'libmms>=0.4'

Transports:
HTTP support ..........................enabled
MMS support ...........................disabled

Input Plugins:
MPEG support ..........................disabled
FLAC support ..........................enabled
Ogg Vorbis support ....................enabled
Musepack support ......................disabled
MOD support ...........................enabled
Wave support ..........................enabled
WavPack support .......................enabled
FFmpeg support ........................enabled
AAC support ...........................enabled
CUE sheet support .....................enabled
Mplayer support .......................disabled
CD Audio support ......................disabled
Midi support ..........................enabled
Game music support ....................enabled
Ogg Opus support ......................enabled
SID support ...........................disabled
Archive support .......................disabled

Output Plugins:
ALSA support ..........................disabled
OSS support ...........................disabled
OSS4 support ..........................enabled
JACK support ..........................disabled
PulseAudio support ....................disabled
PipeWire support ......................disabled
Null output support ...................enabled
Waveout support (Windows) .............disabled
DirectSound support (Windows) .........disabled
WASAPI support (Windows) ..............disabled
Qt Multimedia support .................disabled
Icecast support .......................enabled

Effect Plugins:
SoX Resampler .........................enabled
BS2B Plugin ...........................disabled
LADSPA Host ...........................enabled
Crossfade .............................enabled
Extra Stereo ..........................enabled
File Writer ...........................enabled
Mono to Stereo Converter ..............enabled

Visual Plugins:
Analyzer ..............................enabled
ProjectM ..............................disabled

General Plugins:
MPRIS support .........................enabled
Scrobbler .............................enabled
ListenBrainz ..........................enabled
Tray support ..........................enabled
Notifier support ......................enabled
Lyrics support ........................enabled
UDisks support ......,.................enabled
Global hotkey support .................enabled
GNOME/Cinnamon hotkey support .........enabled
File operations .......................enabled
Cover manager .........................enabled
KDE notifications support .............enabled
Audio converter .......................enabled
ReplayGain Scanner ....................enabled
Stream browser ........................enabled
Track change ..........................enabled
Copy/Paste ............................enabled
History plugin ........................enabled
Sleep mode inhibition plugin ..........enabled
Media library plugin ..................enabled
Taskbar plugin (Windows) ..............disabled
Removable device detection (Windows) ..disabled

File Dialogs:
QMMP File Dialog ......................enabled
Two-panel File File Dialog ............enabled

User Interfaces:
Skinned user interface ................enabled
Simple user interface (QSUI) ..........enabled

Advanced:
Automatic charset detection ...........disabled
MPEG plugin with LibRCD support .......disabled
CD Audio plugin with CDDB support .....disabled
Directory association .................enabled
Set RPATH in installed binaries .......disabled
MPEG decoders .........................mpg123

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

    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /home/pbulk/build/audio/qmmp/work/qmmp-1.7.4/cmake-pkgsrc-build