+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/u-boot-pinephone-2021.01/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/u-boot-pinephone-2021.01/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum SHA1 OK for u-boot-2021.01.tar.bz2
=> Checksum RMD160 OK for u-boot-2021.01.tar.bz2
=> Checksum SHA512 OK for u-boot-2021.01.tar.bz2
===> Installing dependencies for u-boot-pinephone-2021.01
==========================================================================
The supported build options for u-boot-pinephone are:

	el1

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

	PKG_OPTIONS.u-boot-pinephone (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
u-boot-pinephone-2021.01.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 311

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

        * PYPACKAGE = python311

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 py311-setuptools>=0: found py311-setuptools-69.2.0
=> Tool dependency cross-aarch64-none-elf-gcc-[0-9]*: found cross-aarch64-none-elf-gcc-8.2.0nb5
=> Tool dependency dtc>=1.4.2: found dtc-1.7.0nb1
=> Tool dependency swig3>=3.0.12: found swig3-3.0.12nb5
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency flex>=2.5.4a: found flex-2.6.4
=> Tool dependency gawk>=3.1.1: found gawk-5.3.0
=> Tool dependency m4>=1.4: found m4-1.4.19nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gsed>=3.0.2: found gsed-4.9nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-2.2.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency arm-trusted-firmware-sun50i_a64>=2.3: found arm-trusted-firmware-sun50i_a64-2.3
=> Build dependency python311>=3.11.0: found python311-3.11.9
=> Build dependency flex>=2.5.4a: found flex-2.6.4
===> Overriding tools for u-boot-pinephone-2021.01
===> Extracting for u-boot-pinephone-2021.01
/bin/cp /opt/pkg/share/arm-trusted-firmware/sun50i_a64/bl31.bin /home/pbulk/build/sysutils/u-boot-pinephone/work/u-boot-2021.01
===> Patching for u-boot-pinephone-2021.01
=> Applying pkgsrc patches for u-boot-pinephone-2021.01
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/u-boot-pinephone/../../sysutils/u-boot/patches-2021.01/patch-scripts_dtc_pylibfdt_Makefile
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/u-boot-pinephone/../../sysutils/u-boot/patches-2021.01/patch-scripts_dtc_pylibfdt_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-scripts_dtc_pylibfdt_Makefile,v 1.1 2023/12/18 20:11:30 gutteridge Exp $
|
|Fix build with py-setuptools >= 69.0, which strictly enforces PEP 440
|versioning.
|
|--- scripts/dtc/pylibfdt/Makefile.orig	2021-01-11 13:11:43.000000000 -0500
|+++ scripts/dtc/pylibfdt/Makefile
--------------------------
Patching file scripts/dtc/pylibfdt/Makefile using Plan A...
Hunk #1 succeeded at 17.
done
===> Creating toolchain wrappers for u-boot-pinephone-2021.01
===> Configuring for u-boot-pinephone-2021.01
=> Replacing python3 interpreter in scripts/dtc/pylibfdt/setup.py.
=> Checking for portability problems in extracted files
/usr/bin/mkdir -p -p /home/pbulk/build/sysutils/u-boot-pinephone/work/.buildlink/bin
/usr/bin/rm -f /home/pbulk/build/sysutils/u-boot-pinephone/work/.buildlink/bin/swig
/usr/bin/ln -s /opt/pkg/bin/swig3.0 /home/pbulk/build/sysutils/u-boot-pinephone/work/.buildlink/bin/swig
cd /home/pbulk/build/sysutils/u-boot-pinephone/work/u-boot-2021.01 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr CROSS_COMPILE=/opt/pkg/cross-aarch64-none-elf/bin/aarch64-none-elf- PYTHON3=/opt/pkg/bin/python3.11 PYTHON=/opt/pkg/bin/python3.11 PYTHON3=/opt/pkg/bin/python3.11 PYTHONCONFIG=/opt/pkg/bin/python3.11-config PYTHONLIBPATH=-L/opt/pkg/lib CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include\ -I/usr/include\ -I/opt/pkg/include/python3.11 CPPFLAGS=-I/opt/pkg/include\ -I/usr/include\ -I/opt/pkg/include/python3.11 CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -I/opt/pkg/include\ -I/usr/include\ -I/opt/pkg/include/python3.11 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/opt/pkg/lib\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -Wl,-R/opt/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/sysutils/u-boot-pinephone/work/.cwrapper/bin:/home/pbulk/build/sysutils/u-boot-pinephone/work/.buildlink/bin:/home/pbulk/build/sysutils/u-boot-pinephone/work/.gcc/bin:/home/pbulk/build/sysutils/u-boot-pinephone/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin PREFIX=/opt/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/opt/pkg HOME=/home/pbulk/build/sysutils/u-boot-pinephone/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/sysutils/u-boot-pinephone/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/pkg X11BASE=/opt/pkg PKGMANDIR=share/man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/pkg/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/pkg/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/pkg/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/sysutils/u-boot-pinephone/work/.tools/bin/makeinfo FLEX=/home/pbulk/build/sysutils/u-boot-pinephone/work/.tools/bin/flex BISON=/home/pbulk/build/sysutils/u-boot-pinephone/work/.tools/bin/bison ITSTOOL=/home/pbulk/build/sysutils/u-boot-pinephone/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/sysutils/u-boot-pinephone/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/sysutils/u-boot-pinephone/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/sysutils/u-boot-pinephone/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/sysutils/u-boot-pinephone/work/.buildlink/lib/pkgconfig:/home/pbulk/build/sysutils/u-boot-pinephone/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/sysutils/u-boot-pinephone/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/sysutils/u-boot-pinephone/work/.cwrapper/config /opt/pkg/bin/gmake pinephone_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#