+ 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/sane-airscan-0.99.21nb11/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sane-airscan-0.99.21nb11/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for sane-airscan-0.99.21.tar.gz
=> Checksum SHA512 OK for sane-airscan-0.99.21.tar.gz
===> Installing dependencies for sane-airscan-0.99.21nb11
==========================================================================
The following variables will affect the build process of this package,
sane-airscan-0.99.21nb11.  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 meson>=0: found meson-1.1.1
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.74.6
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.5
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency sane-backends>=1.0.32nb6: found sane-backends-1.0.32nb7
=> Full dependency jpeg>=9: found jpeg-9e
=> Full dependency png>=1.6.0nb1: found png-1.6.39
=> Full dependency avahi>=0.8nb4: found avahi-0.8nb5
=> Full dependency gnutls>=3.8.0nb2: found gnutls-3.8.0nb3
=> Full dependency libxml2>=2.10.4nb1: found libxml2-2.10.4nb1
===> Overriding tools for sane-airscan-0.99.21nb11
===> Extracting for sane-airscan-0.99.21nb11
===> Patching for sane-airscan-0.99.21nb11
=> Applying pkgsrc patches for sane-airscan-0.99.21nb11
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/sane-airscan/patches/patch-airscan-netif.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/sane-airscan/patches/patch-airscan-netif.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-airscan-netif.c,v 1.1 2020/12/09 12:05:58 ryoon Exp $
|
|* Support NetBSD.
|
|--- airscan-netif.c.orig	2020-11-23 19:47:02.000000000 +0000
|+++ airscan-netif.c
--------------------------
Patching file airscan-netif.c using Plan A...
Hunk #1 succeeded at 578.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/sane-airscan/patches/patch-airscan-os.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/sane-airscan/patches/patch-airscan-os.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-airscan-os.c,v 1.1 2020/12/09 12:05:58 ryoon Exp $
|
|* Support NetBSD.
|
|--- airscan-os.c.orig	2020-11-23 19:47:02.000000000 +0000
|+++ airscan-os.c
--------------------------
Patching file airscan-os.c using Plan A...
Hunk #1 succeeded at 17.
Hunk #2 succeeded at 92.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/sane-airscan/patches/patch-meson.build
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/sane-airscan/patches/patch-meson.build
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-meson.build,v 1.2 2020/12/15 09:32:23 nia Exp $
|
|* Install configuration file under share/examples for pkgsrc.
|
|--- meson.build.orig	2020-11-23 19:47:02.000000000 +0000
|+++ meson.build
--------------------------
Patching file meson.build using Plan A...
Hunk #1 succeeded at 91.
done
===> Creating toolchain wrappers for sane-airscan-0.99.21nb11
===> Configuring for sane-airscan-0.99.21nb11
=> Checking for portability problems in extracted files
cd /home/pbulk/build/graphics/sane-airscan/work/sane-airscan-0.99.21 && cd . && /usr/bin/env CMAKE=false USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/usr/include CPPFLAGS=-I/opt/pkg/include\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/usr/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/opt/pkg/include\ -I/opt/pkg/include/glib-2.0\ -I/opt/pkg/include/gio-unix-2.0\ -I/opt/pkg/lib/glib-2.0/include\ -I/usr/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib\ -Wl,-R/opt/pkg/lib\ -lintl\ -liconv\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64 LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/graphics/sane-airscan/work/.cwrapper/bin:/home/pbulk/build/graphics/sane-airscan/work/.buildlink/bin:/home/pbulk/build/graphics/sane-airscan/work/.gcc/bin:/home/pbulk/build/graphics/sane-airscan/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg HOME=/home/pbulk/build/graphics/sane-airscan/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/graphics/sane-airscan/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/graphics/sane-airscan/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/home/pbulk/build/graphics/sane-airscan/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/graphics/sane-airscan/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/graphics/sane-airscan/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/graphics/sane-airscan/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/graphics/sane-airscan/work/.buildlink/lib/pkgconfig:/home/pbulk/build/graphics/sane-airscan/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/graphics/sane-airscan/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/graphics/sane-airscan/work/.cwrapper/config meson setup  --prefix /opt/pkg  --libdir lib  --libexecdir libexec  --mandir share/man  --sysconfdir /etc/opt/pkg    --buildtype=plain  . output
The Meson build system
Version: 1.1.1
Source dir: /home/pbulk/build/graphics/sane-airscan/work/sane-airscan-0.99.21
Build dir: /home/pbulk/build/graphics/sane-airscan/work/sane-airscan-0.99.21/output
Build type: native build
Project name: sane-airscan
Project version: undefined
C compiler for the host machine: gcc (gcc 12.2.0 "gcc (GCC) 12.2.0")
C linker for the host machine: gcc ld.solaris 5.11-1.1790 (illumos)
C++ compiler for the host machine: g++ (gcc 12.2.0 "g++ (GCC) 12.2.0")
C++ linker for the host machine: g++ ld.solaris 5.11-1.1790 (illumos)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Library m found: YES
Found pkg-config: /home/pbulk/build/graphics/sane-airscan/work/.tools/bin/pkg-config (1.9.5)
Run-time dependency avahi-client found: YES 0.8
Run-time dependency gnutls found: YES 3.8.0
Run-time dependency libjpeg found: YES 9.5.0
Run-time dependency libpng found: YES 1.6.39
Run-time dependency libxml-2.0 found: YES 2.10.4
Run-time dependency threads found: YES
Build targets in project: 5

sane-airscan undefined

  User defined options
    buildtype : plain
    libdir    : lib
    libexecdir: libexec
    mandir    : share/man
    prefix    : /opt/pkg
    sysconfdir: /etc/opt/pkg

Found ninja-1.11.1 at /opt/pkg/bin/ninja