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

	el1

The currently selected options 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-jetson-nano (not defined)

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

        * PYTHON_VERSION_DEFAULT = 310

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

        * PYPACKAGE = python310

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 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.0
=> 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.2.2
=> 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-1.9.5
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency python310>=3.10: found python310-3.10.12
=> Build dependency flex>=2.5.4a: found flex-2.6.4
===> Overriding tools for u-boot-jetson-nano-2020.04
===> Extracting for u-boot-jetson-nano-2020.04
===> Patching for u-boot-jetson-nano-2020.04
=> Applying pkgsrc patches for u-boot-jetson-nano-2020.04
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/u-boot-jetson-nano/../../sysutils/u-boot-jetson-nano/patches/patch-include_image.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/u-boot-jetson-nano/../../sysutils/u-boot-jetson-nano/patches/patch-include_image.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-include_image.h,v 1.1 2020/06/20 22:29:12 thorpej Exp $
|
|Ensure the correct byte order macros are used when image.h is included
|in a host tool.
|
|--- include/image.h.orig	2020-06-20 13:48:00.000000000 +0000
|+++ include/image.h	2020-06-20 13:51:12.000000000 +0000
--------------------------
Patching file include/image.h using Plan A...
Hunk #1 succeeded at 16.
Hunk #2 succeeded at 25.
Hunk #3 succeeded at 46.
done
===> Creating toolchain wrappers for u-boot-jetson-nano-2020.04
===> Configuring for u-boot-jetson-nano-2020.04
=> Checking for portability problems in extracted files
/usr/bin/mkdir -p -p /home/pbulk/build/sysutils/u-boot-jetson-nano/work/.buildlink/bin
/usr/bin/rm -f /home/pbulk/build/sysutils/u-boot-jetson-nano/work/.buildlink/bin/swig
/usr/bin/ln -s /opt/pkg/bin/swig3.0 /home/pbulk/build/sysutils/u-boot-jetson-nano/work/.buildlink/bin/swig
cd /home/pbulk/build/sysutils/u-boot-jetson-nano/work/u-boot-2020.04 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr DL_CFLAGS= DL_LDFLAGS= DL_LIBS= CROSS_COMPILE=/opt/pkg/cross-aarch64-none-elf/bin/aarch64-none-elf- PYTHON=/opt/pkg/bin/python3.10 PYTHON3=/opt/pkg/bin/python3.10 PYTHONCONFIG=/opt/pkg/bin/python3.10-config PYTHONLIBPATH=-L/opt/pkg/lib CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/opt/pkg/include/python3.10\ -I/opt/pkg/include CPPFLAGS=-I/usr/include\ -I/opt/pkg/include/python3.10\ -I/opt/pkg/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/opt/pkg/include/python3.10\ -I/opt/pkg/include 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/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -Wl,-R/opt/pkg/lib\ -lintl\ -liconv\ -L/opt/pkg/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.cwrapper/bin:/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.buildlink/bin:/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.gcc/bin:/home/pbulk/build/sysutils/u-boot-jetson-nano/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-jetson-nano/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/sysutils/u-boot-jetson-nano/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-jetson-nano/work/.tools/bin/makeinfo FLEX=/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.tools/bin/flex BISON=/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.tools/bin/bison ITSTOOL=/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.buildlink/lib/pkgconfig:/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.cwrapper/config /opt/pkg/bin/gmake p3450-0000_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
In file included from scripts/kconfig/conf.c:19:
scripts/kconfig/lkc.h:14:27: error: conflicting types for 'gettext'; have 'const char *(const char *)'
   14 | static inline const char *gettext(const char *txt) { return txt; }
      |                           ^~~~~~~
In file included from /usr/include/locale.h:45,
                 from scripts/kconfig/conf.c:6:
/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.buildlink/include/libintl.h:136:14: note: previous declaration of 'gettext' with type 'char *(const char *)'
  136 | extern char *gettext (const char *__msgid)
      |              ^~~~~~~
scripts/kconfig/lkc.h:15:20: error: conflicting types for 'textdomain'; have 'void(const char *)'
   15 | static inline void textdomain(const char *domainname) {}
      |                    ^~~~~~~~~~
/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.buildlink/include/libintl.h:272:14: note: previous declaration of 'textdomain' with type 'char *(const char *)'
  272 | extern char *textdomain (const char *__domainname)
      |              ^~~~~~~~~~
scripts/kconfig/lkc.h:16:20: error: conflicting types for 'bindtextdomain'; have 'void(const char *, const char *)'
   16 | static inline void bindtextdomain(const char *name, const char *dir) {}
      |                    ^~~~~~~~~~~~~~
/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.buildlink/include/libintl.h:290:14: note: previous declaration of 'bindtextdomain' with type 'char *(const char *, const char *)'
  290 | extern char *bindtextdomain (const char *__domainname, const char *__dirname)
      |              ^~~~~~~~~~~~~~
scripts/kconfig/lkc.h:17:21: error: conflicting types for 'bind_textdomain_codeset'; have 'char *(const char *, char *)'
   17 | static inline char *bind_textdomain_codeset(const char *dn, char *c) { return c; }
      |                     ^~~~~~~~~~~~~~~~~~~~~~~
/home/pbulk/build/sysutils/u-boot-jetson-nano/work/.buildlink/include/libintl.h:329:14: note: previous declaration of 'bind_textdomain_codeset' with type 'char *(const char *, const char *)'
  329 | extern char *bind_textdomain_codeset (const char *__domainname,
      |              ^~~~~~~~~~~~~~~~~~~~~~~
gmake[1]: *** [scripts/Makefile.host:114: scripts/kconfig/conf.o] Error 1
gmake: *** [Makefile:539: p3450-0000_defconfig] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/u-boot-jetson-nano
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/u-boot-jetson-nano