+ 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/hylafax-6.0.7nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/hylafax-6.0.7nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for hylafax-6.0.7.tar.gz
=> Checksum SHA512 OK for hylafax-6.0.7.tar.gz
===> Installing dependencies for hylafax-6.0.7nb3
==========================================================================
The supported build options for hylafax are:

	pam

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.hylafax (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
hylafax-6.0.7nb3.  Their current value is shown below:

        * FAXGROUP = dialer
        * FAXUSER = uucp
        * JPEG_DEFAULT = jpeg
        * VARBASE = /var/opt/pkg

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 pkgconf-[0-9]*: found pkgconf-2.1.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency mawk>=1.2.2: found mawk-1.3.4.20200120
=> Full dependency ghostscript>=6.01: found ghostscript-9.05nb35
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
=> Full dependency jbigkit>=2.0: found jbigkit-2.1nb1
=> Full dependency jpeg>=9: found jpeg-9e
=> Full dependency tiff>=4.6.0: found tiff-4.6.0nb3
===> Overriding tools for hylafax-6.0.7nb3
===> Extracting for hylafax-6.0.7nb3
===> Patching for hylafax-6.0.7nb3
=> Applying pkgsrc patches for hylafax-6.0.7nb3
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.9 2014/03/14 15:59:29 adam Exp $
|
|--- Makefile.in.orig	Mon Apr 14 03:44:42 2003
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 227.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.5 2003/09/23 21:39:47 abs Exp $
|
|--- config.h.in.orig	Mon Mar 19 06:48:23 2001
|+++ config.h.in
--------------------------
Patching file config.h.in using Plan A...
Hunk #1 succeeded at 58.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.8 2014/03/14 15:59:29 adam Exp $
|
|--- config/Makefile.in.orig	2004-05-22 02:12:35.000000000 +0000
|+++ config/Makefile.in
--------------------------
Patching file config/Makefile.in using Plan A...
Hunk #1 succeeded at 124.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.5 2003/09/23 21:39:47 abs Exp $
|
|--- config/skel.orig	Sun Apr  7 21:29:27 2002
|+++ config/skel
--------------------------
Patching file config/skel using Plan A...
Hunk #1 succeeded at 41.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ae
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.24 2023/01/05 14:30:13 wiz Exp $
|
|* Customize paths.
|* Configure for pkgsrc.
|* LIBPORT needs to be specified with -L and -l (instead of the path to
|the .a file) to match the other internal libraries. Otherwise the
|wrappers reorder it relative to the other internal libraries and some
|symbols aren't resolved at link time.
|* Allow newer libtiff.
|* Support DragonFly BSD.
|
|--- configure.orig	2012-06-06 00:58:38.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 37.
Hunk #2 succeeded at 70.
Hunk #3 succeeded at 228.
Hunk #4 succeeded at 300.
Hunk #5 succeeded at 831.
Hunk #6 succeeded at 982.
Hunk #7 succeeded at 1629.
Hunk #8 succeeded at 2176.
Hunk #9 succeeded at 2448.
Hunk #10 succeeded at 2465.
Hunk #11 succeeded at 2484.
Hunk #12 succeeded at 2538.
Hunk #13 succeeded at 2563.
Hunk #14 succeeded at 3281.
Hunk #15 succeeded at 3290.
Hunk #16 succeeded at 3303.
Hunk #17 succeeded at 3314.
Hunk #18 succeeded at 3379.
Hunk #19 succeeded at 3800.
Hunk #20 succeeded at 3829.
Hunk #21 succeeded at 3874.
Hunk #22 succeeded at 3917.
Hunk #23 succeeded at 3930.
Hunk #24 succeeded at 3953.
Hunk #25 succeeded at 4003.
Hunk #26 succeeded at 4051.
Hunk #27 succeeded at 4118.
Hunk #28 succeeded at 4140.
Hunk #29 succeeded at 4159.
Hunk #30 succeeded at 4168.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.10 2022/05/05 13:37:07 nia Exp $
|
|--- defs.in.orig	2018-09-18 18:51:17.000000000 +0000
|+++ defs.in
--------------------------
Patching file defs.in using Plan A...
Hunk #1 succeeded at 48.
Hunk #2 succeeded at 263.
Hunk #3 succeeded at 329.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ag
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.7 2022/05/05 13:37:07 nia Exp $
|
|--- etc/Makefile.in.orig	2018-09-18 18:51:17.000000000 +0000
|+++ etc/Makefile.in
--------------------------
Patching file etc/Makefile.in using Plan A...
Hunk #1 succeeded at 70.
Hunk #2 succeeded at 86.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ah
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ah
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ah,v 1.7 2014/03/14 15:59:29 adam Exp $
|
|--- etc/faxaddmodem.sh.in.orig	2012-06-06 00:58:38.000000000 +0000
|+++ etc/faxaddmodem.sh.in
--------------------------
Patching file etc/faxaddmodem.sh.in using Plan A...
Hunk #1 succeeded at 51.
Hunk #2 succeeded at 125.
Hunk #3 succeeded at 834.
Hunk #4 succeeded at 1179.
Hunk #5 succeeded at 1190.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ai
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ai
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ai,v 1.10 2014/03/14 15:59:29 adam Exp $
|
|--- etc/faxsetup.sh.in.orig	2012-06-06 00:58:38.000000000 +0000
|+++ etc/faxsetup.sh.in
--------------------------
Patching file etc/faxsetup.sh.in using Plan A...
Hunk #1 succeeded at 41.
Hunk #2 succeeded at 62.
Hunk #3 succeeded at 157.
Hunk #4 succeeded at 874.
Hunk #5 succeeded at 2485.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-al
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-al
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-al,v 1.7 2014/03/14 15:59:29 adam Exp $
|
|--- faxd/Getty.c++.orig	2005-01-01 21:27:15.000000000 +0000
|+++ faxd/Getty.c++
--------------------------
Patching file faxd/Getty.c++ using Plan A...
Hunk #1 succeeded at 230.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-am
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-am
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-am,v 1.5 2003/09/23 21:39:48 abs Exp $
|
|--- faxd/UUCPLock.c++.orig	Thu Sep 21 10:24:54 2000
|+++ faxd/UUCPLock.c++
--------------------------
Patching file faxd/UUCPLock.c++ using Plan A...
Hunk #1 succeeded at 37.
Hunk #2 succeeded at 147.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-an
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-an
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-an,v 1.8 2014/03/14 15:59:29 adam Exp $
|
|--- faxd/faxGettyApp.c++.orig	2005-01-01 21:27:16.000000000 +0000
|+++ faxd/faxGettyApp.c++
--------------------------
Patching file faxd/faxGettyApp.c++ using Plan A...
Hunk #1 succeeded at 815.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ao
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ao
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ao,v 1.8 2014/03/14 15:59:29 adam Exp $
|
|--- hfaxd/User.c++.orig	2012-06-06 00:58:38.000000000 +0000
|+++ hfaxd/User.c++
--------------------------
Patching file hfaxd/User.c++ using Plan A...
Hunk #1 succeeded at 260.
Hunk #2 succeeded at 279.
Hunk #3 succeeded at 366.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ap
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-ap
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ap,v 1.9 2014/03/14 15:59:29 adam Exp $
|
|--- util/Makefile.in.orig	2012-06-06 00:58:38.000000000 +0000
|+++ util/Makefile.in
--------------------------
Patching file util/Makefile.in using Plan A...
Hunk #1 succeeded at 117.
Hunk #2 succeeded at 133.
Hunk #3 succeeded at 154.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-faxd_G3Decoder.c++
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-faxd_G3Decoder.c++
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-faxd_G3Decoder.c++,v 1.1 2023/01/05 14:30:13 wiz Exp $
|
|Copy internal code from tiff 4.4 that was removed in 4.5.
|
|--- faxd/G3Decoder.c++.orig	2018-09-18 18:51:17.000000000 +0000
|+++ faxd/G3Decoder.c++
--------------------------
Patching file faxd/G3Decoder.c++ using Plan A...
Hunk #1 succeeded at 87.
Hunk #2 succeeded at 342.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-faxd_t4.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-faxd_t4.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-faxd_t4.h,v 1.1 2023/01/05 14:30:13 wiz Exp $
|
|Copy internal code from tiff 4.4 that was removed in 4.5.
|
|--- faxd/t4.h.orig	2018-09-18 18:51:17.000000000 +0000
|+++ faxd/t4.h
--------------------------
Patching file faxd/t4.h using Plan A...
Hunk #1 succeeded at 54.
Hunk #2 succeeded at 277.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-faxd_tif__fax3.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-faxd_tif__fax3.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-faxd_tif__fax3.h,v 1.1 2023/01/05 14:30:13 wiz Exp $
|
|Copy internal code from tiff 4.4 that was removed in 4.5.
|
|--- faxd/tif_fax3.h.orig	2018-09-18 18:51:17.000000000 +0000
|+++ faxd/tif_fax3.h
--------------------------
Patching file faxd/tif_fax3.h using Plan A...
Hunk #1 succeeded at 57.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-rules.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax/patches/patch-rules.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-rules.in,v 1.2 2014/03/14 15:59:29 adam Exp $
|
|--- rules.in.orig	2013-08-30 14:42:52.000000000 +0000
|+++ rules.in
--------------------------
Patching file rules.in using Plan A...
Hunk #1 succeeded at 198.
done
===> Creating toolchain wrappers for hylafax-6.0.7nb3
===> Configuring for hylafax-6.0.7nb3
=> Checking for portability problems in extracted files

Configuring HylaFAX (tm) (aka FlexFAX) 6.0.7.

If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.

Reading site-wide parameters from ./config.site.
Well I'll be, a i386-pc-solaris2.11 system.
Using /home/pbulk/build/comms/hylafax/work/.cwrapper/bin/gcc for a C compiler (set CC to override).
Using -L/usr/local/lib -R/usr/local/lib to get the appropriate compilation environment.
Looks like /home/pbulk/build/comms/hylafax/work/.cwrapper/bin/gcc supports the -g option.
... but not together with the -O option, not using it.
Looks like /home/pbulk/build/comms/hylafax/work/.cwrapper/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /home/pbulk/build/comms/hylafax/work/.cwrapper/bin/gcc supports the -M option for generating make dependencies.
Using /home/pbulk/build/comms/hylafax/work/.cwrapper/bin/g++ for a C++ compiler (set CXX to override).
Looks like /home/pbulk/build/comms/hylafax/work/.cwrapper/bin/g++ supports the -g option.
Using " -g" for C++ compiler options.
Looks like /home/pbulk/build/comms/hylafax/work/.cwrapper/bin/g++ has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Using /opt/pkg/bin/bmake to configure the software.
Using "include file" syntax for Makefiles.
Looks like /opt/pkg/bin/bmake supports "sinclude" for conditional includes.
Using /bin/bash to process command scripts.
Looks like the system has a CXX runtime
Looks like -lmalloc is here, using it for memory allocation.
Disabling PAM support
Checking for JBIG library support
... not found. Disabling JBIG support
Checking for NLS (gettext) library support
... not found. Disabling NLS support
Looks like -lsocket & -lnsl are needed for socket support.

Creating port.h with necessary definitions.
... open FIFO files read+write to avoid select bug
... enable workaround for FIFO select bug
... using call-by-reference for TIOCMBIS ioctl
... constrain client IDs to be <= 60002
... configure use of <stdint.h>
... configure use of <sys/select.h>
... use (SIG_PF) for sigaction handler type
... use (SIG_PF) for signal handler type
... configure use of mmap for memory-mapped files
... configure use of sysconf
... configure use of ulimit
... configure use of getdtablesize
... add function prototype for sigvec
... configure use of fchown
... configure use of fchmod
... configure use of <sys/mkdev.h> (for SVR4-style lock files)
... configure use of <locale.h> (internationalization support)
... configure use of <paths.h>
... configure use of SVR4 termiox support
... configure use of <utmpx.h> (extended utmp interface)
... add #define for _PATH_WTMPX
... configure use of SVR4 realtime process control interface
... configure use of POSIX realtime process control interface
... configure use of <crypt.h>
... checking TIFF library version
  Found tiffio.h version 20230908
  Found libtiff version 4.6
... add declaration for tiff compatibility
Done creating port.h.

Checking system libraries for functionality to emulate.
Done checking system libraries.

Checking ZLIB support.
Using ZLIB include files from -I/opt/pkg/include
Using pre-built ZLIB library -L/opt/pkg/lib -lz
Done checking ZLIB support.

Checking TIFF support.
    Cannot locate the TIFF binary files(ie tiff2ps) anywhere.

    Please install the TIFF binaries and set the TIFFBIN parameter 
    to the correct path.

Unrecoverable error!  Once you've corrected the problem rerun this script.
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/comms/hylafax