+ 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/libpano13-2.9.21/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libpano13-2.9.21/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for libpano13-2.9.21.tar.gz
=> Checksum SHA512 OK for libpano13-2.9.21.tar.gz
===> Installing dependencies for libpano13-2.9.21
==========================================================================
The following variables will affect the build process of this package,
libpano13-2.9.21.  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 mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.23.2
=> Tool dependency gmake>=3.81: found gmake-4.3nb3
=> Tool dependency perl>=5.0: found perl-5.34.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency jpeg>=9: found jpeg-9e
=> Full dependency png>=1.6.0nb1: found png-1.6.37nb1
=> Full dependency tiff>=4.0.3nb5: found tiff-4.4.0
===> Overriding tools for libpano13-2.9.21
===> Extracting for libpano13-2.9.21
===> Patching for libpano13-2.9.21
=> Applying pkgsrc patches for libpano13-2.9.21
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/libpano13/patches/patch-man_CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/libpano13/patches/patch-man_CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-man_CMakeLists.txt,v 1.2 2016/04/21 15:54:31 jperkin Exp $
|
|Fix man path.
|
|--- man/CMakeLists.txt.orig	2014-07-10 11:21:45.000000000 +0000
|+++ man/CMakeLists.txt
--------------------------
Patching file man/CMakeLists.txt using Plan A...
Hunk #1 succeeded at 32 (offset 7 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/libpano13/patches/patch-panorama.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/libpano13/patches/patch-panorama.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-panorama.h,v 1.1 2022/06/13 07:18:09 adam Exp $
|
|Detect endianness on Darwin.
|
|--- panorama.h.orig	2022-05-30 07:37:25.000000000 +0000
|+++ panorama.h
--------------------------
Patching file panorama.h using Plan A...
Hunk #1 succeeded at 52.
done
===> Creating toolchain wrappers for libpano13-2.9.21
===> Configuring for libpano13-2.9.21
=> Adding run-time search paths to pkg-config files.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) 
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/graphics/libpano13/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/graphics/libpano13/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found TIFF: /opt/pkg/lib/libtiff.so (found version "4.4.0")  
-- Found JPEG: /opt/pkg/lib/libjpeg.so (found version "90") 
-- Found ZLIB: /opt/pkg/lib/libz.so (found version "1.2.12") 
-- Found PNG: /opt/pkg/lib/libpng16.so (found version "1.6.37") 
-- Looking for exp in m
-- Looking for exp in m - found
-- found version = 2,9,21
-- Found Perl: /home/pbulk/build/graphics/libpano13/work/.tools/bin/perl  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pbulk/build/graphics/libpano13/work/libpano13-2.9.21
=> Rewrite cmake Dependencies files