+ 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/nios2-gcc-4.7.3nb10/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nios2-gcc-4.7.3nb10/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for sourceryg++-2013.05-43-nios2-linux-gnu.src.tar.bz2
=> Checksum SHA512 OK for sourceryg++-2013.05-43-nios2-linux-gnu.src.tar.bz2
===> Installing dependencies for nios2-gcc-4.7.3nb10
==========================================================================
The supported build options for nios2-gcc are:

	doc

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

	PKG_OPTIONS.nios2-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 automake>=1.9: found automake-1.16.5nb2
=> Tool dependency autoconf>=2.58: found autoconf-2.71nb2
=> Tool dependency gawk>=3.1.1: found gawk-5.2.0
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.21nb3
=> Tool dependency gmake>=3.81: found gmake-4.3nb4
=> Tool dependency gtexinfo>=3.12: found gtexinfo-6.8nb1
=> Tool dependency perl>=5.0: found perl-5.36.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency gtexinfo-[0-9]*: found gtexinfo-6.8nb1
=> Build dependency curl-[0-9]*: found curl-7.85.0
=> Full dependency nios2-binutils>=2.23: found nios2-binutils-2.24nb3
=> Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3
=> Full dependency gmp>=5.0.1: found gmp-6.2.1nb3
=> Full dependency mpfr>=4.0.0: found mpfr-4.1.0
=> Full dependency mpcomplex>=1.0.3nb1: found mpcomplex-1.1.0
===> Overriding tools for nios2-gcc-4.7.3nb10
===> Extracting for nios2-gcc-4.7.3nb10
(cd /home/pbulk/build/cross/nios2-gcc/work; tar jxf /nfs/distfiles/sourceryg++-2013.05-43-nios2-linux-gnu.src.tar.bz2	 sourceryg++-2013.05-43-nios2-linux-gnu/gcc-2013.05-43.tar.bz2; tar jxf sourceryg++-2013.05-43-nios2-linux-gnu/gcc-2013.05-43.tar.bz2; )
===> Patching for nios2-gcc-4.7.3nb10
=> Applying pkgsrc patches for nios2-gcc-4.7.3nb10
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/nios2-gcc/patches/patch-aa
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/nios2-gcc/patches/patch-aa
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-aa,v 1.4 2019/06/08 10:53:29 rillig Exp $
|
|#
|# (1) craft FPBIT_FUNCS and DPBIT_FUNCS lists to avoid routine collision
|# against NetBSD softfloat implementation. Following twelve are to
|# be eliminated;
|#	_addsub_df.o _addsub_sf.o _df_to_sf.o _df_to_si.o
|#	_div_df.o _div_sf.o _mul_df.o _mul_sf.o _sf_to_df.o _sf_to_si.o
|#	_si_to_df.o _si_to_sf.o
|# (2) To swith with and without documents, put @@VAR@@ type words. 
|
|--- gcc/Makefile.in.orig	2013-06-26 06:01:21.000000000 +0900
|+++ gcc/Makefile.in	2013-11-16 17:45:15.000000000 +0900
--------------------------
Patching file gcc/Makefile.in using Plan A...
Hunk #1 succeeded at 1752.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/nios2-gcc/patches/patch-gcc_doc_invoke.texi
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/nios2-gcc/patches/patch-gcc_doc_invoke.texi
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-gcc_doc_invoke.texi,v 1.1 2013/11/18 06:41:27 mef Exp $
|
|wip/nios2-gcc/work/gcc-4.1/gcc/doc/invoke.texi:1078: I can't find file `'.
|
|--- gcc-nios2/gcc/doc/invoke.texi.orig	2013-06-26 05:56:33.000000000 +0900
|+++ gcc/doc/invoke.texi	2013-11-11 13:58:30.000000000 +0900
--------------------------
Patching file gcc/doc/invoke.texi using Plan A...
Hunk #1 succeeded at 1457.
done
=> Verifying /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/nios2-gcc/patches/patch-libiberty_Makefile.in
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-bulktest/cross/nios2-gcc/patches/patch-libiberty_Makefile.in
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-libiberty_Makefile.in,v 1.1 2014/01/20 19:28:46 joerg Exp $
|
|--- libiberty/Makefile.in.orig	2013-06-25 21:01:31.000000000 +0000
|+++ libiberty/Makefile.in
--------------------------
Patching file libiberty/Makefile.in using Plan A...
Hunk #1 succeeded at 351.
Hunk #2 succeeded at 369.
done
(cd /home/pbulk/build/cross/nios2-gcc/work/gcc-nios2;					 /usr/bin/mv  gcc/Makefile.in gcc/Makefile.in.orig;	 /opt/pkg/bin/nbsed '-e s/@@DOC@@//'				 '-e s/@@INSTALL_HTML@@//'		 '-e s/@@INSTALL_PDF@@//'			 gcc/Makefile.in.orig > gcc/Makefile.in;		 )
===> Creating toolchain wrappers for nios2-gcc-4.7.3nb10
===> Configuring for nios2-gcc-4.7.3nb10
=> Purely work-around, replacing @host-subdir@ in advance
=> 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--solaris2
checking host system type... x86_64--solaris2
checking target system type... nios2-unknown-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... /opt/pkg/bin/nbsed
checking for gawk... /opt/pkg/bin/gawk
checking for libitm support... no
checking for x86_64--solaris-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 for x86_64--solaris-gnatbind... no
checking for gnatbind... no
checking for x86_64--solaris-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 PWL_handle_timeout in -lpwl... no
checking for version 0.11 (revision 0 or later) of PPL... no
*** This configuration is not supported in the following subdirectories:
     target-libmudflap target-libgomp target-libitm gnattools target-libada target-libstdc++-v3 target-libgfortran target-libgo target-libffi target-zlib target-libjava target-libobjc target-libssp target-boehm-gc
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG... 
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/nios2-gcc/work/.tools/bin/makeinfo
checking for expect... no
checking for runtest... no
checking for x86_64--solaris-ar... no
checking for ar... ar
checking for x86_64--solaris-as... no
checking for as... as
checking for x86_64--solaris-dlltool... no
checking for dlltool... no
checking for ld... (cached) /bin/ld
checking for x86_64--solaris-ld... (cached) /bin/ld
checking for x86_64--solaris-lipo... no
checking for lipo... no
checking for x86_64--solaris-nm... no
checking for nm... nm
checking for x86_64--solaris-ranlib... no
checking for ranlib... ranlib
checking for x86_64--solaris-strip... no
checking for strip... strip
checking for x86_64--solaris-windres... no
checking for windres... no
checking for x86_64--solaris-windmc... no
checking for windmc... no
checking for x86_64--solaris-objcopy... no
checking for objcopy... objcopy
checking for x86_64--solaris-objdump... no
checking for objdump... objdump
checking for x86_64--solaris-readelf... no
checking for readelf... readelf
checking for nios2-elf-cc... no
checking for nios2-elf-gcc... no
checking for nios2-elf-c++... no
checking for nios2-elf-g++... no
checking for nios2-elf-cxx... no
checking for nios2-elf-gxx... no
checking for nios2-elf-gcc... no
checking for nios2-elf-gcj... no
checking for nios2-elf-gfortran... no
checking for nios2-elf-gccgo... no
checking for ar... /opt/pkg/cross/nios2-elf/bin/ar
checking for as... /opt/pkg/cross/nios2-elf/bin/as
checking for dlltool... no
checking for nios2-elf-dlltool... no
checking for ld... /opt/pkg/cross/nios2-elf/bin/ld
checking for lipo... no
checking for nios2-elf-lipo... no
checking for nm... /opt/pkg/cross/nios2-elf/bin/nm
checking for objdump... /opt/pkg/cross/nios2-elf/bin/objdump
checking for ranlib... /opt/pkg/cross/nios2-elf/bin/ranlib
checking for readelf... no
checking for nios2-elf-readelf... nios2-elf-readelf
checking for strip... /opt/pkg/cross/nios2-elf/bin/strip
checking for windres... no
checking for nios2-elf-windres... no
checking for windmc... no
checking for nios2-elf-windmc... no
checking where to find the target ar... pre-installed in /opt/pkg/cross/nios2-elf/bin
checking where to find the target as... pre-installed in /opt/pkg/cross/nios2-elf/bin
checking where to find the target cc... just compiled
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... pre-installed
checking where to find the target gcc... just compiled
checking where to find the target gcj... 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 ld... pre-installed in /opt/pkg/cross/nios2-elf/bin
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed in /opt/pkg/cross/nios2-elf/bin
checking where to find the target objdump... pre-installed in /opt/pkg/cross/nios2-elf/bin
checking where to find the target ranlib... pre-installed in /opt/pkg/cross/nios2-elf/bin
checking where to find the target readelf... pre-installed
checking where to find the target strip... pre-installed in /opt/pkg/cross/nios2-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
checking whether -fkeep-inline-functions is supported... yes
configure: creating ./config.status
config.status: creating Makefile
=> Modifying libtool scripts to use pkgsrc libtool
=> Modifying libtool scripts to use pkgsrc depcomp