+ 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/ogre-1.12.11nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ogre-1.12.11nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for ogre-1.12.11.tar.gz
=> Checksum SHA512 OK for ogre-1.12.11.tar.gz
===> Installing dependencies for ogre-1.12.11nb3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.29.2
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.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.0
=> Full dependency zziplib>=0.13.72nb2: found zziplib-0.13.74
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency libXext>=0.99.0: found libXext-1.3.6
=> Full dependency freeimage>=3.16.0: found freeimage-3.18.0nb14
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.2nb1
=> Full dependency glu>=7.11.2: found glu-9.0.3
=> Full dependency pugixml>=1.7: found pugixml-1.14
=> Full dependency libXaw>=1.0.5: found libXaw-1.0.16
===> Overriding tools for ogre-1.12.11nb3
===> Extracting for ogre-1.12.11nb3
===> Patching for ogre-1.12.11nb3
=> Applying pkgsrc patches for ogre-1.12.11nb3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/ogre/patches/patch-OgreMain_include_OgreBitwise.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/ogre/patches/patch-OgreMain_include_OgreBitwise.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-OgreMain_include_OgreBitwise.h,v 1.1 2021/03/01 12:12:14 nia Exp $
|
|More than FreeBSD has these defines in libc headers...
|
|--- OgreMain/include/OgreBitwise.h.orig	2021-02-13 01:52:07.000000000 +0000
|+++ OgreMain/include/OgreBitwise.h
--------------------------
Patching file OgreMain/include/OgreBitwise.h using Plan A...
Hunk #1 succeeded at 30.
done
===> Creating toolchain wrappers for ogre-1.12.11nb3
===> Configuring for ogre-1.12.11nb3
=> Adding run-time search paths to pkg-config files.
INFO: [subst.mk:_pkgconfig] Nothing changed in "CMake/Templates/OGRE-PCZ.pc.in".
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:17 (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:37 (cmake_policy):
  The OLD behavior for policy CMP0078 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:40 (cmake_policy):
  The OLD behavior for policy CMP0086 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The C compiler identification is GNU 13.2.0
-- The CXX compiler identification is GNU 13.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/devel/ogre/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/devel/ogre/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring OGRE 1.12.11
-- Check size of void*
-- Check size of void* - done
-- Performing Test OGRE_GCC_HAS_SSE
-- Performing Test OGRE_GCC_HAS_SSE - Success
-- Search path: /home/pbulk/build/devel/ogre/work/ogre-1.12.11/Dependencies;/home/pbulk/build/devel/ogre/work/ogre-1.12.11/Dependencies;/home/pbulk/build/devel/ogre/work/ogre-1.12.11/../Dependencies;/home/pbulk/build/devel/ogre/work/ogre-1.12.11/../Dependencies
-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.3.1")
-- Looking for ZZip...
-- Found PkgConfig: /home/pbulk/build/devel/ogre/work/.tools/bin/pkg-config (found version "2.2.0")
-- Checking for module 'zziplib'
--   Found zziplib, version 0.13.72
-- Found ZZip: /opt/pkg/lib/libzzip.so
-- Looking for FreeImage...
-- Checking for module 'freeimage'
--   Package 'freeimage' not found
-- Found FreeImage: /opt/pkg/lib/libfreeimage.so
-- Found Freetype: /opt/pkg/lib/libfreetype.so (found version "2.13.2")
-- 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
-- Looking for strtol_l
-- Looking for strtol_l - not found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Looking for GLSL_Optimizer...
-- GLSL_Optimizer_PREFIX_PATH changed.
-- Checking for module 'GLSL_Optimizer'
--   Package 'GLSL_Optimizer' not found
-- Could not locate GLSL_Optimizer
-- Looking for HLSL2GLSL...
-- HLSL2GLSL_PREFIX_PATH changed.
-- Checking for module 'HLSL2GLSL'
--   Package 'HLSL2GLSL' not found
-- Could not locate HLSL2GLSL
CMake Warning at Components/Bites/CMakeLists.txt:161 (message):
  SDL2 not found - no input handling and reduced window creation capabilites


-- Downloading imgui
CMake Warning at Components/Csharp/CMakeLists.txt:3 (message):
  Csharp Component disabled because SWIG or Csharp was not found


-- 
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ zlib
+ zziplib
+ freeimage
+ freetype
+ X11
+ OpenGL
+ OpenGL ES 2.x
+ pugixml
+ Xaw
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ cg: C for graphics shader language <http://developer.nvidia.com/object/cg_toolkit.html>
+ OpenEXR: Load High dynamic range images <http://www.openexr.com/>
+ Python: Language bindings to use OGRE from Python <http://www.python.org/>
+ SWIG: Language bindings (Python, Java, C#) for OGRE <http://www.swig.org/>
+ Assimp: Needed for the AssimpLoader Plugin <https://www.assimp.org/>
+ SDL2: Simple DirectMedia Library needed for input handling in samples <https://www.libsdl.org/>
+ Qt: optional integration with the Qt Library for window creation and input <http://www.qt.io/>
+ Doxygen: Tool for building API documentation <http://doxygen.org>
+ Softimage: Softimage SDK needed for building XSIExporter <FALSE>
+ GLSL Optimizer: GLSL Optimizer <http://github.com/aras-p/glsl-optimizer/>
+ HLSL2GLSL: HLSL2GLSL <http://hlsl2glslfork.googlecode.com/>
-----------------------------------------------------------------------------

-- 
----------------------------------------------------------------------------
  FEATURE SUMMARY
----------------------------------------------------------------------------

Building components:
  + Bites
  + MeshLodGenerator
  + Overlay
  + Overlay Dear Imgui
  + Paging
  + Property
  + RTShader System
  + RTShader System Shaders
  + Terrain
  + Volume
Building plugins:
  + BSP scene manager
  + Octree scene manager
  + STBI codec (generic)
  + FreeImage codec (generic)
  + Portal connected zone scene manager
  + Particle FX
  + DotScene loader
Building rendersystems:
  + OpenGL
  + OpenGL 3+
  + OpenGL ES2/ ES3
Building executables:
  + Samples
  + Tools
Building core features:
  + Mesh Lod
  + DDS image codec (.dds)
  + ETC image codec (.pkm, .ktx) 
  + ASTC image codec (.astc)
  + ZIP archives
  + Multi-threaded WorkQueue
Deprecated 1.7 API-level features:
  + Nodeless positioning of Lights and Cameras

Build type:                      shared
Use double precision:            disabled
Nodes inherit transform:         disabled
Assert mode:                     release exceptions

----------------------------------------------------------------------------

-- Configuring done (11.9s)
CMake Error at Components/Overlay/CMakeLists.txt:42 (add_library):
  Cannot find source file:

    /home/pbulk/build/devel/ogre/work/ogre-1.12.11/imgui-1.79/imgui.cpp

  Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
  .ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
  .f95 .f03 .hip .ispc


CMake Error at Components/Overlay/CMakeLists.txt:42 (add_library):
  No SOURCES given to target: OgreOverlay


CMake Generate step failed.  Build files cannot be regenerated correctly.
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/ogre
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/ogre