opC++-1.2.5/unittest' cd test; make test make[1]: Entering directory '/builddir/build/BUILD/FlopC++-1.2.5/test' g++ -DHAVE_CONFIG_H -I. -I`echo .` -I`echo ./../src` -I/usr/include/coin -I/usr/include/coin -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DFLOPCPP_BUILD -c -o unitTest.o unitTest.cpp In file included from unitTest.cpp:5: /usr/include/coin/OsiCbcSolverInterface.hpp:304:68: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'unsigned int' changes value from '18446744073709551615' to '4294967295' [-Woverflow] 304 | virtual std::string getObjName (unsigned maxLen = std::string::npos) const ; | ~~~~~~~~~~~~~^~~~ /usr/include/coin/OsiCbcSolverInterface.hpp:313:39: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'unsigned int' changes value from '18446744073709551615' to '4294967295' [-Woverflow] 313 | unsigned maxLen = std::string::npos) const ; | ~~~~~~~~~~~~~^~~~ /usr/include/coin/OsiCbcSolverInterface.hpp:335:39: warning: conversion from 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} to 'unsigned int' changes value from '18446744073709551615' to '4294967295' [-Woverflow] 335 | unsigned maxLen = std::string::npos) const ; | ~~~~~~~~~~~~~^~~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DFLOPCPP_BUILD -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o unitTest unitTest.o ../src/libFlopCpp.la -lOsi -lCoinUtils -lOsiCbc -lCbcSolver -lCbc -lCgl -lOsiClp -lClpSolver -lClp -lOsi -lCoinUtils mkdir .libs DIE_RPATH_DIE="/usr/lib64:$DIE_RPATH_DIE" g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DFLOPCPP_BUILD -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/unitTest unitTest.o ../src/.libs/libFlopCpp.so -lOsiCbc -lCbcSolver -lCbc -lCgl -lOsiClp -lClpSolver -lClp -lOsi -lCoinUtils /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:330: unitTest] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/FlopC++-1.2.5/test' make: *** [Makefile:795: test] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.XgsyJ2 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.XgsyJ2 (%check) 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-FlopC++.spec