+ 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/mgdiff-1.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mgdiff-1.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for mgdiff-1.0/mgdiff.tar.gz
=> Checksum SHA512 OK for mgdiff-1.0/mgdiff.tar.gz
===> Installing dependencies for mgdiff-1.0
==========================================================================
The following variables will affect the build process of this package,
mgdiff-1.0.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * MOTIFBASE (defined)
        * MOTIF_TYPE = motif

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 imake-[0-9]*: found imake-1.0.9
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1
=> Build dependency xbitmaps>=1.0: found xbitmaps-1.1.2
=> Full dependency libXext>=0.99.0: found libXext-1.3.5
=> Full dependency libX11>=1.1: found libX11-1.8.3
=> Full dependency libXau>=1.0: found libXau-1.0.11
=> Full dependency libXmu>=1.0.0: found libXmu-1.1.4
=> Full dependency libXt>=1.0.0: found libXt-1.2.1
=> Full dependency libSM>=0.99.2: found libSM-1.2.4
=> Full dependency libICE>=0.99.1: found libICE-1.1.1
=> Full dependency motif>=2.3.8nb1: found motif-2.3.8nb1
===> Overriding tools for mgdiff-1.0
===> Extracting for mgdiff-1.0
===> Patching for mgdiff-1.0
=> Applying pkgsrc patches for mgdiff-1.0
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mgdiff/patches/patch-Imakefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mgdiff/patches/patch-Imakefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Imakefile,v 1.1 2023/01/02 22:43:53 vins Exp $
|
|Do not require libucb/SUNWscpu.
|
|--- Imakefile.orig	1994-05-19 02:01:00.000000000 +0000
|+++ Imakefile
--------------------------
Patching file Imakefile using Plan A...
Hunk #1 succeeded at 4.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mgdiff/patches/patch-mgdiff.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mgdiff/patches/patch-mgdiff.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mgdiff.c,v 1.2 2023/01/03 09:01:42 vins Exp $
|
|Prevent unsafe use of tmpnam(). 
|
|--- mgdiff.c.orig	1994-09-29 01:56:53.000000000 +0000
|+++ mgdiff.c
--------------------------
Patching file mgdiff.c using Plan A...
Hunk #1 succeeded at 39.
Hunk #2 succeeded at 521.
Hunk #3 succeeded at 561.
Hunk #4 succeeded at 583.
Hunk #5 succeeded at 605.
Hunk #6 succeeded at 661.
Hunk #7 succeeded at 1111.
Hunk #8 succeeded at 1134.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mgdiff/patches/patch-rundiff.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/mgdiff/patches/patch-rundiff.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-rundiff.c,v 1.1 2023/01/02 22:43:53 vins Exp $
|
|Avoid conflicting getline() type definition.
|
|--- rundiff.c.orig	1994-05-19 02:01:22.000000000 +0000
|+++ rundiff.c
--------------------------
Patching file rundiff.c using Plan A...
Hunk #1 succeeded at 63.
Hunk #2 succeeded at 271.
Hunk #3 succeeded at 300.
Hunk #4 succeeded at 331.
Hunk #5 succeeded at 358.
Hunk #6 succeeded at 371.
Hunk #7 succeeded at 399.
Hunk #8 succeeded at 428.
Hunk #9 succeeded at 491.
Hunk #10 succeeded at 663.
done
===> Creating toolchain wrappers for mgdiff-1.0
===> Configuring for mgdiff-1.0
=> Checking for portability problems in extracted files
imake -DUseInstalled -I/opt/pkg/lib/X11/config
warning: could not parse version number in output of:
         cc  -V 2>&1
warning: could not parse version number in output of:
         /opt/SUNWspro/bin/cc  -V 2>&1
warning: could not parse version number in output of:
         CC  -V 2>&1
warning: could not parse version number in output of:
         /opt/SUNWspro/bin/CC  -V 2>&1
imake: executing: /opt/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -DSVR4 -D__amd64 -debuglog .imake.cpplog -DUseInstalled -I/opt/pkg/lib/X11/config -DHasGcc2=YES -DHasGcc2ForCplusplus=YES .imake.start.c
.imake.start.c:8:9: Warning: non-identical redefinition of HasGcc2
<command-line>:12:1: Previous definition was here
make Makefiles
make includes
make depend
makedepend  --   -I/opt/pkg/include    -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64       -DUSE_MAKEDEPEND -- mgdiff.c rundiff.c misc.c files.c spawn.c manual.c modal.c legend.c