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-10036-4529/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=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', '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/python-fpylll-0.4.1dev-1.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-10036-4529/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=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', '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.EEvCou + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fpylll-0.4.1dev + /usr/bin/gzip -dc /builddir/build/SOURCES/fpylll-0.4.1dev.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fpylll-0.4.1dev + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qB8KCa + umask 022 + cd /builddir/build/BUILD + cd fpylll-0.4.1dev + 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' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build 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/__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/compare.py -> build/lib.linux-riscv64-2.7/fpylll/tools copying src/fpylll/tools/bkz_plot.py -> build/lib.linux-riscv64-2.7/fpylll/tools copying src/fpylll/tools/bkz_stats.py -> build/lib.linux-riscv64-2.7/fpylll/tools copying src/fpylll/tools/quality.py -> build/lib.linux-riscv64-2.7/fpylll/tools copying src/fpylll/tools/bkz_simulator.py -> 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 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/fplll/sieve_gauss.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/15] Cythonizing src/fpylll/config.pyx [ 2/15] Cythonizing src/fpylll/fplll/bkz.pyx [ 3/15] Cythonizing src/fpylll/fplll/bkz_param.pyx [ 4/15] Cythonizing src/fpylll/fplll/enumeration.pyx [ 5/15] Cythonizing src/fpylll/fplll/gso.pyx [ 6/15] Cythonizing src/fpylll/fplll/integer_matrix.pyx [ 7/15] Cythonizing src/fpylll/fplll/lll.pyx [ 8/15] Cythonizing src/fpylll/fplll/pruner.pyx [ 9/15] Cythonizing src/fpylll/fplll/sieve_gauss.pyx [10/15] Cythonizing src/fpylll/fplll/svpcvp.pyx [11/15] Cythonizing src/fpylll/fplll/wrapper.pyx [12/15] Cythonizing src/fpylll/gmp/pylong.pyx [13/15] Cythonizing src/fpylll/io.pyx [14/15] Cythonizing src/fpylll/numpy.pyx [15/15] Cythonizing src/fpylll/util.pyx building 'fpylll.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 -I/usr/lib64/python2.7/site-packages/numpy/core/include -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:1022: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 -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/lib -L/usr/lib64 -lgmp -lpython2.7 -o build/lib.linux-riscv64-2.7/fpylll/gmp/pylong.so building 'fpylll.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/include -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: In file included from build/src/fpylll/fplll/integer_matrix.cpp:635: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'int _sig_on_prejmp(const char*, const char*, int)': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:102:5: error: 'cysigs' was not declared in this scope BUILDSTDERR: cysigs.s = message; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:102:5: note: the macro 'cysigs' had not yet been defined BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:1931: note: it was later defined here BUILDSTDERR: #define cysigs (*__pyx_vp_9cysignals_7signals_cysigs) BUILDSTDERR: BUILDSTDERR: In file included from build/src/fpylll/fplll/integer_matrix.cpp:635: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'int _sig_on_postjmp(int)': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:135:9: error: '_sig_on_recover' was not declared in this scope BUILDSTDERR: _sig_on_recover(); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:135:9: note: suggested alternative: '_sig_on_prejmp' BUILDSTDERR: _sig_on_recover(); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: _sig_on_prejmp BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:141:5: error: 'cysigs' was not declared in this scope BUILDSTDERR: cysigs.sig_on_count = 1; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:141:5: note: the macro 'cysigs' had not yet been defined BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:1931: note: it was later defined here BUILDSTDERR: #define cysigs (*__pyx_vp_9cysignals_7signals_cysigs) BUILDSTDERR: BUILDSTDERR: In file included from build/src/fpylll/fplll/integer_matrix.cpp:635: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:151:9: error: '_sig_on_interrupt_received' was not declared in this scope BUILDSTDERR: _sig_on_interrupt_received(); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from build/src/fpylll/fplll/integer_matrix.cpp:634: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'void _sig_off_(const char*, int)': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:172:18: error: 'cysigs' was not declared in this scope BUILDSTDERR: if (unlikely(cysigs.sig_on_count <= 0)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:34:43: note: in definition of macro 'unlikely' BUILDSTDERR: #define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:172:18: note: the macro 'cysigs' had not yet been defined BUILDSTDERR: if (unlikely(cysigs.sig_on_count <= 0)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:34:43: note: in definition of macro 'unlikely' BUILDSTDERR: #define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:1931: note: it was later defined here BUILDSTDERR: #define cysigs (*__pyx_vp_9cysignals_7signals_cysigs) BUILDSTDERR: BUILDSTDERR: In file included from build/src/fpylll/fplll/integer_matrix.cpp:635: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:174:9: error: '_sig_off_warning' was not declared in this scope BUILDSTDERR: _sig_off_warning(file, line); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:174:9: note: suggested alternative: '_sig_off_' BUILDSTDERR: _sig_off_warning(file, line); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: _sig_off_ BUILDSTDERR: In file included from build/src/fpylll/fplll/integer_matrix.cpp:634: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'int sig_check()': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:200:18: error: 'cysigs' was not declared in this scope BUILDSTDERR: if (unlikely(cysigs.interrupt_received) && cysigs.sig_on_count == 0) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:34:43: note: in definition of macro 'unlikely' BUILDSTDERR: #define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:200:18: note: the macro 'cysigs' had not yet been defined BUILDSTDERR: if (unlikely(cysigs.interrupt_received) && cysigs.sig_on_count == 0) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:34:43: note: in definition of macro 'unlikely' BUILDSTDERR: #define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:1931: note: it was later defined here BUILDSTDERR: #define cysigs (*__pyx_vp_9cysignals_7signals_cysigs) BUILDSTDERR: BUILDSTDERR: In file included from build/src/fpylll/fplll/integer_matrix.cpp:635: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:202:9: error: '_sig_on_interrupt_received' was not declared in this scope BUILDSTDERR: _sig_on_interrupt_received(); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'void sig_block()': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:234:7: error: 'cysigs' was not declared in this scope BUILDSTDERR: ++cysigs.block_sigint; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:234:7: note: the macro 'cysigs' had not yet been defined BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:1931: note: it was later defined here BUILDSTDERR: #define cysigs (*__pyx_vp_9cysignals_7signals_cysigs) BUILDSTDERR: BUILDSTDERR: In file included from build/src/fpylll/fplll/integer_matrix.cpp:635: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'void sig_unblock()': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:246:7: error: 'cysigs' was not declared in this scope BUILDSTDERR: --cysigs.block_sigint; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:246:7: note: the macro 'cysigs' had not yet been defined BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:1931: note: it was later defined here BUILDSTDERR: #define cysigs (*__pyx_vp_9cysignals_7signals_cysigs) BUILDSTDERR: BUILDSTDERR: In file included from build/src/fpylll/fplll/integer_matrix.cpp:634: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'void sig_retry()': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:262:18: error: 'cysigs' was not declared in this scope BUILDSTDERR: if (unlikely(cysigs.sig_on_count <= 0)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:34:43: note: in definition of macro 'unlikely' BUILDSTDERR: #define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:262:18: note: the macro 'cysigs' had not yet been defined BUILDSTDERR: if (unlikely(cysigs.sig_on_count <= 0)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:34:43: note: in definition of macro 'unlikely' BUILDSTDERR: #define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:1931: note: it was later defined here BUILDSTDERR: #define cysigs (*__pyx_vp_9cysignals_7signals_cysigs) BUILDSTDERR: BUILDSTDERR: In file included from /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:25, BUILDSTDERR: from build/src/fpylll/fplll/integer_matrix.cpp:634: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:267:15: error: 'cysigs' was not declared in this scope BUILDSTDERR: cylongjmp(cysigs.env, -1); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/cysignals_config.h:26:40: note: in definition of macro 'cylongjmp' BUILDSTDERR: #define cylongjmp(env, val) siglongjmp(env, val) BUILDSTDERR: ^~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:267:15: note: the macro 'cysigs' had not yet been defined BUILDSTDERR: cylongjmp(cysigs.env, -1); BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/cysignals_config.h:26:40: note: in definition of macro 'cylongjmp' BUILDSTDERR: #define cylongjmp(env, val) siglongjmp(env, val) BUILDSTDERR: ^~~ BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:1931: note: it was later defined here BUILDSTDERR: #define cysigs (*__pyx_vp_9cysignals_7signals_cysigs) BUILDSTDERR: BUILDSTDERR: In file included from build/src/fpylll/fplll/integer_matrix.cpp:634: BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h: In function 'void sig_error()': BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:275:18: error: 'cysigs' was not declared in this scope BUILDSTDERR: if (unlikely(cysigs.sig_on_count <= 0)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:34:43: note: in definition of macro 'unlikely' BUILDSTDERR: #define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/macros.h:275:18: note: the macro 'cysigs' had not yet been defined BUILDSTDERR: if (unlikely(cysigs.sig_on_count <= 0)) BUILDSTDERR: ^~~~~~ BUILDSTDERR: /usr/lib64/python2.7/site-packages/cysignals/struct_signals.h:34:43: note: in definition of macro 'unlikely' BUILDSTDERR: #define unlikely(x) __builtin_expect(!!(x), 0) BUILDSTDERR: ^ BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:1931: note: it was later defined here BUILDSTDERR: #define cysigs (*__pyx_vp_9cysignals_7signals_cysigs) BUILDSTDERR: BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp: In function 'void __pyx_f_9cysignals_7signals___generate_declarations()': BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:1931:17: warning: statement has no effect [-Wunused-value] BUILDSTDERR: #define cysigs (*__pyx_vp_9cysignals_7signals_cysigs) BUILDSTDERR: ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:18326:3: note: in expansion of macro 'cysigs' BUILDSTDERR: cysigs; BUILDSTDERR: ^~~~~~ BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:18335:29: warning: statement has no effect [-Wunused-value] BUILDSTDERR: _sig_on_interrupt_received; BUILDSTDERR: ^ BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:18344:18: warning: statement has no effect [-Wunused-value] BUILDSTDERR: _sig_on_recover; BUILDSTDERR: ^ BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:18352:19: warning: statement has no effect [-Wunused-value] BUILDSTDERR: _sig_off_warning; BUILDSTDERR: ^ BUILDSTDERR: build/src/fpylll/fplll/integer_matrix.cpp:18359:18: warning: statement has no effect [-Wunused-value] BUILDSTDERR: print_backtrace; BUILDSTDERR: ^ BUILDSTDERR: error: command 'gcc' failed with exit status 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.qB8KCa (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.qB8KCa (%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