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:

  [error: Bad exit status from /var/tmp/rpm-tmp.yAXiQF (%build)
    Bad exit status from /var/tmp/rpm-tmp.yAXiQF (%build)
RPM build errors:
Child return code was: 1]: [The build failed in `%build` phase.]
=============
[CMake Generate step failed.  Build files cannot be regenerated correctly.]: [CMake cannot prepare the build environment.]
=============
[CMake Error in CMakeLists.txt:
  Imported target "Qt6::QmlPrivate" includes non-existent path
    "/usr/include/qt6/QtCore/6.8.0"
  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
  * The path was deleted, renamed, or moved to another location.
  * An install or uninstall procedure did not complete successfully.
  * The installation package was faulty and references files it does not
  provide.
CMake Error in CMakeLists.txt:
  Imported target "Qt6::QmlPrivate" includes non-existent path
    "/usr/include/qt6/QtCore/6.8.0"
  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
  * The path was deleted, renamed, or moved to another location.
  * An install or uninstall procedure did not complete successfully.
  * The installation package was faulty and references files it does not
  provide.]: [You are missing devel files for qt6-qtbase-private.]

Issue: The build failed in `%build` phase becase CMake was missing devel files for qt6-qtbase-private.
Resolution: You should add build dependency to your spec file:

BuildRequires: qt6-qtbase-private-devel