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

	gtk

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

	PKG_OPTIONS.xboard (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
xboard-4.9.1nb26.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * XAW_TYPE = standard

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

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

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
`/usr/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.82.2
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gtexinfo>=3.12: found gtexinfo-7.1.1nb1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.3.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency gnuchess-[0-9]*: found gnuchess-6.2.9
=> Full dependency alsa-utils-[0-9]*: found alsa-utils-1.2.10nb1
=> Full dependency perl>=5.0: found perl-5.40.0nb1
=> Full dependency cairo>=1.18.0nb2: found cairo-1.18.2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency libXaw>=1.0.5: found libXaw-1.0.16
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.17
=> Full dependency librsvg>=2.58.1nb3: found librsvg-2.58.1nb3
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> Full dependency brotli>=1.0.1: found brotli-1.1.0
=> Full dependency bzip2>=1.0.1: found bzip2-1.0.8
=> Full dependency expat>=1.95.7: found expat-2.6.3
=> Full dependency fontconfig>=2.11.91: found fontconfig-2.15.0
=> Full dependency freetype2>=2.13.0: found freetype2-2.13.3
=> Full dependency fribidi>=0.19.1: found fribidi-1.0.16
=> Full dependency gdk-pixbuf2>=2.22.0: found gdk-pixbuf2-2.42.12
=> Full dependency glib2>=2.4.0: found glib2-2.82.2
=> Full dependency graphite2>=1.2: found graphite2-1.3.14nb3
=> Full dependency harfbuzz>=2.1.1: found harfbuzz-10.1.0
=> Full dependency jbigkit>=2.0: found jbigkit-2.1nb1
=> Full dependency jpeg>=8nb1: found jpeg-9f
=> Full dependency libICE>=0.99.1: found libICE-1.1.2
=> Full dependency libSM>=0.99.2: found libSM-1.2.5
=> Full dependency libX11>=1.1: found libX11-1.8.10
=> Full dependency libXau>=1.0: found libXau-1.0.12
=> Full dependency libXdmcp>=0.99: found libXdmcp-1.1.5
=> Full dependency libXext>=0.99.0: found libXext-1.3.6
=> Full dependency libXft>=2.1.10: found libXft-2.3.8nb1
=> Full dependency libXmu>=1.0.0: found libXmu-1.2.1
=> Full dependency libXrender>=0.9.2: found libXrender-0.9.12
=> Full dependency libXt>=1.0.0: found libXt-1.3.1
=> Full dependency libffi>=1.20: found libffi-3.4.6
=> Full dependency libxcb>=1.6: found libxcb-1.17.0
=> Full dependency lzo>=2.01: found lzo-2.10
=> Full dependency pango>=1.6.0: found pango-1.54.0
=> Full dependency pcre2>=10.21: found pcre2-10.44
=> Full dependency pixman>=0.40.0: found pixman-0.44.2
=> Full dependency png>=1.2.4: found png-1.6.44
=> Full dependency shared-mime-info>=0.15: found shared-mime-info-2.4nb4
=> Full dependency tiff>=3.6.1: found tiff-4.7.0
=> Full dependency xz>=5.0.0: found xz-5.6.3
=> Full dependency zlib>=1.1.4: found zlib-1.3.1
===> Overriding tools for xboard-4.9.1nb26
===> Extracting for xboard-4.9.1nb26
===> Patching for xboard-4.9.1nb26
=> Applying pkgsrc patches for xboard-4.9.1nb26
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/xboard/patches/patch-gettext.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/xboard/patches/patch-gettext.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gettext.h,v 1.1 2016/09/21 21:45:05 kamil Exp $
|
|Address conflicts of local gettext.h with /usr/include/libintl.h on
|NetBSD-7.99.36. Undefine system symbols and allow package's specific ones.
|
|--- gettext.h.orig	2014-10-18 05:24:43.000000000 +0000
|+++ gettext.h
--------------------------
Patching file gettext.h using Plan A...
Hunk #1 succeeded at 186.
Hunk #2 succeeded at 204.
Hunk #3 succeeded at 242.
Hunk #4 succeeded at 263.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/xboard/patches/patch-Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/games/xboard/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 2020/01/13 15:46:26 hauke Exp $
|
|(1)
|To avoid "ld: cannot find -ldl", which is not necessary for *BSD
|(2)
|Let pkgsrc framework deal with config file.
|Note we still need to provide configure with PKG_SYSCONFDIR, though.
|
|--- Makefile.in.orig	2016-05-15 17:18:04.000000000 +0000
|+++ Makefile.in
--------------------------
Patching file Makefile.in using Plan A...
Hunk #1 succeeded at 542.
Hunk #2 succeeded at 561.
Hunk #3 succeeded at 692.
done
===> Creating toolchain wrappers for xboard-4.9.1nb26
===> Configuring for xboard-4.9.1nb26
=> Setting gnuchess as default chess engine.
=> 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
=> Replacing Perl interpreter in texi2man.
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /home/pbulk/build/games/xboard/work/.tools/bin/mkdir -p
checking for gawk... /bin/gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-redhat-linux-gcc... cc
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 we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cc -E
checking for library containing strerror... none required
checking whether NLS is requested... yes
checking for msgfmt... /bin/msgfmt
checking for gmsgfmt... /bin/msgfmt
checking for xgettext... /bin/xgettext
checking for msgmerge... /bin/msgmerge
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for ld used by GCC... /home/pbulk/build/games/xboard/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/games/xboard/work/.cwrapper/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... (cached) yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for remsh... no
checking for rsh... no
checking for makeinfo... makeinfo
checking for nroff... nroff -man
checking for awk... /home/pbulk/build/games/xboard/work/.tools/bin/awk
checking for perl... /usr/pkg/bin/perl
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking return type of signal handlers... void
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 stropts.h usability... no
checking stropts.h presence... no
checking for stropts.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for _getpty... no
checking for grantpt... yes
checking for setitimer... yes
checking for usleep... yes
checking for gettimeofday... yes
checking for random... yes
checking for gethostname... yes
checking for setlocale... yes
checking for getpseudotty in -lseq... no
checking whether compiler understands -Wall -Wno-parentheses... yes
checking for pkg-config... pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CAIRO... yes
checking for xdg-mime... no
checking for xdg-desktop-menu... no
checking for xdg-icon-resource... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking X11/Xaw/Dialog.h usability... yes
checking X11/Xaw/Dialog.h presence... yes
checking for X11/Xaw/Dialog.h... yes
checking whether ptys or pipes should be used... pipes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cmail
config.status: creating po/Makefile.in
config.status: creating osxapp/Info.plist
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing test-stamp-h commands
config.status: executing chmod-cmail commands

 Configurations summary:

        prefix:          /usr/pkg       
        datarootdir:     ${prefix}/share  
        datadir:         ${datarootdir}      
        gamedatadir:     $(datadir)/games/xboard  
        desktopdir:      $(datadir)/applications   
        mimedir:         $(datadir)/mime/packages      
        iconsdir:        $(datadir)/icons/hicolor/48x48/apps     
        svgiconsdir:     $(datadir)/icons/hicolor/scalable/apps  
        infodir:         /usr/pkg/info   (info files will go here)
        sysconfdir:      /usr/pkg/etc   (xboard.conf will go here)

        update mimedb:   yes

        NLS support:     yes

        GTK:             no
        Xaw3d:           no
        Xaw:             yes

        ptys:            pipes
        zippy:           yes
        sigint:          yes