+ 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/wmbattery-2.54nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/wmbattery-2.54nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for wmbattery-2.54.tar.gz
=> Checksum SHA512 OK for wmbattery-2.54.tar.gz
===> Installing dependencies for wmbattery-2.54nb2
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.78.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency automake>=1.9: found automake-1.16.5nb3
=> Tool dependency autoconf>=2.58: found autoconf-2.72
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1
=> 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.15.2nb3: found xcb-proto-1.16.0nb1
=> Full dependency libX11>=1.1: found libX11-1.8.7
=> Full dependency libXext>=0.99.0: found libXext-1.3.6
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.17
=> Full dependency upower>=0.99.13: found upower-0.99.13nb1
===> Overriding tools for wmbattery-2.54nb2
===> Extracting for wmbattery-2.54nb2
===> Patching for wmbattery-2.54nb2
=> Applying pkgsrc patches for wmbattery-2.54nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/wmbattery/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/wmbattery/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.1 2020/09/10 11:26:01 nia Exp $
|
|Adds checks for USE_ENVSYS provided by configure.ac.
|
|--- Makefile.in.orig	2020-09-01 05:47:00.995267854 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 21.
Hunk #2 succeeded at 81.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/wmbattery/patches/patch-configure.ac
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/wmbattery/patches/patch-configure.ac
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure.ac,v 1.1 2020/09/10 11:26:01 nia Exp $
|
|Allows enabling envsys support.
|
|--- configure.ac.orig	2020-09-01 05:47:18.004496746 +0000
|+++ configure.ac
--------------------------
Patching file configure.ac using Plan A...
Hunk #1 succeeded at 39.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/wmbattery/patches/patch-wmbattery.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/wmbattery/patches/patch-wmbattery.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-wmbattery.c,v 1.1 2020/09/10 11:26:01 nia Exp $
|
|Adds support for envsys (see ../files/envsys.c).
|
|--- wmbattery.c.orig	2020-09-01 05:47:33.306716070 +0000
|+++ wmbattery.c
--------------------------
Patching file wmbattery.c using Plan A...
Hunk #1 succeeded at 49.
Hunk #2 succeeded at 81.
Hunk #3 succeeded at 725.
Hunk #4 succeeded at 796.
Hunk #5 succeeded at 838.
done
===> Creating toolchain wrappers for wmbattery-2.54nb2
===> Configuring for wmbattery-2.54nb2
/bin/cp  /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/wmbattery/files/envsys.c  /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/wmbattery/files/envsys.h  /home/pbulk/build/sysutils/wmbattery/work/wmbattery-2.54
cd /home/pbulk/build/sysutils/wmbattery/work/wmbattery-2.54 && autoreconf -fi
configure.ac:3: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:3: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:3: the top level
configure.ac:51: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:51: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:51: the top level
configure.ac:62: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete.
configure.ac:62: You should run autoupdate.
./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from...
configure.ac:62: the top level
configure.ac:66: warning: AC_OUTPUT should be used without arguments.
configure.ac:66: 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
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking for /dev/apm... no
checking for x86_64-sun-solaris2.11-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers 
checking pkg-config is at least version 0.9.0... yes
checking for x11... yes
checking for xext... yes
checking for xpm... yes
checking for apm_read in -lapm... no
checking for upower-glib... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep
checking for egrep... (cached) /usr/xpg4/bin/grep -E
checking for getopt.h... yes
checking for machine/apm_bios.h... no
checking for i386/apmvar.h... no
checking for an ANSI C-conforming const... yes
checking for vprintf... yes
checking for strdup... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: WARNING: unrecognized options: --with-libiconv-prefix