+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xtensa-esp-elf-binutils-2.41.0/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xtensa-esp-elf-binutils-2.41.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for crosstool-NG-esp-13.2.0_20240530-src.tar.xz
=> Checksum SHA512 OK for crosstool-NG-esp-13.2.0_20240530-src.tar.xz
=> Checksum BLAKE2s OK for espressif-binutils-gdb-esp-2.41.0_20240305.tar.gz
=> Checksum SHA512 OK for espressif-binutils-gdb-esp-2.41.0_20240305.tar.gz
===> Installing dependencies for xtensa-esp-elf-binutils-2.41.0
=> Tool dependency gtexinfo>=5.1: found gtexinfo-7.1.1nb1
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency bison>=1.0: found bison-3.8.2nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
===> Overriding tools for xtensa-esp-elf-binutils-2.41.0
===> Extracting for xtensa-esp-elf-binutils-2.41.0
===> Patching for xtensa-esp-elf-binutils-2.41.0
=> Applying pkgsrc patches for xtensa-esp-elf-binutils-2.41.0
=> Verifying /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cross/xtensa-esp-elf-binutils/patches/patch-bfd_xtensa-dynconfig.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/cross/xtensa-esp-elf-binutils/patches/patch-bfd_xtensa-dynconfig.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-bfd_xtensa-dynconfig.c,v 1.1 2024/07/22 20:01:50 tnn Exp $
|
|Try full path if dlopen of dynconfig lib fails.
|Fails at least on macOS otherwise.
|
|--- bfd/xtensa-dynconfig.c.orig	2024-07-22 19:32:42.008309960 +0000
|+++ bfd/xtensa-dynconfig.c
--------------------------
Patching file bfd/xtensa-dynconfig.c using Plan A...
Hunk #1 succeeded at 146.
done
===> Creating toolchain wrappers for xtensa-esp-elf-binutils-2.41.0
===> Configuring for xtensa-esp-elf-binutils-2.41.0
=> Substitute GNU_CONFIGURE_PREFIX in patch
=> 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 build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... xtensa-esp-elf
checking for a BSD-compatible install... /bin/install -c -o pbulk -g pbulk
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... /bin/gawk
checking for gdbserver support... no
checking for x86_64-redhat-linux-gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for cc option to accept ISO C99... none needed
checking whether we are using the GNU C++ compiler... no
checking whether c++ accepts -g... no
checking whether g++ accepts -static-libstdc++ -static-libgcc... no
checking for x86_64-redhat-linux-gnatbind... no
checking for gnatbind... no
checking for x86_64-redhat-linux-gnatmake... no
checking for gnatmake... no
checking whether compiler driver understands Ada and is recent enough... no
checking for x86_64-redhat-linux-gdc... no
checking for gdc... no
checking whether the D compiler works... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for isl 0.15 or later... no
required isl version is 0.15 or later
*** This configuration is not supported in the following subdirectories:
     gdbserver gdb
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... 
checking for --enable-vtable-verify... no
checking for bison... /usr/pkg/bin/bison -y
checking for bison... /home/pbulk/build/cross/xtensa-esp-elf-binutils/work/.tools/bin/bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... no
checking for lex... no
checking for flex... no
checking for makeinfo... /home/pbulk/build/cross/xtensa-esp-elf-binutils/work/.tools/bin/makeinfo
checking for expect... no
checking for runtest... no
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for x86_64-redhat-linux-as... no
checking for as... as
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking for x86_64-redhat-linux-dsymutil... no
checking for dsymutil... no
checking for x86_64-redhat-linux-ld... no
checking for ld... ld
checking for x86_64-redhat-linux-lipo... no
checking for lipo... no
checking for x86_64-redhat-linux-nm... no
checking for nm... nm
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-windres... no
checking for windres... no
checking for x86_64-redhat-linux-windmc... no
checking for windmc... no
checking for x86_64-redhat-linux-objcopy... no
checking for objcopy... objcopy
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking for x86_64-redhat-linux-otool... no
checking for otool... no
checking for x86_64-redhat-linux-readelf... no
checking for readelf... readelf
checking for -plugin option... checking for x86_64-redhat-linux-ar... (cached) ar
ar: no operation specified
configure: WARNING: Failed: ar --plugin /usr/libexec/gcc/x86_64-redhat-linux/8/liblto_plugin.so rc
no
checking for xtensa-esp-elf-cc... no
checking for xtensa-esp-elf-gcc... no
checking for xtensa-esp-elf-c++... no
checking for xtensa-esp-elf-g++... no
checking for xtensa-esp-elf-cxx... no
checking for xtensa-esp-elf-gxx... no
checking for xtensa-esp-elf-gcc... no
checking for xtensa-esp-elf-gfortran... no
checking for xtensa-esp-elf-gccgo... no
checking for xtensa-esp-elf-gdc... no
checking for xtensa-esp-elf-ar... no
checking for xtensa-esp-elf-as... no
checking for xtensa-esp-elf-dlltool... no
checking for xtensa-esp-elf-dsymutil... no
checking for xtensa-esp-elf-ld... no
checking for xtensa-esp-elf-lipo... no
checking for xtensa-esp-elf-nm... no
checking for xtensa-esp-elf-objcopy... no
checking for xtensa-esp-elf-objdump... no
checking for xtensa-esp-elf-otool... no
checking for xtensa-esp-elf-ranlib... no
checking for xtensa-esp-elf-readelf... no
checking for xtensa-esp-elf-strip... no
checking for xtensa-esp-elf-windres... no
checking for xtensa-esp-elf-windmc... no
checking where to find the target ar... just compiled
checking where to find the target as... just compiled
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... just compiled
checking where to find the target dsymutil... pre-installed
checking where to find the target gcc... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target gccgo... pre-installed
checking where to find the target gdc... pre-installed
checking where to find the target ld... just compiled
checking where to find the target lipo... pre-installed
checking where to find the target nm... just compiled
checking where to find the target objcopy... just compiled
checking where to find the target objdump... just compiled
checking where to find the target otool... pre-installed
checking where to find the target ranlib... just compiled
checking where to find the target readelf... just compiled
checking where to find the target strip... just compiled
checking where to find the target windres... just compiled
checking where to find the target windmc... just compiled
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile.