+ 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/opencpn-plugin-watchdog-2.4.6nb13/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opencpn-plugin-watchdog-2.4.6nb13/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for watchdog_pi-2.4.6.tar.gz
=> Checksum SHA512 OK for watchdog_pi-2.4.6.tar.gz
===> Installing dependencies for opencpn-plugin-watchdog-2.4.6nb13
==========================================================================
The following variables will affect the build process of this package,
opencpn-plugin-watchdog-2.4.6nb13.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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.80.3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.29.6
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency cmake>=2.8.5nb1: found cmake-3.29.6
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.17.0nb1
=> Full dependency wxGTK30>=3.0.5.1nb15: found wxGTK30-3.0.5.1nb15
=> Full dependency tinyxml>=2.6.2nb2: found tinyxml-2.6.2nb2
===> Overriding tools for opencpn-plugin-watchdog-2.4.6nb13
===> Extracting for opencpn-plugin-watchdog-2.4.6nb13
===> Patching for opencpn-plugin-watchdog-2.4.6nb13
=> Applying pkgsrc patches for opencpn-plugin-watchdog-2.4.6nb13
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/geography/opencpn-plugin-watchdog/patches/patch-cmake_PluginConfigure.cmake
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cmake_PluginConfigure.cmake,v 1.4 2020/05/24 09:19:41 rillig Exp $
|
|Do not overwrite CMAKE_SHARED_LINKER_FLAGS
|
|--- cmake/PluginConfigure.cmake.orig	2017-06-11 14:59:39.000000000 +0200
|+++ cmake/PluginConfigure.cmake	2017-08-24 11:52:45.287937243 +0200
--------------------------
Patching file cmake/PluginConfigure.cmake using Plan A...
Hunk #1 succeeded at 31 (offset -10 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/geography/opencpn-plugin-watchdog/patches/patch-src_wddc.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/geography/opencpn-plugin-watchdog/patches/patch-src_wddc.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_wddc.cpp,v 1.1 2018/04/19 09:59:28 bouyer Exp $
|
|Same problem as opencpn/patches/patch-src_ocpndc.cpp:
|
|For some reason wdDC::DrawEllipse is miscompiled on NetBSD 8.0_BETA and
|gcc 6.4 from HEAD earmv7hf:
|for the tail call to dc->DrawEllipse() the compiler emits a bx instruction,
|but forgets to load the address of the function in the register.
|The memory barrier works around this problem by avoiding the tail-call
|optimisation.
|Other similar functions in this file are properly compiled ...
|I suspect it's related to the vfp register use in these functions.
|
|wdDC::DrawRoundedRectangle appears to be compiled OK, but it's similar
|to ocpnDC::DrawRounderRectangle so to be safe I apply the hack here as well.
|
|--- src/wddc.cpp.orig	2018-04-19 11:16:39.711460532 +0200
|+++ src/wddc.cpp	2018-04-19 11:21:45.535313650 +0200
--------------------------
Patching file src/wddc.cpp using Plan A...
Hunk #1 succeeded at 710 (offset -2 lines).
Hunk #2 succeeded at 772 (offset -2 lines).
done
===> Creating toolchain wrappers for opencpn-plugin-watchdog-2.4.6nb13
===> Configuring for opencpn-plugin-watchdog-2.4.6nb13
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
INFO: [subst.mk:cmake] Nothing changed in "cmake/PluginConfigure.cmake".
INFO: [subst.mk:cmake] Nothing changed in "cmake/PluginInstall.cmake".
INFO: [subst.mk:cmake] Nothing changed in "cmake/PluginLocalization.cmake".
INFO: [subst.mk:cmake] Nothing changed in "CMakeLists.txt".
=> Checking for portability problems in extracted files
CMake Deprecation Warning at CMakeLists.txt:8 (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 unknown
-- The CXX compiler identification is unknown
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/geography/opencpn-plugin-watchdog/work/.cwrapper/bin/gcc - skipped
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/geography/opencpn-plugin-watchdog/work/.cwrapper/bin/g++ - skipped
-- *** Staging to build watchdog_pi ***
CMake Warning (dev) at cmake/PluginConfigure.cmake:56 (set):
  implicitly converting 'VERSION' to 'STRING' type.
Call Stack (most recent call first):
  CMakeLists.txt:32 (INCLUDE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found wxWidgets: -L/opt/pkg/lib;-pthreads;;;-lwx_gtk3u_xrc-3.0;-lwx_gtk3u_html-3.0;-lwx_gtk3u_qa-3.0;-lwx_gtk3u_adv-3.0;-lwx_gtk3u_core-3.0;-lwx_baseu_xml-3.0;-lwx_baseu_net-3.0;-lwx_baseu-3.0 (found version "3.0.5")
-- Found OpenGL: /opt/pkg/lib/libGL.so
-- Found OpenGL...
--     Lib: /opt/pkg/lib/libGL.so/opt/pkg/lib/libGLU.so
--     Include: /opt/pkg/include
CMake Error at /opt/pkg/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE)
Call Stack (most recent call first):
  /opt/pkg/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /opt/pkg/share/cmake-3.29/Modules/FindGettext.cmake:81 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/PluginConfigure.cmake:123 (FIND_PACKAGE)
  CMakeLists.txt:32 (INCLUDE)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/geography/opencpn-plugin-watchdog
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/geography/opencpn-plugin-watchdog