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

	occt-draw x11

The currently selected options are:

	occt-draw x11

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

	PKG_OPTIONS.occt (not defined)

==========================================================================
=> Tool dependency cmake>=0: found cmake-3.31.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency eigen3>=3.1.2: found eigen3-3.4.0nb1
=> Build dependency rapidjson>=1.1.0: found rapidjson-1.1.0nb2
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency fontconfig>=2.14.2nb3: found fontconfig-2.15.0
=> Full dependency freeimage>=3.16.0: found freeimage-3.18.0nb15
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.3
=> Full dependency libX11>=1.1: found libX11-1.8.10
=> Full dependency tcl>=8.6.1nb1: found tcl-8.6.14nb4
=> Full dependency tk>=8.6.13nb1: found tk-8.6.14
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency expat>=1.95.7: found expat-2.6.3
=> Full dependency libXScrnSaver>=1.1.2: found libXScrnSaver-1.2.4
=> Full dependency libXau>=1.0: found libXau-1.0.11
=> Full dependency libXdamage>=1.0.3: found libXdamage-1.1.6
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=0.99.0: 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.8nb1
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.11
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.5
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.123
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency libxshmfence>=1.2: found libxshmfence-1.3.2nb1
=> Full dependency png>=1.2.4: found png-1.6.44
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for occt-7.7.0nb2
===> Extracting for occt-7.7.0nb2
===> Patching for occt-7.7.0nb2
=> Applying pkgsrc patches for occt-7.7.0nb2
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-adm_cmake_occt_csf.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-adm_cmake_occt_csf.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-adm_cmake_occt_csf.cmake,v 1.1 2024/02/27 16:33:20 bouyer Exp $
|
|Don't unconditionally set dl in INTERFACE_LINK_LIBRARIES. PR pkg/57938
|
|--- adm/cmake/occt_csf.cmake.orig	2024-02-27 16:31:30.622735481 +0100
|+++ adm/cmake/occt_csf.cmake	2024-02-27 16:31:52.950225741 +0100
--------------------------
Patching file adm/cmake/occt_csf.cmake using Plan A...
Hunk #1 succeeded at 142.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-adm_cmake_occt__macros.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-adm_cmake_occt__macros.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-adm_cmake_occt__macros.cmake,v 1.1 2023/02/12 16:03:28 tnn Exp $
|
|Fix DESTDIR issues.
|
|--- adm/cmake/occt_macros.cmake.orig	2022-11-11 22:19:44.000000000 +0000
|+++ adm/cmake/occt_macros.cmake
--------------------------
Patching file adm/cmake/occt_macros.cmake using Plan A...
Hunk #1 succeeded at 592.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/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.2 2023/02/12 16:03:28 tnn Exp $
|
|Don't install world writable files.
|Fix DESTDIR issues.
|
|--- CMakeLists.txt.orig	2022-11-11 22:19:44.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 1002.
Hunk #2 succeeded at 1021.
Hunk #3 succeeded at 1266.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_MeshVS_MeshVS__MeshPrsBuilder.cxx
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_MeshVS_MeshVS__MeshPrsBuilder.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_MeshVS_MeshVS__MeshPrsBuilder.cxx,v 1.1 2023/02/12 14:42:25 tnn Exp $
|
|Needs alloca.h on SunOS.
|
|--- src/MeshVS/MeshVS_MeshPrsBuilder.cxx.orig	2022-11-11 22:19:44.000000000 +0000
|+++ src/MeshVS/MeshVS_MeshPrsBuilder.cxx
--------------------------
Patching file src/MeshVS/MeshVS_MeshPrsBuilder.cxx using Plan A...
Hunk #1 succeeded at 48.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_OpenGl_OpenGl__ShaderObject.cxx
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_OpenGl_OpenGl__ShaderObject.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_OpenGl_OpenGl__ShaderObject.cxx,v 1.1 2023/02/12 14:42:25 tnn Exp $
|
|Needs alloca.h on SunOS.
|
|--- src/OpenGl/OpenGl_ShaderObject.cxx.orig	2022-11-11 22:19:44.000000000 +0000
|+++ src/OpenGl/OpenGl_ShaderObject.cxx
--------------------------
Patching file src/OpenGl/OpenGl_ShaderObject.cxx using Plan A...
Hunk #1 succeeded at 26.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_OpenGl_OpenGl__ShaderProgram.cxx
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_OpenGl_OpenGl__ShaderProgram.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_OpenGl_OpenGl__ShaderProgram.cxx,v 1.1 2023/02/12 14:42:25 tnn Exp $
|
|Needs alloca.h on SunOS.
|
|--- src/OpenGl/OpenGl_ShaderProgram.cxx.orig	2022-11-11 22:19:44.000000000 +0000
|+++ src/OpenGl/OpenGl_ShaderProgram.cxx
--------------------------
Patching file src/OpenGl/OpenGl_ShaderProgram.cxx using Plan A...
Hunk #1 succeeded at 30.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_OSD_OSD__MemInfo.cxx
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_OSD_OSD__MemInfo.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_OSD_OSD__MemInfo.cxx,v 1.2 2023/02/13 15:59:14 tnn Exp $
|
|From cad/oce 1.1 2017/01/20 11:00:50 fhajny:
|Use stdlib.h instead of malloc.h
|
|--- src/OSD/OSD_MemInfo.cxx.orig	2022-11-11 22:19:44.000000000 +0000
|+++ src/OSD/OSD_MemInfo.cxx
--------------------------
Patching file src/OSD/OSD_MemInfo.cxx using Plan A...
Hunk #1 succeeded at 28.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_OSD_OSD__Path.cxx
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_OSD_OSD__Path.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_OSD_OSD__Path.cxx,v 1.1 2023/02/12 14:42:25 tnn Exp $
|
|NetBSD support
|
|--- src/OSD/OSD_Path.cxx.orig	2022-11-11 22:19:44.000000000 +0000
|+++ src/OSD/OSD_Path.cxx
--------------------------
Patching file src/OSD/OSD_Path.cxx using Plan A...
Hunk #1 succeeded at 19.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_OSD_OSD__signal.cxx
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_OSD_OSD__signal.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_OSD_OSD__signal.cxx,v 1.1 2023/02/12 14:42:25 tnn Exp $
|
|From cad/oce:
|Define SIGFPE macros on SunOS.
|Avoid overlapping reference in case statements.
|Respect the reality as CMake found it, there might not be libsunmath.
|1.1 2017/01/20 11:00:50 fhajny
|
|--- src/OSD/OSD_signal.cxx.orig	2022-11-11 22:19:44.000000000 +0000
|+++ src/OSD/OSD_signal.cxx
--------------------------
Patching file src/OSD/OSD_signal.cxx using Plan A...
Hunk #1 succeeded at 20.
Hunk #2 succeeded at 858.
Hunk #3 succeeded at 869.
Hunk #4 succeeded at 902.
Hunk #5 succeeded at 999.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_Standard_Standard__CString.cxx
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_Standard_Standard__CString.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Standard_Standard__CString.cxx,v 1.1 2023/02/12 14:42:25 tnn Exp $
|
|paper over xlocale build error
|
|--- src/Standard/Standard_CString.cxx.orig	2022-11-11 22:19:44.000000000 +0000
|+++ src/Standard/Standard_CString.cxx
--------------------------
Patching file src/Standard/Standard_CString.cxx using Plan A...
Hunk #1 succeeded at 79.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_Standard_Standard__Failure.cxx
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_Standard_Standard__Failure.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Standard_Standard__Failure.cxx,v 1.1 2023/02/12 14:42:25 tnn Exp $
|
|Needs alloca.h on SunOS.
|
|--- src/Standard/Standard_Failure.cxx.orig	2022-11-11 22:19:44.000000000 +0000
|+++ src/Standard/Standard_Failure.cxx
--------------------------
Patching file src/Standard/Standard_Failure.cxx using Plan A...
Hunk #1 succeeded at 23.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_Standard_Standard__PrimitiveTypes.hxx
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_Standard_Standard__PrimitiveTypes.hxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Standard_Standard__PrimitiveTypes.hxx,v 1.1 2023/02/12 14:42:25 tnn Exp $
|
|From cad/oce:
|Undefine SunOS registers that are forcibly pulled in by headers,
|and clash with some OpenCASCADE variables.
|v 1.1 2017/01/20 11:00:50 fhajny
|
|--- src/Standard/Standard_PrimitiveTypes.hxx.orig	2022-11-11 22:19:44.000000000 +0000
|+++ src/Standard/Standard_PrimitiveTypes.hxx
--------------------------
Patching file src/Standard/Standard_PrimitiveTypes.hxx using Plan A...
Hunk #1 succeeded at 18.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_Standard_Standard__StackTrace.cxx
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_Standard_Standard__StackTrace.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Standard_Standard__StackTrace.cxx,v 1.1 2023/02/12 14:42:25 tnn Exp $
|
|Needs alloca.h on SunOS.
|Fix build on NetBSD.
|
|--- src/Standard/Standard_StackTrace.cxx.orig	2022-11-11 22:19:44.000000000 +0000
|+++ src/Standard/Standard_StackTrace.cxx
--------------------------
Patching file src/Standard/Standard_StackTrace.cxx using Plan A...
Hunk #1 succeeded at 19.
Hunk #2 succeeded at 204.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_StdPrs_StdPrs__BRepFont.cxx
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_StdPrs_StdPrs__BRepFont.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_StdPrs_StdPrs__BRepFont.cxx,v 1.1 2024/08/19 17:13:49 tnn Exp $
|
|fix fallout from freetype2 update
|
|--- src/StdPrs/StdPrs_BRepFont.cxx.orig	2024-08-19 17:07:23.309314002 +0000
|+++ src/StdPrs/StdPrs_BRepFont.cxx
--------------------------
Patching file src/StdPrs/StdPrs_BRepFont.cxx using Plan A...
Hunk #1 succeeded at 457.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_ViewerTest_ViewerTest__CmdParser.cxx
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cad/occt/patches/patch-src_ViewerTest_ViewerTest__CmdParser.cxx
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_ViewerTest_ViewerTest__CmdParser.cxx,v 1.1 2023/02/12 14:42:25 tnn Exp $
|
|Just use SIZE_MAX instead of C++20 std::numeric_limits to help
|with older compilers.
|
|--- src/ViewerTest/ViewerTest_CmdParser.cxx.orig	2022-11-11 22:19:44.000000000 +0000
|+++ src/ViewerTest/ViewerTest_CmdParser.cxx
--------------------------
Patching file src/ViewerTest/ViewerTest_CmdParser.cxx using Plan A...
Hunk #1 succeeded at 50.
done
===> Creating toolchain wrappers for occt-7.7.0nb2
===> Configuring for occt-7.7.0nb2
=> Replacing bash interpreter in adm/templates/draw.sh.
INFO: [replace-interpreter] Nothing changed in adm/templates/draw.sh.
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is GNU 8.5.0
-- The CXX compiler identification is GNU 8.5.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/cad/occt/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/cad/occt/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Info: TCL is used by OCCT
-- Found Tclsh: /home/pbulk/build/cad/occt/work/.buildlink/bin/tclsh (found version "8.6")
-- Info: TK is used by OCCT
-- Info: Xlib is used by OCCT
-- Info: FreeType is used by OCCT
-- Found Freetype: /usr/pkg/lib/libfreetype.so (found version "2.13.3")
-- Info: TKIVtk and TKIVtkDraw toolkits excluded due to VTK usage is disabled
-- Info: The directories of 3rdparty headers: 
	/usr/pkg/include
	/usr/pkg/include/freetype2
-- Info: The directories of 3rdparty libraries: 
	/usr/pkg/lib
-- 
Info: (10:06:58) Start collecting all OCCT header files into /home/pbulk/build/cad/occt/work/occt-V7_7_0/cmake-pkgsrc-build/inc ...
-- Info: (10:06:58) Compare FILES with files in package directories...
-- Warning. File /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/OSD/OSD_MemInfo.cxx.orig is not listed in /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/OSD/FILES
-- Warning. File /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/OSD/OSD_Path.cxx.orig is not listed in /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/OSD/FILES
-- Warning. File /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/Standard/Standard_CString.cxx.orig is not listed in /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/Standard/FILES
-- Warning. File /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/Standard/Standard_Failure.cxx.orig is not listed in /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/Standard/FILES
-- Warning. File /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/Standard/Standard_PrimitiveTypes.hxx.orig is not listed in /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/Standard/FILES
-- Warning. File /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/Standard/Standard_StackTrace.cxx.orig is not listed in /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/Standard/FILES
-- Warning. File /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/StdPrs/StdPrs_BRepFont.cxx.orig is not listed in /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/StdPrs/FILES
-- Warning. File /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/OpenGl/OpenGl_ShaderObject.cxx.orig is not listed in /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/OpenGl/FILES
-- Warning. File /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/OpenGl/OpenGl_ShaderProgram.cxx.orig is not listed in /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/OpenGl/FILES
-- Warning. File /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/MeshVS/MeshVS_MeshPrsBuilder.cxx.orig is not listed in /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/MeshVS/FILES
-- Warning. File /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/ViewerTest/ViewerTest_CmdParser.cxx.orig is not listed in /home/pbulk/build/cad/occt/work/occt-V7_7_0/src/ViewerTest/FILES
-- Info: (10:07:04) Create header-links in inc folder...
-- Info: (10:07:05) Checking headers in inc folder...
-- Info: (10:07:06) End the collecting
-- Info: (10:07:06) OCCT toolkits processed
-- Info: (10:07:06) OCCT configuration files prepared
-- Configuring done (10.8s)
-- Generating done (2.3s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /home/pbulk/build/cad/occt/work/occt-V7_7_0/cmake-pkgsrc-build