+ 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/quilt-0.66nb4/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/quilt-0.66nb4/work.log
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for quilt-0.66.tar.gz
=> Checksum SHA512 OK for quilt-0.66.tar.gz
===> Installing dependencies for quilt-0.66nb4
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gsed>=3.0.2: found gsed-4.9nb1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.5
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency coreutils-[0-9]*: found coreutils-9.5
=> Full dependency patch>=2.4: found patch-2.7.6nb1
=> Full dependency perl>=5.0: found perl-5.40.0nb1
===> Overriding tools for quilt-0.66nb4
===> Extracting for quilt-0.66nb4
===> Patching for quilt-0.66nb4
=> Applying pkgsrc patches for quilt-0.66nb4
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/quilt/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/quilt/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.2 2013/12/30 04:21:58 ryoon Exp $
|
|--- Makefile.in.orig	2013-12-08 09:40:42.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 283 (offset 8 lines).
done
===> Creating toolchain wrappers for quilt-0.66nb4
===> Configuring for quilt-0.66nb4
=> Fixing path to configuration file.
WARNING: [subst.mk:etc] Nothing changed in "doc/Makefile".
WARNING: [subst.mk:etc] Nothing changed in "doc/README.EMACS".
WARNING: [subst.mk:etc] Nothing changed in "doc/README.in".
WARNING: [subst.mk:etc] Nothing changed in "doc/main.tex".
WARNING: [subst.mk:etc] Ignoring non-text file "doc/quilt.pdf".
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
=> Replacing conf-bash interpreter in *.in */*.in */*/*.in.
INFO: [replace-interpreter] Nothing changed in Makefile.in.
INFO: [replace-interpreter] Nothing changed in quilt.spec.in.
INFO: [replace-interpreter] Nothing changed in bin/guards.in.
INFO: [replace-interpreter] Nothing changed in compat/date.in.
INFO: [replace-interpreter] Nothing changed in compat/getopt.in.
INFO: [replace-interpreter] Nothing changed in doc/README.in.
INFO: [replace-interpreter] Nothing changed in doc/quilt.1.in.
INFO: [replace-interpreter] Nothing changed in quilt/scripts/dependency-graph.in.
INFO: [replace-interpreter] Nothing changed in quilt/scripts/edmail.in.
INFO: [replace-interpreter] Nothing changed in quilt/scripts/patchfns.in.
INFO: [replace-interpreter] Nothing changed in quilt/scripts/remove-trailing-ws.in.
=> Checking for portability problems in extracted files
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether #! works in shell scripts... yes
checking for bash... /home/pbulk/build/devel/quilt/work/.tools/bin/bash
checking whether /home/pbulk/build/devel/quilt/work/.tools/bin/bash quoting works... yes
checking for cp... /opt/pkg/bin/gcp
checking for date... /opt/pkg/bin/gdate
checking whether /opt/pkg/bin/gdate --rfc-822 works... yes
checking for perl... /opt/pkg/bin/perl
checking for grep... (cached) /usr/xpg4/bin/grep
checking whether /usr/xpg4/bin/grep -q works... yes
checking whether /usr/xpg4/bin/grep understands (foo|bar)... no
configure: error: 
Sorry, you have a version of grep which doesn't understand constructs
of the form (foo|bar).  quilt needs it.  If you have access to
a version of grep which does understand such constructs, you can supply
its path with the '--with-grep=' option.

*** Error code 1

Stop.
bmake[1]: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/quilt
*** Error code 1

Stop.
bmake: stopped making "configure" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/quilt