g: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/pplpy-0.8.4/ppl/mip_problem.pxd BUILDSTDERR: tree = Parsing.p_module(s, pxd, full_module_name) BUILDSTDERR: /usr/lib64/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/pplpy-0.8.4/ppl/polyhedron.pxd BUILDSTDERR: tree = Parsing.p_module(s, pxd, full_module_name) BUILDSTDERR: warning: ppl/polyhedron.pyx:832:90: local variable 'maximum' referenced before assignment BUILDSTDERR: warning: ppl/polyhedron.pyx:839:85: local variable 'maximum' referenced before assignment BUILDSTDERR: warning: ppl/polyhedron.pyx:912:90: local variable 'minimum' referenced before assignment BUILDSTDERR: warning: ppl/polyhedron.pyx:919:85: local variable 'minimum' referenced before assignment BUILDSTDERR: error: command 'gcc' failed with exit status 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.3Vy3tm (%build) running build running build_py creating build creating build/lib.linux-riscv64-3.7 creating build/lib.linux-riscv64-3.7/ppl copying ppl/__init__.py -> build/lib.linux-riscv64-3.7/ppl copying ppl/constraint.pxd -> build/lib.linux-riscv64-3.7/ppl copying ppl/bit_arrays.pxd -> build/lib.linux-riscv64-3.7/ppl copying ppl/ppl_decl.pxd -> build/lib.linux-riscv64-3.7/ppl copying ppl/generator.pxd -> build/lib.linux-riscv64-3.7/ppl copying ppl/linear_algebra.pxd -> build/lib.linux-riscv64-3.7/ppl copying ppl/mip_problem.pxd -> build/lib.linux-riscv64-3.7/ppl copying ppl/polyhedron.pxd -> build/lib.linux-riscv64-3.7/ppl copying ppl/ppl_shim.hh -> build/lib.linux-riscv64-3.7/ppl running build_ext Compiling ppl/linear_algebra.pyx because it changed. Compiling ppl/mip_problem.pyx because it changed. Compiling ppl/polyhedron.pyx because it changed. Compiling ppl/generator.pyx because it changed. Compiling ppl/constraint.pyx because it changed. Compiling ppl/bit_arrays.pyx because it changed. [1/6] Cythonizing ppl/bit_arrays.pyx [2/6] Cythonizing ppl/constraint.pyx [3/6] Cythonizing ppl/generator.pyx [4/6] Cythonizing ppl/linear_algebra.pyx [5/6] Cythonizing ppl/mip_problem.pyx [6/6] Cythonizing ppl/polyhedron.pyx building 'ppl.linear_algebra' extension creating build/temp.linux-riscv64-3.7 creating build/temp.linux-riscv64-3.7/ppl gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -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 -Ippl -I/usr/lib64/python3.7/site-packages/gmpy2 -Ippl -I/builddir/build/BUILD/pplpy-0.8.4 -I/usr/lib64/python37.zip -I/usr/lib64/python3.7 -I/usr/lib64/python3.7/lib-dynload -I/usr/lib64/python3.7/site-packages -I/usr/lib/python3.7/site-packages -I/usr/include/python3.7m -c ppl/linear_algebra.cpp -o build/temp.linux-riscv64-3.7/ppl/linear_algebra.o RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.3Vy3tm (%build) 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 700, 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-pplpy.spec