move the ‘< >’ /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.hpp:415:35: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] 415 | GncOptionRangeValue(const GncOptionRangeValue&) = default; | ^ /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.hpp:415:35: note: remove the ‘< >’ /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.hpp:416:36: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] 416 | GncOptionRangeValue(GncOptionRangeValue&&) = default; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.hpp:416:36: note: remove the ‘< >’ In file included from /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.cpp:24: /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.hpp:399:35: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] 399 | GncOptionRangeValue(const char* section, const char* name, | ^ /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.hpp:399:35: note: remove the ‘< >’ /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.hpp:405:35: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] 405 | GncOptionRangeValue(const char* section, const char* name, | ^ /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.hpp:405:35: note: remove the ‘< >’ /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.hpp:415:35: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] 415 | GncOptionRangeValue(const GncOptionRangeValue&) = default; | ^ /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.hpp:415:35: note: remove the ‘< >’ /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.hpp:416:36: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] 416 | GncOptionRangeValue(GncOptionRangeValue&&) = default; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/gnucash-5.5/libgnucash/engine/gnc-option-impl.hpp:416:36: note: remove the ‘< >’ cc1plus: all warnings being treated as errors gmake[2]: *** [libgnucash/engine/CMakeFiles/gnc-engine.dir/build.make:566: libgnucash/engine/CMakeFiles/gnc-engine.dir/gnc-option-impl.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... cc1plus: all warnings being treated as errors gmake[2]: *** [libgnucash/engine/CMakeFiles/gnc-engine.dir/build.make:551: libgnucash/engine/CMakeFiles/gnc-engine.dir/gnc-option.cpp.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/gnucash-5.5/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:4537: libgnucash/engine/CMakeFiles/gnc-engine.dir/all] Error 2 gmake[1]: Leaving directory '/builddir/build/BUILD/gnucash-5.5/redhat-linux-build' gmake: *** [Makefile:169: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.oJNRyZ (%build) Bad exit status from /var/tmp/rpm-tmp.oJNRyZ (%build) RPM build errors: 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/gnucash.spec