+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xtensa-esp32s2-elf-gcc-8.4.0nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xtensa-esp32s2-elf-gcc-8.4.0nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for crosstool-NG-esp-2021r2-patch3.tar.gz
=> Checksum SHA512 OK for crosstool-NG-esp-2021r2-patch3.tar.gz
=> Checksum BLAKE2s OK for espressif-gcc-8.4.0-f9333cfc1a790dff864aea3478cb862cc442be30.tar.gz
=> Checksum SHA512 OK for espressif-gcc-8.4.0-f9333cfc1a790dff864aea3478cb862cc442be30.tar.gz
=> Checksum BLAKE2s OK for newlib-esp32-2021r2-patch3_newlib-3_3_0-9e1cbb81.tar.gz
=> Checksum SHA512 OK for newlib-esp32-2021r2-patch3_newlib-3_3_0-9e1cbb81.tar.gz
===> Installing dependencies for xtensa-esp32s2-elf-gcc-8.4.0nb2
=> Tool dependency gtexinfo>=5.1: found gtexinfo-7.1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency gmake>=3.81: found gmake-4.4.1
=> Tool dependency perl>=5.0: found perl-5.38.2
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Full dependency xtensa-esp32s2-elf-binutils>=2.35.2: found xtensa-esp32s2-elf-binutils-2.35.2
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency gmp>=5.0.1: found gmp-6.3.0
=> Full dependency mpfr>=4.0.0: found mpfr-4.2.1
=> Full dependency mpcomplex>=1.0.3nb1: found mpcomplex-1.3.1
===> Overriding tools for xtensa-esp32s2-elf-gcc-8.4.0nb2
===> Extracting for xtensa-esp32s2-elf-gcc-8.4.0nb2
mv /home/pbulk/build/cross/xtensa-esp32s2-elf-gcc/work/newlib-*/newlib /home/pbulk/build/cross/xtensa-esp32s2-elf-gcc/work/gcc-f9333cfc1a790dff864aea3478cb862cc442be30/newlib
mv /home/pbulk/build/cross/xtensa-esp32s2-elf-gcc/work/newlib-*/libgloss /home/pbulk/build/cross/xtensa-esp32s2-elf-gcc/work/gcc-f9333cfc1a790dff864aea3478cb862cc442be30/libgloss
/bin/cp -r /home/pbulk/build/cross/xtensa-esp32s2-elf-gcc/work/overlays/xtensa_esp32s2/gcc/. /home/pbulk/build/cross/xtensa-esp32s2-elf-gcc/work/gcc-f9333cfc1a790dff864aea3478cb862cc442be30/.
/bin/cp -r /home/pbulk/build/cross/xtensa-esp32s2-elf-gcc/work/overlays/xtensa_esp32s2/newlib/. /home/pbulk/build/cross/xtensa-esp32s2-elf-gcc/work/gcc-f9333cfc1a790dff864aea3478cb862cc442be30/.
===> Patching for xtensa-esp32s2-elf-gcc-8.4.0nb2
=> Applying pkgsrc patches for xtensa-esp32s2-elf-gcc-8.4.0nb2
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/xtensa-esp32s2-elf-gcc/../../cross/xtensa-esp32-elf-gcc/patches/patch-gcc_config_host-darwin.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/xtensa-esp32s2-elf-gcc/../../cross/xtensa-esp32-elf-gcc/patches/patch-gcc_config_host-darwin.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_config_host-darwin.c,v 1.1 2022/04/15 16:56:09 tnn Exp $
|
|Add host hooks to allow hosting on Darwin/aarch64.
|The patch is done differently from the upstream fix in order to be small.
|Delete this patch when updating to GCC 12 or later.
|
|--- gcc/config/host-darwin.c.orig	2021-09-08 06:56:02.000000000 +0000
|+++ gcc/config/host-darwin.c
--------------------------
Patching file gcc/config/host-darwin.c using Plan A...
Hunk #1 succeeded at 75.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/xtensa-esp32s2-elf-gcc/../../cross/xtensa-esp32-elf-gcc/patches/patch-gcc_system.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/xtensa-esp32s2-elf-gcc/../../cross/xtensa-esp32-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 2019/03/24 11:58:04 tnn Exp $
|
|--- gcc/system.h.orig	2015-01-05 12:33:28.000000000 +0000
|+++ gcc/system.h
--------------------------
Patching file gcc/system.h using Plan A...
Hunk #1 succeeded at 44.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/xtensa-esp32s2-elf-gcc/../../cross/xtensa-esp32-elf-gcc/patches/patch-newlib_libc_posix_collate.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/xtensa-esp32s2-elf-gcc/../../cross/xtensa-esp32-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 2022/04/14 00:50:00 tnn Exp $
|
|work around a problem where PATH_MAX is undefined
|
|--- newlib/libc/posix/collate.c.orig	2022-03-31 06:25:20.000000000 +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-upstream-bulktest/cross/xtensa-esp32s2-elf-gcc/../../cross/xtensa-esp32-elf-gcc/patches/patch-newlib_libc_posix_regcomp.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/xtensa-esp32s2-elf-gcc/../../cross/xtensa-esp32-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 2022/04/14 00:50:00 tnn Exp $
|
|work around a problem where _POSIX2_RE_DUP_MAX is undefined
|
|--- newlib/libc/posix/regcomp.c.orig	2022-03-31 06:25:20.000000000 +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-esp32s2-elf-gcc-8.4.0nb2
===> Configuring for xtensa-esp32s2-elf-gcc-8.4.0nb2
=> 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 for portability problems in extracted files
configure: WARNING: unrecognized options: --with-local-prefix, --with-headers, --with-newlib, --enable-threads, --disable-shared, --disable-__cxa_atexit, --enable-cxx-flags, --disable-libgomp, --disable-libmudflap, --disable-libmpx, --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-newlib-io-float, --disable-newlib-io-long-double, --disable-newlib-supplied-syscalls, --enable-newlib-io-pos-args, --enable-newlib-io-c99-formats, --enable-newlib-io-long-long, --disable-newlib-register-fini, --disable-newlib-nano-malloc, --disable-newlib-nano-formatted-io, --enable-newlib-atexit-dynamic-alloc, --disable-newlib-global-atexit, --disable-lite-exit, --enable-newlib-reent-small, --enable-newlib-multithread, --disable-newlib-retargetable-locking, --disable-newlib-wide-orient, --enable-newlib-fseek-optimization, --enable-newlib-fvwrite-in-streamio, --enable-newlib-unbuf-stream-opt, --enable-target-optspace, --enable-newlib-long-time_t, --enable-newlib-nano-malloc, --enable-newlib-retargetable-locking, --enable-newlib-iconv
checking build system type... x86_64-sun-solaris2.11
checking host system type... x86_64-sun-solaris2.11
checking target system type... xtensa-esp32s2-elf
checking for a BSD-compatible install... /opt/pkg/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... /usr/bin/sed
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 libhsail-rt support... no
checking for x86_64-sun-solaris2.11-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 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... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
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/mpc libraries... yes
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:
     target-libquadmath target-libatomic target-libitm target-libsanitizer target-libvtv gnattools gotools target-libada target-libhsail-rt target-libgfortran target-libbacktrace target-libgo target-libffi target-libobjc target-libgomp target-liboffloadmic target-libmpx target-libssp
    (Any other directories should still work fine.)
Copying /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/include to /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/sys-include
mkdir: "/opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/sys-include": Permission denied
chmod: WARNING: can't access /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/sys-include
cp: cannot create /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/sys-include/#inst.127921#: No such file or directory
/home/pbulk/build/cross/xtensa-esp32s2-elf-gcc/work/gcc-f9333cfc1a790dff864aea3478cb862cc442be30/configure: line 6865: cd: /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/include: No such file or directory
/home/pbulk/build/cross/xtensa-esp32s2-elf-gcc/work/gcc-f9333cfc1a790dff864aea3478cb862cc442be30/configure: line 6865: cd: /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/sys-include: No such file or directory
/home/pbulk/build/cross/xtensa-esp32s2-elf-gcc/work/gcc-f9333cfc1a790dff864aea3478cb862cc442be30/configure: line 6871: /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/sys-include/COPIED: No such file or directory
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/cross/xtensa-esp32s2-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 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-readelf... no
checking for readelf... readelf
checking for xtensa-esp32s2-elf-cc... no
checking for xtensa-esp32s2-elf-gcc... no
checking for xtensa-esp32s2-elf-c++... no
checking for xtensa-esp32s2-elf-g++... no
checking for xtensa-esp32s2-elf-cxx... no
checking for xtensa-esp32s2-elf-gxx... no
checking for xtensa-esp32s2-elf-gcc... no
checking for xtensa-esp32s2-elf-gfortran... no
checking for xtensa-esp32s2-elf-gccgo... no
checking for ar... /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin/ar
checking for as... /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin/as
checking for dlltool... no
checking for xtensa-esp32s2-elf-dlltool... no
checking for ld... /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin/ld
checking for lipo... no
checking for xtensa-esp32s2-elf-lipo... no
checking for nm... /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin/nm
checking for objcopy... /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin/objcopy
checking for objdump... /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin/objdump
checking for ranlib... /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin/ranlib
checking for readelf... /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin/readelf
checking for strip... /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin/strip
checking for windres... no
checking for xtensa-esp32s2-elf-windres... no
checking for windmc... no
checking for xtensa-esp32s2-elf-windmc... no
checking where to find the target ar... pre-installed in /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin
checking where to find the target as... pre-installed in /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-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 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 ld... pre-installed in /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed in /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin
checking where to find the target objcopy... pre-installed in /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin
checking where to find the target objdump... pre-installed in /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin
checking where to find the target ranlib... pre-installed in /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin
checking where to find the target readelf... pre-installed in /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-elf/bin
checking where to find the target strip... pre-installed in /opt/pkg/xtensa-esp32s2-elf/xtensa-esp32s2-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-headers, --with-newlib, --enable-threads, --disable-shared, --disable-__cxa_atexit, --enable-cxx-flags, --disable-libgomp, --disable-libmudflap, --disable-libmpx, --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-newlib-io-float, --disable-newlib-io-long-double, --disable-newlib-supplied-syscalls, --enable-newlib-io-pos-args, --enable-newlib-io-c99-formats, --enable-newlib-io-long-long, --disable-newlib-register-fini, --disable-newlib-nano-malloc, --disable-newlib-nano-formatted-io, --enable-newlib-atexit-dynamic-alloc, --disable-newlib-global-atexit, --disable-lite-exit, --enable-newlib-reent-small, --enable-newlib-multithread, --disable-newlib-retargetable-locking, --disable-newlib-wide-orient, --enable-newlib-fseek-optimization, --enable-newlib-fvwrite-in-streamio, --enable-newlib-unbuf-stream-opt, --enable-target-optspace, --enable-newlib-long-time_t, --enable-newlib-nano-malloc, --enable-newlib-retargetable-locking, --enable-newlib-iconv