The kde-apps/spectacle-21.04.0 fails with error: /var/tmp/portage/kde-apps/spectacle-21.04.0/work/spectacle-21.04.0/src/Platforms/PlatformKWinWayland.cpp:10:10: fatal error: QtConcurrent: No such file or directory 10 | #include <QtConcurrent> | ^~~~~~~~~~~~~~ Change include with #include <QtConcurrent/QtConcurrent> solve the problem Reproducible: Always
Created attachment 702210 [details] build.log
Created attachment 702213 [details] emerge-info.txt
Created attachment 702216 [details, diff] spectacle-21.04.0-qtconcurrent.patch
I also hit this.
The problem here is implicit header use through KIO, which I patched out from kde-frameworks/kio-5.81.0-r1 in bug 784971. The correct fix here is to make the build system find Qt5Concurrent and add it to target_link_libraries wherever needed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0acf1a0e0d4ac2e604ae282a894a1086c86a5df5 commit 0acf1a0e0d4ac2e604ae282a894a1086c86a5df5 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-04-24 16:31:16 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-04-24 16:51:59 +0000 kde-apps/spectacle: Fix and add implicit dependency See also: https://invent.kde.org/graphics/spectacle/-/merge_requests/63 Reported-by: Marco Genasci <fedeliallalinea@gmail.com> Closes: https://bugs.gentoo.org/785403 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/spectacle-21.04.0-implicit-dep.patch | 42 +++++++++++++ kde-apps/spectacle/spectacle-21.04.0-r1.ebuild | 73 ++++++++++++++++++++++ 2 files changed, 115 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=ec04f143e0af83769d7fc9150385fea4c76d1bfb commit ec04f143e0af83769d7fc9150385fea4c76d1bfb Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-04-24 16:31:16 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-04-24 18:03:05 +0000 kde-apps/spectacle: Fix and add implicit dependency See also: https://invent.kde.org/graphics/spectacle/-/merge_requests/63 Reported-by: Marco Genasci <fedeliallalinea@gmail.com> Bug: https://bugs.gentoo.org/785403 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/spectacle-21.04.0-implicit-dep.patch | 42 ++++++++++++++++++++++ kde-apps/spectacle/spectacle-21.04.49.9999.ebuild | 3 ++ kde-apps/spectacle/spectacle-9999.ebuild | 1 + 3 files changed, 46 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d0030b4778266c94f7972bbb01fa960fe9cc98a commit 8d0030b4778266c94f7972bbb01fa960fe9cc98a Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-05-05 02:17:06 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-05-07 22:14:28 +0000 kde-apps/spectacle: Backport fix for implicit dependency to 20.12.3 Upstream commit a4450b62365d5e7c511e9855d31a68808c9bcfba See also: https://invent.kde.org/graphics/spectacle/-/merge_requests/63 Reported-by: Marco Genasci <fedeliallalinea@gmail.com> Bug: https://bugs.gentoo.org/785403 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/spectacle-20.12.3-implicit-dep.patch | 42 +++++++++++++ kde-apps/spectacle/spectacle-20.12.3-r1.ebuild | 73 ++++++++++++++++++++++ 2 files changed, 115 insertions(+)