~~^~~~~~~ /builddir/build/BUILD/libSEDML-0.4.4/build/bindings/ruby/libsedml_wrap.cpp:3830:82: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3830 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ /builddir/build/BUILD/libSEDML-0.4.4/build/bindings/ruby/libsedml_wrap.cpp: In instantiation of 'Sequence* swig::getslice(const Sequence*, Difference, Difference) [with Sequence = std::vector; Difference = long int]': /builddir/build/BUILD/libSEDML-0.4.4/build/bindings/ruby/libsedml_wrap.cpp:5995:104: required from here /builddir/build/BUILD/libSEDML-0.4.4/build/bindings/ruby/libsedml_wrap.cpp:3830:69: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3830 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ /builddir/build/BUILD/libSEDML-0.4.4/build/bindings/ruby/libsedml_wrap.cpp:3830:82: warning: comparison of integer expressions of different signedness: 'long int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3830 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ /builddir/build/BUILD/libSEDML-0.4.4/build/bindings/ruby/libsedml_wrap.cpp: In instantiation of 'Sequence* swig::getslice(const Sequence*, Difference, Difference) [with Sequence = std::vector; Difference = int]': /builddir/build/BUILD/libSEDML-0.4.4/build/bindings/ruby/libsedml_wrap.cpp:6118:108: required from here /builddir/build/BUILD/libSEDML-0.4.4/build/bindings/ruby/libsedml_wrap.cpp:3830:69: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3830 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ /builddir/build/BUILD/libSEDML-0.4.4/build/bindings/ruby/libsedml_wrap.cpp:3830:82: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 3830 | typename Sequence::size_type ii = swig::check_index(i, size, (i == size && j == size)); | ~~^~~~~~~ make[2]: *** [bindings/ruby/CMakeFiles/binding_ruby_lib.dir/build.make:98: bindings/ruby/CMakeFiles/binding_ruby_lib.dir/libsedml_wrap.cpp.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/libSEDML-0.4.4/build' make[1]: *** [CMakeFiles/Makefile2:645: bindings/ruby/CMakeFiles/binding_ruby_lib.dir/all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/libSEDML-0.4.4/build' make: *** [Makefile:186: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.nZAZRS (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.nZAZRS (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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/libsedml.spec