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/cups-filters.spec'], chrootPath='/var/lib/mock/f31-build-95702-32713/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cups-filters.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': 'C.UTF-8'} and shell False BUILDSTDERR: warning: line 108: It's not recommended to have unversioned Obsoletes: Obsoletes: ghostscript-cups BUILDSTDERR: warning: line 109: It's not recommended to have unversioned Obsoletes: Obsoletes: foomatic-filters Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1566259200 Wrote: /builddir/build/SRPMS/cups-filters-1.22.5-4.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/cups-filters.spec'], chrootPath='/var/lib/mock/f31-build-95702-32713/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cups-filters.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': 'C.UTF-8'} and shell False BUILDSTDERR: warning: line 108: It's not recommended to have unversioned Obsoletes: Obsoletes: ghostscript-cups BUILDSTDERR: warning: line 109: It's not recommended to have unversioned Obsoletes: Obsoletes: foomatic-filters Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1566259200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gPfd9h + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cups-filters-1.22.5 + /usr/bin/xz -dc /builddir/build/SOURCES/cups-filters-1.22.5.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cups-filters-1.22.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (cups-filters-createall.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .createall --fuzz=0 + echo 'Patch #2 (cups-browsed.8.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .manpage --fuzz=0 + echo 'Patch #3 (cups-filters-foomaticrip-segfault.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .foomaticrip-segfault --fuzz=0 + echo 'Patch #7 (poppler-0.67.0-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .poppler --fuzz=0 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.gPfd9h (%prep) Patch #1 (cups-filters-createall.patch): patching file utils/cups-browsed.conf.in Hunk #1 succeeded at 390 (offset 31 lines). Hunk #2 succeeded at 484 (offset 31 lines). Patch #2 (cups-browsed.8.patch): patching file utils/cups-browsed.8 Patch #3 (cups-filters-foomaticrip-segfault.patch): patching file filter/foomatic-rip/spooler.c Patch #7 (poppler-0.67.0-fix.patch): patching file filter/pdf.cxx Hunk #1 FAILED at 734. 1 out of 1 hunk FAILED -- saving rejects to file filter/pdf.cxx.rej RPM build errors: BUILDSTDERR: line 108: It's not recommended to have unversioned Obsoletes: Obsoletes: ghostscript-cups BUILDSTDERR: line 109: It's not recommended to have unversioned Obsoletes: Obsoletes: foomatic-filters BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.gPfd9h (%prep) 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/cups-filters.spec