+ 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/avr-gcc-13.2.0/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/avr-gcc-13.2.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for gcc-13.2.0.tar.gz
=> Checksum SHA512 OK for gcc-13.2.0.tar.gz
===> Installing dependencies for avr-gcc-13.2.0
==========================================================================
The supported build options for avr-gcc are:

	gcc-inplace-math

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.avr-gcc (not defined)

==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency nbpatch-[0-9]*: found nbpatch-20151107
=> 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 avr-binutils>=2.42: found avr-binutils-2.42
=> Full dependency gmp>=5.0.1: found gmp-6.3.0
=> Full dependency isl>=0.15: 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
=> Full dependency zlib>=1.2.3: found zlib-1.3.1
===> Overriding tools for avr-gcc-13.2.0
===> Extracting for avr-gcc-13.2.0
===> Patching for avr-gcc-13.2.0
=> Applying pkgsrc patches for avr-gcc-13.2.0
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/cross/avr-gcc/patches/patch-gcc_config_nvptx_gen-opt.sh
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/cross/avr-gcc/patches/patch-gcc_config_nvptx_gen-opt.sh
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_config_nvptx_gen-opt.sh,v 1.1 2024/04/26 13:05:01 micha Exp $
|
|Fix nonportable syntax in "[" command.
|<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105831>
|
|--- gcc/config/nvptx/gen-opt.sh.orig	2022-05-06 07:30:57.000000000 +0000
|+++ gcc/config/nvptx/gen-opt.sh
--------------------------
Patching file gcc/config/nvptx/gen-opt.sh using Plan A...
Hunk #1 succeeded at 56.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/cross/avr-gcc/patches/patch-gcc_configure
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/cross/avr-gcc/patches/patch-gcc_configure
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_configure,v 1.2 2024/04/26 13:05:01 micha Exp $
|
|Fix nonportable syntax in "test" command.
|<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105831>
|
|--- gcc/configure.orig	2022-05-06 07:30:57.000000000 +0000
|+++ gcc/configure
--------------------------
Patching file gcc/configure using Plan A...
Hunk #1 succeeded at 6404.
done
=> Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/cross/avr-gcc/patches/patch-libgcc_libgcov.h
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/cross/avr-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/04/26 13:05:01 micha Exp $
|
|System include directory is not searched, even if "sys/mman.h" header
|file is present. Quoted from "libgcc/configure.ac":
|| The libgcc should not depend on any header files
|=> Redefine HAVE_SYS_MMAN_H to zero.
|
|--- libgcc/libgcov.h.orig	2022-05-06 07:30:59.000000000 +0000
|+++ libgcc/libgcov.h
--------------------------
Patching file libgcc/libgcov.h using Plan A...
Hunk #1 succeeded at 45.
done
===> Creating toolchain wrappers for avr-gcc-13.2.0
===> Configuring for avr-gcc-13.2.0
=> 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
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking target system type... avr-unknown-none
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 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-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... -std=gnu99
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
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 whether c++ 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:
     zlib target-libgomp target-libatomic target-libitm target-libsanitizer target-libvtv target-libquadmath target-libssp target-libstdc++-v3 target-libphobos gnattools gotools target-libada target-zlib target-libbacktrace target-libgfortran target-libgo target-libffi target-libgm2 target-libobjc libcc1
    (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... no
checking for bison... no
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/avr-gcc/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 avr-cc... no
checking for avr-gcc... no
checking for avr-c++... no
checking for avr-g++... no
checking for avr-cxx... no
checking for avr-gxx... no
checking for avr-gcc... no
checking for avr-gfortran... no
checking for avr-gccgo... no
checking for avr-gdc... no
checking for avr-gm2... no
checking for ar... /usr/pkg/avr/bin/ar
checking for as... /usr/pkg/avr/bin/as
checking for dlltool... no
checking for avr-dlltool... no
checking for dsymutil... no
checking for avr-dsymutil... no
checking for ld... /usr/pkg/avr/bin/ld
checking for lipo... no
checking for avr-lipo... no
checking for nm... /usr/pkg/avr/bin/nm
checking for objcopy... /usr/pkg/avr/bin/objcopy
checking for objdump... /usr/pkg/avr/bin/objdump
checking for otool... no
checking for avr-otool... no
checking for ranlib... /usr/pkg/avr/bin/ranlib
checking for readelf... /usr/pkg/avr/bin/readelf
checking for strip... /usr/pkg/avr/bin/strip
checking for windres... no
checking for avr-windres... no
checking for windmc... no
checking for avr-windmc... no
checking where to find the target ar... pre-installed in /usr/pkg/avr/bin
checking where to find the target as... pre-installed in /usr/pkg/avr/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 /usr/pkg/avr/bin
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed in /usr/pkg/avr/bin
checking where to find the target objcopy... pre-installed in /usr/pkg/avr/bin
checking where to find the target objdump... pre-installed in /usr/pkg/avr/bin
checking where to find the target otool... pre-installed
checking where to find the target ranlib... pre-installed in /usr/pkg/avr/bin
checking where to find the target readelf... pre-installed in /usr/pkg/avr/bin
checking where to find the target strip... pre-installed in /usr/pkg/avr/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
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp