+ 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/leptonica-1.85.0/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/leptonica-1.85.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for leptonica-1.85.0.tar.gz => Checksum SHA512 OK for leptonica-1.85.0.tar.gz ===> Installing dependencies for leptonica-1.85.0 ========================================================================== The following variables will affect the build process of this package, leptonica-1.85.0. 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 cmake>=0: found cmake-3.31.3 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency giflib>=5.2.1nb4: found giflib-5.2.2 => Full dependency jpeg>=9: found jpeg-9f => Full dependency libwebp>=0.6.0: found libwebp-1.5.0 => Full dependency openjpeg>=2.1.0: found openjpeg-2.5.3 => 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 leptonica-1.85.0 ===> Extracting for leptonica-1.85.0 ===> Patching for leptonica-1.85.0 => Applying pkgsrc patches for leptonica-1.85.0 => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/graphics/leptonica/patches/patch-CMakeLists.txt => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/graphics/leptonica/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.1 2024/01/19 15:17:11 adam Exp $ | |Prefer lept.pc for pkg-config file. | |--- CMakeLists.txt.orig 2024-01-02 23:48:24.000000000 +0000 |+++ CMakeLists.txt -------------------------- Patching file CMakeLists.txt using Plan A... Hunk #1 succeeded at 374 (offset 16 lines). Hunk #2 succeeded at 384 (offset 16 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/graphics/leptonica/patches/patch-src_environ.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/graphics/leptonica/patches/patch-src_environ.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_environ.h,v 1.1 2023/12/20 10:31:34 nros Exp $ | |* Illumos gcc defines __STDC_VERSION__ in C++ mode, | this causes problems for leptonica C++ consumers | when gcc 12 is used. In gcc 12 atomic_int is not | defined in stdatomic.h in C++ mode. | Make sure this path in not chosen in C++ mode, | like gcc on GNU Linux, NetBSD etc. | |--- src/environ.h.orig 2023-01-26 06:12:24.000000000 +0000 |+++ src/environ.h -------------------------- Patching file src/environ.h using Plan A... Hunk #1 succeeded at 65. done ===> Creating toolchain wrappers for leptonica-1.85.0 ===> Configuring for leptonica-1.85.0 CMake Deprecation Warning at CMakeLists.txt:11 (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 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/pbulk/build/graphics/leptonica/work/.cwrapper/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found ZLIB: /usr/pkg/lib/libz.so (found version "1.3.1") -- Found PNG: /usr/pkg/lib/libpng16.so (found version "1.6.44") -- Found GIF: /usr/pkg/lib/libgif.so (found suitable version "5.2.2", minimum required is "5") -- Found JPEG: /usr/pkg/lib/libjpeg.so (found version "90") -- Found TIFF: /usr/pkg/lib/libtiff.so (found version "4.7.0") -- Could NOT find WebP (missing: WebP_DIR) -- Found non-cmake WebP: /usr/pkg/lib/libwebp.so -- Found WebP: /usr/pkg/lib/libwebp.so;/usr/pkg/lib/libwebpmux.so () -- Found OpenJPEG: openjp2 (2.5.3) -- Looking for sin in m -- Looking for sin in m - found -- Setting build type to 'Release' as none was specified. -- Looking for include file dlfcn.h -- Looking for include file dlfcn.h - found -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Looking for include file memory.h -- Looking for include file memory.h - found -- Looking for include file stdint.h -- Looking for include file stdint.h - found -- Looking for include file stdlib.h -- Looking for include file stdlib.h - found -- Looking for include file strings.h -- Looking for include file strings.h - found -- Looking for include file string.h -- Looking for include file string.h - found -- Looking for include file sys/stat.h -- Looking for include file sys/stat.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file unistd.h -- Looking for include file unistd.h - found -- Looking for fmemopen -- Looking for fmemopen - found -- Looking for fstatat -- Looking for fstatat - found -- -- General configuration for Leptonica -- -------------------------------------------------------- -- Build type: Release -- Compiler: GNU -- C compiler options: -pipe -O2 -I/usr/pkg/include -- Linker options: -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -- Install directory: /usr/pkg -- -- Build with sw [SW_BUILD]: OFF -- Build utility programs [BUILD_PROG]: ON -- Used ZLIB library: /usr/pkg/lib/libz.so -- Used PNG library: /usr/pkg/lib/libpng16.so;/usr/pkg/lib/libz.so -- Used JPEG library: /usr/pkg/lib/libjpeg.so -- Used OpenJPEG library: openjp2 -- Used TIFF library: /usr/pkg/lib/libtiff.so -- Used GIF library: /usr/pkg/lib/libgif.so -- Used WebP library: /usr/pkg/lib/libwebp.so;/usr/pkg/lib/libwebpmux.so -- -------------------------------------------------------- -- -- Configuring done (3.6s) -- Generating done (1.3s) CMake Warning: Manually-specified variables were not used by the project: FETCHCONTENT_FULLY_DISCONNECTED -- Build files have been written to: /home/pbulk/build/graphics/leptonica/work/leptonica-1.85.0/cmake-pkgsrc-build