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

	libdrm wayland x11

The currently selected options are:

	libdrm 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.MesaDemos (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 pkgconf-[0-9]*: found pkgconf-2.2.0nb1
=> 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
=> Full dependency MesaLib>=21.3.9nb3: found MesaLib-21.3.9nb4
=> Full dependency libX11>=1.5: found libX11-1.8.9
=> Full dependency libXext>=1.1: found libXext-1.3.6
=> Full dependency libdrm>=2.4.15: found libdrm-2.4.121
=> Full dependency libiconv>=1.9.1nb4: found libiconv-1.17
=> Full dependency freeglut>=3.2.2nb1: found freeglut-3.4.0nb1
=> Full dependency glu>=7.11.2: found glu-9.0.3
=> Full dependency freetype2>=2.13.2nb1: found freetype2-2.13.2nb1
=> Full dependency glew>=2.1.0: found glew-2.2.0nb2
===> Overriding tools for MesaDemos-8.4.0nb9
===> Extracting for MesaDemos-8.4.0nb9
===> Patching for MesaDemos-8.4.0nb9
=> Applying pkgsrc patches for MesaDemos-8.4.0nb9
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/MesaDemos/patches/patch-src_egl_opengles2_es2gears.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/MesaDemos/patches/patch-src_egl_opengles2_es2gears.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_egl_opengles2_es2gears.c,v 1.1 2019/08/30 17:12:19 nia Exp $
|
|sincos is a GNU extension.
|
|--- src/egl/opengles2/es2gears.c.orig	2018-02-23 08:50:21.000000000 +0000
|+++ src/egl/opengles2/es2gears.c
--------------------------
Patching file src/egl/opengles2/es2gears.c using Plan A...
Hunk #1 succeeded at 55.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/MesaDemos/patches/patch-src_xdemos_glinfo__common.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/graphics/MesaDemos/patches/patch-src_xdemos_glinfo__common.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_xdemos_glinfo__common.c,v 1.1 2015/04/13 14:00:17 tnn Exp $
|
|--- src/xdemos/glinfo_common.c.orig	2014-07-05 08:17:06.000000000 +0000
|+++ src/xdemos/glinfo_common.c
--------------------------
Patching file src/xdemos/glinfo_common.c using Plan A...
Hunk #1 succeeded at 585 (offset 16 lines).
done
===> Creating toolchain wrappers for MesaDemos-8.4.0nb9
===> Configuring for MesaDemos-8.4.0nb9
=> Avoid conflict with x11/bitmap and graphics/glx-utils
=> 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
configure: WARNING: unrecognized options: --with-libiconv-prefix
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for x86_64-sun-solaris2.11-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
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 fgrep... /usr/xpg4/bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop
checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for archiver @FILE support... no
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-sun-solaris2.11-mt... no
checking for mt... mt
checking if mt is a manifest tool... 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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory
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
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /bin/ld -64
checking if the linker (/bin/ld -64) is GNU ld... no
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether make supports nested variables... (cached) yes
checking pkg-config is at least version 0.9.0... yes
checking for GL... yes
checking GL/glut.h usability... yes
checking GL/glut.h presence... yes
checking for GL/glut.h... yes
checking for glutInit in -lglut... yes
checking for GLEW... yes
checking for GLU... yes
checking for EGL... yes
checking for GLESV2... yes
checking for VG... no
checking for OSMESA... yes
checking for DRM... yes
checking for X11... yes
checking for GBM... yes
checking for FREETYPE2... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/demos/Makefile
config.status: creating src/egl/Makefile
config.status: creating src/egl/eglut/Makefile
config.status: creating src/egl/opengl/Makefile
config.status: creating src/egl/opengles1/Makefile
config.status: creating src/egl/opengles2/Makefile
config.status: creating src/egl/openvg/Makefile
config.status: creating src/egl/openvg/trivial/Makefile
config.status: creating src/egl/oes_vg/Makefile
config.status: creating src/fp/Makefile
config.status: creating src/fpglsl/Makefile
config.status: creating src/glsl/Makefile
config.status: creating src/gs/Makefile
config.status: creating src/data/Makefile
config.status: creating src/objviewer/Makefile
config.status: creating src/osdemos/Makefile
config.status: creating src/perf/Makefile
config.status: creating src/rbug/Makefile
config.status: creating src/redbook/Makefile
config.status: creating src/samples/Makefile
config.status: creating src/slang/Makefile
config.status: creating src/tests/Makefile
config.status: creating src/tools/Makefile
config.status: creating src/trivial/Makefile
config.status: creating src/util/Makefile
config.status: creating src/vp/Makefile
config.status: creating src/vpglsl/Makefile
config.status: creating src/wgl/Makefile
config.status: creating src/xdemos/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
rm: libtoolT: No such file or directory
configure: WARNING: unrecognized options: --with-libiconv-prefix
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp