Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gcc.spec'], chrootPath='/var/lib/mock/f30-build-42775-24716/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/gcc-9.0.1-0.6.0.riscv64.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gcc.spec'], chrootPath='/var/lib/mock/f30-build-42775-24716/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.w94H61 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gcc-9.0.1-20190219 + /usr/bin/xz -dc /builddir/build/SOURCES/gcc-9.0.1-20190219.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gcc-9.0.1-20190219 + /usr/bin/tar -xof - + /usr/bin/xz -dc /builddir/build/SOURCES/nvptx-tools-c28050f60193b3b95a18866a96f03334e874e78f.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/xz -dc /builddir/build/SOURCES/nvptx-newlib-aadc8eb0ec43b7cd0dd2dfb484bae63c8b05ef24.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (gcc9-hack.patch): + echo 'Patch #0 (gcc9-hack.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .hack~ --fuzz=0 patching file libada/Makefile.in patching file config-ml.in patching file libcpp/macro.c patching file libcpp/expr.c Patch #1 (gcc9-i386-libgomp.patch): + echo 'Patch #1 (gcc9-i386-libgomp.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .i386-libgomp~ --fuzz=0 patching file libgomp/configure.tgt Hunk #1 succeeded at 74 (offset 7 lines). Patch #2 (gcc9-sparc-config-detection.patch): + echo 'Patch #2 (gcc9-sparc-config-detection.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .sparc-config-detection~ --fuzz=0 patching file gcc/config.gcc Hunk #1 succeeded at 3005 (offset 215 lines). Hunk #2 succeeded at 3059 (offset 215 lines). patching file libgcc/config.host Hunk #1 succeeded at 1279 (offset 277 lines). Hunk #2 succeeded at 1327 (offset 277 lines). Patch #3 (gcc9-libgomp-omp_h-multilib.patch): + echo 'Patch #3 (gcc9-libgomp-omp_h-multilib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libgomp-omp_h-multilib~ --fuzz=0 patching file libgomp/omp.h.in Hunk #1 succeeded at 40 (offset -2 lines). Patch #4 (gcc9-libtool-no-rpath.patch): + echo 'Patch #4 (gcc9-libtool-no-rpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -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). Patch #5 (gcc9-isl-dl.patch): + echo 'Patch #5 (gcc9-isl-dl.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .isl-dl~ --fuzz=0 patching file gcc/Makefile.in Hunk #1 succeeded at 1064 (offset 18 lines). Hunk #2 succeeded at 2249 (offset 53 lines). patching file gcc/graphite.h Hunk #2 succeeded at 1048 (offset 3 lines). patching file gcc/graphite.c Hunk #2 succeeded at 451 (offset 57 lines). Hunk #3 succeeded at 556 (offset 63 lines). patching file gcc/toplev.c Hunk #1 succeeded at 98 (offset 4 lines). Hunk #2 succeeded at 674 (offset -10 lines). Patch #6 (gcc9-libstdc++-docs.patch): + echo 'Patch #6 (gcc9-libstdc++-docs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libstdc++-docs~ --fuzz=0 patching file libstdc++-v3/doc/html/index.html Hunk #1 succeeded at 4 (offset -1 lines). patching file libstdc++-v3/doc/html/api.html Patch #7 (gcc9-no-add-needed.patch): + echo 'Patch #7 (gcc9-no-add-needed.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .no-add-needed~ --fuzz=0 patching file gcc/config/alpha/elf.h Hunk #1 succeeded at 142 (offset -26 lines). patching file gcc/config/ia64/linux.h patching file gcc/config/gnu-user.h Patch #8 (gcc9-foffload-default.patch): + echo 'Patch #8 (gcc9-foffload-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .foffload-default~ --fuzz=0 patching file gcc/gcc.c Hunk #1 succeeded at 296 (offset 6 lines). Hunk #2 succeeded at 4614 (offset 153 lines). Hunk #3 succeeded at 7835 (offset 135 lines). patching file gcc/lto-wrapper.c patching file libgomp/target.c Hunk #1 succeeded at 2592 (offset 236 lines). Patch #9 (gcc9-Wno-format-security.patch): + echo 'Patch #9 (gcc9-Wno-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .Wno-format-security~ --fuzz=0 patching file gcc/configure.ac Hunk #1 succeeded at 480 (offset -1 lines). patching file gcc/configure Hunk #1 succeeded at 6728 (offset 81 lines). Patch #10 (gcc9-rh1574936.patch): + echo 'Patch #10 (gcc9-rh1574936.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .rh1574936~ --fuzz=0 patching file libgcc/Makefile.in Hunk #1 succeeded at 246 (offset 2 lines). Hunk #2 succeeded at 300 (offset 2 lines). Patch #11 (gcc9-d-shared-libphobos.patch): + echo 'Patch #11 (gcc9-d-shared-libphobos.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .d-shared-libphobos~ --fuzz=0 patching file gcc/d/d-spec.cc Hunk #1 succeeded at 412 (offset 7 lines). Patch #12 (gcc9-pr89014.patch): + echo 'Patch #12 (gcc9-pr89014.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pr89014~ --fuzz=0 patching file gcc/config/aarch64/aarch64-option-extensions.def Hunk #1 succeeded at 36 (offset -7 lines). patching file gcc/config/aarch64/driver-aarch64.c Hunk #1 succeeded at 251 (offset -2 lines). patching file gcc/testsuite/gcc.target/aarch64/options_set_10.c Patch #13 (gcc9-pr89093.patch): + echo 'Patch #13 (gcc9-pr89093.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pr89093~ --fuzz=0 patching file gcc/config/arm/arm-cpus.in patching file gcc/config/arm/arm-tables.opt patching file gcc/config/arm/arm.c patching file libgcc/config/arm/pr-support.c patching file libgcc/config/arm/unwind-arm.c patching file libgcc/unwind-c.c patching file libstdc++-v3/libsupc++/eh_personality.cc Patch #14 (gcc9-s390x-bootstrap-fix.patch): + echo 'Patch #14 (gcc9-s390x-bootstrap-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .s390x-bootstrap~ --fuzz=0 patching file libgo/go/internal/cpu/cpu_gccgo.c Patch #15 (gcc9-pr88714.patch): + echo 'Patch #15 (gcc9-pr88714.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pr88714~ --fuzz=0 patching file gcc/config/arm/constraints.md patching file gcc/config/arm/ldrdstrd.md Patch #16 (gcc9-pr89402.patch): + echo 'Patch #16 (gcc9-pr89402.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .pr89402~ --fuzz=0 patching file libstdc++-v3/src/c++98/compatibility-ldbl.cc Patch #30 (libphobos-enable-riscv-v3.patch): + echo 'Patch #30 (libphobos-enable-riscv-v3.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libphobos-riscv~ --fuzz=0 patching file libphobos/configure.tgt Hunk #1 FAILED at 30. 1 out of 1 hunk FAILED -- saving rejects to file libphobos/configure.tgt.rej patching file libphobos/libdruntime/core/atomic.d patching file libphobos/libdruntime/rt/sections_elf_shared.d Hunk #2 succeeded at 674 (offset -1 lines). patching file libphobos/src/std/experimental/allocator/building_blocks/region.d Hunk #1 succeeded at 391 (offset 1 line). patching file libphobos/src/std/math.d RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.w94H61 (%prep) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.w94H61 (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/gcc.spec