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

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

Based on these variables, the following variables have been set:

        * CURSES_TYPE = ncurses
        * 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.10
=> 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-2024.1
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.17.0nb1
=> Build dependency xbitmaps>=1.0: found xbitmaps-1.1.3
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.17
=> Full dependency libX11>=1.1: found libX11-1.8.10
=> Full dependency motif>=2.3.8nb3: found motif-2.3.8nb3
=> Full dependency libXaw>=1.0.5: found libXaw-1.0.16
=> Full dependency libICE>=0.99.1: found libICE-1.1.1
=> Full dependency libSM>=0.99.2: found libSM-1.2.4
=> Full dependency libXext>=0.99.0: found libXext-1.3.6
=> Full dependency libXmu>=1.0.0: found libXmu-1.2.1
=> Full dependency libXt>=1.0.0: found libXt-1.3.0nb1
=> Full dependency ncurses>=6.5: found ncurses-6.5
===> Overriding tools for xmcd-3.0.2nb15
===> Extracting for xmcd-3.0.2nb15
===> Patching for xmcd-3.0.2nb15
=> Applying distribution patches for xmcd-3.0.2nb15
=> Applying distribution patch xmcd-3.0.2-proxyauth-patch
Hmm...  Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|diff -c -r xmcd-3.0.2-orig/cdinfo_d/cdinfo_i.c xmcd-3.0.2/cdinfo_d/cdinfo_i.c
|*** xmcd-3.0.2-orig/cdinfo_d/cdinfo_i.c	Tue Aug  7 17:14:55 2001
|--- xmcd-3.0.2/cdinfo_d/cdinfo_i.c	Mon Aug 27 00:55:35 2001
--------------------------
Patching file cdinfo_d/cdinfo_i.c using Plan A...
Hunk #1 succeeded at 20.
Hunk #2 succeeded at 5112.
Hmm...  The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|diff -c -r xmcd-3.0.2-orig/cdinfo_d/cdinfo_x.c xmcd-3.0.2/cdinfo_d/cdinfo_x.c
|*** xmcd-3.0.2-orig/cdinfo_d/cdinfo_x.c	Tue Aug  7 17:14:55 2001
|--- xmcd-3.0.2/cdinfo_d/cdinfo_x.c	Mon Aug 27 00:55:40 2001
--------------------------
Patching file cdinfo_d/cdinfo_x.c using Plan A...
Hunk #1 succeeded at 20.
Hunk #2 succeeded at 834.
Hunk #3 succeeded at 852.
Hunk #4 succeeded at 1145.
Hunk #5 succeeded at 1163.
Hunk #6 succeeded at 1181.
done
=> Applying pkgsrc patches for xmcd-3.0.2nb15
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.6 2001/07/24 16:00:02 nra Exp $
|
|--- xmcd_d/Imakefile.orig	Mon Jul 23 14:32:31 2001
|+++ xmcd_d/Imakefile	Mon Jul 23 14:33:21 2001
--------------------------
Patching file xmcd_d/Imakefile using Plan A...
Hunk #1 succeeded at 54.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.13 2012/08/07 20:18:20 marino Exp $
|
|--- cda_d/Imakefile.orig	2001-08-08 00:15:13.000000000 +0000
|+++ cda_d/Imakefile
--------------------------
Patching file cda_d/Imakefile using Plan A...
Hunk #1 succeeded at 53.
Hunk #2 succeeded at 127.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ac,v 1.5 2001/07/24 16:00:02 nra Exp $
|
|--- Imakefile.orig	Mon Jul 23 13:38:08 2001
|+++ Imakefile	Mon Jul 23 13:38:32 2001
--------------------------
Patching file Imakefile using Plan A...
Hunk #1 succeeded at 74.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ad
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ad
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ad,v 1.10 2012/05/04 16:01:53 joerg Exp $
|
|--- install.sh.orig	2001-08-08 00:14:54.000000000 +0000
|+++ install.sh
--------------------------
Patching file install.sh using Plan A...
Hunk #1 succeeded at 57.
Hunk #2 succeeded at 493.
Hunk #3 succeeded at 693.
Hunk #4 succeeded at 1159.
Hunk #5 succeeded at 1226.
Hunk #6 succeeded at 1586.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ae
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ae
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.2 2001/07/24 16:00:02 nra Exp $
|
|--- misc_d/start.sh.orig	Mon Jul 23 13:54:32 2001
|+++ misc_d/start.sh	Mon Jul 23 13:55:10 2001
--------------------------
Patching file misc_d/start.sh using Plan A...
Hunk #1 succeeded at 116.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-af
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-af
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.3 2002/01/08 09:55:04 tron Exp $
|
|--- libdi_d/config.sh.orig	Mon Jul 16 19:52:02 2001
|+++ libdi_d/config.sh	Tue Jan  8 10:39:13 2002
--------------------------
Patching file libdi_d/config.sh using Plan A...
Hunk #1 succeeded at 1287.
Hunk #2 succeeded at 1996.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ag
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ag
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ag,v 1.1 2001/08/05 15:21:34 fredb Exp $
|
|--- util_d/Imakefile.orig	Mon Jul 16 12:52:16 2001
|+++ util_d/Imakefile
--------------------------
Patching file util_d/Imakefile using Plan A...
Hunk #1 succeeded at 43.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ah
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ah
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ah,v 1.1 2002/01/25 08:38:34 tron Exp $
|
|--- cdinfo_d/cdinfo_i.c.orig	Fri Jan 25 09:23:13 2002
|+++ cdinfo_d/cdinfo_i.c	Fri Jan 25 09:26:30 2002
--------------------------
Patching file cdinfo_d/cdinfo_i.c using Plan A...
Hunk #1 succeeded at 2100.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ai
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-ai
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ai,v 1.3 2003/06/13 10:55:26 cjep Exp $
|--- cda_d/visual.c.orig	Wed Aug  8 01:15:14 2001
|+++ cda_d/visual.c	Tue Jun 10 15:13:16 2003
--------------------------
Patching file cda_d/visual.c using Plan A...
Hunk #1 succeeded at 52.
Hunk #2 succeeded at 427.
Hunk #3 succeeded at 439.
Hunk #4 succeeded at 510.
Hunk #5 succeeded at 1577.
Hunk #6 succeeded at 1618.
Hunk #7 succeeded at 2063.
Hunk #8 succeeded at 2093.
Hunk #9 succeeded at 2121.
Hunk #10 succeeded at 2152.
Hunk #11 succeeded at 2186.
Hunk #12 succeeded at 2295.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-aj
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd/patches/patch-aj
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aj,v 1.1 2006/03/01 17:39:17 tron Exp $
|
|--- cda_d/cda.c.orig	2001-08-08 01:15:14.000000000 +0100
|+++ cda_d/cda.c	2006-03-01 17:33:38.000000000 +0000
--------------------------
Patching file cda_d/cda.c using Plan A...
Hunk #1 succeeded at 4040.
done
===> Creating toolchain wrappers for xmcd-3.0.2nb15
===> Configuring for xmcd-3.0.2nb15
=> Replacing MACHINE_ARCH
=> 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
making Makefiles in common_d...
imake: executing: /usr/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -Dlinux -debuglog .imake.cpplog -DUseInstalled -Wundef -DTOPDIR=.. -DCURDIR=common_d -DBuildHtmlManPages=NO .imake.start.c
.imake.start.c:33:2: Include file Imake.tmpl not found
/usr/pkg/bin/imake: Exit code 1.
  Stop.
*** Error code 1

Stop.
bmake[1]: stopped making "common_d/Makefile" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0
bmake[1]: don't know how to make Makefiles. Stop

bmake[1]: stopped making "Makefiles" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0/common_d
making Makefiles in libdi_d...
imake: executing: /usr/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -Dlinux -debuglog .imake.cpplog -DUseInstalled -Wundef -DTOPDIR=.. -DCURDIR=libdi_d -DBuildHtmlManPages=NO .imake.start.c
.imake.start.c:33:2: Include file Imake.tmpl not found
/usr/pkg/bin/imake: Exit code 1.
  Stop.
*** Error code 1

Stop.
bmake[1]: stopped making "libdi_d/Makefile" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0
bmake[1]: don't know how to make Makefiles. Stop

bmake[1]: stopped making "Makefiles" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0/libdi_d
making Makefiles in cddb_d...
imake: executing: /usr/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -Dlinux -debuglog .imake.cpplog -DUseInstalled -Wundef -DTOPDIR=.. -DCURDIR=cddb_d -DBuildHtmlManPages=NO .imake.start.c
.imake.start.c:33:2: Include file Imake.tmpl not found
/usr/pkg/bin/imake: Exit code 1.
  Stop.
*** Error code 1

Stop.
bmake[1]: stopped making "cddb_d/Makefile" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0
bmake[1]: don't know how to make Makefiles. Stop

bmake[1]: stopped making "Makefiles" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0/cddb_d
making Makefiles in cdinfo_d...
imake: executing: /usr/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -Dlinux -debuglog .imake.cpplog -DUseInstalled -Wundef -DTOPDIR=.. -DCURDIR=cdinfo_d -DBuildHtmlManPages=NO .imake.start.c
.imake.start.c:33:2: Include file Imake.tmpl not found
/usr/pkg/bin/imake: Exit code 1.
  Stop.
*** Error code 1

Stop.
bmake[1]: stopped making "cdinfo_d/Makefile" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0
bmake[1]: don't know how to make Makefiles. Stop

bmake[1]: stopped making "Makefiles" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0/cdinfo_d
making Makefiles in xmcd_d...
imake: executing: /usr/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -Dlinux -debuglog .imake.cpplog -DUseInstalled -Wundef -DTOPDIR=.. -DCURDIR=xmcd_d -DBuildHtmlManPages=NO .imake.start.c
.imake.start.c:33:2: Include file Imake.tmpl not found
/usr/pkg/bin/imake: Exit code 1.
  Stop.
*** Error code 1

Stop.
bmake[1]: stopped making "xmcd_d/Makefile" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0
bmake[1]: don't know how to make Makefiles. Stop

bmake[1]: stopped making "Makefiles" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0/xmcd_d
making Makefiles in cda_d...
imake: executing: /usr/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -Dlinux -debuglog .imake.cpplog -DUseInstalled -Wundef -DTOPDIR=.. -DCURDIR=cda_d -DBuildHtmlManPages=NO .imake.start.c
.imake.start.c:33:2: Include file Imake.tmpl not found
/usr/pkg/bin/imake: Exit code 1.
  Stop.
*** Error code 1

Stop.
bmake[1]: stopped making "cda_d/Makefile" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0
bmake[1]: don't know how to make Makefiles. Stop

bmake[1]: stopped making "Makefiles" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0/cda_d
making Makefiles in util_d...
imake: executing: /usr/pkg/bin/tradcpp -I. -Uunix -D__amd64__ -D__amd64__ -traditional -Dlinux -debuglog .imake.cpplog -DUseInstalled -Wundef -DTOPDIR=.. -DCURDIR=util_d -DBuildHtmlManPages=NO .imake.start.c
.imake.start.c:33:2: Include file Imake.tmpl not found
/usr/pkg/bin/imake: Exit code 1.
  Stop.
*** Error code 1

Stop.
bmake[1]: stopped making "util_d/Makefile" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0
bmake[1]: don't know how to make Makefiles. Stop

bmake[1]: stopped making "Makefiles" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0/util_d
make includes
including in ./common_d...
bmake[1]: don't know how to make includes. Stop

bmake[1]: stopped making "includes" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0/common_d
*** Error code 2

Stop.
make: stopped making "includes" in /home/pbulk/build/audio/xmcd/work/xmcd-3.0
*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/audio/xmcd