+ 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/mgdiff-1.0.1nb1/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mgdiff-1.0.1nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for mgdiff-1.0.1/mgdiff.tar.gz
=> Checksum SHA512 OK for mgdiff-1.0.1/mgdiff.tar.gz
===> Installing dependencies for mgdiff-1.0.1nb1
==========================================================================
The following variables will affect the build process of this package,
mgdiff-1.0.1nb1.  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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency imake-[0-9]*: found imake-1.0.9nb1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb2
=> Build dependency xbitmaps>=1.0: found xbitmaps-1.1.3
=> Full dependency pdksh>=5.2.14: found pdksh-5.2.14nb7
=> Full dependency libXext>=0.99.0: found libXext-1.3.5
=> Full dependency libX11>=1.1: found libX11-1.8.6
=> 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.3.0nb1
=> Full dependency libSM>=0.99.2: found libSM-1.2.4
=> Full dependency libICE>=0.99.1: found libICE-1.1.1
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.16
=> Full dependency motif>=2.3.8nb2: found motif-2.3.8nb2
===> Overriding tools for mgdiff-1.0.1nb1
===> Extracting for mgdiff-1.0.1nb1
===> Patching for mgdiff-1.0.1nb1
=> Applying pkgsrc patches for mgdiff-1.0.1nb1
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-externs.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-externs.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-externs.h,v 1.1 2023/03/01 23:48:00 vins Exp $
|
|Pull patches from Debian.
|
|--- externs.h.orig	1994-05-19 02:01:05.000000000 +0000
|+++ externs.h
--------------------------
Patching file externs.h using Plan A...
Hunk #1 succeeded at 28.
Hunk #2 succeeded at 43.
Hunk #3 succeeded at 61.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-files.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-files.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-files.c,v 1.2 2023/03/08 21:46:44 vins Exp $
|
|Pull patches from Debian.
|
|--- files.c.orig	1994-05-19 02:01:06.000000000 +0000
|+++ files.c
--------------------------
Patching file files.c using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 37.
Hunk #3 succeeded at 85.
Hunk #4 succeeded at 147.
Hunk #5 succeeded at 179.
Hunk #6 succeeded at 190.
Hunk #7 succeeded at 328.
Hunk #8 succeeded at 359.
Hunk #9 succeeded at 371.
Hunk #10 succeeded at 436.
Hunk #11 succeeded at 447.
Hunk #12 succeeded at 490.
Hunk #13 succeeded at 501.
Hunk #14 succeeded at 547.
Hunk #15 succeeded at 583.
Hunk #16 succeeded at 596.
Hunk #17 succeeded at 633.
Hunk #18 succeeded at 698.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-Imakefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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.2 2023/03/01 23:48:00 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-el7-trunk-x86_64/devel/mgdiff/patches/patch-legend.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-legend.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-legend.c,v 1.1 2023/03/01 23:48:00 vins Exp $
|
|Pull patches from Debian.
|
|--- legend.c.orig	1994-05-19 02:01:08.000000000 +0000
|+++ legend.c
--------------------------
Patching file legend.c using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-manual.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-manual.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-manual.c,v 1.1 2023/03/01 23:48:00 vins Exp $
|
|Pull patches from Debian.
|
|--- manual.c.orig	1994-05-19 02:01:09.000000000 +0000
|+++ manual.c
--------------------------
Patching file manual.c using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 134.
Hunk #3 succeeded at 151.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-Mgdiff.ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-Mgdiff.ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Mgdiff.ad,v 1.2 2023/03/02 08:15:32 vins Exp $
|
|Pull patches from Debian.
|
|--- Mgdiff.ad.orig	1994-05-19 02:01:03.000000000 +0000
|+++ Mgdiff.ad
--------------------------
Patching file Mgdiff.ad using Plan A...
Hunk #1 succeeded at 2.
Hunk #2 succeeded at 114.
Hunk #3 succeeded at 171.
Hunk #4 succeeded at 214.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-mgdiff.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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.4 2023/03/02 08:15:32 vins Exp $
|
|Prevent unsafe use of tmpnam(). 
|Pull patches from Debian.
|
|--- mgdiff.c.orig	1994-09-29 01:56:53.000000000 +0000
|+++ mgdiff.c
--------------------------
Patching file mgdiff.c using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 34.
Hunk #3 succeeded at 84.
Hunk #4 succeeded at 104.
Hunk #5 succeeded at 114.
Hunk #6 succeeded at 132.
Hunk #7 succeeded at 155.
Hunk #8 succeeded at 189.
Hunk #9 succeeded at 214.
Hunk #10 succeeded at 420.
Hunk #11 succeeded at 459.
Hunk #12 succeeded at 556.
Hunk #13 succeeded at 572.
Hunk #14 succeeded at 616.
Hunk #15 succeeded at 638.
Hunk #16 succeeded at 660.
Hunk #17 succeeded at 716.
Hunk #18 succeeded at 780.
Hunk #19 succeeded at 810.
Hunk #20 succeeded at 818.
Hunk #21 succeeded at 961.
Hunk #22 succeeded at 1007.
Hunk #23 succeeded at 1074.
Hunk #24 succeeded at 1087.
Hunk #25 succeeded at 1143.
Hunk #26 succeeded at 1150.
Hunk #27 succeeded at 1175.
Hunk #28 succeeded at 1200.
Hunk #29 succeeded at 1242.
Hunk #30 succeeded at 1274.
Hunk #31 succeeded at 1564.
Hunk #32 succeeded at 1696.
Hunk #33 succeeded at 1934.
Hunk #34 succeeded at 2061.
Hunk #35 succeeded at 2095.
Hunk #36 succeeded at 2152.
Hunk #37 succeeded at 2193.
Hunk #38 succeeded at 2228.
Hunk #39 succeeded at 2244.
Hunk #40 succeeded at 2294.
Hunk #41 succeeded at 2310.
Hunk #42 succeeded at 2606.
Hunk #43 succeeded at 2690.
Hunk #44 succeeded at 2716.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-mgdiff.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-mgdiff.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mgdiff.h,v 1.1 2023/03/01 23:48:00 vins Exp $
|
|Pull patches from Debian.
|
|--- mgdiff.h.orig	1994-05-19 02:01:15.000000000 +0000
|+++ mgdiff.h
--------------------------
Patching file mgdiff.h using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 52.
Hunk #3 succeeded at 90.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-mgdiff.man
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-mgdiff.man
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-mgdiff.man,v 1.2 2023/03/02 08:15:32 vins Exp $
|
|Pull patches from Debian.
|
|--- mgdiff.man.orig	1994-05-19 02:01:16.000000000 +0000
|+++ mgdiff.man
--------------------------
Patching file mgdiff.man using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 83.
Hunk #3 succeeded at 177.
Hunk #4 succeeded at 189.
Hunk #5 succeeded at 368.
Hunk #6 succeeded at 585.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-misc.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-misc.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-misc.c,v 1.1 2023/03/01 23:48:00 vins Exp $
|
|Pull patches from Debian.
|
|--- misc.c.orig	1994-05-19 02:01:19.000000000 +0000
|+++ misc.c
--------------------------
Patching file misc.c using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 34.
Hunk #3 succeeded at 43.
Hunk #4 succeeded at 56.
Hunk #5 succeeded at 107.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-modal.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-modal.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-modal.c,v 1.1 2023/03/01 23:48:00 vins Exp $
|
|Pull patches from Debian.
|
|--- modal.c.orig	1994-05-19 02:01:20.000000000 +0000
|+++ modal.c
--------------------------
Patching file modal.c using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-patchlevel.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-patchlevel.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-patchlevel.h,v 1.1 2023/03/01 23:48:00 vins Exp $
|
|Pull patches from Debian.
|
|--- patchlevel.h.orig	1994-05-19 02:01:21.000000000 +0000
|+++ patchlevel.h
--------------------------
Patching file patchlevel.h using Plan A...
Hunk #1 succeeded at 28.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-rundiff.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/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.2 2023/03/01 23:48:00 vins Exp $
|
|Avoid conflicting getline() type definition.
|Pull patches from Debian.
|
|--- rundiff.c.orig	1994-05-19 02:01:22.000000000 +0000
|+++ rundiff.c
--------------------------
Patching file rundiff.c using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 44.
Hunk #3 succeeded at 73.
Hunk #4 succeeded at 180.
Hunk #5 succeeded at 219.
Hunk #6 succeeded at 230.
Hunk #7 succeeded at 254.
Hunk #8 succeeded at 277.
Hunk #9 succeeded at 295.
Hunk #10 succeeded at 306.
Hunk #11 succeeded at 328.
Hunk #12 succeeded at 337.
Hunk #13 succeeded at 354.
Hunk #14 succeeded at 364.
Hunk #15 succeeded at 377.
Hunk #16 succeeded at 396.
Hunk #17 succeeded at 405.
Hunk #18 succeeded at 423.
Hunk #19 succeeded at 434.
Hunk #20 succeeded at 488.
Hunk #21 succeeded at 497.
Hunk #22 succeeded at 532.
Hunk #23 succeeded at 562.
Hunk #24 succeeded at 599.
Hunk #25 succeeded at 677.
Hunk #26 succeeded at 699.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-spawn.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/mgdiff/patches/patch-spawn.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-spawn.c,v 1.1 2023/03/01 23:48:00 vins Exp $
|
|Pull patches from Debian.
|
|--- spawn.c.orig	1994-05-19 02:01:23.000000000 +0000
|+++ spawn.c
--------------------------
Patching file spawn.c using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 35.
Hunk #3 succeeded at 110.
Hunk #4 succeeded at 155.
done
===> Creating toolchain wrappers for mgdiff-1.0.1nb1
===> Configuring for mgdiff-1.0.1nb1
=> Replacing PREFIX placeholders.
=> Replacing ksh interpreter in cvsmgdiff.
=> Checking for portability problems in extracted files
imake -DUseInstalled -I/usr/pkg/lib/X11/config
imake: executing: /usr/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -Dlinux -debuglog .imake.cpplog -DUseInstalled -I/usr/pkg/lib/X11/config -DBuildHtmlManPages=NO .imake.start.c
In file included from .imake.start.c:33:2:
In file included from /usr/pkg/lib/X11/config/Imake.tmpl:109:2:
/usr/pkg/lib/X11/config/linux.cf:204:10: Warning: non-identical redefinition of ProjectRoot
In file included from .imake.start.c:33:2:
In file included from /usr/pkg/lib/X11/config/Imake.tmpl:46:2:
In file included from /usr/pkg/lib/X11/config/site.def:44:2:
/usr/pkg/lib/X11/config/host.def:3:9: Previous definition was here
In file included from .imake.start.c:33:2:
In file included from /usr/pkg/lib/X11/config/Imake.tmpl:109:2:
/usr/pkg/lib/X11/config/linux.cf:205:10: Warning: non-identical redefinition of ManPath
In file included from .imake.start.c:33:2:
In file included from /usr/pkg/lib/X11/config/Imake.tmpl:46:2:
In file included from /usr/pkg/lib/X11/config/site.def:44:2:
/usr/pkg/lib/X11/config/host.def:4:9: Previous definition was here
make Makefiles
make includes
make depend
makedepend  --   -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO    -Wall -Wstrict-prototypes -Wmissing-prototypes -DUSE_MAKEDEPEND -- mgdiff.c rundiff.c misc.c files.c spawn.c manual.c modal.c legend.c
makedepend: warning:  mgdiff.c (reading /usr/include/sys/types.h, line 146): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  mgdiff.c (reading /usr/include/string.h, line 32): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  mgdiff.c (reading /usr/include/unistd.h, line 226): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  mgdiff.c (reading /usr/include/stdio.h, line 33): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  mgdiff.c (reading /usr/include/_G_config.h, line 15): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  mgdiff.c (reading /usr/include/wchar.h, line 51): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  mgdiff.c (reading /usr/include/libio.h, line 50): cannot find include file "stdarg.h"
	not in /usr/pkg/include/stdarg.h
	not in /usr/include/stdarg.h
makedepend: warning:  mgdiff.c (reading /usr/include/stdlib.h, line 32): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  mgdiff.c (reading /usr/include/alloca.h, line 24): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  mgdiff.c (reading /usr/include/locale.h, line 29): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  mgdiff.c (reading /usr/pkg/include/X11/Xlib.h, line 51): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  mgdiff.c (reading /usr/pkg/include/X11/Intrinsic.h, line 99): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  rundiff.c (reading /usr/include/signal.h, line 350): cannot find include file "stddef.h"
	not in /usr/pkg/include/stddef.h
	not in /usr/include/stddef.h
makedepend: warning:  rundiff.c (reading /usr/include/limits.h, line 124): cannot find include file "limits.h"
makedepend: warning:  misc.c (reading /usr/pkg/include/Xm/XmP.h, line 39): cannot find include file "stdarg.h"
	not in /usr/pkg/include/stdarg.h
	not in /usr/include/stdarg.h
=> Replacing deprecated preprocessor-defined macros.