', inlined from 'OneOperatorCode::code(basicAC_F0 const&) const' at ./include/AFunction.hpp:2864:65: DxWriter.cpp:297:73: warning: 'CodeAlloc::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 297 | static E_F0 *f(const basicAC_F0 &args) { return new Dxwritesol_Op(args); } | ^ In function 'CodeAlloc::operator new(unsigned long)', inlined from 'Dxwritesol_Op::f(basicAC_F0 const&)' at DxWriter.cpp:297:73, inlined from 'OneOperatorCode::code(basicAC_F0 const&) const' at ./include/AFunction.hpp:2864:65: ./include/CodeAlloc.hpp:65:26: note: returned from 'operator new(unsigned long)' 65 | return Add2CleanAtEnd(::operator new(ll));} | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ g++ -shared -fPIC -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 -fPIC -DNDEBUG -std=c++14 -DBAMG_LONG_LONG -DNCHECKPTR -fPIC -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 -fPIC -DNDEBUG -std=c++14 -DBAMG_LONG_LONG -DNCHECKPTR -fPIC -I/builddir/build/BUILD/freefem++-4.11/mpich -I/usr/include/suitesparse -I/usr/include 'DxWriter.o' -o DxWriter.so g++ -shared -fPIC -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 -fPIC -DNDEBUG -std=c++14 -DBAMG_LONG_LONG -DNCHECKPTR -fPIC -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 -fPIC -DNDEBUG -std=c++14 -DBAMG_LONG_LONG -DNCHECKPTR -fPIC -I/builddir/build/BUILD/freefem++-4.11/mpich -I/usr/include/suitesparse -I/usr/include 'DxWriter.o' -o ../mpi/DxWriter.so -L/usr/lib64/mpich/lib -lmpicxx -Wl,-rpath -Wl,/usr/lib64/mpich/lib -Wl,--enable-new-dtags -lmpi make[4]: Leaving directory '/builddir/build/BUILD/freefem++-4.11/mpich/plugin/seq' make[3]: *** [Makefile:890: load_compile] Error 2 make[3]: Leaving directory '/builddir/build/BUILD/freefem++-4.11/mpich/plugin/seq' make[2]: Leaving directory '/builddir/build/BUILD/freefem++-4.11/mpich/plugin' make[2]: *** [Makefile:664: all-recursive] Error 1 make[1]: *** [Makefile:801: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/freefem++-4.11/mpich' make: *** [Makefile:751: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.aqgrj8 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.aqgrj8 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/freefem++.spec