Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/avr-gcc.spec'], chrootPath='/var/lib/mock/f30-build-36299-20463/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/avr-gcc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/avr-gcc-7.2.0-1.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/avr-gcc.spec'], chrootPath='/var/lib/mock/f30-build-36299-20463/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/avr-gcc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IiWN5A + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf avr-gcc-7.2.0 + /usr/bin/mkdir -p avr-gcc-7.2.0 + cd avr-gcc-7.2.0 + /usr/bin/xz -dc /builddir/build/SOURCES/gcc-7.2.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + '[' -d gcc-7.2.0 ']' ~/build/BUILD/avr-gcc-7.2.0/gcc-7.2.0 ~/build/BUILD/avr-gcc-7.2.0 Patch #0 (avr-gcc-4.5.3-mint8.patch): + pushd gcc-7.2.0 + echo 'Patch #0 (avr-gcc-4.5.3-mint8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file gcc/config/avr/avr.h Hunk #1 succeeded at 149 (offset -26 lines). patching file gcc/defaults.h Hunk #1 succeeded at 583 (offset 57 lines). + contrib/gcc_update --touch + popd ~/build/BUILD/avr-gcc-7.2.0 + cp -a /builddir/build/SOURCES/README.fedora . + cat + cat os_install_post~ + read a x y + case $a in + read a x y + case $a in + read a x y + case $a in + read a x y + case $a in + read a x y + case $a in BUILDSTDERR: ++ basename /usr/lib/rpm/brp-strip + b=brp-strip + sed -e 's,find "*$RPM_BUILD_ROOT"*,find "$RPM_BUILD_ROOT/usr/bin" "$RPM_BUILD_ROOT/usr/libexec",' /usr/lib/rpm/brp-strip + chmod a+x brp-strip + read a x y + case $a in BUILDSTDERR: ++ basename /usr/lib/rpm/brp-strip-comment-note + b=brp-strip-comment-note + sed -e 's,find "*$RPM_BUILD_ROOT"*,find "$RPM_BUILD_ROOT/usr/bin" "$RPM_BUILD_ROOT/usr/libexec",' /usr/lib/rpm/brp-strip-comment-note + chmod a+x brp-strip-comment-note + read a x y + case $a in + read a x y + case $a in BUILDSTDERR: ++ basename /usr/lib/rpm/brp-strip-static-archive + b=brp-strip-static-archive + sed -e 's,find "*$RPM_BUILD_ROOT"*,find "$RPM_BUILD_ROOT/usr/bin" "$RPM_BUILD_ROOT/usr/libexec",' /usr/lib/rpm/brp-strip-static-archive + chmod a+x brp-strip-static-archive + read a x y + case $a in + read a x y + case $a in + read a x y + case $a in + read a x y + case $a in + read a x y + sed -e 's,^[ ]*/usr/lib/rpm.*/brp-strip,./brp-strip,' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3l2iLP + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/avr-gcc-7.2.0/gcc-7.2.0 ~/build/BUILD/avr-gcc-7.2.0 + cd avr-gcc-7.2.0 + pushd gcc-7.2.0 BUILDSTDERR: ++ head -n1 BUILDSTDERR: ++ autoreconf --version + acv='autoreconf (GNU Autoconf) 2.69' + acv=2.69 + sed -i /_GCC_AUTOCONF_VERSION/s/2.64/2.69/ config/override.m4 + autoreconf -fiv BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force BUILDSTDERR: configure.ac:1329: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body BUILDSTDERR: ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... BUILDSTDERR: configure.ac:1329: the top level BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: configure.ac:1329: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body BUILDSTDERR: ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... BUILDSTDERR: configure.ac:1329: the top level BUILDSTDERR: autoreconf: configure.ac: not using Libtool BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: configure.ac:1329: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body BUILDSTDERR: ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... BUILDSTDERR: ../../lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... BUILDSTDERR: configure.ac:1329: the top level BUILDSTDERR: autoreconf: configure.ac: not using Autoheader BUILDSTDERR: autoreconf: configure.ac: not using Automake BUILDSTDERR: autoreconf: Leaving directory `.' ~/build/BUILD/avr-gcc-7.2.0 + popd + mkdir -p gcc-avr ~/build/BUILD/avr-gcc-7.2.0/gcc-avr ~/build/BUILD/avr-gcc-7.2.0 + pushd gcc-avr + CC='gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-stack-protector' + ../gcc-7.2.0/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --target=avr --enable-languages=c,c++ --disable-nls --disable-libssp --with-system-zlib --enable-version-specific-runtime-libs '--with-pkgversion=Fedora 7.2.0-1.fc30' --with-bugurl=https://bugzilla.redhat.com/ checking build system type... riscv64-unknown-linux-gnu checking host system type... riscv64-unknown-linux-gnu checking target system type... avr-unknown-none 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... no checking for libcilkrts support... no checking for libitm support... no checking for libsanitizer support... no checking for libvtv support... no checking for libmpx support... no checking for libhsail-rt support... no checking for gcc... gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-stack-protector checking whether the C compiler works... no BUILDSTDERR: configure: error: in `/builddir/build/BUILD/avr-gcc-7.2.0/gcc-avr': BUILDSTDERR: configure: error: C compiler cannot create executables BUILDSTDERR: See `config.log' for more details BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.3l2iLP (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.3l2iLP (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/avr-gcc.spec