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

	emacs-w3m-mew

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

	PKG_OPTIONS.emacs-w3m (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
emacs-w3m-1.4.632.20210106.2144nb1.  Their current value is shown below:

        * EMACS_TYPE = emacs28
        * GAMEDATAMODE = 664
        * VARBASE = /var/opt/pkg

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

        * EMACS_BIN = /opt/pkg/bin/emacs
        * EMACS_ETCPREFIX = /opt/pkg/share
        * EMACS_FLAVOR = emacs
        * EMACS_INFOPREFIX = /opt/pkg/info
        * EMACS_LISPPREFIX = /opt/pkg/share/emacs/site-lisp
        * EMACS_PKGNAME_PREFIX (defined, but empty)
        * EMACS_VERSION_MAJOR = 28
        * EMACS_VERSION_MICRO (defined, but empty)
        * EMACS_VERSION_MINOR = 2

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 autoconf>=2.50: found autoconf-2.72
=> Tool dependency gtexinfo>=3.12: found gtexinfo-7.1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency w3m{,-img}>=0.5.2nb3: found w3m-0.5.3.0.20230121nb3
=> Full dependency emacs28>=28.1<29: found emacs28-28.2nb15
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency apel>=10: found apel-10.8.0.20201107nb1
=> Full dependency flim>=1.14: found flim-1.14.9nb6
=> Full dependency semi>=1.14: found semi-1.14.6nb8
===> Overriding tools for emacs-w3m-1.4.632.20210106.2144nb1
===> Extracting for emacs-w3m-1.4.632.20210106.2144nb1
===> Patching for emacs-w3m-1.4.632.20210106.2144nb1
=> Applying pkgsrc patches for emacs-w3m-1.4.632.20210106.2144nb1
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/www/emacs-w3m-snapshot/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/www/emacs-w3m-snapshot/patches/patch-Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in,v 1.3 2019/10/21 23:47:07 mef Exp $
|
|Compile mew-shimbun.el and mew-w3m.el when
|emacs-w3m-mew option is set.
|
|--- Makefile.in.orig	2019-10-22 08:10:29.179504546 +0900
|+++ Makefile.in	2019-10-22 08:10:55.347577083 +0900
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 35.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/www/emacs-w3m-snapshot/patches/patch-w3m.el
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/www/emacs-w3m-snapshot/patches/patch-w3m.el
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-w3m.el,v 1.2 2013/03/04 19:12:23 hiramatsu Exp $
|
|Use an absolute path in invoking w3m.
|
|--- w3m.el.orig	2013-02-25 15:15:04.000000000 +0900
|+++ w3m.el	2013-02-25 15:16:14.000000000 +0900
--------------------------
Patching file w3m.el using Plan A...
Hunk #1 succeeded at 316 (offset 57 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/www/emacs-w3m-snapshot/patches/patch-w3mhack.el
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/www/emacs-w3m-snapshot/patches/patch-w3mhack.el
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-w3mhack.el,v 1.4 2021/02/01 11:19:16 mef Exp $
|
|CF-SX2# cd /tmp/www/emacs-w3m-snapshot/work/emacs-w3m-emacs-w3m-c9cdb7e/
|
|CF-SX2# emacs -batch -f batch-byte-compile  mime-w3m.el
|In toplevel form:
|mime-w3m.el:37:1:Error: Cannot open load file: No such file or directory, mime-view
|mime-w3m.el:38:1:Error: Cannot open load file: No such file or directory, w3m
|
|
|--- emacs-w3m-emacs-w3m-c9cdb7e/w3mhack.el.orig	2019-09-20 20:16:36.000000000 +0900
|+++ w3mhack.el	2019-10-30 21:16:09.444149861 +0900
--------------------------
Patching file w3mhack.el using Plan A...
Hunk #1 succeeded at 256.
done
===> Creating toolchain wrappers for emacs-w3m-1.4.632.20210106.2144nb1
===> Configuring for emacs-w3m-1.4.632.20210106.2144nb1
=> Fixing paths.
cd /home/pbulk/build/www/emacs-w3m-snapshot/work/emacs-w3m-emacs-w3m-f29aada && autoconf
configure.in:2: warning: The macro 'AC_SET_MAKE' is obsolete.
configure.in:2: You should run autoupdate.
./lib/autoconf/oldnames.m4:72: AC_SET_MAKE is expanded from...
configure.in:2: the top level
configure.in:10: warning: The macro 'AC_FD_CC' is obsolete.
configure.in:10: You should run autoupdate.
./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
aclocal.m4:6: AC_EMACS_LISP is expanded from...
aclocal.m4:35: AC_PATH_EMACS is expanded from...
configure.in:10: the top level
configure.in:11: warning: The macro 'AC_FD_CC' is obsolete.
configure.in:11: You should run autoupdate.
./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
aclocal.m4:6: AC_EMACS_LISP is expanded from...
aclocal.m4:81: AC_PATH_LISPDIR is expanded from...
configure.in:11: the top level
configure.in:12: warning: The macro 'AC_FD_CC' is obsolete.
configure.in:12: You should run autoupdate.
./lib/autoconf/general.m4:399: AC_FD_CC is expanded from...
lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
aclocal.m4:6: AC_EMACS_LISP is expanded from...
aclocal.m4:116: AC_PATH_ICONDIR is expanded from...
configure.in:12: the top level
configure.in:15: warning: AC_OUTPUT should be used without arguments.
configure.in:15: You should run autoupdate.
=> 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
=> Checking for portability problems in extracted files
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking for makeinfo... /home/pbulk/build/www/emacs-w3m-snapshot/work/.tools/bin/makeinfo
checking if /home/pbulk/build/www/emacs-w3m-snapshot/work/.tools/bin/makeinfo version >= 6.3... ok (7.1)
checking for texi2pdf... texi2pdf
checking if texi2pdf version >= 6.3... ok (7.1)
checking for egrep... /usr/xpg4/bin/grep -E
checking for cygpath... no
checking for emacs... /opt/pkg/bin/emacs
checking what a flavor does /opt/pkg/bin/emacs have... Emacs 28.2
checking prefix for /opt/pkg/bin/emacs... /opt/pkg
checking where lisp files should go... $(prefix)/share/emacs/site-lisp/w3m
checking where icon files should go... $(prefix)/share/emacs/28.2/etc/images/w3m
./configure: line 2587: /usr/xpg4/bin/grep -E: No such file or directory
configure: error: Process couldn't proceed.  See the above messages.
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/emacs-w3m-snapshot
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/emacs-w3m-snapshot