+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xtensa-esp-elf-gcc-13.2.0/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xtensa-esp-elf-gcc-13.2.0/work.log
=> 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-gcc-13.2.0-8b450d265fc2e60f5be980feb6c9f9c214c6c298-8b450d265fc2e60f5be980feb6c9f9c214c6c298.tar.gz
=> Checksum SHA512 OK for espressif-gcc-13.2.0-8b450d265fc2e60f5be980feb6c9f9c214c6c298-8b450d265fc2e60f5be980feb6c9f9c214c6c298.tar.gz
=> Checksum BLAKE2s OK for newlib-esp-4.3.0_20240530.tar.gz
=> Checksum SHA512 OK for newlib-esp-4.3.0_20240530.tar.gz
===> Installing dependencies for xtensa-esp-elf-gcc-13.2.0
=> Tool dependency gtexinfo>=5.1: found gtexinfo-7.1.1nb1
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency gsed>=3.0.2: found gsed-4.9nb1
=> Tool dependency perl>=5.0: found perl-5.40.0nb1
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gcc13>=13.1.0: found gcc13-13.3.0
=> Full dependency xtensa-esp-elf-binutils>=2.41.0: found xtensa-esp-elf-binutils-2.41.0
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency gcc13-libs>=13.2.0: found gcc13-libs-13.3.0
=> Full dependency gmp>=5.0.1: found gmp-6.3.0
=> Full dependency isl>=0.11.1: found isl-0.26
=> Full dependency mpcomplex>=1.0.3nb1: found mpcomplex-1.3.1
=> Full dependency mpfr>=4.0.0: found mpfr-4.2.1
===> Overriding tools for xtensa-esp-elf-gcc-13.2.0
===> Extracting for xtensa-esp-elf-gcc-13.2.0
mv /home/pbulk/build-disk/cross/xtensa-esp-elf-gcc/work/newlib-*/newlib /home/pbulk/build-disk/cross/xtensa-esp-elf-gcc/work/gcc-8b450d265fc2e60f5be980feb6c9f9c214c6c298/newlib
mv /home/pbulk/build-disk/cross/xtensa-esp-elf-gcc/work/newlib-*/libgloss /home/pbulk/build-disk/cross/xtensa-esp-elf-gcc/work/gcc-8b450d265fc2e60f5be980feb6c9f9c214c6c298/libgloss
===> Patching for xtensa-esp-elf-gcc-13.2.0
=> Applying pkgsrc patches for xtensa-esp-elf-gcc-13.2.0
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/cross/xtensa-esp-elf-gcc/patches/patch-gcc_config_xtensa_xtensa-dynconfig.cc
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/cross/xtensa-esp-elf-gcc/patches/patch-gcc_config_xtensa_xtensa-dynconfig.cc
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_config_xtensa_xtensa-dynconfig.cc,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.
|
|--- gcc/config/xtensa/xtensa-dynconfig.cc.orig	2024-07-22 19:20:13.596989938 +0000
|+++ gcc/config/xtensa/xtensa-dynconfig.cc
--------------------------
Patching file gcc/config/xtensa/xtensa-dynconfig.cc using Plan A...
Hunk #1 succeeded at 134.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/cross/xtensa-esp-elf-gcc/patches/patch-gcc_system.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/cross/xtensa-esp-elf-gcc/patches/patch-gcc_system.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_system.h,v 1.1 2024/07/22 20:01:50 tnn Exp $
|
|XXX paper over problem on macOS
|
|--- gcc/system.h.orig	2024-07-20 15:49:56.110873778 +0000
|+++ gcc/system.h
--------------------------
Patching file gcc/system.h using Plan A...
Hunk #1 succeeded at 1.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/cross/xtensa-esp-elf-gcc/patches/patch-libgcc_libgcov.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/cross/xtensa-esp-elf-gcc/patches/patch-libgcc_libgcov.h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libgcc_libgcov.h,v 1.1 2024/07/22 20:01:50 tnn Exp $
|
|For some reason uses configure result from host, not target.
|
|--- libgcc/libgcov.h.orig	2024-07-22 15:25:59.142776507 +0000
|+++ libgcc/libgcov.h
--------------------------
Patching file libgcc/libgcov.h using Plan A...
Hunk #1 succeeded at 46.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/cross/xtensa-esp-elf-gcc/patches/patch-newlib_libc_posix_collate.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/cross/xtensa-esp-elf-gcc/patches/patch-newlib_libc_posix_collate.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-newlib_libc_posix_collate.c,v 1.1 2024/07/22 20:01:50 tnn Exp $
|
|work around a problem where PATH_MAX is undefined
|
|--- newlib/libc/posix/collate.c.orig	2024-07-20 16:18:23.269162402 +0000
|+++ newlib/libc/posix/collate.c
--------------------------
Patching file newlib/libc/posix/collate.c using Plan A...
Hunk #1 succeeded at 26.
done
=> Verifying /data/jenkins/workspace/pkgsrc-trunk-x86_64/cross/xtensa-esp-elf-gcc/patches/patch-newlib_libc_posix_regcomp.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-trunk-x86_64/cross/xtensa-esp-elf-gcc/patches/patch-newlib_libc_posix_regcomp.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-newlib_libc_posix_regcomp.c,v 1.1 2024/07/22 20:01:50 tnn Exp $
|
|work around a problem where _POSIX2_RE_DUP_MAX is undefined
|
|--- newlib/libc/posix/regcomp.c.orig	2024-07-20 16:19:51.128168994 +0000
|+++ newlib/libc/posix/regcomp.c
--------------------------
Patching file newlib/libc/posix/regcomp.c using Plan A...
Hunk #1 succeeded at 39.
done
===> Creating toolchain wrappers for xtensa-esp-elf-gcc-13.2.0
/usr/bin/sed  -e '/^#/d'  -e 's,@LINK_ARCH_DEFAULT@,link_arch64,g'  -e 's,@LINK_LIBGCC_DEFAULT@,link_libgcc_arch64,g'  -e 's,@LIBGCC_PREFIX@,/opt/local/gcc13/x86_64-sun-solaris2.11,g'  < ../../extra/gcc13-libs/files/specs.pkgsrc  > /home/pbulk/build-disk/cross/xtensa-esp-elf-gcc/work/.cwrapper/specs.pkgsrc
===> Configuring for xtensa-esp-elf-gcc-13.2.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
configure: WARNING: unrecognized options: --with-local-prefix, --with-sysroot, --with-native-system-header-dir, --with-newlib, --enable-threads, --enable-static, --disable-shared, --with-pkgversion, --disable-__cxa_atexit, --enable-cxx-flags, --disable-libgomp, --disable-libmudflap, --disable-libmpx, --disable-libstdcxx-verbose, --enable-target-optspace, --without-long-double-128, --disable-nls, --enable-multiarch, --enable-languages, --disable-libstdcxx-verbose, --enable-threads, --enable-gcov-custom-rtio, --enable-libstdcxx-time, --enable-multilib, --disable-newlib-io-c99-formats, --disable-newlib-supplied-syscalls, --enable-newlib-nano-formatted-io, --enable-newlib-reent-small, --enable-target-optspace, --enable-newlib-nano-malloc, --enable-newlib-retargetable-locking, --disable-newlib_wide_orient, --enable-newlib-iconv, --enable-newlib-reent-binary-compat
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking target system type... xtensa-esp-elf
checking for a BSD-compatible install... /opt/local/bin/bsdinstall -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... /opt/local/bin/gsed
checking for gawk... /usr/bin/nawk
checking for libatomic support... no
checking for libitm support... no
checking for libsanitizer support... no
checking for libvtv support... no
checking for libphobos support... no
checking for x86_64-sun-solaris2.11-gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for x86_64-sun-solaris2.11-gnatbind... no
checking for gnatbind... no
checking for x86_64-sun-solaris2.11-gnatmake... no
checking for gnatmake... no
checking whether compiler driver understands Ada and is recent enough... no
checking for x86_64-sun-solaris2.11-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 whether g++ supports C++11 features by default... yes
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr libraries... yes
checking for the correct version of the mpc libraries... yes
checking for isl 0.15 or later... yes
*** This configuration is not supported in the following subdirectories:
     target-libquadmath target-libatomic target-libitm target-libsanitizer target-libvtv target-libphobos gnattools gotools target-libada target-zlib target-libbacktrace target-libgfortran target-libgo target-libffi target-libgm2 target-libobjc target-libgomp target-libssp
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... 
checking for --enable-vtable-verify... no
checking for bison... no
checking for byacc... no
checking for yacc... yacc
checking for bison... no
checking for gm4... gm4
checking for flex... flex
checking for flex... flex
checking for makeinfo... /home/pbulk/build-disk/cross/xtensa-esp-elf-gcc/work/.tools/bin/makeinfo
checking for expect... no
checking for runtest... no
checking for x86_64-sun-solaris2.11-ar... no
checking for ar... ar
checking for x86_64-sun-solaris2.11-as... no
checking for as... as
checking for x86_64-sun-solaris2.11-dlltool... no
checking for dlltool... no
checking for x86_64-sun-solaris2.11-dsymutil... no
checking for dsymutil... no
checking for ld... (cached) /bin/ld
checking for x86_64-sun-solaris2.11-ld... (cached) /bin/ld
checking for x86_64-sun-solaris2.11-lipo... no
checking for lipo... no
checking for x86_64-sun-solaris2.11-nm... no
checking for nm... nm
checking for x86_64-sun-solaris2.11-ranlib... no
checking for ranlib... ranlib
checking for x86_64-sun-solaris2.11-strip... no
checking for strip... strip
checking for x86_64-sun-solaris2.11-windres... no
checking for windres... no
checking for x86_64-sun-solaris2.11-windmc... no
checking for windmc... no
checking for x86_64-sun-solaris2.11-objcopy... no
checking for objcopy... objcopy
checking for x86_64-sun-solaris2.11-objdump... no
checking for objdump... objdump
checking for x86_64-sun-solaris2.11-otool... no
checking for otool... no
checking for x86_64-sun-solaris2.11-readelf... no
checking for readelf... readelf
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-gm2... no
checking for ar... /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin/ar
checking for as... /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin/as
checking for dlltool... no
checking for xtensa-esp-elf-dlltool... no
checking for dsymutil... no
checking for xtensa-esp-elf-dsymutil... no
checking for ld... /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin/ld
checking for lipo... no
checking for xtensa-esp-elf-lipo... no
checking for nm... /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin/nm
checking for objcopy... /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin/objcopy
checking for objdump... /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin/objdump
checking for otool... no
checking for xtensa-esp-elf-otool... no
checking for ranlib... /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin/ranlib
checking for readelf... /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin/readelf
checking for strip... /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin/strip
checking for windres... no
checking for xtensa-esp-elf-windres... no
checking for windmc... no
checking for xtensa-esp-elf-windmc... no
checking where to find the target ar... pre-installed in /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin
checking where to find the target as... pre-installed in /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... pre-installed
checking where to find the target dsymutil... pre-installed
checking where to find the target gcc... just compiled
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 gm2... pre-installed
checking where to find the target ld... pre-installed in /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed in /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin
checking where to find the target objcopy... pre-installed in /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin
checking where to find the target objdump... pre-installed in /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin
checking where to find the target otool... pre-installed
checking where to find the target ranlib... pre-installed in /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin
checking where to find the target readelf... pre-installed in /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin
checking where to find the target strip... pre-installed in /opt/local/xtensa-esp-elf/xtensa-esp-elf/bin
checking where to find the target windres... pre-installed
checking where to find the target windmc... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
configure: WARNING: unrecognized options: --with-local-prefix, --with-sysroot, --with-native-system-header-dir, --with-newlib, --enable-threads, --enable-static, --disable-shared, --with-pkgversion, --disable-__cxa_atexit, --enable-cxx-flags, --disable-libgomp, --disable-libmudflap, --disable-libmpx, --disable-libstdcxx-verbose, --enable-target-optspace, --without-long-double-128, --disable-nls, --enable-multiarch, --enable-languages, --disable-libstdcxx-verbose, --enable-threads, --enable-gcov-custom-rtio, --enable-libstdcxx-time, --enable-multilib, --disable-newlib-io-c99-formats, --disable-newlib-supplied-syscalls, --enable-newlib-nano-formatted-io, --enable-newlib-reent-small, --enable-target-optspace, --enable-newlib-nano-malloc, --enable-newlib-retargetable-locking, --disable-newlib_wide_orient, --enable-newlib-iconv, --enable-newlib-reent-binary-compat