+ 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/xscreensaver-6.08nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xscreensaver-6.08nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
=> Checksum BLAKE2s OK for xscreensaver-6.08.tar.gz
=> Checksum SHA512 OK for xscreensaver-6.08.tar.gz
===> Installing dependencies for xscreensaver-6.08nb2
==========================================================================
The supported build options for xscreensaver are:

	pam

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

	PKG_OPTIONS.xscreensaver (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
xscreensaver-6.08nb2.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

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
`/opt/pkg/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.78.4
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency intltool>=0.40.0: found intltool-0.51.0nb7
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.22.4
=> 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 perl>=5.0: found perl-5.38.2
=> Full dependency gettext-lib>=0.22: found gettext-lib-0.22.4
=> Full dependency glib2>=2.76.4nb1: found glib2-2.78.4
=> Full dependency gdk-pixbuf2>=2.42.10nb4: found gdk-pixbuf2-2.42.10nb4
=> Full dependency png>=1.6.0nb1: found png-1.6.42
=> Full dependency jpeg>=9: found jpeg-9e
=> Full dependency gle>=3.1.0nb4: found gle-3.1.0nb4
=> Full dependency libXext>=1.1: found libXext-1.3.6
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.5.4
=> Full dependency libXxf86vm>=1.1.0: found libXxf86vm-1.1.5
=> Full dependency libXt>=1.0.0: found libXt-1.3.0nb1
=> Full dependency libxml2>=2.10.4nb3: found libxml2-2.12.4
=> Full dependency gtk3+>=3.24.38nb6: found gtk3+-3.24.41
=> Full dependency libXft>=2.3.8nb1: found libXft-2.3.8nb1
=> Full dependency libXinerama>=1.0.1: found libXinerama-1.1.5
=> Full dependency libXScrnSaver>=1.1.2: found libXScrnSaver-1.2.4
=> Full dependency libXpm>=3.5.4.2: found libXpm-3.5.17
===> Overriding tools for xscreensaver-6.08nb2
===> Extracting for xscreensaver-6.08nb2
===> Patching for xscreensaver-6.08nb2
=> Applying pkgsrc patches for xscreensaver-6.08nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xscreensaver/patches/patch-configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xscreensaver/patches/patch-configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-configure,v 1.1 2022/03/08 07:27:11 wiz Exp $
|
|configure script is overzealous.
|
|--- configure.orig	2022-02-27 21:30:07.732273168 +0000
|+++ configure
--------------------------
Patching file configure using Plan A...
Hunk #1 succeeded at 22370 (offset 1235 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xscreensaver/patches/patch-driver_xscreensaver-settings.desktop.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xscreensaver/patches/patch-driver_xscreensaver-settings.desktop.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-driver_xscreensaver-settings.desktop.in,v 1.1 2024/02/08 00:50:15 gutteridge Exp $
|
|Drop unnecessary shebang line.
|
|--- driver/xscreensaver-settings.desktop.in.orig	2023-08-02 19:16:05.536755617 +0000
|+++ driver/xscreensaver-settings.desktop.in
--------------------------
Patching file driver/xscreensaver-settings.desktop.in using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xscreensaver/patches/patch-driver_xscreensaver.desktop.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xscreensaver/patches/patch-driver_xscreensaver.desktop.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-driver_xscreensaver.desktop.in,v 1.1 2024/02/08 00:50:15 gutteridge Exp $
|
|Drop unnecessary shebang line.
|
|--- driver/xscreensaver.desktop.in.orig	2023-08-02 19:17:40.690400428 +0000
|+++ driver/xscreensaver.desktop.in
--------------------------
Patching file driver/xscreensaver.desktop.in using Plan A...
Hunk #1 succeeded at 1.
done
===> Creating toolchain wrappers for xscreensaver-6.08nb2
===> Configuring for xscreensaver-6.08nb2
=> 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 hacks/*.pl hacks/*/*.pl.
=> Fixing locale directory references.
INFO: [subst.mk:pkglocaledir] Nothing changed in "Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "hacks/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "hacks/fonts/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "hacks/glx/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "hacks/images/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "jwxyz/Makefile.in".
INFO: [subst.mk:pkglocaledir] Nothing changed in "utils/Makefile.in".
=> Checking for portability problems in extracted files
WARNING: [check-portability.awk] => Found $RANDOM:
WARNING: [check-portability.awk] configure:6946:       INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'

Explanation:
===========================================================================
The variable $RANDOM is not required for a POSIX-conforming shell, and
many implementations of /bin/sh do not support it. It should therefore
not be used in shell programs that are meant to be portable across a
large number of POSIX-like systems.
===========================================================================

current directory: /home/pbulk/build/x11/xscreensaver/work/xscreensaver-6.08
command line was: ./configure --with-configdir=/opt/pkg/libexec/xscreensaver/config --with-gl --with-gle --with-gtk=/opt/pkg --with-hackdir=/opt/pkg/libexec/xscreensaver --with-jpeg=/opt/pkg --without-motif --without-pam --with-libiconv-prefix=/opt/pkg --prefix=/opt/pkg --build=x86_64-sun-solaris2.11 --host=x86_64-sun-solaris2.11 --mandir=/opt/pkg/share/man --enable-option-checking=yes
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 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
Solaris: adding -D__EXTENSIONS__
checking whether gcc accepts -std=gnu99... yes
checking whether gcc accepts -pedantic... yes
checking whether gcc accepts -Wall... yes
checking whether gcc accepts -Wnested-externs... yes
checking whether gcc accepts -Wstrict-prototypes... yes
checking whether gcc accepts -Wmissing-prototypes... yes
checking whether gcc accepts -Wno-overlength-strings... yes
checking how to run the C preprocessor... gcc -D__EXTENSIONS__ -std=gnu99 -pedantic -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wno-overlength-strings -E
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether "${INSTALL} -d" creates intermediate directories... yes
checking whether make sets $(MAKE)... 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 unistd.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... 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 how to call gettimeofday... two arguments
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for select... yes
checking for fcntl... yes
checking for uname... yes
checking for nice... yes
checking for setpriority... yes
checking for getcwd... yes
checking for getwd... yes
checking for putenv... yes
checking for sbrk... yes
checking for sigaction... yes
checking for syslog... yes
checking for realpath... yes
checking for setrlimit... yes
checking for setlocale... yes
checking for sqrtf... no
checking for getaddrinfo... no
checking for struct sockaddr.sa_len... no
checking for struct icmp... yes
checking for struct icmphdr... no
checking for getifaddrs... yes
checking for socklen_t... yes
checking for crypt.h... yes
checking for sys/select.h... yes
checking for perl5... /opt/pkg/bin/perl
checking perl version... 5.038002
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 XPointer... yes
checking for Xt... yes
checking whether this is macOS... no
checking for x86_64-sun-solaris2.11-pkg-config... no
checking for pkg-config... /home/pbulk/build/x11/xscreensaver/work/.tools/bin/pkg-config
checking whether NLS is requested... yes
checking for intltool-update... /home/pbulk/build/x11/xscreensaver/work/.tools/bin/intltool-update
checking for intltool-merge... /home/pbulk/build/x11/xscreensaver/work/.tools/bin/intltool-merge
checking for intltool-extract... /home/pbulk/build/x11/xscreensaver/work/.tools/bin/intltool-extract
checking for xgettext... /opt/pkg/bin/xgettext
checking for msgmerge... /opt/pkg/bin/msgmerge
checking for msgfmt... /home/pbulk/build/x11/xscreensaver/work/.tools/bin/msgfmt
checking for gmsgfmt... /home/pbulk/build/x11/xscreensaver/work/.tools/bin/msgfmt
checking for a race-free mkdir -p... ./install-sh -c -d
checking for a sed that does not truncate output... /usr/bin/sed
checking for msgfmt... (cached) /home/pbulk/build/x11/xscreensaver/work/.tools/bin/msgfmt
checking for gmsgfmt... (cached) /home/pbulk/build/x11/xscreensaver/work/.tools/bin/msgfmt
checking for xgettext... (cached) /opt/pkg/bin/xgettext
checking for msgmerge... (cached) /opt/pkg/bin/msgmerge
checking for ld used by gcc -D__EXTENSIONS__ -std=gnu99 -pedantic -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wno-overlength-strings... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking 32-bit host C ABI... no
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 ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib/64,lib/amd64
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyPreferredLanguages... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gettext in -lintl... yes
checking for X app-defaults directory... (cached) /opt/pkg/lib/X11/app-defaults
checking for X11/extensions/dpms.h... yes
checking for DPMSInfo in -lXext... yes
checking for X11/extensions/xf86vmode.h... yes
checking for XF86VidModeGetViewPort in -lXxf86vm... yes
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryScreens in -lXext... no
checking for XineramaQueryScreens in -lXinerama... yes
checking for X11/extensions/Xrandr.h... yes
checking for XRenderSetSubpixelOrder in -lXrender... yes
checking for XRRGetScreenInfo in -lXext... no
checking for XRRGetScreenInfo in -lXrandr... yes
checking for XRRGetScreenResources... yes
checking for X11/extensions/XInput2.h... yes
checking for XISelectEvents in -lXi... yes
checking for XF86VidModeSetGamma in -lXxf86vm... yes
checking for XF86VidModeSetGammaRamp in -lXxf86vm... yes
checking for X11/extensions/xidle.h... no
checking for X11/extensions/XShm.h... yes
checking for sys/ipc.h... yes
checking for sys/shm.h... yes
checking for X11/extensions/Xdbe.h... yes
checking for X11/XKBlib.h... yes
checking for XHPDisableReset in X11/XHPlib.h... no
checking whether /proc/999152/oom_score_adj exists... no
checking for libsystemd... no
checking for libsystemd usability... no
checking for libelogind... no
checking for libelogind usability... no
checking for Kerberos 4... no
checking for Kerberos 5... no
checking for Sun-style shadow passwords... no
checking for DEC-style shadow passwords... no
checking for HP-style shadow passwords... no
checking for FreeBSD-style shadow passwords... no
checking for OpenBSD-style shadow passwords... no
checking for generic shadow passwords... yes
checking for getspnam in -lc... yes
checking for crypt in -lc... yes
checking for Gtk headers... /opt/pkg/include
checking for Gtk libs... /opt/pkg/lib
checking for gtk+-3.0... 3.24.41
checking for gmodule-2.0... 2.78.4
checking for libxml-2.0... 2.12.4
checking for gdk-pixbuf-2.0... 2.42.10
checking for Gtk includes... -I/opt/pkg/include/gtk-3.0 -I/opt/pkg/include -I/opt/pkg/include/pango-1.0 -I/opt/pkg/include/cairo -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include/atk-1.0 -pthread -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/libxml2 -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/pixman-1 -D_REENTRANT -I/opt/pkg/include/libdrm -I/opt/pkg/include/at-spi2-atk/2.0 -I/opt/pkg/include/at-spi-2.0 -I/opt/pkg/include/fribidi -I/opt/pkg/include/gio-unix-2.0
checking for Gtk libs... -L/opt/pkg/lib -lgtk-3 -lgdk-3 -lharfbuzz -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo -lcairo-gobject -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lxml2 -Wl,-R/opt/pkg/lib -lgdk_pixbuf-2.0
checking for Glib resource compiler... /opt/pkg/bin/glib-compile-resources
checking for gnome-open... no
checking for gnome-url-show... no
checking for gdmflexiserver... no
checking for kdmctl... no
checking for lxdm... no
checking for dm-tool... no
checking for login manager... gdmflexiserver -ls (disabled)
checking for image directory /usr/share/rpd-wallpaper/... no
checking for image directory /usr/share/backgrounds/images/... no
checking for image directory /usr/share/wallpapers/... no
checking for image directory /usr/share/backgrounds/... no
checking for image directory /usr/share/pixmaps/backgrounds/... no
checking for image directory /usr/share/lxde/wallpapers/... no
checking for image directory /Library/Desktop Pictures/... no
checking for text file /usr/X11R6/lib/X11/doc/README... no
checking for text file /usr/share/doc/xserver-common/copyright... no
checking for text file /usr/share/doc/xserver-xorg-core/copyright... no
checking for text file /usr/X11R6/README... no
checking for text file /usr/share/doc/libX11*/COPYING... no
checking for text file /usr/X11/share/X11/doc/README*... no
checking for text file /usr/share/doc/debian/debian-manifesto... no
checking target system type... x86_64-sun-solaris2.11
checking for pthread_join using gcc -D__EXTENSIONS__ -std=gnu99 -pedantic -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wno-overlength-strings  -pthread  -lpthread -lrt... yes
checking whether gcc -D__EXTENSIONS__ -std=gnu99 -pedantic -Wall -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wno-overlength-strings is Clang... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... -D_POSIX_PTHREAD_SEMANTICS
checking for PTHREAD_PRIO_INHERIT... yes
checking for GL/gl.h... yes
checking for GL/glu.h... yes
checking for glEnable in -lGL... yes
checking for gluBuild2DMipmaps in -lGL... no
checking for gluBuild2DMipmaps in -lGLU... yes
checking for glBindTexture in -lGL... yes
checking for glBindBuffer in -lGL... yes
checking for GL/glext.h... yes
checking for glUseProgram in -lGL... yes
checking for glBlitFramebuffer in -lGL... yes
checking for glXCreateContext in -lGL... yes
checking for eglCreatePlatformWindowSurface in -lGL... no
checking for eglCreatePlatformWindowSurface in -lEGL... yes
checking for GL/gle.h... yes
checking for gleCreateGC in -lgle... yes
checking for uview_direction in -lgle... yes
checking for JPEG headers... /opt/pkg/include
checking for JPEG libs... /opt/pkg/lib
checking for jpeglib.h... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for png.h... yes
checking for png_create_read_struct in -lpng... yes
checking for gdk-pixbuf-2.0... 2.42.10
checking for gio-2.0... 2.78.4
checking for gdk-pixbuf includes... -I/opt/pkg/include/gdk-pixbuf-2.0 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/libpng16 -pthread
checking for gdk-pixbuf libs... -L/opt/pkg/lib -lgdk_pixbuf-2.0 -lgio-2.0 -lglib-2.0 -Wl,-R/opt/pkg/lib -lgobject-2.0
checking for gdk-pixbuf/gdk-pixbuf.h... yes
checking for gdk_pixbuf usability...
checking for gdk_pixbuf_new_from_file in -lc... yes
checking for gdk_pixbuf_apply_embedded_orientation in -lc... yes
checking for Xutf8DrawString in -lX11... yes
checking for xft... 2.3.8
checking for Xft includes... -I/opt/pkg/include -I/opt/pkg/include/freetype2 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/opt/pkg/include/libpng16
checking for Xft libs... -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lXft
checking for X11/Xft/Xft.h... yes
checking for Xft usability...
checking for XftDrawStringUtf8 in -lc... yes
checking for libavutil... no
checking for pty.h... no
checking for util.h... no
checking for sys/termios.h... yes
checking for forkpty in -lutil... no
checking for forkpty in -lc... no
checking for locale directory... /opt/pkg/share/locale
configure: creating ./config.status
config.status: creating Makefile
config.status: creating utils/Makefile
config.status: creating jwxyz/Makefile
config.status: creating hacks/Makefile
config.status: creating hacks/fonts/Makefile
config.status: creating hacks/images/Makefile
config.status: creating hacks/glx/Makefile
config.status: creating po/Makefile.in
config.status: creating driver/Makefile
config.status: creating driver/xscreensaver.pam
config.status: creating driver/XScreenSaver.ad
config.status: creating config.h
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing po/stamp-it commands

    #################################################################

    Warning: The systemd library was not found.

             This means that xscreensaver-systemd won't be built.
             Without that, xscreensaver will not be able to auto-lock
             before the system is suspended (e.g., closing laptop lid)
             and might activate while video playback is in progress.

    Warning: Your system seems to have PAM, but PAM is not being used.
             That is probably not going to work out well.

    #################################################################

    XScreenSaver will be installed in these directories:

             User programs: /opt/pkg/bin/
             Screen savers: /opt/pkg/libexec/xscreensaver/
             Configuration: /opt/pkg/libexec/xscreensaver/config/
             Extra Fonts:   /opt/pkg/share/fonts/xscreensaver/
             App Defaults:  /opt/pkg/lib/X11/app-defaults/

=> Overriding intltool.