+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all 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 all 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
===> Building for u-boot-pinephone-2021.01
=> Substituting "python3" in Makefile
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 -j1 all
scripts/kconfig/conf  --syncconfig Kconfig
  UPD     include/config.h
  CFG     u-boot.cfg
  GEN     include/autoconf.mk
  GEN     include/autoconf.mk.dep
  CFG     spl/u-boot.cfg
  GEN     spl/include/autoconf.mk
  UPD     include/config/uboot.release
  UPD     include/generated/version_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  UPD     include/generated/dt.h
  CC      lib/asm-offsets.s
  UPD     include/generated/generic-asm-offsets.h
  CC      arch/arm/lib/asm-offsets.s
  UPD     include/generated/asm-offsets.h
  SHIPPED scripts/dtc/pylibfdt/libfdt.i
rm -f scripts/dtc/pylibfdt/_libfdt*.so
  PYMOD   scripts/dtc/pylibfdt/_libfdt.so
/opt/pkg/lib/python3.11/site-packages/setuptools/dist.py:314: InformationOnly: Normalizing '2021.01' to '2021.1'
  self.metadata.version = self._normalize_version(self.metadata.version)
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  LEX     scripts/dtc/dtc-lexer.lex.c
  YACC    scripts/dtc/dtc-parser.tab.h
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  YACC    scripts/dtc/dtc-parser.tab.c
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTLD  scripts/dtc/dtc
  HOSTCC  tools/gen_eth_addr
  HOSTCC  tools/gen_ethaddr_crc.o
  WRAP    tools/lib/crc8.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/crc8.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/common/crc8.c'.
  HOSTCC  tools/lib/crc8.o
  HOSTLD  tools/gen_ethaddr_crc
  HOSTCC  tools/img2srec
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/os_support.o
  WRAP    tools/lib/crc32.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/common/crc32.c'.
  HOSTCC  tools/lib/crc32.o
  HOSTLD  tools/mkenvimage
  HOSTCC  tools/aisimage.o
  HOSTCC  tools/atmelimage.o
  HOSTCC  tools/fit_common.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  WRAP    tools/common/image-fit.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/image-fit.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/lib/image-fit.c'.
  HOSTCC  tools/common/image-fit.o
  WRAP    tools/common/fdt_region.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/fdt_region.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/lib/fdt_region.c'.
  HOSTCC  tools/common/fdt_region.o
  WRAP    tools/common/bootm.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/bootm.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/lib/bootm.c'.
  HOSTCC  tools/common/bootm.o
  HOSTCC  tools/default_image.o
In file included from tools/default_image.c:20:
In function 'image_set_name',
    inlined from 'image_set_header' at tools/default_image.c:134:2:
include/image.h:863:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation]
  863 |         strncpy(image_get_name(hdr), name, IH_NMLEN);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  WRAP    tools/lib/fdtdec_common.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/fdtdec_common.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/common/fdtdec_common.c'.
  HOSTCC  tools/lib/fdtdec_common.o
  WRAP    tools/lib/fdtdec.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/fdtdec.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/common/fdtdec.c'.
  HOSTCC  tools/lib/fdtdec.o
  WRAP    tools/common/image.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/image.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/lib/image.c'.
  HOSTCC  tools/common/image.o
  HOSTCC  tools/imagetool.o
  HOSTCC  tools/imximage.o
  HOSTCC  tools/imx8image.o
  HOSTCC  tools/imx8mimage.o
  HOSTCC  tools/kwbimage.o
  WRAP    tools/lib/md5.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/md5.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/common/md5.c'.
  HOSTCC  tools/lib/md5.o
  HOSTCC  tools/lpc32xximage.o
  HOSTCC  tools/mxsimage.o
  HOSTCC  tools/omapimage.o
  HOSTCC  tools/pblimage.o
  HOSTCC  tools/pbl_crc32.o
  HOSTCC  tools/vybridimage.o
  HOSTCC  tools/stm32image.o
  WRAP    tools/lib/rc4.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/rc4.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/common/rc4.c'.
  HOSTCC  tools/lib/rc4.o
  HOSTCC  tools/rkcommon.o
  HOSTCC  tools/rkimage.o
  HOSTCC  tools/rksd.o
  HOSTCC  tools/rkspi.o
  HOSTCC  tools/socfpgaimage.o
  WRAP    tools/lib/crc16.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/crc16.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/common/crc16.c'.
  HOSTCC  tools/lib/crc16.o
  WRAP    tools/lib/sha1.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/sha1.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/common/sha1.c'.
  HOSTCC  tools/lib/sha1.o
  WRAP    tools/lib/sha256.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/sha256.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/common/sha256.c'.
  HOSTCC  tools/lib/sha256.o
  WRAP    tools/lib/sha512.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/sha512.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/common/sha512.c'.
  HOSTCC  tools/lib/sha512.o
  WRAP    tools/common/hash.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/hash.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/lib/hash.c'.
  HOSTCC  tools/common/hash.o
  HOSTCC  tools/ublimage.o
  HOSTCC  tools/zynqimage.o
  HOSTCC  tools/zynqmpimage.o
  HOSTCC  tools/zynqmpbif.o
  HOSTCC  tools/libfdt/fdt.o
  HOSTCC  tools/libfdt/fdt_ro.o
  HOSTCC  tools/libfdt/fdt_wip.o
  HOSTCC  tools/libfdt/fdt_sw.o
  HOSTCC  tools/libfdt/fdt_rw.o
  HOSTCC  tools/libfdt/fdt_strerror.o
  HOSTCC  tools/libfdt/fdt_empty_tree.o
  HOSTCC  tools/libfdt/fdt_addresses.o
  HOSTCC  tools/libfdt/fdt_overlay.o
  HOSTCC  tools/gpimage.o
  HOSTCC  tools/gpimage-common.o
  HOSTCC  tools/mtk_image.o
  HOSTCC  tools/dumpimage.o
  HOSTLD  tools/dumpimage
  HOSTCC  tools/mkimage.o
  HOSTLD  tools/mkimage
  HOSTCC  tools/mksunxiboot
  HOSTCC  tools/sunxi-spl-image-builder.o
  WRAP    tools/lib/bch.c
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/env/bch.c'.
tools/Makefile:238: warning: pattern recipe did not update peer target 'tools/common/bch.c'.
  HOSTCC  tools/lib/bch.o
In file included from tools/lib/bch.c:1:
./tools/../lib/bch.c:130:12: error: static declaration of 'fls' follows non-static declaration
  130 | static int fls(int x)
      |            ^~~
In file included from ././include/compiler.h:27,
                 from <command-line>:
/usr/include/string.h:120:12: note: previous declaration of 'fls' with type 'int(int)'
  120 | extern int fls(int);
      |            ^~~
gmake[1]: *** [scripts/Makefile.host:112: tools/lib/bch.o] Error 1
gmake: *** [Makefile:1784: tools] Error 2
*** Error code 2

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/sysutils/u-boot-pinephone