R: /builddir/build/BUILD/libSBML-5.17.0-Source/build/src/bindings/ruby/libsbml_wrap.cpp:314540:9: note: 'argv[1]' was declared here BUILDSTDERR: VALUE argv[3]; BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/libSBML-5.17.0-Source/build/src/bindings/ruby/libsbml_wrap.cpp: In function 'VALUE _wrap_ListOfMultiSpeciesTypes_get(int, VALUE*, VALUE)': BUILDSTDERR: /builddir/build/BUILD/libSBML-5.17.0-Source/build/src/bindings/ruby/libsbml_wrap.cpp:2703:41: warning: 'argv[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int res = SWIG_AsVal_unsigned_SS_long (obj, &v); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libSBML-5.17.0-Source/build/src/bindings/ruby/libsbml_wrap.cpp:240806:9: note: 'argv[1]' was declared here BUILDSTDERR: VALUE argv[3]; BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/libSBML-5.17.0-Source/build/src/bindings/ruby/libsbml_wrap.cpp: In function 'VALUE _wrap_ListOfGradientDefinitions_get(int, VALUE*, VALUE)': BUILDSTDERR: /builddir/build/BUILD/libSBML-5.17.0-Source/build/src/bindings/ruby/libsbml_wrap.cpp:2703:41: warning: 'argv[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int res = SWIG_AsVal_unsigned_SS_long (obj, &v); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/libSBML-5.17.0-Source/build/src/bindings/ruby/libsbml_wrap.cpp:319335:9: note: 'argv[1]' was declared here BUILDSTDERR: VALUE argv[3]; BUILDSTDERR: ^~~~ BUILDSTDERR: /builddir/build/BUILD/libSBML-5.17.0-Source/build/src/bindings/ruby/libsbml_wrap.cpp: In function 'VALUE _wrap_ASTNode_setDefinitionURL(int, VALUE*, VALUE)': BUILDSTDERR: /builddir/build/BUILD/libSBML-5.17.0-Source/build/src/bindings/ruby/libsbml_wrap.cpp:122396:56: warning: 'argv[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: int res = SWIG_AsPtr_std_basic_string_Sl_char_Sg_(argv[1], (std::basic_string**)(0)); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 99%] Linking CXX shared library libSBML.so cd /builddir/build/BUILD/libSBML-5.17.0-Source/build/src/bindings/ruby && /usr/bin/cmake -E cmake_link_script CMakeFiles/binding_ruby_lib.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,now -fno-strict-aliasing -fPIC -DNDEBUG -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,now -Wl,--as-needed -shared -Wl,-soname,libSBML.so -o libSBML.so CMakeFiles/binding_ruby_lib.dir/libsbml_wrap.cpp.o ../../libsbml-static.a -lruby -lbz2 -lz -lminizip -lxml2 make[2]: Leaving directory '/builddir/build/BUILD/libSBML-5.17.0-Source/build' [ 99%] Built target binding_ruby_lib make[1]: Leaving directory '/builddir/build/BUILD/libSBML-5.17.0-Source/build' BUILDSTDERR: make: *** [Makefile:166: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.GrPKZB (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.GrPKZB (%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/libsbml.spec