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

	geoclue libdrm

The currently selected options are:

	libdrm

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

	PKG_OPTIONS.redshift (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 intltool>=0.40.0: found intltool-0.51.0nb7
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency perl>=5.0: found perl-5.40.0nb1
=> 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 libXxf86vm>=1.1.0: found libXxf86vm-1.1.6
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.124
=> Full dependency libxcb>=1.15nb2: found libxcb-1.17.0
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.17.0nb4
=> Build dependency xorgproto>=2016.1: found xorgproto-2024.1
=> 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
===> Overriding tools for redshift-1.12nb4
===> Extracting for redshift-1.12nb4
===> Patching for redshift-1.12nb4
=> Applying pkgsrc patches for redshift-1.12nb4
=> Verifying /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/redshift/patches/patch-src_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/redshift/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 2020/05/07 17:16:10 nia Exp $
|
|Specify a tag when linking.
|
|--- src/Makefile.in.orig	2018-05-21 01:20:45.000000000 +0000
|+++ src/Makefile.in
--------------------------
Patching file src/Makefile.in using Plan A...
Hunk #1 succeeded at 157.
Hunk #2 succeeded at 252.
done
===> Creating toolchain wrappers for redshift-1.12nb4
===> Configuring for redshift-1.12nb4
=> 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 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/x11/redshift/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 style of include used by make... GNU
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 dependency style of cc... gcc3
checking for cc option to accept ISO C99... none needed
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by cc... /home/pbulk/build/x11/redshift/work/.cwrapper/bin/ld
checking if the linker (/home/pbulk/build/x11/redshift/work/.cwrapper/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 2097152
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/pbulk/build/x11/redshift/work/.cwrapper/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... cc -E
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 for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... /bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/home/pbulk/build/x11/redshift/work/.cwrapper/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /bin/rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for x86_64-redhat-linux-gcc... x86_64-redhat-linux-gcc
checking whether we are using the GNU Objective C compiler... no
checking whether x86_64-redhat-linux-gcc accepts -g... no
checking dependency style of x86_64-redhat-linux-gcc... gcc3
checking whether NLS is requested... yes
checking for intltool >= 0.50... 0.51.0 found
checking for intltool-update... /home/pbulk/build/x11/redshift/work/.tools/bin/intltool-update
checking for intltool-merge... /home/pbulk/build/x11/redshift/work/.tools/bin/intltool-merge
checking for intltool-extract... /home/pbulk/build/x11/redshift/work/.tools/bin/intltool-extract
checking for xgettext... /home/pbulk/build/x11/redshift/work/.tools/bin/xgettext
checking for msgmerge... /home/pbulk/build/x11/redshift/work/.tools/bin/msgmerge
checking for msgfmt... /home/pbulk/build/x11/redshift/work/.tools/bin/msgfmt
checking for gmsgfmt... /home/pbulk/build/x11/redshift/work/.tools/bin/msgfmt
checking for x86_64-redhat-linux-windres... no
checking for windres... no
checking whether Objective C compiler works... no
checking for msgfmt... (cached) /home/pbulk/build/x11/redshift/work/.tools/bin/msgfmt
checking for gmsgfmt... (cached) /home/pbulk/build/x11/redshift/work/.tools/bin/msgfmt
checking for xgettext... (cached) /home/pbulk/build/x11/redshift/work/.tools/bin/xgettext
checking for msgmerge... (cached) /home/pbulk/build/x11/redshift/work/.tools/bin/msgmerge
checking for ld used by GCC... /home/pbulk/build/x11/redshift/work/.cwrapper/bin/ld -m elf_x86_64
checking if the linker (/home/pbulk/build/x11/redshift/work/.cwrapper/bin/ld -m elf_x86_64) 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 pkg-config is at least version 0.9.0... yes
checking for libdrm... yes
checking for x11... yes
checking for xxf86vm... yes
checking for xcb... yes
checking for xcb-randr... yes
checking for glib-2.0 gobject-2.0... no
checking for glib-2.0 gio-2.0 >= 2.26... no
checking ApplicationServices/ApplicationServices.h usability... no
checking ApplicationServices/ApplicationServices.h presence... no
checking for ApplicationServices/ApplicationServices.h... no
checking whether CoreLocation/CoreLocation.h is usable... no Objective C compiler available
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for a Python interpreter with version >= 3.2... python
checking for python... /bin/python
checking for python version... 3.9
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.9/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python3.9/site-packages
checking whether to enable DRM method... yes
checking whether to enable RANDR method... yes
checking whether to enable VidMode method... yes
checking whether to enable Quartz method... missing dependencies
checking whether to enable WinGDI method... missing dependencies
checking whether to enable Geoclue2 location provider... missing dependencies
checking whether to enable CoreLocation method... missing dependencies
checking whether to enable GUI status icon... no
checking whether to enable Ubuntu icons... no
checking pkg-config is at least version 0.9.0... yes
checking Directory to install systemd user unit files... not enabled
checking whether to enable AppArmor profile... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for uint16_t... yes
checking for library containing clock_gettime... none required
checking for library containing floor... -lm
checking for setlocale... yes
checking for strchr... yes
checking for floor... yes
checking for pow... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating src/redshift-gtk/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/rm: cannot remove 'libtoolT': No such file or directory
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing po/stamp-it commands

 redshift 1.12

    prefix:		/usr/pkg
    compiler:		cc
    cflags:		-pipe -O2 -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include
    ldflags:		-Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64

    Adjustment methods:
    DRM:		yes
    RANDR:		yes
    VidMode:		yes
    Quartz (macOS):	no
    WinGDI (Windows):	no

    Location providers:
    Geoclue2:			no
    CoreLocation (macOS):	no

    GUI:		no
    Ubuntu icons:	no
    systemd units:	no 
    AppArmor profile:   no

=> Overriding intltool.
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp