Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 957990 - =media-libs/libmygpo-qt-1.1.0 fails configure: CMake Error at CMakeLists.txt:1 (cmake_minimum_required)
Summary: =media-libs/libmygpo-qt-1.1.0 fails configure: CMake Error at CMakeLists.txt:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Sound Team
URL:
Whiteboard: [kde overlay] cmake.eclass fix pendin...
Keywords: InOverlay, PullRequest
Depends on:
Blocks: cmake-4
  Show dependency tree
 
Reported: 2025-06-13 04:05 UTC by tdr
Modified: 2025-06-22 10:58 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge--info,6.60 KB, text/plain)
2025-06-13 04:05 UTC, tdr
Details
cmake min version patch (libmygpo-qt-1.1.0-cmake-min-version.patch,579 bytes, patch)
2025-06-13 04:05 UTC, tdr
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2025-06-13 04:05:01 UTC
cmake version compatibility needs updated

Reproducible: Always

Actual Results:  
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
Comment 1 tdr 2025-06-13 04:05:21 UTC
Created attachment 933784 [details]
emerge --info
Comment 2 tdr 2025-06-13 04:05:58 UTC
Created attachment 933785 [details, diff]
cmake min version patch
Comment 3 Andreas Sturmlechner gentoo-dev 2025-06-13 13:45:07 UTC
Missing build.log. But it looks like you've found a package where the cmake.eclass workaround is insufficient.

This version will likely not receive fixes, since 1.2.0 exists in ~arch and is fine.
Comment 4 Larry the Git Cow gentoo-dev 2025-06-14 10:49:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=e00e9692a9e469bfbc4dc8f099acd88296f24a5d

commit e00e9692a9e469bfbc4dc8f099acd88296f24a5d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-06-13 15:26:53 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-06-14 10:47:47 +0000

    cmake.eclass: Avoid none-detection by ensuring match starts w/ digit
    
    Thanks-to: Ionen Wolkens <ionen@gentoo.org>
    Closes: https://bugs.gentoo.org/957990
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/cmake.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-06-14 23:59:29 UTC
Let's keep this open until the change is synced to ::gentoo.
Comment 6 Larry the Git Cow gentoo-dev 2025-06-22 10:58:04 UTC
The bug has been closed via the following commit(s):

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

commit 5c7a21e66f4de43322dd706a4517c27b796ebcc0
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2025-06-13 15:26:53 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2025-06-22 10:57:09 +0000

    cmake.eclass: Avoid none-detection by ensuring match starts w/ digit
    
    Thanks-to: Ionen Wolkens <ionen@gentoo.org>
    Closes: https://bugs.gentoo.org/957990
    Bug: https://bugs.gentoo.org/958051
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/cmake.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)