+ 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/autopano-sift-C-2.5.1nb23/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/autopano-sift-C-2.5.1nb23/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: USE_CMAKE is deprecated; use devel/cmake/build.mk instead.
=> Checksum BLAKE2s OK for autopano-sift-C-2.5.1.tar.gz
=> Checksum SHA512 OK for autopano-sift-C-2.5.1.tar.gz
===> Installing dependencies for autopano-sift-C-2.5.1nb23
==========================================================================
The following variables will affect the build process of this package,
autopano-sift-C-2.5.1nb23.  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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.31.3
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency jpeg>=9: found jpeg-9f
=> Full dependency libpano13>=2.9.21nb3: found libpano13-2.9.22
=> Full dependency libxml2>=2.12.9nb3: found libxml2-2.12.9nb3
=> Full dependency png>=1.6.0nb1: found png-1.6.44
=> Full dependency tiff>=4.6.0: found tiff-4.7.0
=> Full dependency jbigkit>=2.0: found jbigkit-2.1nb1
=> Full dependency xz>=5.0.0: found xz-5.6.3
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for autopano-sift-C-2.5.1nb23
===> Extracting for autopano-sift-C-2.5.1nb23
rm /home/pbulk/build/graphics/autopano-sift-C/work/autopano-sift-C-2.5.1/CMakeModules/FindPNG.cmake
===> Patching for autopano-sift-C-2.5.1nb23
=> Applying pkgsrc patches for autopano-sift-C-2.5.1nb23
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/graphics/autopano-sift-C/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/graphics/autopano-sift-C/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.2 2017/08/19 00:19:37 jlam Exp $
|
|--- CMakeLists.txt.orig	2009-10-06 16:51:08.000000000 -0400
|+++ CMakeLists.txt	2017-08-17 21:55:51.000000000 -0400
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 20.
Hunk #2 succeeded at 157.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/graphics/autopano-sift-C/patches/patch-APSCpp_ANN_kd__split.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/graphics/autopano-sift-C/patches/patch-APSCpp_ANN_kd__split.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-APSCpp_ANN_kd__split.cpp,v 1.1 2016/04/14 11:46:39 jperkin Exp $
|
|Avoid redefining ERR.
|
|--- APSCpp/ANN/kd_split.cpp.orig	2009-10-06 20:51:08.000000000 +0000
|+++ APSCpp/ANN/kd_split.cpp
--------------------------
Patching file APSCpp/ANN/kd_split.cpp using Plan A...
Hunk #1 succeeded at 31.
Hunk #2 succeeded at 95.
Hunk #3 succeeded at 165.
done
===> Creating toolchain wrappers for autopano-sift-C-2.5.1nb23
===> Configuring for autopano-sift-C-2.5.1nb23
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
CMake Deprecation Warning at CMakeLists.txt:10 (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
CMake Warning (dev) at /usr/pkg/share/cmake-3.31/Modules/Platform/Linux.cmake:57 (include):
  File /usr/pkg/share/cmake-3.31/Modules/Platform/Linux.cmake includes
  /home/pbulk/build/graphics/autopano-sift-C/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.31/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.31/Modules/CMakeSystemSpecificInformation.cmake:32 (include)
  CMakeLists.txt:12 (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/graphics/autopano-sift-C/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/graphics/autopano-sift-C/work/.cwrapper/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found TIFF: /home/pbulk/build/graphics/autopano-sift-C/work/.buildlink/include
-- Found JPEG: /home/pbulk/build/graphics/autopano-sift-C/work/.buildlink/include
CMake Warning (dev) at /usr/pkg/share/cmake-3.31/Modules/FindPNG.cmake:68 (find_package):
  File /usr/pkg/share/cmake-3.31/Modules/FindPNG.cmake includes
  /home/pbulk/build/graphics/autopano-sift-C/work/autopano-sift-C-2.5.1/CMakeModules/FindZLIB.cmake
  (found via CMAKE_MODULE_PATH) which shadows
  /usr/pkg/share/cmake-3.31/Modules/FindZLIB.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):
  CMakeLists.txt:54 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found ZLIB: /home/pbulk/build/graphics/autopano-sift-C/work/.buildlink/include
-- Found PNG: /home/pbulk/build/graphics/autopano-sift-C/work/.buildlink/lib/libpng16.so (found version "1.6.44")
-- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
-- PKGCONFIG() indicates that libxml-2.0 is not installed (install the package which contains libxml-2.0.pc if you want to support this feature)
-- Found LibXml2: /home/pbulk/build/graphics/autopano-sift-C/work/.buildlink/lib/libxml2.so
-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: /home/pbulk/build/graphics/autopano-sift-C/work/autopano-sift-C-2.5.1
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
=> Rewrite cmake Dependencies files