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/python-djvulibre.spec'], chrootPath='/var/lib/mock/f29-build-9155-4079/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-djvulibre.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/python-djvulibre-0.8-2.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-djvulibre.spec'], chrootPath='/var/lib/mock/f29-build-9155-4079/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-djvulibre.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.kLoc8f + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-djvulibre-0.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-djvulibre-0.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-djvulibre-0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VTNmcF + umask 022 + cd /builddir/build/BUILD + cd python-djvulibre-0.8 + CFLAGS='-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' + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/djvu copying djvu/__init__.py -> build/lib.linux-riscv64-2.7/djvu copying djvu/const.py -> build/lib.linux-riscv64-2.7/djvu copying djvu/dllpath.py -> build/lib.linux-riscv64-2.7/djvu running build_ext creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/src creating 'build/temp.linux-riscv64-2.7/src/config.pxi' cythoning 'djvu.decode' extension generating build/temp.linux-riscv64-2.7/src/decode.c from djvu/decode.pyx, build/temp.linux-riscv64-2.7/src/config.pxi, djvu/common.pxi, djvu/decode.pxd, djvu/sexpr.pxd BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "setup.py", line 300, in BUILDSTDERR: distutils.core.setup(**setup_params) BUILDSTDERR: File "/usr/lib64/python2.7/distutils/core.py", line 151, in setup BUILDSTDERR: dist.run_commands() BUILDSTDERR: File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands BUILDSTDERR: self.run_command(cmd) BUILDSTDERR: File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command BUILDSTDERR: cmd_obj.run() BUILDSTDERR: File "/usr/lib64/python2.7/distutils/command/build.py", line 127, in run BUILDSTDERR: self.run_command(cmd_name) BUILDSTDERR: File "/usr/lib64/python2.7/distutils/cmd.py", line 326, in run_command BUILDSTDERR: self.distribution.run_command(command) BUILDSTDERR: File "/usr/lib64/python2.7/distutils/dist.py", line 972, in run_command BUILDSTDERR: cmd_obj.run() BUILDSTDERR: File "setup.py", line 202, in run BUILDSTDERR: distutils.command.build_ext.build_ext.run(self) BUILDSTDERR: File "/usr/lib64/python2.7/distutils/command/build_ext.py", line 340, in run BUILDSTDERR: self.build_extensions() BUILDSTDERR: File "setup.py", line 207, in build_extensions BUILDSTDERR: ext.sources = list(self.cython_sources(ext)) BUILDSTDERR: File "setup.py", line 233, in cython_sources BUILDSTDERR: self.make_file(depends, target, build_c, [source, target]) BUILDSTDERR: File "/usr/lib64/python2.7/distutils/cmd.py", line 422, in make_file BUILDSTDERR: self.execute(func, args, exec_msg, level) BUILDSTDERR: File "/usr/lib64/python2.7/distutils/cmd.py", line 349, in execute BUILDSTDERR: util.execute(func, args, msg, dry_run=self.dry_run) BUILDSTDERR: File "/usr/lib64/python2.7/distutils/util.py", line 309, in execute BUILDSTDERR: func(*args) BUILDSTDERR: File "setup.py", line 226, in build_c BUILDSTDERR: raise RuntimeError('Cython >= {ver} is required'.format(ver=req_cython_version)) BUILDSTDERR: RuntimeError: Cython >= 0.19 is required RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.VTNmcF (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.VTNmcF (%build) 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/python-djvulibre.spec