ecs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DFLOPCPP_BUILD -c MP_constant.cpp -fPIC -DPIC -o .libs/MP_constant.o g++ -DHAVE_CONFIG_H -I. -I. -I/usr/include/coin -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 -DFLOPCPP_BUILD -c MP_constraint.cpp -fPIC -DPIC -o .libs/MP_constraint.o g++ -DHAVE_CONFIG_H -I. -I. -I/usr/include/coin -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 -DFLOPCPP_BUILD -c MP_data.cpp -fPIC -DPIC -o .libs/MP_data.o BUILDSTDERR: In file included from MP_data.hpp:16, BUILDSTDERR: from MP_data.cpp:11: BUILDSTDERR: MP_set.hpp: In member function 'flopc::MP_domain& flopc::MP_subset::operator()(const flopc::SUBSETREF&)': BUILDSTDERR: MP_set.hpp:212:9: error: cannot bind non-const lvalue reference of type 'flopc::MP_domain&' to an rvalue of type 'flopc::MP_domain' BUILDSTDERR: return MP_domain(s); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from MP_boolean.cpp:12: BUILDSTDERR: MP_set.hpp: In member function 'flopc::MP_domain& flopc::MP_subset::operator()(const flopc::SUBSETREF&)': BUILDSTDERR: MP_set.hpp:212:9: error: cannot bind non-const lvalue reference of type 'flopc::MP_domain&' to an rvalue of type 'flopc::MP_domain' BUILDSTDERR: return MP_domain(s); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from MP_constraint.hpp:15, BUILDSTDERR: from MP_constraint.cpp:12: BUILDSTDERR: MP_set.hpp: In member function 'flopc::MP_domain& flopc::MP_subset::operator()(const flopc::SUBSETREF&)': BUILDSTDERR: MP_set.hpp:212:9: error: cannot bind non-const lvalue reference of type 'flopc::MP_domain&' to an rvalue of type 'flopc::MP_domain' BUILDSTDERR: return MP_domain(s); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from MP_data.hpp:16, BUILDSTDERR: from MP_constant.cpp:16: BUILDSTDERR: MP_set.hpp: In member function 'flopc::MP_domain& flopc::MP_subset::operator()(const flopc::SUBSETREF&)': BUILDSTDERR: MP_set.hpp:212:9: error: cannot bind non-const lvalue reference of type 'flopc::MP_domain&' to an rvalue of type 'flopc::MP_domain' BUILDSTDERR: return MP_domain(s); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: make[2]: *** [Makefile:485: MP_boolean.lo] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: make[2]: *** [Makefile:485: MP_data.lo] Error 1 BUILDSTDERR: make[2]: *** [Makefile:485: MP_constant.lo] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/FlopC++-1.2.4/src' BUILDSTDERR: make[2]: *** [Makefile:485: MP_constraint.lo] Error 1 BUILDSTDERR: make[1]: *** [Makefile:358: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/FlopC++-1.2.4/src' BUILDSTDERR: make: *** [Makefile:413: all-recursive] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.pBN10b (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.pBN10b (%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/coin-or-FlopC++.spec