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/grubby.spec'], chrootPath='/var/lib/mock/f31-build-46865-26728/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/grubby.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 BUILDSTDERR: warning: line 49: It's not recommended to have unversioned Obsoletes: Obsoletes: grubby-bls Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563753600 Wrote: /builddir/build/SRPMS/grubby-8.40-34.0.riscv64.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/grubby.spec'], chrootPath='/var/lib/mock/f31-build-46865-26728/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/grubby.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 BUILDSTDERR: warning: line 49: It's not recommended to have unversioned Obsoletes: Obsoletes: grubby-bls Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563753600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cQ5j4C + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf grubby-8.40-1 + /usr/bin/gzip -dc /builddir/build/SOURCES/8.40-1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd grubby-8.40-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + git init + git config user.email noone@example.com + git config user.name 'no one' + git add . + git commit -a -q -m '8.40 baseline' + git am /builddir/build/SOURCES/0001-remove-the-old-crufty-u-boot-support.patch /builddir/build/SOURCES/0002-Change-return-type-in-getRootSpecifier.patch /builddir/build/SOURCES/0003-Add-btrfs-subvolume-support-for-grub2.patch /builddir/build/SOURCES/0004-Add-tests-for-btrfs-support.patch /builddir/build/SOURCES/0005-Use-system-LDFLAGS.patch /builddir/build/SOURCES/0006-Honor-sbindir.patch /builddir/build/SOURCES/0007-Make-installkernel-to-use-kernel-install-scripts-on-.patch /builddir/build/SOURCES/0008-Add-usr-libexec-rpm-sort.patch /builddir/build/SOURCES/0009-Improve-man-page-for-info-option.patch /builddir/build/SOURCES/0010-Fix-GCC-warnings-about-possible-string-truncations-a.patch /builddir/build/SOURCES/0001-riscv-uboot.patch BUILDSTDERR: error: patch failed: new-kernel-pkg:50 BUILDSTDERR: error: new-kernel-pkg: patch does not apply BUILDSTDERR: error: uboot: does not exist in index BUILDSTDERR: hint: Use 'git am --show-current-patch' to see the failed patch BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.cQ5j4C (%prep) BUILDSTDERR: line 49: It's not recommended to have unversioned Obsoletes: Obsoletes: grubby-bls BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.cQ5j4C (%prep) Initialized empty Git repository in /builddir/build/BUILD/grubby-8.40-1/.git/ Applying: remove the old crufty u-boot support Applying: Change return type in getRootSpecifier() Applying: Add btrfs subvolume support for grub2 Applying: Add tests for btrfs support Applying: Use system LDFLAGS Applying: Honor sbindir Applying: Make installkernel to use kernel-install scripts on BLS configuration Applying: Add /usr/libexec/rpm-sort Applying: Improve man page for --info option Applying: Fix GCC warnings about possible string truncations and buffer overflows Applying: riscv uboot Patch failed at 0011 riscv uboot When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". RPM build errors: 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/grubby.spec