Summary: | dev-libs/rocm-device-libs-6.3.2 - [gcc-15] [cmake-4] -- CMake Error at cmake/OCL.cmake:12 (cmake_policy): Policy CMP0053 may not be set to OLD behavior because this version of CMake no longer supports it. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Craig Andrews <candrews> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | lockalsash, pitwuu |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/42608 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 951350 | ||
Attachments: |
emerge-info.txt
dev-libs:rocm-device-libs-6.3.2:20250326-051715.log emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt |
Description
Toralf Förster
![]() Created attachment 922875 [details]
emerge-info.txt
Created attachment 922876 [details]
dev-libs:rocm-device-libs-6.3.2:20250326-051715.log
Created attachment 922877 [details]
emerge-history.txt
Created attachment 922878 [details]
environment
Created attachment 922879 [details]
etc.clang.tar.xz
Created attachment 922880 [details]
etc.portage.tar.xz
Created attachment 922881 [details]
logs.tar.xz
Created attachment 922882 [details]
qlist-info.txt
Also happens with media-sound/clementine. It would be helpful to collate these issues somewhere, as I'm sure many packages are affected by the update to cmake 4. Here's a patch, working at least for clementine. ```patch --- a/CMakeLists.txt 2025-06-14 13:28:37.478054885 +0700 +++ b/CMakeLists.txt 2025-06-14 13:28:43.882055080 +0700 @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.13.0) project(clementine) -cmake_policy(SET CMP0053 OLD) +cmake_policy(SET CMP0053 NEW) include(CheckCXXCompilerFlag) include(FindPkgConfig) ``` The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88f4649184e9eecf843f435e0815b8d290bbccf3 commit 88f4649184e9eecf843f435e0815b8d290bbccf3 Author: Sv. Lockal <lockalsash@gmail.com> AuthorDate: 2025-06-15 15:25:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-06-15 16:10:48 +0000 dev-libs/rocm-device-libs: fix CMake 4 compatibility Closes: https://bugs.gentoo.org/952090 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42608 Closes: https://github.com/gentoo/gentoo/pull/42608 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/rocm-device-libs/rocm-device-libs-6.3.3.ebuild | 1 + 1 file changed, 1 insertion(+) (In reply to Philippe Michaud-Boudreault from comment #9) > Also happens with media-sound/clementine. > It would be helpful to collate these issues somewhere, as I'm sure many > packages are affected by the update to cmake 4. > That's exactly what bug 951350 is for (which this bug already blocks). |