: solve.cc: In function 'giac::vecteur giac::gsolve(const vecteur&, const vecteur&, bool, int, const giac::context*)': BUILDSTDERR: solve.cc:6427:46: warning: comparison of integer expressions of different signedness: 'std::size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 6427 | if (cur.type!=_VECT || cur._VECTptr->size()::resize(std::size_t) [with _Tp = giac::gen; std::size_t = long unsigned int]': BUILDSTDERR: solve.cc:4167:15: required from here BUILDSTDERR: vector.h:297:11: warning: unused variable 'prev' [-Wunused-variable] BUILDSTDERR: 297 | unsigned prev=_taille==immvector_max?0:_abs(_taille); BUILDSTDERR: | ^~~~ BUILDSTDERR: solve.cc: At global scope: BUILDSTDERR: solve.cc:7256:14: warning: 'giac::gen giac::in_ideal(const giac::vectpoly&, const vecteur&, const giac::vectpoly&, const giac::gen&, bool, bool, giac::environment*)' defined but not used [-Wunused-function] BUILDSTDERR: 7256 | static gen in_ideal(const vectpoly & r,const vecteur &l,const vectpoly & v,const gen & order,bool with_cocoa,bool with_f5,environment * env){ BUILDSTDERR: | ^~~~~~~~ RPM build errors: BUILDSTDERR: make[1]: *** [Makefile:410: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:339: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.RamsZr (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.RamsZr (%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/giac.spec