+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/zynaddsubfx-3.0.5nb9/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/zynaddsubfx-3.0.5nb9/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for zynaddsubfx-3.0.5.tar.bz2
=> Checksum SHA512 OK for zynaddsubfx-3.0.5.tar.bz2
===> Installing dependencies for zynaddsubfx-3.0.5nb9
==========================================================================
The supported build options for zynaddsubfx are:

	alsa jack jack portaudio

The currently selected options are:

	alsa jack

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

	PKG_OPTIONS.zynaddsubfx (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
zynaddsubfx-3.0.5nb9.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg

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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.29.6
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency perl>=5.0: found perl-5.38.2
=> 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 dssi>=1.1.1nb4: found dssi-1.1.1nb4
=> 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 liblo>=0.23: found liblo-0.31nb1
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency libX11>=1.1: found libX11-1.8.9
=> Full dependency fftw>=3.3.10nb1: found fftw-3.3.10nb2
=> Full dependency mxml>=2.9: found mxml-2.10
=> Full dependency fltk>=1.3.8nb3: found fltk-1.3.9
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.17
===> Overriding tools for zynaddsubfx-3.0.5nb9
===> Extracting for zynaddsubfx-3.0.5nb9
===> Patching for zynaddsubfx-3.0.5nb9
=> Applying pkgsrc patches for zynaddsubfx-3.0.5nb9
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/zynaddsubfx/patches/patch-DPF_distrho_extra_Mutex.hpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/zynaddsubfx/patches/patch-DPF_distrho_extra_Mutex.hpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-DPF_distrho_extra_Mutex.hpp,v 1.1 2020/10/30 15:47:02 nia Exp $
|
|NetBSD pthreads does not have pthread_condattr_setpshared.
|
|--- DPF/distrho/extra/Mutex.hpp.orig	2016-11-18 18:08:20.000000000 +0000
|+++ DPF/distrho/extra/Mutex.hpp
--------------------------
Patching file DPF/distrho/extra/Mutex.hpp using Plan A...
Hunk #1 succeeded at 194.
done
===> Creating toolchain wrappers for zynaddsubfx-3.0.5nb9
===> Configuring for zynaddsubfx-3.0.5nb9
=> Correcting the path to the OSS device.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> 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.


-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
CMake Warning (dev) at /usr/pkg/share/cmake-3.29/Modules/Platform/Linux.cmake:82 (include):
  File /usr/pkg/share/cmake-3.29/Modules/Platform/Linux.cmake includes
  /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.29/Modules/Platform/UnixPaths.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.29/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:3 (project)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/audio/zynaddsubfx/work/.cwrapper/bin/cc - 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/zynaddsubfx/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Rtosc Submodule...
CMake Deprecation Warning at rtosc/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.


-- Found GCC Version >= 4.7
-- Include what you use: disabled (RTOSC_INCLUDE_WHAT_YOU_USE=OFF)
-- Found OpenGL: /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib/libGL.so
-- Found X11: /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/include
CHECK_START;Looking for XOpenDisplay in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib/libX11.so;/home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib/libXext.so
CHECK_PASS;found
CHECK_START;Looking for gethostbyname
CHECK_PASS;found
CHECK_START;Looking for connect
CHECK_PASS;found
CHECK_START;Looking for remove
CHECK_PASS;found
CHECK_START;Looking for shmat
CHECK_PASS;found
CHECK_START;Looking for IceConnectionNumber in ICE
CHECK_FAIL;not found
-- Found FLTK: /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib/libfltk_images.so;/home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib/libfltk_forms.so;/home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib/libfltk_gl.so;/home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib/libGL.so;/home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib/libfltk.so
-- Found PkgConfig: /home/pbulk/build/audio/zynaddsubfx/work/.tools/bin/pkg-config (found version "2.2.0")
-- Checking for module 'ntk'
--   Package 'ntk' not found
-- Checking for module 'jack'
--   Found jack, version 1.9.21
-- Checking for module 'liblo>=0.28'
--   Found liblo, version 0.31
-- Could NOT find Ruby (missing: Ruby_EXECUTABLE Ruby_INCLUDE_DIR Ruby_LIBRARY) (Required is at least version "1.8")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- 
-- Rtosc Build Configuration
-- =========================
-- 
-- PkgConfig enabled  -- package found
-- Liblo enabled      -- package found
-- JACK enabled       -- package found
-- NTK disabled       -- package NOT found
-- Perf Test(s) disabled
-- FLTK enabled       -- package found
-- Checking Include Path
-- Checking Library Path
CMake Warning (dev) at rtosc/cmake/ColorMessage.cmake:59 (_message):
  The package name passed to `find_package_handle_standard_args` ;(ZLIB) does
  not match the name of the calling package ;(zlib).  This can lead to
  problems in calling ;code that expects `find_package` result variables
  (e.g., `_FOUND`) ;to follow a certain pattern.
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:438 (message)
  cmake/Findzlib.cmake:39 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  src/CMakeLists.txt:13 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found ZLIB: /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib/libz.so
CHECK_START;Performing Test CMAKE_HAVE_LIBC_PTHREAD
CHECK_FAIL;Failed
CHECK_START;Looking for pthread_create in pthreads
CHECK_FAIL;not found
CHECK_START;Looking for pthread_create in pthread
CHECK_PASS;found
-- Found Threads: TRUE
-- Found OSS: True
CHECK_START;Looking for snd_seq_create_simple_port in asound
CHECK_PASS;found
-- Found ALSA: /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib/libasound.so
CMake Warning (dev) at cmake/FindCxxTest.cmake:159 (find_package):
  Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
  are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
  the cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  src/CMakeLists.txt:20 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find CxxTest (missing: CXXTEST_INCLUDE_DIR CXXTEST_PYTHON_TESTGEN_EXECUTABLE) 
Looking For pkg config modules
-- Checking for module 'portaudio-2.0>=19'
--   Package 'portaudio-2.0' not found
-- Checking for module 'ntk'
--   Package 'ntk' not found
-- Checking for module 'ntk_images'
--   Package 'ntk_images' not found
-- Checking for module 'fftw3'
--   Found fftw3, version 3.3.10
-- Checking for module 'mxml'
--   Found mxml, version 2.10
-- Checking for module 'portaudio-2.0>=19'
--   Package 'portaudio-2.0' not found
-- Checking for one of the modules 'lash-1.0'
-- Checking for one of the modules 'dssi>=0.9.0'
CHECK_START;Looking for sched_setscheduler
CHECK_PASS;found
CHECK_START;Performing Test HAVE_ASYNC
CHECK_PASS;Success
CHECK_START;Performing Test SUPPORT_SSE
CHECK_PASS;Success
CHECK_START;Performing Test SUPPORT_NEON
CHECK_FAIL;Failed
-- Compiling with liblo
CHECK_START;Performing Test COMPILER_SUPPORTS_NO_INCONSISTENT_MISSING_OVERRIDE
CHECK_FAIL;Failed
CHECK_START;Performing Test COMPILER_SUPPORTS_SYSTEM_HDR_PREFIX
CHECK_FAIL;Failed
-- Compiling with x86 opcode support
-- Building for Release, flags: -std=c++11 -Wno-unused-parameter -O3 -ffast-math -fomit-frame-pointer -msse -msse2 -mfpmath=sse
-- -L/usr/pkg/lib -Wl,-zrelro -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -lfltk_images -lpng16 -lz -ljpeg -lfltk -lXrender -lXcursor -lXfixes -lXext -lXft -lfontconfig -lXinerama -lpthread -ldl -lm -lX11

-- Will build FLTK gui
CHECK_START;Looking for dlopen in dl
CHECK_PASS;found
CHECK_START;Looking for pthread_create in pthread
CHECK_PASS;found
-- Include what you use: disabled (IncludeWhatYouUse=OFF)
-- 
-- ZynAddSubFX Build Configuration
-- ===============================
-- 
-- Building on a 'Linux' System
-- PkgConfig -- found
-- zlib      -- found
-- mxml      -- found
-- fftw3     -- found
-- liblo     -- found
-- x11       -- found
-- xpm       -- found
-- fltk      -- found
-- ntk       -- NOT found
-- x11       -- found
-- OSS       -- found
-- ALSA      -- found
-- JACK      -- found
-- PA        -- NOT found
-- Lash      -- NOT found
-- DSSI      -- found
-- CxxTest   -- NOT found
-- Lash      -- NOT enabled
-- DSSI      -- enabled
-- tests     -- NOT enabled
-- ALSA      -- enabled
-- JACK      -- NOT enabled
-- OSS       -- enabled
-- PA        -- NOT enabled
-- c++ async -- usable
-- Link libraries: /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib/libz.so  mxml;pthread /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib/libasound.so;lo 
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Found UnixCommands: /bin/bash
-- Checking for module 'bash-completion'
--   Package 'bash-completion' not found
-- Bash completion script for zynaddsubfx will be installed to /usr/share/bash-completion/completions or fallback to /usr/pkg/share/bash-completion/completions if unwritable.
-- Configuring done (7.5s)
CMake Warning at src/CMakeLists.txt:530 (add_executable):
  Cannot generate a safe linker search path for target zynaddsubfx because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libGLU.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib
    link library [libX11.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib
    link library [libXext.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib
    link library [libasound.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib
    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/CMakeLists.txt:545 (add_library):
  Cannot generate a safe linker search path for target zynaddsubfx_dssi
  because files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/AlienWah/CMakeLists.txt:4 (add_library):
  Cannot generate a safe linker search path for target ZynAlienWah_lv2
  because files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/AlienWah/CMakeLists.txt:5 (add_library):
  Cannot generate a safe linker search path for target ZynAlienWah_vst
  because files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/Chorus/CMakeLists.txt:4 (add_library):
  Cannot generate a safe linker search path for target ZynChorus_lv2 because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/Chorus/CMakeLists.txt:5 (add_library):
  Cannot generate a safe linker search path for target ZynChorus_vst because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/Distortion/CMakeLists.txt:4 (add_library):
  Cannot generate a safe linker search path for target ZynDistortion_lv2
  because files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/Distortion/CMakeLists.txt:5 (add_library):
  Cannot generate a safe linker search path for target ZynDistortion_vst
  because files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/DynamicFilter/CMakeLists.txt:4 (add_library):
  Cannot generate a safe linker search path for target ZynDynamicFilter_lv2
  because files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/DynamicFilter/CMakeLists.txt:5 (add_library):
  Cannot generate a safe linker search path for target ZynDynamicFilter_vst
  because files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/Echo/CMakeLists.txt:4 (add_library):
  Cannot generate a safe linker search path for target ZynEcho_lv2 because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/Echo/CMakeLists.txt:5 (add_library):
  Cannot generate a safe linker search path for target ZynEcho_vst because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/Phaser/CMakeLists.txt:4 (add_library):
  Cannot generate a safe linker search path for target ZynPhaser_lv2 because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/Phaser/CMakeLists.txt:5 (add_library):
  Cannot generate a safe linker search path for target ZynPhaser_vst because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/Reverb/CMakeLists.txt:4 (add_library):
  Cannot generate a safe linker search path for target ZynReverb_lv2 because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/Reverb/CMakeLists.txt:5 (add_library):
  Cannot generate a safe linker search path for target ZynReverb_vst because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/ZynAddSubFX/CMakeLists.txt:32 (add_library):
  Cannot generate a safe linker search path for target ZynAddSubFX_lv2
  because files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


CMake Warning at src/Plugin/ZynAddSubFX/CMakeLists.txt:42 (add_library):
  Cannot generate a safe linker search path for target ZynAddSubFX_vst
  because files in some directories may conflict with libraries in implicit
  directories:

    link library [libz.so] in /home/pbulk/build/audio/zynaddsubfx/work/.buildlink/lib may be hidden by files in:
      /usr/pkg/lib

  Some of these libraries may not be found correctly.


-- Generating done (0.3s)
-- Build files have been written to: /home/pbulk/build/audio/zynaddsubfx/work/zynaddsubfx-3.0.5
=> Rewrite cmake Dependencies files