Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/gcc-libraries.spec'], chrootPath='/var/lib/mock/c71804-00-armhfp/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1004) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/gcc-libraries.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/gcc-libraries-7.2.1-1.1.1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/gcc-libraries.spec'], chrootPath='/var/lib/mock/c71804-00-armhfp/root'shell=Falseuid=1004env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/gcc-libraries.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VSGoHr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gcc-7.2.1-20170829 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/gcc-7.2.1-20170829.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd gcc-7.2.1-20170829 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gcc7-hack.patch):' Patch #0 (gcc7-hack.patch): + /usr/bin/cat /builddir/build/SOURCES/gcc7-hack.patch + /usr/bin/patch -p0 -b --suffix .hack~ --fuzz=0 patching file libada/Makefile.in Hunk #1 succeeded at 72 (offset 6 lines). Hunk #2 succeeded at 116 (offset 6 lines). patching file gcc/ada/sem_util.adb Hunk #1 succeeded at 9846 (offset 4359 lines). patching file config-ml.in patching file libcpp/macro.c Hunk #1 succeeded at 2990 (offset 43 lines). Hunk #2 succeeded at 3100 (offset 43 lines). Hunk #3 succeeded at 3114 (offset 43 lines). patching file libcpp/expr.c Hunk #1 succeeded at 761 (offset 89 lines). + echo 'Patch #1 (gcc7-ppc32-retaddr.patch):' Patch #1 (gcc7-ppc32-retaddr.patch): + /usr/bin/patch -p0 -b --suffix .ppc32-retaddr~ --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/gcc7-ppc32-retaddr.patch patching file gcc/config/rs6000/rs6000.c Hunk #1 succeeded at 27724 (offset 6754 lines). patching file gcc/testsuite/gcc.dg/20051128-1.c + echo 'Patch #2 (gcc7-i386-libgomp.patch):' Patch #2 (gcc7-i386-libgomp.patch): + /usr/bin/cat /builddir/build/SOURCES/gcc7-i386-libgomp.patch + /usr/bin/patch -p0 -b --suffix .i386-libgomp~ --fuzz=0 patching file libgomp/configure.tgt Hunk #1 succeeded at 74 (offset 7 lines). + echo 'Patch #3 (gcc7-sparc-config-detection.patch):' Patch #3 (gcc7-sparc-config-detection.patch): + /usr/bin/cat /builddir/build/SOURCES/gcc7-sparc-config-detection.patch + /usr/bin/patch -p0 -b --suffix .sparc-config-detection~ --fuzz=0 patching file gcc/config.gcc Hunk #1 succeeded at 2824 (offset 34 lines). Hunk #2 succeeded at 2878 (offset 34 lines). patching file libgcc/config.host Hunk #1 succeeded at 1193 (offset 191 lines). Hunk #2 succeeded at 1241 (offset 191 lines). + echo 'Patch #4 (gcc7-libgomp-omp_h-multilib.patch):' Patch #4 (gcc7-libgomp-omp_h-multilib.patch): + /usr/bin/cat /builddir/build/SOURCES/gcc7-libgomp-omp_h-multilib.patch + /usr/bin/patch -p0 -b --suffix .libgomp-omp_h-multilib~ --fuzz=0 patching file libgomp/omp.h.in Hunk #1 succeeded at 40 (offset -2 lines). + echo 'Patch #5 (gcc7-libtool-no-rpath.patch):' Patch #5 (gcc7-libtool-no-rpath.patch): + /usr/bin/cat /builddir/build/SOURCES/gcc7-libtool-no-rpath.patch + /usr/bin/patch -p0 -b --suffix .libtool-no-rpath~ --fuzz=0 patching file ltmain.sh Hunk #1 succeeded at 7103 (offset 1709 lines). Hunk #2 succeeded at 7799 (offset 1727 lines). Hunk #3 succeeded at 7851 (offset 1729 lines). + echo 'Patch #8 (gcc7-no-add-needed.patch):' Patch #8 (gcc7-no-add-needed.patch): + /usr/bin/patch -p0 -b --suffix .no-add-needed~ --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/gcc7-no-add-needed.patch patching file gcc/config/alpha/elf.h Hunk #1 succeeded at 168 (offset 3 lines). patching file gcc/config/ia64/linux.h patching file gcc/config/gnu-user.h Hunk #1 succeeded at 132 (offset 50 lines). patching file gcc/config/rs6000/sysv4.h Hunk #1 succeeded at 815 (offset -5 lines). Patch #9 (gcc7-aarch64-async-unw-tables.patch): + echo 'Patch #9 (gcc7-aarch64-async-unw-tables.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc7-aarch64-async-unw-tables.patch + /usr/bin/patch -p0 -b --suffix .aarch64-async-unw-tables~ --fuzz=0 patching file gcc/common/config/aarch64/aarch64-common.c Hunk #1 succeeded at 42 (offset 3 lines). Hunk #2 succeeded at 57 (offset 7 lines). Patch #10 (gcc7-foffload-default.patch): + echo 'Patch #10 (gcc7-foffload-default.patch):' + /usr/bin/patch -p0 -b --suffix .foffload-default~ --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/gcc7-foffload-default.patch patching file gcc/gcc.c Hunk #3 succeeded at 7703 (offset 3 lines). patching file gcc/lto-wrapper.c patching file libgomp/target.c Patch #11 (gcc7-Wno-format-security.patch): + echo 'Patch #11 (gcc7-Wno-format-security.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc7-Wno-format-security.patch + /usr/bin/patch -p0 -b --suffix .Wno-format-security~ --fuzz=0 patching file gcc/configure.ac patching file gcc/configure + sed -i -e 's/ -Wl,-z,nodlopen//g' gcc/ada/gcc-interface/Makefile.in Patch #1005 (gcc7-rh1118870.patch): + echo 'Patch #1005 (gcc7-rh1118870.patch):' + /usr/bin/cat /builddir/build/SOURCES/gcc7-rh1118870.patch + /usr/bin/patch -p0 -b --suffix .rh1118870~ --fuzz=0 patching file libstdc++-v3/testsuite/30_threads/condition_variable_any/rh1118870.cc Patch #1100 (gcc7-htm-in-asm.patch): + echo 'Patch #1100 (gcc7-htm-in-asm.patch):' + /usr/bin/patch -p0 -b --suffix .gcc6-htm-in-asm~ --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/gcc7-htm-in-asm.patch patching file libitm/config/x86/target.h Hunk #2 succeeded at 120 (offset 23 lines). Hunk #3 succeeded at 135 (offset 23 lines). Hunk #4 succeeded at 144 (offset 23 lines). Hunk #5 succeeded at 158 (offset 23 lines). + cp -a libstdc++-v3/config/cpu/i486/atomicity.h libstdc++-v3/config/cpu/i386/atomicity.h + cp -a libstdc++-v3/config/cpu/i486/opt libstdc++-v3/config/cpu/i386/opt + ./contrib/gcc_update --touch Touching gcc/cstamp-h.in... Touching gcc/config.in... Touching gcc/config/tilegx/mul-tables.c... Touching libgfortran/Makefile.in... Touching libquadmath/Makefile.in... Touching libgfortran/configure... Touching libgomp/configure.ac... Touching libgomp/aclocal.m4... Touching libgomp/Makefile.in... Touching libgomp/testsuite/Makefile.in... Touching libgomp/configure... Touching libgomp/config.h.in... Touching Makefile.in... + LC_ALL=C + sed -i -e 's/\xa0/ /' gcc/doc/options.texi + sed -i -e 's/Common Driver Var(flag_report_bug)/& Init(1)/' gcc/common.opt Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.O6ZfQE + exit 0 + umask 022 + cd /builddir/build/BUILD + cd gcc-7.2.1-20170829 + export CONFIG_SITE=NONE + CONFIG_SITE=NONE + rm -fr obj-armv7hl-redhat-linux-gnueabi + mkdir obj-armv7hl-redhat-linux-gnueabi + cd obj-armv7hl-redhat-linux-gnueabi + CC=gcc + CXX=g++ ++ echo -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ++ sed -e 's/\(-Wp,\)\?-D_FORTIFY_SOURCE=[12]//g' + OPT_FLAGS='-O2 -g -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' ++ echo -O2 -g -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ++ sed -e 's/-m64//g;s/-m32//g;s/-m31//g' + OPT_FLAGS='-O2 -g -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' ++ echo -O2 -g -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ++ sed -e 's/-mfpmath=sse/-mfpmath=sse -msse2/g' + OPT_FLAGS='-O2 -g -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' ++ echo -O2 -g -pipe -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ++ sed -e 's/ -pipe / /g' + OPT_FLAGS='-O2 -g -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' ++ sed -e 's/[[:blank:]]\+/ /g' ++ echo '-O2 -g -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + OPT_FLAGS='-O2 -g -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + CC=gcc + CXX=g++ + CFLAGS='-O2 -g -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' ++ sed 's/ -Wall / /g;s/ -fexceptions / /g' ++ echo ' -O2 -g -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ' + CXXFLAGS=' -O2 -g -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard ' + XCFLAGS='-O2 -g -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + TCFLAGS='-O2 -g -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + GCJFLAGS='-O2 -g -Wall -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --disable-libsanitizer --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,lto,fortran --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --disable-libgcj --without-ppl --without-cloog --enable-gnu-indirect-function --disable-sjlj-exceptions checking build system type... armv7l-unknown-linux-gnueabihf checking host system type... armv7l-unknown-linux-gnueabihf checking target system type... armv7l-unknown-linux-gnueabihf checking for a BSD-compatible install... /usr/bin/install -c 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... gawk checking for libatomic support... yes checking for libcilkrts support... no checking for libitm support... yes checking for libvtv support... yes checking for libmpx support... no checking for libhsail-rt support... no checking for 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... no checking for gnatbind... 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 The following languages will be built: c,c++,fortran,lto *** This configuration is not supported in the following subdirectories: zlib target-libcilkrts target-libmpx gnattools gotools target-libada target-libhsail-rt target-libgo target-libffi target-libobjc target-liboffloadmic target-libsanitizer (Any other directories should still work fine.) checking for default BUILD_CONFIG... bootstrap-debug checking for --enable-vtable-verify... no checking for bison... bison -y checking for bison... bison checking for gm4... no checking for gnum4... no checking for m4... m4 checking for flex... flex checking for flex... flex checking for makeinfo... makeinfo checking for expect... expect checking for runtest... runtest checking for ar... ar checking for as... as checking for dlltool... no checking for ld... ld checking for lipo... no checking for nm... nm checking for ranlib... ranlib checking for strip... strip checking for windres... no checking for windmc... no checking for objcopy... objcopy checking for objdump... objdump checking for readelf... readelf checking for cc... cc checking for c++... c++ checking for gcc... gcc checking for gfortran... no checking for gccgo... no checking for ar... no checking for ar... ar checking for as... no checking for as... as checking for dlltool... no checking for dlltool... no checking for ld... no checking for ld... ld checking for lipo... no checking for lipo... no checking for nm... no checking for nm... nm checking for objcopy... no checking for objcopy... objcopy checking for objdump... no checking for objdump... objdump checking for ranlib... no checking for ranlib... ranlib checking for readelf... no checking for readelf... readelf checking for strip... no checking for strip... strip checking for windres... no checking for windres... no checking for windmc... no checking for windmc... no checking where to find the target ar... host tool checking where to find the target as... host tool 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... host tool checking where to find the target gcc... just compiled checking where to find the target gfortran... just compiled checking where to find the target gccgo... host tool checking where to find the target ld... host tool checking where to find the target lipo... host tool checking where to find the target nm... host tool checking where to find the target objcopy... host tool checking where to find the target objdump... host tool checking where to find the target ranlib... host tool checking where to find the target readelf... host tool checking where to find the target strip... host tool checking where to find the target windres... host tool checking where to find the target windmc... host tool checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile + --with-tune=cortex-a8 --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --with-abi=aapcs-linux /var/tmp/rpm-tmp.O6ZfQE: line 65: --with-tune=cortex-a8: command not found error: Bad exit status from /var/tmp/rpm-tmp.O6ZfQE (%build) Bad exit status from /var/tmp/rpm-tmp.O6ZfQE (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/gcc-libraries.spec