Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [/builddir/build/BUILD/dnf5-5.2.13.0/libdnf5/repo/config_repo.cpp:65:84: error: âlibdnf5::OptionNumber<unsigned int>& libdnf5::ConfigMain::get_retries_option()â is deprecated: The option does nothing [-Werror=deprecated-declarations]
   65 |     OptionChild<OptionNumber<std::uint32_t>> retries{main_config.get_retries_option()};
      |                                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /builddir/build/BUILD/dnf5-5.2.13.0/include/libdnf5/repo/config_repo.hpp:23,
                 from /builddir/build/BUILD/dnf5-5.2.13.0/libdnf5/repo/config_repo.cpp:20:
/builddir/build/BUILD/dnf5-5.2.13.0/include/libdnf5/conf/config_main.hpp:228:77: note: declared here
  228 |     [[deprecated("The option does nothing")]] OptionNumber<std::uint32_t> & get_retries_option();
      |                                                                             ^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/dnf5-5.2.13.0/libdnf5/repo/config_repo.cpp:84:69: error: âlibdnf5::OptionBool& libdnf5::ConfigMain::get_deltarpm_option()â is deprecated: The option does nothing [-Werror=deprecated-declarations]
   84 |     OptionChild<OptionBool> deltarpm{main_config.get_deltarpm_option()};
      |                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/dnf5-5.2.13.0/include/libdnf5/conf/config_main.hpp:306:60: note: declared here
  306 |     [[deprecated("The option does nothing")]] OptionBool & get_deltarpm_option();
      |                                                            ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/dnf5-5.2.13.0/libdnf5/repo/config_repo.cpp:85:108: error: âlibdnf5::OptionNumber<unsigned int>& libdnf5::ConfigMain::get_deltarpm_percentage_option()â is deprecated: The option does nothing [-Werror=deprecated-declarations]
   85 |     OptionChild<OptionNumber<std::uint32_t>> deltarpm_percentage{main_config.get_deltarpm_percentage_option()};
      |                                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
/builddir/build/BUILD/dnf5-5.2.13.0/include/libdnf5/conf/config_main.hpp:310:77: note: declared here
  310 |     [[deprecated("The option does nothing")]] OptionNumber<std::uint32_t> & get_deltarpm_percentage_option();
      |                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]: [It shows methods that are deprecated which produces errors.]
=============
[cc1plus: all warnings being treated as errors]: [The deprecated warnings could normally be ignored but since the build is configured to treat all warnings as errors it fails.]

Issue: Couple methods started to be deprecated which produces warnings and since the build is configured to treat all warnings as errors it fails.
Resolution: There are several possibilities:
- stop using the deprecated methods
- don't treat all warnings as errors which would allow to ignore them for now
- disable the warnings with something like:
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
call_deprecated();
#pragma GCC diagnostic pop