+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/eterm-0.9.6nb5/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/eterm-0.9.6nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for Eterm-0.9.6.tar.gz
=> Checksum SHA512 OK for Eterm-0.9.6.tar.gz
=> Checksum BLAKE2s OK for Eterm-bg-0.9.5.tar.gz
=> Checksum SHA512 OK for Eterm-bg-0.9.5.tar.gz
===> Installing dependencies for eterm-0.9.6nb5
==========================================================================
The supported build options for eterm are:

	xim

The currently selected options are:

	xim

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

	PKG_OPTIONS.eterm (not defined)

==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1
=> Build dependency libiconv>=1.9.1nb4: found libiconv-1.14nb3
=> Build dependency gcc12>=12.2.0: found gcc12-12.2.0
=> Full dependency perl>=5.0: found perl-5.36.0
=> Full dependency libast>=0.7nb12: found libast-0.7nb12
=> Full dependency imlib2>=1.4.5nb7: found imlib2-1.9.1
=> Full dependency libXext>=0.99.0: found libXext-1.3.5
=> Full dependency libICE>=0.99.1: found libICE-1.1.1
=> Full dependency libXres>=1.0.0: found libXres-1.2.2
=> Full dependency libXt>=1.0.0: found libXt-1.2.1
=> Full dependency gcc12-libs>=12.2.0: found gcc12-libs-12.2.0
===> Overriding tools for eterm-0.9.6nb5
===> Extracting for eterm-0.9.6nb5
===> Patching for eterm-0.9.6nb5
=> Applying pkgsrc patches for eterm-0.9.6nb5
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.6 2006/11/25 14:01:18 sketch Exp $
|
|--- bg/Makefile.in.orig	2006-11-25 09:47:08.000000000 +0000
|+++ bg/Makefile.in	2006-11-25 09:47:22.000000000 +0000
--------------------------
Patching file bg/Makefile.in using Plan A...
Hunk #1 succeeded at 372 (offset 3 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-ab
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-ab
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.7 2006/11/25 14:01:18 sketch Exp $
|
|--- configure.orig	2006-11-25 09:48:20.000000000 +0000
|+++ configure	2006-11-25 09:49:51.000000000 +0000
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 26154 (offset -520 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-ai
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-ai
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-ai,v 1.4 2019/09/01 12:08:18 nia Exp $
|
|--- doc/Makefile.in.orig	2011-03-16 06:10:30.000000000 +0000
|+++ doc/Makefile.in
--------------------------
Patching file doc/Makefile.in using Plan A...
Hunk #1 succeeded at 417.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-src_command.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-src_command.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_command.c,v 1.3 2020/04/20 00:47:34 joerg Exp $
|
|--- src/command.c.orig	2020-04-19 17:56:09.198252388 +0000
|+++ src/command.c
--------------------------
Patching file src/command.c using Plan A...
Hunk #1 succeeded at 1388.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-src_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-src_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.in,v 1.1 2013/06/19 12:13:39 jperkin Exp $
|
|Unconditionally install the gdb script.
|
|--- src/Makefile.in.orig	2008-05-14 22:54:48.000000000 +0000
|+++ src/Makefile.in
--------------------------
Patching file src/Makefile.in using Plan A...
No such line 617 in input file, ignoring
Hunk #1 succeeded at 608 (offset -10 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-src_pixmap.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-src_pixmap.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_pixmap.c,v 1.1 2022/07/29 06:05:49 rin Exp $
|
|imlib_strerror() has been introduced to imlib2; mangle local version.
|
|--- src/pixmap.c.orig	2022-07-29 02:12:11.471134723 +0900
|+++ src/pixmap.c	2022-07-29 02:12:47.891883811 +0900
--------------------------
Patching file src/pixmap.c using Plan A...
Hunk #1 succeeded at 172.
Hunk #2 succeeded at 1447.
Hunk #3 succeeded at 2178.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-src_pixmap.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-src_pixmap.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_pixmap.h,v 1.1 2022/07/29 06:05:49 rin Exp $
|
|imlib_strerror() has been introduced to imlib2; mangle local version.
|
|--- src/pixmap.h.orig	2022-07-29 04:41:21.385340371 +0900
|+++ src/pixmap.h	2022-07-29 04:41:31.374499903 +0900
--------------------------
Patching file src/pixmap.h using Plan A...
Hunk #1 succeeded at 221.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-src_screen.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-src_screen.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_screen.c,v 1.1 2012/12/25 21:00:00 joerg Exp $
|
|--- src/screen.c.orig	2012-12-25 16:03:55.000000000 +0000
|+++ src/screen.c
--------------------------
Patching file src/screen.c using Plan A...
Hunk #1 succeeded at 101 (offset -3 lines).
Hunk #2 succeeded at 114 (offset -3 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-src_term.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/x11/eterm/patches/patch-src_term.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_term.c,v 1.1 2021/09/19 08:49:01 nia Exp $
|
|Add patch from rxvt-unicode to fix CVE-2021-33477.
|https://sources.debian.org/patches/eterm/0.9.6-6.1/CVE-2021-33477.patch/
|
|--- src/term.c.orig	2011-03-16 05:16:59.000000000 +0000
|+++ src/term.c
--------------------------
Patching file src/term.c using Plan A...
Hunk #1 succeeded at 1176.
Hunk #2 succeeded at 1186.
done
===> Creating toolchain wrappers for eterm-0.9.6nb5
===> Configuring for eterm-0.9.6nb5
=> 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 for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking for preferred libtoolize... libtoolize
checking for preferred aclocal... aclocal
checking for preferred autoconf... autoconf
checking for preferred autoheader... autoheader
checking for preferred automake... automake
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for x86_64-sun-solaris2.11-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for a sed that does not truncate output... /home/pbulk/build/x11/eterm/work/.tools/bin/sed
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for /bin/ld option to reload object files... -r
checking for BSD-compatible nm... /opt/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-sun-solaris2.11-g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for x86_64-sun-solaris2.11-g77... gfortran
checking whether we are using the GNU Fortran 77 compiler... no
checking whether gfortran accepts -g... no
checking the maximum length of command line arguments... 262144
checking command to parse /opt/local/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gfortran option to produce PIC... -fPIC
checking if gfortran PIC flag -fPIC works... no
checking if gfortran static flag -static works... no
checking if gfortran supports -c -o file.o... no
checking whether the gfortran linker (/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the fortran compiler,
PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile.
solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking for distribution root... /home/pbulk/build/x11/eterm/work/Eterm-0.9.6
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if malloc debugging is wanted... no
checking for sed... /home/pbulk/build/x11/eterm/work/.tools/bin/sed
checking for rm... /usr/bin/rm
checking for cp... /bin/cp
checking for chmod... /usr/bin/chmod
checking for tar... /usr/bin/gtar
checking for mkdir... /usr/bin/mkdir -p
checking for ctags... true
checking for ar... ar
checking for mv... /usr/bin/mv
checking for tic... tic
checking whether ln -s works... yes
checking for perl... /opt/local/bin/perl
checking for gawk... (cached) /usr/bin/nawk
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for X... libraries , headers 
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking sys/byteorder.h usability... yes
checking sys/byteorder.h presence... yes
checking for sys/byteorder.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking for unistd.h... (cached) yes
checking bsd/signal.h usability... no
checking bsd/signal.h presence... no
checking for bsd/signal.h... no
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking regexp.h usability... no
checking regexp.h presence... yes
configure: WARNING: regexp.h: present but cannot be compiled
configure: WARNING: regexp.h:     check for missing prerequisite headers?
configure: WARNING: regexp.h: see the Autoconf documentation
configure: WARNING: regexp.h:     section "Present But Cannot Be Compiled"
configure: WARNING: regexp.h: proceeding with the preprocessor's result
configure: WARNING: regexp.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for regexp.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking X11/X.h usability... yes
checking X11/X.h presence... yes
checking for X11/X.h... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Sunkeysym.h usability... yes
checking X11/Sunkeysym.h presence... yes
checking for X11/Sunkeysym.h... yes
checking X11/Xlocale.h usability... yes
checking X11/Xlocale.h presence... yes
checking for X11/Xlocale.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking return type of signal handlers... void
checking for atexit... yes
checking for _exit... yes
checking for unsetenv... yes
checking for setutent... yes
checking for seteuid... yes
checking for memmove... yes
checking for putenv... yes
checking for strsep... yes
checking for setresuid... no
checking for setresgid... no
checking for memmem... yes
checking for usleep... yes
checking for snprintf... yes
checking for strcasestr... yes
checking for strcasechr... no
checking for strcasepbrk... no
checking for strrev... no
checking for nl_langinfo... yes
checking whether snprintf ignores n... no, snprintf is ok
checking for pow in -lm... yes
checking for library containing login... no
checking for library containing logout... no
checking for library containing getpwuid... none required
checking for debugging level... 4
checking for posix_openpt... yes
checking for ptsname... yes
checking for grantpt... yes
checking for unlockpt... yes
checking for pty mechanism... SVR4 POSIX 
checking for pty group... root
checking for saved uids... yes
checking if strict ICCCM compliance should be enabled... no
checking for XOpenDisplay in -lX11... yes
checking for XextAddDisplay in -lXext... yes
checking for XShapeQueryExtension in -lXext... yes
checking if Pablo support is wanted... no
checking for Escreen support... yes
checking for Etwin support... no
checking for Escreen startup effects... no
checking if profiling macros should be included... no
checking for pixmap support... yes
checking for dlopen in -ldl... yes
checking for TT_Init_FreeType in -lttf... no
checking for imlib_create_image in -lImlib2... yes
checking for transparency support... yes
checking for MMX support... no (no MMX detected)
checking for SSE2 support... no (no SSE2 detected)
checking for libast-config... libast-config
checking for libast_set_program_name in -last... yes
checking for utmp support... no
checking for backspace key configuration... default
checking for delete key configuration... default
checking for home key configuration... default
checking for end key configuration... default
checking if mousewheel support should be enabled... yes
checking for automatic encoding... yes
checking for multi-charset support... ISO-10646
checking for XIM support... yes
checking for XRegisterIMInstantiateCallback in -lX11... yes
checking for X11/extensions/XRes.h... yes
checking for XResQueryExtension in -lXRes... yes
checking for Greek keyboard support... no
checking for dbx... no
checking for gdb... no
checking for pstack... /usr/bin/pstack
checking for U_STACK_TRACE in -lcl... no
checking for Linux 2.1 or higher... no
checking if we should enable name reporting escape sequences... no
checking for life_signs in -lKenny... no
  Oh my god, they killed Kenny!  You bastards!
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bg/Makefile
config.status: creating doc/Makefile
config.status: creating utils/Makefile
config.status: creating pix/Makefile
config.status: creating src/Makefile
config.status: creating themes/Makefile
config.status: creating config.h
config.status: executing depfiles commands
creating utils/kEsetroot
creating themes/Eterm/theme.cfg
creating themes/auto/theme.cfg
creating themes/Escreen/theme.cfg
creating themes/trans/theme.cfg

Eterm 0.9.6
Configuration:
--------------

  Source code location:       .
  Host System Type:           x86_64-sun-solaris2.11
  Preprocessor:               gcc -E -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/include -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/include 
  Compiler:                   gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/freetype2 -I/usr/include
  Linker:                     gcc -L/opt/local/lib -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -L/opt/local/lib -lresolv -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64  -lImlib2 -ldl -lImlib2 -lfreetype -lX11  -lSM -lICE -lpcre -ldl -lm  -lsocket  -lnsl -lXRes  -lSM -lICE -last -lXext -lX11 -lm  -lsocket  -lnsl
  Install path:               /opt/local

  See src/feature.h for further configuration information.

  Now type 'make' to build Eterm 0.9.6.

=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.