Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830729 - [kde overlay] kde-apps/akonadi-21.12.1: CMake Error it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT FOUND
Summary: [kde overlay] kde-apps/akonadi-21.12.1: CMake Error it set Qt5_FOUND to FALSE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2022-01-07 13:54 UTC by jms
Modified: 2022-01-08 21:15 UTC (History)
1 user (show)

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


Attachments
emerge--info (emerge--info.txt,8.10 KB, text/plain)
2022-01-07 13:57 UTC, jms
Details
logfile (kde-apps:akonadi-21.12.1:20220107-133742.log,4.66 KB, text/x-log)
2022-01-07 13:58 UTC, jms
Details
CMakeOutput (CMakeOutput.log,46.60 KB, text/x-log)
2022-01-07 13:59 UTC, jms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jms 2022-01-07 13:54:03 UTC
kde-apps/akonadi-21.12.1 fail to compile

extract from build log:

-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
^[[31mCMake Error at CMakeLists.txt:64 (find_package):
  Found package configuration file:

    /usr/lib64/cmake/Qt5/Qt5Config.cmake

  but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
  FOUND.  Reason given by package:

  The Qt5 package requires at least one component


^[[0m
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/kde-apps/akonadi-21.12.1/work/akonadi-21.12.1_build/CMakeFiles/CMakeOutput.log".


Reproducible: Always
Comment 1 jms 2022-01-07 13:57:57 UTC
Created attachment 761485 [details]
emerge--info
Comment 2 jms 2022-01-07 13:58:40 UTC
Created attachment 761486 [details]
logfile
Comment 3 jms 2022-01-07 13:59:11 UTC
Created attachment 761487 [details]
CMakeOutput
Comment 4 Andreas Sturmlechner gentoo-dev 2022-01-07 14:02:04 UTC
This is related to commits a8e2d266582bcc9c91e3a45ac4aa41859a3f4a13 and e960c044f7bcb8f0e9bc16e14cf19a394a456ee2, changes to ecm.eclass which are only in kde overlay so far.

You will not get that error with KDE Gear 21.12.1 packages built from ::gentoo.
Comment 5 jms 2022-01-07 14:11:11 UTC
upgrading from dev-util/cmake-3.21.4 to dev-util/cmake-3.22.1
does not seem to change anything


eix -I cmake 
[I] dev-util/cmake
     Available versions:  3.20.5^t 3.21.4^t (~)3.22.1^t {doc emacs ncurses qt5 test}
     Installed versions:  3.22.1^t(15:02:51 07/01/2022)(ncurses qt5 -doc -emacs -test)
     Homepage:            https://cmake.org/
     Description:         Cross platform Make

[I] kde-frameworks/extra-cmake-modules
     Available versions:  (5) 5.88.0(5/5.88)^t (~)5.89.0(5/5.89)^t [M]~5.90.0(5/5.90)^ft[1] **9999(5/9999)*l^t[1]
       {doc test}
     Installed versions:  5.89.0(5/5.89)^t(10:59:41 13/12/2021)(-doc -test)
     Homepage:            https://invent.kde.org/frameworks/extra-cmake-modules
     Description:         Extra modules and scripts for CMake

[1] "kde" /var/db/repos/kde



earth /home/jms # emerge -pvuN kde-apps/akonadi

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ~] kde-apps/akonadi-21.12.1:5::kde [21.12.0:5::kde] USE="kaccounts mysql tools xml -debug -designer -doc -postgres -sqlite -test" 0 KiB
Comment 6 jms 2022-01-07 14:25:48 UTC
(In reply to Andreas Sturmlechner from comment #4)
> This is related to commits a8e2d266582bcc9c91e3a45ac4aa41859a3f4a13 and
> e960c044f7bcb8f0e9bc16e14cf19a394a456ee2, changes to ecm.eclass which are
> only in kde overlay so far.
> 
> You will not get that error with KDE Gear 21.12.1 packages built from
> ::gentoo.

ok
Hope KDE Gear 21.12.1 land soon in ::gentoo
Thanks for the feedback
Comment 7 Andreas Sturmlechner gentoo-dev 2022-01-07 14:31:32 UTC
It happened already.

commit 9e31f4ccf48b81995ecf298c42b6aaa31bc652db
Author: Andreas Sturmlechner <asturm@gentoo.org>
Date:   Fri Jan 7 12:15:11 2022 +0100

    kde-apps/akonadi: 21.12.1 version bump
    
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Comment 8 jms 2022-01-07 14:53:01 UTC
(In reply to Andreas Sturmlechner from comment #7)
> It happened already.
> 
> commit 9e31f4ccf48b81995ecf298c42b6aaa31bc652db
> Author: Andreas Sturmlechner <asturm@gentoo.org>
> Date:   Fri Jan 7 12:15:11 2022 +0100
> 
>     kde-apps/akonadi: 21.12.1 version bump
>     
>     Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

great that was quick 
thank 
I appreciate it as I was in the middle of my emerge
Comment 10 Larry the Git Cow gentoo-dev 2022-01-08 21:15:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a45df0bf254f811b5bb38a827eeb02a84985c1c3

commit a45df0bf254f811b5bb38a827eeb02a84985c1c3
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-01-08 13:08:23 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-01-08 21:07:35 +0000

    ecm.eclass: Introduce ecm_punt_kf_module and ecm_punt_qt_module
    
    Upstream has begun replacing
    
            find_package(Qt5 ...)
    
    with
    
            find_package(Qt${QT_MAJOR_VERSION}) ...)
    
    for optional build with Qt6 - this breaks existing ecm_punt_bogus_dep()
    regexps. There is no known usage of ecm_punt_bogus_dep with anything
    else than Qt5 or KF5, so simply replace it with two public functions
    fixed on Qt* and KF* module removal.
    
    Also add '${dep}' info to 'removed by ecm.eclass' output.
    
    Replaces ecm_punt_bogus_dep().
    
    Closes: https://bugs.gentoo.org/830729
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/ecm.eclass | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 50 insertions(+), 1 deletion(-)