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-fpylll.spec'], chrootPath='/var/lib/mock/f29-build-725-375/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-fpylll.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-fpylll-0.2.4dev-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-fpylll.spec'], chrootPath='/var/lib/mock/f29-build-725-375/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-fpylll.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.5NGPId + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fpylll-0.2.4dev + /usr/bin/gzip -dc /builddir/build/SOURCES/fpylll-0.2.4dev.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fpylll-0.2.4dev + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HZwQum + umask 022 + cd /builddir/build/BUILD + cd fpylll-0.2.4dev + 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 '--executable=/usr/bin/python2 -s' Warning: Extension name 'gmp.pylong' does not match fully qualified name 'fpylll.gmp.pylong' of 'src/fpylll/gmp/pylong.pyx' Warning: Extension name 'fplll.integer_matrix' does not match fully qualified name 'fpylll.fplll.integer_matrix' of 'src/fpylll/fplll/integer_matrix.pyx' Warning: Extension name 'fplll.gso' does not match fully qualified name 'fpylll.fplll.gso' of 'src/fpylll/fplll/gso.pyx' Warning: Extension name 'fplll.lll' does not match fully qualified name 'fpylll.fplll.lll' of 'src/fpylll/fplll/lll.pyx' Warning: Extension name 'fplll.wrapper' does not match fully qualified name 'fpylll.fplll.wrapper' of 'src/fpylll/fplll/wrapper.pyx' Warning: Extension name 'fplll.bkz_param' does not match fully qualified name 'fpylll.fplll.bkz_param' of 'src/fpylll/fplll/bkz_param.pyx' Warning: Extension name 'fplll.bkz' does not match fully qualified name 'fpylll.fplll.bkz' of 'src/fpylll/fplll/bkz.pyx' Warning: Extension name 'fplll.enumeration' does not match fully qualified name 'fpylll.fplll.enumeration' of 'src/fpylll/fplll/enumeration.pyx' Warning: Extension name 'fplll.svpcvp' does not match fully qualified name 'fpylll.fplll.svpcvp' of 'src/fpylll/fplll/svpcvp.pyx' Warning: Extension name 'fplll.pruner' does not match fully qualified name 'fpylll.fplll.pruner' of 'src/fpylll/fplll/pruner.pyx' Warning: Extension name 'util' does not match fully qualified name 'fpylll.util' of 'src/fpylll/util.pyx' Warning: Extension name 'io' does not match fully qualified name 'fpylll.io' of 'src/fpylll/io.pyx' Warning: Extension name 'config' does not match fully qualified name 'fpylll.config' of 'src/fpylll/config.pyx' Warning: Extension name 'numpy' does not match fully qualified name 'fpylll.numpy' of 'src/fpylll/numpy.pyx' Compiling src/fpylll/gmp/pylong.pyx because it changed. Compiling src/fpylll/fplll/integer_matrix.pyx because it changed. Compiling src/fpylll/fplll/gso.pyx because it changed. Compiling src/fpylll/fplll/lll.pyx because it changed. Compiling src/fpylll/fplll/wrapper.pyx because it changed. Compiling src/fpylll/fplll/bkz_param.pyx because it changed. Compiling src/fpylll/fplll/bkz.pyx because it changed. Compiling src/fpylll/fplll/enumeration.pyx because it changed. Compiling src/fpylll/fplll/svpcvp.pyx because it changed. Compiling src/fpylll/fplll/pruner.pyx because it changed. Compiling src/fpylll/util.pyx because it changed. Compiling src/fpylll/io.pyx because it changed. Compiling src/fpylll/config.pyx because it changed. Compiling src/fpylll/numpy.pyx because it changed. [ 1/14] Cythonizing src/fpylll/config.pyx [ 2/14] Cythonizing src/fpylll/fplll/bkz.pyx [ 3/14] Cythonizing src/fpylll/fplll/bkz_param.pyx [ 4/14] Cythonizing src/fpylll/fplll/enumeration.pyx [ 5/14] Cythonizing src/fpylll/fplll/gso.pyx [ 6/14] Cythonizing src/fpylll/fplll/integer_matrix.pyx [ 7/14] Cythonizing src/fpylll/fplll/lll.pyx [ 8/14] Cythonizing src/fpylll/fplll/pruner.pyx [ 9/14] Cythonizing src/fpylll/fplll/svpcvp.pyx [10/14] Cythonizing src/fpylll/fplll/wrapper.pyx [11/14] Cythonizing src/fpylll/gmp/pylong.pyx [12/14] Cythonizing src/fpylll/io.pyx [13/14] Cythonizing src/fpylll/numpy.pyx [14/14] Cythonizing src/fpylll/util.pyx running build running build_py creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/fpylll copying src/fpylll/__init__.py -> build/lib.linux-riscv64-2.7/fpylll creating build/lib.linux-riscv64-2.7/fpylll/gmp copying src/fpylll/gmp/__init__.py -> build/lib.linux-riscv64-2.7/fpylll/gmp creating build/lib.linux-riscv64-2.7/fpylll/fplll copying src/fpylll/fplll/__init__.py -> build/lib.linux-riscv64-2.7/fpylll/fplll creating build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/simple_dbkz.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/bkz.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/bkz2.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/simple_bkz.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/bkz_stats.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/__init__.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms copying src/fpylll/algorithms/pbkz.py -> build/lib.linux-riscv64-2.7/fpylll/algorithms creating build/lib.linux-riscv64-2.7/fpylll/tools copying src/fpylll/tools/benchmark.py -> build/lib.linux-riscv64-2.7/fpylll/tools copying src/fpylll/tools/__init__.py -> build/lib.linux-riscv64-2.7/fpylll/tools running build_ext building 'gmp.pylong' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/build creating build/temp.linux-riscv64-2.7/build/src creating build/temp.linux-riscv64-2.7/build/src/fpylll creating build/temp.linux-riscv64-2.7/build/src/fpylll/gmp gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -fPIC -I/usr/include/python2.7 -c build/src/fpylll/gmp/pylong.c -o build/temp.linux-riscv64-2.7/build/src/fpylll/gmp/pylong.o BUILDSTDERR: build/src/fpylll/gmp/pylong.c: In function '__pyx_f_6fpylll_3gmp_6pylong_mpz_get_pylong_large': BUILDSTDERR: build/src/fpylll/gmp/pylong.c:1013:13: warning: assignment to 'PyObject *' {aka 'struct _object *'} from incompatible pointer type 'PyLongObject *' {aka 'struct _longobject *'} [-Wincompatible-pointer-types] BUILDSTDERR: __pyx_t_2 = _PyLong_New(__pyx_v_pylong_size); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 43, __pyx_L1_error) BUILDSTDERR: ^ gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 build/temp.linux-riscv64-2.7/build/src/fpylll/gmp/pylong.o -L/usr/lib64 -lgmp -lpython2.7 -o build/lib.linux-riscv64-2.7/fpylll/gmp/pylong.so building 'fplll.integer_matrix' extension creating build/temp.linux-riscv64-2.7/build/src/fpylll/fplll gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -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 -D_GNU_SOURCE -fPIC -fwrapv -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 -fPIC -I/usr/lib64/python2.7/site-packages/cysignals -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c build/src/fpylll/fplll/integer_matrix.cpp -o build/temp.linux-riscv64-2.7/build/src/fpylll/fplll/integer_matrix.o -std=c++11 BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:583:10: fatal error: fplll/nr/nr.h: No such file or directory BUILDSTDERR: #include "fplll/nr/nr.h" BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: error: command 'gcc' failed with exit status 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.HZwQum (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.HZwQum (%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-fpylll.spec