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

	canna debug ldap x11 xface

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.xemacs (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
xemacs-21.4.24nb22.  Their current value is shown below:

        * CURSES_DEFAULT = ncurses
        * JPEG_DEFAULT = jpeg
        * XAW_TYPE = standard

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

        * CURSES_TYPE = ncurses
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * TERMCAP_TYPE = curses

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 gtexinfo>=3.12: found gtexinfo-7.1
=> Tool dependency perl>=5.0: found perl-5.38.2
=> 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.17.0nb1
=> Build dependency xbitmaps>=1.0: found xbitmaps-1.1.3
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency gdbm>=1.18.1: found gdbm-1.23
=> Full dependency ncurses>=6.5: found ncurses-6.5
=> Full dependency jpeg>=9: found jpeg-9e
=> Full dependency png>=1.6.0nb1: found png-1.6.43
=> Full dependency tiff>=4.6.0: found tiff-4.6.0nb3
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.17
=> Full dependency libXaw>=1.0.5: found libXaw-1.0.16
===> Overriding tools for xemacs-21.4.24nb22
===> Extracting for xemacs-21.4.24nb22
cp /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/files/xemacs.desktop /home/pbulk/build/editors/xemacs/work/xemacs-21.4.24/etc/
cp /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/files/dragonfly.h /home/pbulk/build/editors/xemacs/work/xemacs-21.4.24/src/s/
===> Patching for xemacs-21.4.24nb22
=> Applying pkgsrc patches for xemacs-21.4.24nb22
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-Makefile.in.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-Makefile.in.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-Makefile.in.in,v 1.4 2021/03/28 10:36:33 hauke Exp $
|
|Avoid picking up local config when checking features
|
|Install {c,e}tags man pages with xemacs prefix
|
|Make TAR settable, to work around shortcomings in base tar(1)
|
|--- Makefile.in.in.orig	2015-03-25 11:25:33.000000000 +0000
|+++ Makefile.in.in
--------------------------
Patching file Makefile.in.in using Plan A...
Hunk #1 succeeded at 65.
Hunk #2 succeeded at 407.
Hunk #3 succeeded at 495.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.4 2019/11/27 14:35:16 hauke Exp $
|
|On progressive Linuxen (Arch here), CPPFLAGS pre-filled with
|-D_FORTIFY_SOURCE=2 -Werror will make configure tests fail on
|pre-processor warnings. Make sure we set CPP to something that works.
|
|This patch should go upstream into configure.in, but it is really the
|autoconf AC_PROG_CPP macro definition that needs to be amended.
|
|For Solarish, select _XOPEN_SOURCE version depending on __STDC_VERSION__,
|see <https://gist.github.com/jperkin/b08f9108daf8d0ac695067d71f882a9d>
|
|--- configure.orig	2015-03-25 11:25:33.000000000 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 2362.
Hunk #2 succeeded at 2388.
Hunk #3 succeeded at 2478.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-lib-src_Makefile.in.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-lib-src_Makefile.in.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lib-src_Makefile.in.in,v 1.2 2016/04/13 13:52:27 hauke Exp $
|
|Install selected files, using bsd.pkg.mk functionality
|
|--- lib-src/Makefile.in.in.orig	2015-01-29 15:04:29.000000000 +0000
|+++ lib-src/Makefile.in.in
--------------------------
Patching file lib-src/Makefile.in.in using Plan A...
Hunk #1 succeeded at 237.
Hunk #2 succeeded at 248.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-lisp_gui.el
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-lisp_gui.el
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lisp_gui.el,v 1.1 2017/01/24 20:31:14 hauke Exp $
|
|Do not call xemacs-package functions from standalone xemacs
|without checking they are aveilable.
|
|--- lisp/gui.el.orig	2015-03-25 11:25:33.000000000 +0000
|+++ lisp/gui.el
--------------------------
Patching file lisp/gui.el using Plan A...
Hunk #1 succeeded at 117.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-lwlib_Makefile.in.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-lwlib_Makefile.in.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-lwlib_Makefile.in.in,v 1.2 2016/04/13 13:52:27 hauke Exp $
|
|SunOS 5 bmake / gmake fixes
|
|--- lwlib/Makefile.in.in.orig	2015-01-29 15:04:29.000000000 +0000
|+++ lwlib/Makefile.in.in
--------------------------
Patching file lwlib/Makefile.in.in using Plan A...
Hunk #1 succeeded at 59.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-man_lispref_debugging.texi
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-man_lispref_debugging.texi
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-man_lispref_debugging.texi,v 1.1 2016/04/13 13:52:27 hauke Exp $
|
|Fix makeinfo 4 build errors.
|
|--- man/lispref/debugging.texi.orig	2015-03-25 11:25:33.000000000 +0000
|+++ man/lispref/debugging.texi
--------------------------
Patching file man/lispref/debugging.texi using Plan A...
Hunk #1 succeeded at 725.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-man_lispref_intro.texi
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-man_lispref_intro.texi
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-man_lispref_intro.texi,v 1.1 2016/04/13 13:52:27 hauke Exp $
|
|Fix makeinfo 4 build errors.
|
|--- man/lispref/intro.texi.orig	2015-03-25 11:25:33.000000000 +0000
|+++ man/lispref/intro.texi
--------------------------
Patching file man/lispref/intro.texi using Plan A...
Hunk #1 succeeded at 4.
Hunk #2 succeeded at 400.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-man_lispref_ldap.texi
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-man_lispref_ldap.texi
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-man_lispref_ldap.texi,v 1.1 2019/10/11 14:42:48 hauke Exp $
|
|GC non-ascii gremlins that devel/gtexinfo v6.7 objects to.
|
|--- man/lispref/ldap.texi.orig	2015-03-25 11:25:33.000000000 +0000
|+++ man/lispref/ldap.texi
--------------------------
Patching file man/lispref/ldap.texi using Plan A...
Hunk #1 succeeded at 105.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-man_xemacs-faq.texi
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-man_xemacs-faq.texi
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-man_xemacs-faq.texi,v 1.1 2019/10/11 14:42:48 hauke Exp $
|
|GC non-ascii gremlins that devel/gtexinfo v6.7 objects to.
|
|--- man/xemacs-faq.texi.orig	2015-03-25 11:25:33.000000000 +0000
|+++ man/xemacs-faq.texi
--------------------------
Patching file man/xemacs-faq.texi using Plan A...
Hunk #1 succeeded at 2831.
Hunk #2 succeeded at 2877.
Hunk #3 succeeded at 4800.
Hunk #4 succeeded at 4826.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-man_xemacs_custom.texi
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-man_xemacs_custom.texi
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-man_xemacs_custom.texi,v 1.1 2016/04/13 13:52:27 hauke Exp $
|
|Fix makeinfo 4 build errors.
|
|--- man/xemacs/custom.texi.orig	2015-03-25 11:25:33.000000000 +0000
|+++ man/xemacs/custom.texi
--------------------------
Patching file man/xemacs/custom.texi using Plan A...
Hunk #1 succeeded at 35.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_Makefile.in.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_Makefile.in.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_Makefile.in.in,v 1.2 2016/04/13 13:52:27 hauke Exp $
|
|Directly substitute the local value of etcdir (``../etc/'')
|into src/Makefile.in.in.  This allows for overriding etcdir via
|INSTALL_MAKE_FLAGS at install-time so that destdir-style installation
|will work.
|
|liboss support
|
|SunOS 5 bmake / gmake fixes
|
|--- src/Makefile.in.in.orig	2015-01-29 15:04:29.000000000 +0000
|+++ src/Makefile.in.in
--------------------------
Patching file src/Makefile.in.in using Plan A...
Hunk #1 succeeded at 72.
Hunk #2 succeeded at 163.
Hunk #3 succeeded at 329.
Hunk #4 succeeded at 658.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_config.h.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_config.h.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_config.h.in,v 1.3 2016/04/13 13:52:27 hauke Exp $
|
|Always use static inline to fix build with C99 compilers.
|
|--- src/config.h.in.orig	2015-01-29 15:04:29.000000000 +0000
|+++ src/config.h.in
--------------------------
Patching file src/config.h.in using Plan A...
Hunk #1 succeeded at 853.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_emacs.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_emacs.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_emacs.c,v 1.1 2017/01/22 14:06:07 abs Exp $
|
|Fix build for non HPUX on HP PA platforms 
|
|--- src/emacs.c.orig	2015-03-25 11:25:33.000000000 +0000
|+++ src/emacs.c
--------------------------
Patching file src/emacs.c using Plan A...
Hunk #1 succeeded at 2368.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_lisp.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_lisp.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_lisp.h,v 1.5 2016/04/13 13:52:27 hauke Exp $
|
|Don't try to define max_align_t in C11 or C++11 mode.
|
|--- src/lisp.h.orig	2015-01-29 15:04:29.000000000 +0000
|+++ src/lisp.h
--------------------------
Patching file src/lisp.h using Plan A...
Hunk #1 succeeded at 195.
Hunk #2 succeeded at 203.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_process.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_process.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_process.c,v 1.1 2020/10/02 11:31:14 hauke Exp $
|
|Linux glibc 2.32+ has removed sys_siglist
|
|--- src/process.c.orig	2015-03-25 11:25:33.000000000 +0000
|+++ src/process.c
--------------------------
Patching file src/process.c using Plan A...
Hunk #1 succeeded at 1310.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_sound.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_sound.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_sound.c,v 1.1 2017/01/22 14:06:07 abs Exp $
|
|Fix build for non HPUX on HP PA platforms 
|
|--- src/sound.c.orig	2015-03-25 11:25:33.000000000 +0000
|+++ src/sound.c
--------------------------
Patching file src/sound.c using Plan A...
Hunk #1 succeeded at 653.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_unexelf.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_unexelf.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_unexelf.c,v 1.2 2016/04/13 13:52:27 hauke Exp $
|
|Build on NetBSD/alpha
|
|--- src/unexelf.c.orig	2015-01-29 15:04:29.000000000 +0000
|+++ src/unexelf.c
--------------------------
Patching file src/unexelf.c using Plan A...
Hunk #1 succeeded at 494.
Hunk #2 succeeded at 970.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_unexfreebsd.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs/../../editors/xemacs/patches/patch-src_unexfreebsd.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_unexfreebsd.c,v 1.2 2016/04/13 13:52:27 hauke Exp $
|
|Build on NetBSD/arm*
|
|--- src/unexfreebsd.c.orig	2015-01-29 15:04:29.000000000 +0000
|+++ src/unexfreebsd.c
--------------------------
Patching file src/unexfreebsd.c using Plan A...
Hunk #1 succeeded at 289.
done
===> Creating toolchain wrappers for xemacs-21.4.24nb22
===> Configuring for xemacs-21.4.24nb22
=> Fixing paths in XEmacs desktop file
=> Replacing sh interpreter in etc/check_cygwin_setup.sh.
=> Checking for portability problems in extracted files
checking whether ln -s works... yes
checking host system type... x86_64-sun-solaris2.11
XEmacs has no builtin knowledge of `x86_64' machines.
Using configure-time autodetection only.
checking for gcc... gcc
checking whether the C compiler (gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dunix -no-pie -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/ncurses -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -lintl -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64) works... yes
checking whether the C compiler (gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Dunix -no-pie -I/opt/pkg/include -I/usr/include -I/opt/pkg/include/ncurses -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -lintl -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for GNU libc... no
Extracting information from the machine- and system-dependent headers...
conftest.c:18: warning: "_XOPEN_SOURCE" redefined
   18 | #define _XOPEN_SOURCE 600
      | 
<command-line>: note: this is the location of the previous definition
checking for buggy gcc versions... no
checking for dynodump... no
checking for runtime libraries flag... "-R"
checking for malloc_set_state... no
checking whether __after_morecore_hook exists... no
checking for ranlib... :
checking for a BSD compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking for bison... no
checking for byacc... no
checking for a.out.h... no
checking for elf.h... no
checking for cygwin/version.h... no
checking for fcntl.h... no
checking for inttypes.h... no
checking for libgen.h... no
checking for locale.h... no
checking for mach/mach.h... no
checking for sys/param.h... no
checking for sys/pstat.h... no
checking for sys/time.h... no
checking for sys/timeb.h... no
checking for sys/un.h... no
checking for ulimit.h... no
checking for unistd.h... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for ANSI C header files... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys_siglist declaration in signal.h or unistd.h... no
checking for utime... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for ssize_t... yes
checking for socklen_t... yes
checking for struct timeval... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... no
checking for tzname... yes
checking for working const... yes
checking whether make sets ${MAKE}... yes
checking whether byte ordering is bigendian... no
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of void *... 8
checking for long file names... yes
checking for sin... no
checking for sin in -lm... yes
checking type of mail spool file locking
checking for lockf... yes
checking for flock... yes
checking whether the -xildoff compiler flag is required... no
checking for "-z ignore" linker flag... no
checking for specified window system
checking for X... no
configure: warning: --with-menubars ignored:  Not valid without window system support
configure: warning: --with-scrollbars ignored:  Not valid without window system support
configure: warning: --with-toolbars ignored:  Not valid without window system support
configure: warning: --with-dialogs ignored:  Not valid without window system support
configure: warning: --with-xim ignored:  Not valid without X support
  Using no window system.
checking for WM_COMMAND option
configure: warning: No CDE without generic Drag'n'Drop support
configure: warning: No OffiX without generic Drag'n'Drop support
checking for LDAP
Error: Could not find a suitable Athena library to build with.
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/editors/xemacs