#1060699 qt6-base-dev: Qt6ExampleIconsPrivateConfig.cmake relies on files missing from package

Package:
qt6-base-dev
Source:
qt6-base-dev
Description:
Qt 6 base development files
Submitter:
Stuart Prescott
Date:
2024-01-13 07:00:03 UTC
Severity:
normal
#1060699#5
Date:
2024-01-13 06:57:42 UTC
From:
To:
Dear Maintainer,

The two cmake files:
  /usr/lib/x86_64-linux-gnu/cmake/Qt6ExampleIconsPrivate/Qt6ExampleIconsPrivateConfig.cmake
  /usr/lib/x86_64-linux-gnu/cmake/Qt6ExampleIconsPrivate/Qt6ExampleIconsPrivateTargets.cmake
contain references to files that do not exist within any packages, the
result being that cmake errors out if trying to use them:
--- 8< --- 8< --- 8< --- 8< ---
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6ExampleIconsPrivate/Qt6ExampleIconsPrivateTargets.cmake:116 (message):
The imported target "Qt6::ExampleIconsPrivate_resources_1" references the
file

"/usr/lib/x86_64-linux-gnu/objects-None/ExampleIconsPrivate_resources_1/.rcc/qrc_example_icons.cpp.o"

but this file does not exist.  Possible reasons include:

* The file was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and contained

"/usr/lib/x86_64-linux-gnu/cmake/Qt6ExampleIconsPrivate/Qt6ExampleIconsPrivateTargets.cmake"

but not all the files it references.

Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt6ExampleIconsPrivate/Qt6ExampleIconsPrivateConfig.cmake:62 (include)
/usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:166 (find_package)
sources/pyside6/qtexampleicons/CMakeLists.txt:15 (find_package)
--- 8< --- 8< --- 8< --- 8< --- (discovered while playing around with pyside6 6.6.1 as you can see from that trace) The files it is looking for are in unusual directories so I'm not sure if there is more to it than just missing the files from the package. I noticed that Gentoo has the same issue which also seems to be unresolved. https://bugs.gentoo.org/915587#c6 cheers Stuart