gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DBONMIN_BUILD -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bonmin BonMin.o ../CbcBonmin/libbonminampl.la ../CbcBonmin/libbonmin.la -lCbcSolver -lCbc -lCgl -lOsiClp -lClpSolver -lClp -lOsi -lCoinUtils -lipopt -lasl -lipoptamplinterface mkdir .libs DIE_RPATH_DIE="/usr/lib64:$DIE_RPATH_DIE" g++ -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 -DBONMIN_BUILD -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/bonmin BonMin.o ../CbcBonmin/.libs/libbonminampl.so /builddir/build/BUILD/Bonmin-1.8.8/src/CbcBonmin/.libs/libbonmin.so ../CbcBonmin/.libs/libbonmin.so -lCbcSolver -lCbc -lCgl -lOsiClp -lClpSolver -lClp -lOsi -lCoinUtils -lipopt -lasl -lipoptamplinterface make[1]: Leaving directory '/builddir/build/BUILD/Bonmin-1.8.8/src/Apps' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libCbc.so: undefined reference to `CglPreProcess::postProcess(OsiSolverInterface&, bool)' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:437: bonmin] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/Bonmin-1.8.8/src/Apps' /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -DBONMIN_BUILD -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o BonNodeSolver BonNodeSolver.o ../CbcBonmin/libbonminampl.la ../CbcBonmin/libbonmin.la -lCbcSolver -lCbc -lCgl -lOsiClp -lClpSolver -lClp -lOsi -lCoinUtils -lipopt -lasl -lipoptamplinterface DIE_RPATH_DIE="/usr/lib64:$DIE_RPATH_DIE" g++ -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 -DBONMIN_BUILD -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/BonNodeSolver BonNodeSolver.o ../CbcBonmin/.libs/libbonminampl.so /builddir/build/BUILD/Bonmin-1.8.8/src/CbcBonmin/.libs/libbonmin.so ../CbcBonmin/.libs/libbonmin.so -lCbcSolver -lCbc -lCgl -lOsiClp -lClpSolver -lClp -lOsi -lCoinUtils -lipopt -lasl -lipoptamplinterface make[1]: Leaving directory '/builddir/build/BUILD/Bonmin-1.8.8/src/Apps' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libCbc.so: undefined reference to `CglPreProcess::postProcess(OsiSolverInterface&, bool)' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:434: BonNodeSolver] Error 1 make: *** [Makefile:467: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.wP2lc2 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.wP2lc2 (%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/coin-or-Bonmin.spec