Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785403 - kde-apps/spectacle-21.04.0: fatal error: QtConcurrent: No such file or directory
Summary: kde-apps/spectacle-21.04.0: fatal error: QtConcurrent: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://invent.kde.org/graphics/spect...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2021-04-24 15:14 UTC by Marco Genasci
Modified: 2021-05-07 22:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,88.03 KB, text/plain)
2021-04-24 15:14 UTC, Marco Genasci
Details
emerge-info.txt (emerge-info.txt,17.23 KB, text/plain)
2021-04-24 15:15 UTC, Marco Genasci
Details
spectacle-21.04.0-qtconcurrent.patch (spectacle-21.04.0-qtconcurrent.patch,466 bytes, patch)
2021-04-24 15:15 UTC, Marco Genasci
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Genasci 2021-04-24 15:14:19 UTC
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
Comment 1 Marco Genasci 2021-04-24 15:14:49 UTC
Created attachment 702210 [details]
build.log
Comment 2 Marco Genasci 2021-04-24 15:15:02 UTC
Created attachment 702213 [details]
emerge-info.txt
Comment 3 Marco Genasci 2021-04-24 15:15:22 UTC
Created attachment 702216 [details, diff]
spectacle-21.04.0-qtconcurrent.patch
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2021-04-24 15:26:12 UTC
I also hit this.
Comment 5 Andreas Sturmlechner gentoo-dev 2021-04-24 16:02:23 UTC
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.
Comment 6 Larry the Git Cow gentoo-dev 2021-04-24 16:52:08 UTC
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(+)
Comment 7 Larry the Git Cow gentoo-dev 2021-04-24 18:11:15 UTC
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(+)
Comment 8 Larry the Git Cow gentoo-dev 2021-05-07 22:14:47 UTC
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(+)