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

	qt5

The currently selected options are:

	qt5

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

	PKG_OPTIONS.openmw (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
openmw-0.47.0nb7.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg
        * READLINE_DEFAULT = readline
        * 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
        * 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/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.70.5
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.23.2
=> 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.1
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.1
=> Build dependency boost-headers-1.78.*: found boost-headers-1.78.0
=> Full dependency qt5-qtbase>=5.15.2nb7: found qt5-qtbase-5.15.4
=> Full dependency freetype2>=2.8.1: found freetype2-2.12.1
=> Full dependency lz4>=1.7.3<100: found lz4-1.9.3nb1
=> Full dependency unshield>=0.5.1: found unshield-1.5.1
=> Full dependency SDL2>=2.0.20nb1: found SDL2-2.0.22
=> Full dependency boost-libs-1.78.*: found boost-libs-1.78.0nb2
=> Full dependency mygui>=3.2.3.20190707nb5: found mygui-3.2.3.20190707nb5
=> Full dependency osg>=3.6.5nb21: found osg-3.6.5nb21
=> Full dependency ffmpeg4>=4.4nb10: found ffmpeg4-4.4.2
=> Full dependency openal-soft>=1.5.304: found openal-soft-1.22.0
=> Full dependency desktop-file-utils>=0.10nb1: found desktop-file-utils-0.26nb1
===> Overriding tools for openmw-0.47.0nb7
===> Extracting for openmw-0.47.0nb7
===> Patching for openmw-0.47.0nb7
=> Applying pkgsrc patches for openmw-0.47.0nb7
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openmw/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openmw/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.4 2021/10/22 22:43:11 nia Exp $
|
|Install configuration files to examples directory.
|
|--- CMakeLists.txt.orig	2021-10-10 16:17:03.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 922.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openmw/patches/patch-components_crashcatcher_crashcatcher.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openmw/patches/patch-components_crashcatcher_crashcatcher.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-components_crashcatcher_crashcatcher.cpp,v 1.1 2019/08/09 16:26:09 nia Exp $
|
|Support NetBSD.
|
|--- components/crashcatcher/crashcatcher.cpp.orig	2019-03-10 10:50:29.000000000 +0000
|+++ components/crashcatcher/crashcatcher.cpp
--------------------------
Patching file components/crashcatcher/crashcatcher.cpp using Plan A...
Hunk #1 succeeded at 29 (offset 1 line).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openmw/patches/patch-components_crashcatcher_crashcatcher.hpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openmw/patches/patch-components_crashcatcher_crashcatcher.hpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-components_crashcatcher_crashcatcher.hpp,v 1.1 2021/10/22 22:43:11 nia Exp $
|
|Needs to recognize NetBSD to avoid symbol conflicts.
|
|--- components/crashcatcher/crashcatcher.hpp.orig	2021-10-10 16:17:03.000000000 +0000
|+++ components/crashcatcher/crashcatcher.hpp
--------------------------
Patching file components/crashcatcher/crashcatcher.hpp using Plan A...
Hunk #1 succeeded at 3.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openmw/patches/patch-components_files_fixedpath.hpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openmw/patches/patch-components_files_fixedpath.hpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-components_files_fixedpath.hpp,v 1.1 2019/08/09 16:26:09 nia Exp $
|
|Support NetBSD.
|
|--- components/files/fixedpath.hpp.orig	2017-11-15 17:20:40.000000000 +0000
|+++ components/files/fixedpath.hpp
--------------------------
Patching file components/files/fixedpath.hpp using Plan A...
Hunk #1 succeeded at 4.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openmw/patches/patch-components_files_linuxpath.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openmw/patches/patch-components_files_linuxpath.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-components_files_linuxpath.cpp,v 1.1 2019/08/09 16:26:09 nia Exp $
|
|Support NetBSD.
|
|--- components/files/linuxpath.cpp.orig	2019-03-10 10:50:29.000000000 +0000
|+++ components/files/linuxpath.cpp
--------------------------
Patching file components/files/linuxpath.cpp using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 174 (offset 17 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openmw/patches/patch-components_files_linuxpath.hpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/games/openmw/patches/patch-components_files_linuxpath.hpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-components_files_linuxpath.hpp,v 1.1 2019/08/09 16:26:09 nia Exp $
|
|Support NetBSD.
|
|--- components/files/linuxpath.hpp.orig	2017-11-15 17:20:40.000000000 +0000
|+++ components/files/linuxpath.hpp
--------------------------
Patching file components/files/linuxpath.hpp using Plan A...
Hunk #1 succeeded at 1.
done
===> Creating toolchain wrappers for openmw-0.47.0nb7
===> Configuring for openmw-0.47.0nb7
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
CMake Warning (dev) at CMakeLists.txt:718:
  Syntax Warning in cmake code at column 33

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:718:
  Syntax Warning in cmake code at column 93

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
CMake Warning (dev) at /opt/pkg/share/cmake-3.23/Modules/Platform/SunOS.cmake:10 (include):
  File /opt/pkg/share/cmake-3.23/Modules/Platform/SunOS.cmake includes
  /home/pbulk/build/games/openmw/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /opt/pkg/share/cmake-3.23/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):
  /opt/pkg/share/cmake-3.23/Modules/CMakeSystemSpecificInformation.cmake:27 (include)
  CMakeLists.txt:1 (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/games/openmw/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/games/openmw/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring OpenMW...
-- Found OpenGL: /home/pbulk/build/games/openmw/work/.buildlink/lib/libGL.so   
-- Found LZ4: /home/pbulk/build/games/openmw/work/.buildlink/lib/liblz4.so  
CMake Deprecation Warning at extern/fetched/bullet/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 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.


BSD?
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
OPENGL FOUND
/home/pbulk/build/games/openmw/work/.buildlink/lib/libGL.so/home/pbulk/build/games/openmw/work/.buildlink/lib/libGLU.so
-- Found FFmpeg_AVCODEC 58.134.100
-- Found FFmpeg_AVFORMAT 58.76.100
-- Found FFmpeg_AVUTIL 56.70.100
-- Found FFmpeg_SWSCALE 5.9.100
-- Found FFmpeg_SWRESAMPLE 3.9.100
-- Found FFmpeg: /opt/pkg/lib/ffmpeg4/libavcodec.so;/opt/pkg/lib/ffmpeg4/libavformat.so;/opt/pkg/lib/ffmpeg4/libavutil.so;/opt/pkg/lib/ffmpeg4/libswscale.so;/opt/pkg/lib/ffmpeg4/libswresample.so  found components: AVCODEC AVFORMAT AVUTIL SWSCALE SWRESAMPLE 
-- Found LIBUNSHIELD 
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Found osgDB: /home/pbulk/build/games/openmw/work/.buildlink/lib/libosgDB.so  
-- Found osgViewer: /home/pbulk/build/games/openmw/work/.buildlink/lib/libosgViewer.so  
-- Found osgText: /home/pbulk/build/games/openmw/work/.buildlink/lib/libosgText.so  
-- Found osgGA: /home/pbulk/build/games/openmw/work/.buildlink/lib/libosgGA.so  
-- Found osgParticle: /home/pbulk/build/games/openmw/work/.buildlink/lib/libosgParticle.so  
-- Found osgUtil: /home/pbulk/build/games/openmw/work/.buildlink/lib/libosgUtil.so  
-- Found osgFX: /home/pbulk/build/games/openmw/work/.buildlink/lib/libosgFX.so  
-- Found osgShadow: /home/pbulk/build/games/openmw/work/.buildlink/lib/libosgShadow.so  
-- Found osgAnimation: /home/pbulk/build/games/openmw/work/.buildlink/lib/libosgAnimation.so  
-- Found osg: /home/pbulk/build/games/openmw/work/.buildlink/lib/libosg.so  
-- Found OpenThreads: /home/pbulk/build/games/openmw/work/.buildlink/lib/libOpenThreads.so  
-- Found OpenSceneGraph: /home/pbulk/build/games/openmw/work/.buildlink/lib/libosgDB.so;/home/pbulk/build/games/openmw/work/.buildlink/lib/libosgViewer.so;/home/pbulk/build/games/openmw/work/.buildlink/lib/libosgText.so;/home/pbulk/build/games/openmw/work/.buildlink/lib/libosgGA.so;/home/pbulk/build/games/openmw/work/.buildlink/lib/libosgParticle.so;/home/pbulk/build/games/openmw/work/.buildlink/lib/libosgUtil.so;/home/pbulk/build/games/openmw/work/.buildlink/lib/libosgFX.so;/home/pbulk/build/games/openmw/work/.buildlink/lib/libosgShadow.so;/home/pbulk/build/games/openmw/work/.buildlink/lib/libosgAnimation.so;/home/pbulk/build/games/openmw/work/.buildlink/lib/libosg.so;/home/pbulk/build/games/openmw/work/.buildlink/lib/libOpenThreads.so (found suitable version "3.6.5", minimum required is "3.4.0") 
-- Found Boost: /home/pbulk/build/games/openmw/work/.buildlink/include (found suitable version "1.78.0", minimum required is "1.6.2") found components: system filesystem program_options iostreams regex 
-- Found MyGUI 3.4.0
-- Found SDL2 2.0.22
-- Found OpenAL: /home/pbulk/build/games/openmw/work/.buildlink/lib/libopenal.so  
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Configuring done
CMake Warning (dev) at extern/fetched/bullet/src/Bullet3Common/CMakeLists.txt:37 (ADD_LIBRARY):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  File:

    /home/pbulk/build/games/openmw/work/openmw-openmw-0.47.0/extern/fetched/bullet/src/Bullet3Common/shared/b3Float4.h
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at extern/fetched/bullet/src/Bullet3Common/CMakeLists.txt:37 (ADD_LIBRARY):
  Policy CMP0115 is not set: Source file extensions must be explicit.  Run
  "cmake --help-policy CMP0115" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  File:

    /home/pbulk/build/games/openmw/work/openmw-openmw-0.47.0/extern/fetched/bullet/src/Bullet3Common/shared/b3PlatformDefinitions.h
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    DESIRED_QT_VERSION
    GLOBAL_CONFIG_DIR
    Lua_FIND_VERSION_COUNT
    Lua_FIND_VERSION_EXACT
    Lua_FIND_VERSION_MAJOR
    Lua_FIND_VERSION_MINOR


-- Build files have been written to: /home/pbulk/build/games/openmw/work/openmw-openmw-0.47.0
=> Rewrite cmake Dependencies files