v, 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