+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/u-boot-pinecube-2022.04/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/u-boot-pinecube-2022.04/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for u-boot-pinecube-2022.04
cd /home/pbulk/build/sysutils/u-boot-pinecube/work/u-boot-2022.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/local/cross-arm-none-eabi/bin/arm-none-eabi- PYTHON=/opt/local/bin/python3.10 PYTHON3=/opt/local/bin/python3.10 PYTHONCONFIG=/opt/local/bin/python3.10-config PYTHONLIBPATH=-L/opt/local/lib CC=gcc CFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/opt/local/include/python3.10\ -I/opt/local/include CPPFLAGS=-I/usr/include\ -I/opt/local/include/python3.10\ -I/opt/local/include CXX=g++ CXXFLAGS=-pipe\ -O2\ -msave-args\ -fno-aggressive-loop-optimizations\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/opt/local/include/python3.10\ -I/opt/local/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/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0\ -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0\ -L/usr/lib/amd64\ -Wl,-R/usr/lib/amd64\ -Wl,-R/opt/local/lib\ -lintl\ -liconv\ -L/opt/local/lib LINKER_RPATH_FLAG=-R PATH=/home/pbulk/build/sysutils/u-boot-pinecube/work/.cwrapper/bin:/home/pbulk/build/sysutils/u-boot-pinecube/work/.buildlink/bin:/home/pbulk/build/sysutils/u-boot-pinecube/work/.gcc/bin:/home/pbulk/build/sysutils/u-boot-pinecube/work/.tools/bin:/opt/local/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/local/bin:/opt/local/bin PREFIX=/opt/local MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/opt/local/etc HOME=/home/pbulk/build/sysutils/u-boot-pinecube/work/.home CWRAPPERS_CONFIG_DIR=/home/pbulk/build/sysutils/u-boot-pinecube/work/.cwrapper/config CPP=cpp LOCALBASE=/opt/local X11BASE=/opt/local PKGMANDIR=man PKGINFODIR=info PKGGNUDIR= MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/opt/local/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL_MAN=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 644 BSD_INSTALL=/opt/local/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_LIB_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_DATA_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_MAN_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 755 BSD_INSTALL_GAME=/opt/local/bin/bsdinstall\ -c\ \ -o\ pbulk\ -g\ pbulk\ -m\ 2555 BSD_INSTALL_GAME_DATA=/opt/local/bin/bsdinstall\ -c\ -o\ pbulk\ -g\ pbulk\ -m\ 664 BSD_INSTALL_GAME_DIR=/opt/local/bin/bsdinstall\ -d\ -o\ pbulk\ -g\ pbulk\ -m\ 775 INSTALL_INFO= MAKEINFO=/home/pbulk/build/sysutils/u-boot-pinecube/work/.tools/bin/makeinfo FLEX=/home/pbulk/build/sysutils/u-boot-pinecube/work/.tools/bin/flex BISON=/home/pbulk/build/sysutils/u-boot-pinecube/work/.tools/bin/bison ITSTOOL=/home/pbulk/build/sysutils/u-boot-pinecube/work/.tools/bin/itstool GDBUS_CODEGEN=/home/pbulk/build/sysutils/u-boot-pinecube/work/.tools/bin/gdbus-codegen PKG_CONFIG=/home/pbulk/build/sysutils/u-boot-pinecube/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/home/pbulk/build/sysutils/u-boot-pinecube/work/.buildlink/lib/amd64/pkgconfig:/home/pbulk/build/sysutils/u-boot-pinecube/work/.buildlink/lib/pkgconfig:/home/pbulk/build/sysutils/u-boot-pinecube/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/home/pbulk/build/sysutils/u-boot-pinecube/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/home/pbulk/build/sysutils/u-boot-pinecube/work/.cwrapper/config /opt/local/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
  ENVC    include/generated/env.txt
  ENVP    include/generated/env.in
  ENVT    include/generated/environment.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
  PYMOD   rebuild
/opt/local/lib/python3.10/site-packages/setuptools/dist.py:543: UserWarning: The version specified ('u-boot-2022.04') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  warnings.warn(
  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/envcrc.o
  WRAP    tools/lib/crc32.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/crc32.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/crc32.c'.
  HOSTCC  tools/lib/crc32.o
  WRAP    tools/env/embedded.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/lib/embedded.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/embedded.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/embedded.c'.
  HOSTCC  tools/env/embedded.o
  WRAP    tools/lib/sha1.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/sha1.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/sha1.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/sha1.c'.
  HOSTCC  tools/lib/sha1.o
  HOSTLD  tools/envcrc
  HOSTCC  tools/gen_eth_addr
  HOSTCC  tools/gen_ethaddr_crc.o
  WRAP    tools/lib/crc8.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/crc8.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/crc8.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/crc8.c'.
  HOSTCC  tools/lib/crc8.o
  HOSTLD  tools/gen_ethaddr_crc
  HOSTCC  tools/img2srec
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/os_support.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/boot/image-fit.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/lib/image-fit.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/image-fit.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/image-fit.c'.
  HOSTCC  tools/boot/image-fit.o
  HOSTCC  tools/image-sig-host.o
  WRAP    tools/boot/image-fit-sig.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/lib/image-fit-sig.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/image-fit-sig.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/image-fit-sig.c'.
  HOSTCC  tools/boot/image-fit-sig.o
  WRAP    tools/boot/image-cipher.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/lib/image-cipher.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/image-cipher.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/image-cipher.c'.
  HOSTCC  tools/boot/image-cipher.o
  WRAP    tools/boot/fdt_region.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/lib/fdt_region.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/fdt_region.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/fdt_region.c'.
  HOSTCC  tools/boot/fdt_region.o
  WRAP    tools/boot/bootm.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/lib/bootm.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/bootm.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/bootm.c'.
  HOSTCC  tools/boot/bootm.o
  HOSTCC  tools/default_image.o
In file included from tools/imagetool.h:24,
                 from tools/default_image.c:16:
In function 'image_set_name',
    inlined from 'image_set_header' at tools/default_image.c:134:2:
include/image.h:776:9: warning: 'strncpy' specified bound 32 equals destination size [-Wstringop-truncation]
  776 |         strncpy(image_get_name(hdr), name, IH_NMLEN);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  WRAP    tools/lib/fdtdec_common.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/fdtdec_common.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/fdtdec_common.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/fdtdec_common.c'.
  HOSTCC  tools/lib/fdtdec_common.o
  WRAP    tools/lib/fdtdec.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/fdtdec.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/fdtdec.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/fdtdec.c'.
  HOSTCC  tools/lib/fdtdec.o
  WRAP    tools/boot/image.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/lib/image.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/image.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/image.c'.
  HOSTCC  tools/boot/image.o
  WRAP    tools/boot/image-host.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/lib/image-host.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/image-host.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/image-host.c'.
  HOSTCC  tools/boot/image-host.o
  HOSTCC  tools/imagetool.o
  HOSTCC  tools/imximage.o
  HOSTCC  tools/imx8image.o
  HOSTCC  tools/imx8mimage.o
  HOSTCC  tools/kwbimage.o
In file included from tools/kwbimage.c:20:
tools/kwbimage.h:15: warning: "__packed" redefined
   15 | #define __packed __attribute((packed))
      | 
In file included from /usr/include/sys/feature_tests.h:34,
                 from /usr/include/inttypes.h:41,
                 from ././include/compiler.h:18,
                 from <command-line>:
/usr/include/sys/ccompile.h:158: note: this is the location of the previous definition
  158 | #define __packed                __attribute__((__packed__))
      | 
  WRAP    tools/lib/md5.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/md5.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/md5.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/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:261: warning: pattern recipe did not update peer target 'tools/env/rc4.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/rc4.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/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
  HOSTCC  tools/sunxi_egon.o
  WRAP    tools/lib/crc16.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/crc16.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/crc16.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/crc16.c'.
  HOSTCC  tools/lib/crc16.o
  WRAP    tools/lib/hash-checksum.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/hash-checksum.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/hash-checksum.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/hash-checksum.c'.
  HOSTCC  tools/lib/hash-checksum.o
  WRAP    tools/lib/sha256.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/sha256.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/sha256.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/sha256.c'.
  HOSTCC  tools/lib/sha256.o
  WRAP    tools/lib/sha512.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/sha512.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/sha512.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/sha512.c'.
  HOSTCC  tools/lib/sha512.o
  WRAP    tools/common/hash.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/lib/hash.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/hash.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/hash.c'.
  HOSTCC  tools/common/hash.o
  HOSTCC  tools/ublimage.o
  HOSTCC  tools/zynqimage.o
  HOSTCC  tools/zynqmpimage.o
  HOSTCC  tools/zynqmpbif.o
  WRAP    tools/lib/fdt-libcrypto.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/fdt-libcrypto.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/fdt-libcrypto.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/fdt-libcrypto.c'.
  HOSTCC  tools/lib/fdt-libcrypto.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
  WRAP    tools/lib/ecdsa/ecdsa-libcrypto.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/ecdsa/ecdsa-libcrypto.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/ecdsa/ecdsa-libcrypto.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/ecdsa/ecdsa-libcrypto.c'.
  HOSTCC  tools/lib/ecdsa/ecdsa-libcrypto.o
  WRAP    tools/lib/rsa/rsa-sign.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/rsa/rsa-sign.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/rsa/rsa-sign.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/rsa/rsa-sign.c'.
  HOSTCC  tools/lib/rsa/rsa-sign.o
  WRAP    tools/lib/rsa/rsa-verify.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/rsa/rsa-verify.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/rsa/rsa-verify.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/rsa/rsa-verify.c'.
  HOSTCC  tools/lib/rsa/rsa-verify.o
  WRAP    tools/lib/rsa/rsa-mod-exp.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/rsa/rsa-mod-exp.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/rsa/rsa-mod-exp.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/rsa/rsa-mod-exp.c'.
  HOSTCC  tools/lib/rsa/rsa-mod-exp.o
  WRAP    tools/lib/aes/aes-encrypt.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/aes/aes-encrypt.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/aes/aes-encrypt.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/aes/aes-encrypt.c'.
  HOSTCC  tools/lib/aes/aes-encrypt.o
  WRAP    tools/lib/aes/aes-decrypt.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/aes/aes-decrypt.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/aes/aes-decrypt.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/aes/aes-decrypt.c'.
  HOSTCC  tools/lib/aes/aes-decrypt.o
  HOSTCC  tools/dumpimage.o
  HOSTLD  tools/dumpimage
  HOSTCC  tools/mkimage.o
  HOSTLD  tools/mkimage
  HOSTCC  tools/fit_info.o
  HOSTLD  tools/fit_info
  HOSTCC  tools/fit_check_sign.o
  HOSTLD  tools/fit_check_sign
  HOSTCC  tools/mksunxiboot
  HOSTCC  tools/sunxi-spl-image-builder.o
  WRAP    tools/lib/bch.c
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/env/bch.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/common/bch.c'.
tools/Makefile:261: warning: pattern recipe did not update peer target 'tools/boot/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:1894: tools] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/sysutils/u-boot-pinecube
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/sysutils/u-boot-pinecube