+ 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/qemacs-6.1.1b/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qemacs-6.1.1b/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for qemacs-6.1.1b-06b3d373bbcc52b51ccb438bf3cab38a49492ff0.tar.gz
=> Checksum SHA512 OK for qemacs-6.1.1b-06b3d373bbcc52b51ccb438bf3cab38a49492ff0.tar.gz
===> Installing dependencies for qemacs-6.1.1b
==========================================================================
The supported build options for qemacs are:

	x11

The currently selected options are:

	x11

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

	PKG_OPTIONS.qemacs (not defined)

==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> 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.16.0nb1
=> Full dependency libX11>=1.1: found libX11-1.8.9
=> Full dependency png>=1.6.0nb1: found png-1.6.43
===> Overriding tools for qemacs-6.1.1b
===> Extracting for qemacs-6.1.1b
===> Patching for qemacs-6.1.1b
=> Applying pkgsrc patches for qemacs-6.1.1b
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/qemacs/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/qemacs/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2023/11/19 13:00:26 bacon Exp $
|
|Added NetBSD support. The main reason for this is that it prevents
|DLLIBS from getting set to "-ldl" in the Makefile.
|
|--- configure.orig	2023-03-09 11:57:59.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 115.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/qemacs/patches/patch-cutils.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/qemacs/patches/patch-cutils.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-cutils.h,v 1.1 2023/11/19 13:00:26 bacon Exp $
|
|Remove unused functions. These cause a compiler error on NetBSD
|but don't have an issue on Darwin or Linux.
|
|--- cutils.h.orig	2023-03-09 11:57:59.000000000 +0000
|+++ cutils.h
--------------------------
Patching file cutils.h using Plan A...
Hunk #1 succeeded at 394.
Hunk #2 succeeded at 417.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/qemacs/patches/patch-tty.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/qemacs/patches/patch-tty.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-tty.c,v 1.1 2023/11/19 13:00:26 bacon Exp $
|
|Use fwrite on NetBSD as well.
|
|--- tty.c.orig	2023-03-09 11:57:59.000000000 +0000
|+++ tty.c
--------------------------
Patching file tty.c using Plan A...
Hunk #1 succeeded at 87.
done
===> Creating toolchain wrappers for qemacs-6.1.1b
===> Configuring for qemacs-6.1.1b
=> Checking for portability problems in extracted files
./configure: line 203: test: too many arguments
VERSION             6.1.1b
Install prefix      /opt/pkg
Shared data dir     /opt/pkg/share
Manpages dir        /opt/pkg/man
Source path         /home/pbulk/build/editors/qemacs/work/qemacs-06b3d373bbcc52b51ccb438bf3cab38a49492ff0
C compiler          gcc
  version           gcc (GCC) 13.2.0
  target_arch       x86
Tiny build          no
X11 support         yes
Xvideo support      no
XShm support        no
libpng support      yes
FFMPEG support      no
Graphical HTML      yes
Memory mapped files yes
Unlocked I/O        yes
Plugins support     yes
Bidir support       yes
All kmaps           yes
All modes           yes
Build doc files     yes

Creating config.mak and config.h