/usr/include/c++/13/bits/std_function.h: In member function 'rttr::type::get_methods() const': /usr/include/c++/13/bits/std_function.h:267:7: note: by argument 2 of type 'const union _Any_data & {ref-all}' to 'std::_Function_handler::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation)' declared here 267 | _M_manager(_Any_data& __dest, const _Any_data& __source, | ^~~~~~~~~~ /builddir/build/BUILD/rttr-7edbd580cfad509a3253c733e70144e36f02ecd4/src/rttr/type.cpp:345:37: note: '' declared here 345 | }) ); | ^ In member function 'std::function::function(std::function const&)', inlined from 'rttr::detail::default_predicate::default_predicate(rttr::detail::default_predicate const&)' at /builddir/build/BUILD/rttr-7edbd580cfad509a3253c733e70144e36f02ecd4/src/rttr/../rttr/detail/impl/array_range_impl.h:511:8, inlined from 'rttr::array_range >::array_range(rttr::constructor const*, unsigned long, rttr::detail::default_predicate const&)' at /builddir/build/BUILD/rttr-7edbd580cfad509a3253c733e70144e36f02ecd4/src/rttr/../rttr/detail/impl/array_range_impl.h:45:5, inlined from 'rttr::type::get_constructors() const' at /builddir/build/BUILD/rttr-7edbd580cfad509a3253c733e70144e36f02ecd4/src/rttr/type.cpp:534:44: /usr/include/c++/13/bits/std_function.h:391:17: error: '' may be used uninitialized [-Werror=maybe-uninitialized] 391 | __x._M_manager(_M_functor, __x._M_functor, __clone_functor); | ~~~~^~~~~~~~~~ /usr/include/c++/13/bits/std_function.h: In member function 'rttr::type::get_constructors() const': /usr/include/c++/13/bits/std_function.h:267:7: note: by argument 2 of type 'const union _Any_data & {ref-all}' to 'std::_Function_handler::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation)' declared here 267 | _M_manager(_Any_data& __dest, const _Any_data& __source, | ^~~~~~~~~~ /builddir/build/BUILD/rttr-7edbd580cfad509a3253c733e70144e36f02ecd4/src/rttr/type.cpp:534:42: note: '' declared here 534 | }) ); | ^ cc1plus: all warnings being treated as errors gmake[2]: *** [src/rttr/CMakeFiles/rttr_core.dir/build.make:205: src/rttr/CMakeFiles/rttr_core.dir/type.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/builddir/build/BUILD/rttr-7edbd580cfad509a3253c733e70144e36f02ecd4/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:189: src/rttr/CMakeFiles/rttr_core.dir/all] Error 2 gmake[1]: Leaving directory '/builddir/build/BUILD/rttr-7edbd580cfad509a3253c733e70144e36f02ecd4/redhat-linux-build' gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.9xxw7d (%build) Macro expanded in comment on line 11: %{url}/releases/rttr-%{version}-src.tar.gz Bad exit status from /var/tmp/rpm-tmp.9xxw7d (%build) RPM build warnings: 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/rttr.spec