[Buildroot] [PATCH 1/2] package/kodi: needs host-cmake >= 3.26

Bernd Kuhls bernd at kuhls.net
Sun Jan 14 17:48:22 UTC 2024


Fixes build error on Debian bookworm with

$ cmake --version
cmake version 3.25.1

-- Found Python3: /home/buildroot/br2/output/per-package/kodi/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/python3.11
 (found suitable exact version "3.11.6") found components: Development Development.Module Development.Embed
-- Could NOT find Python3 (missing: Interpreter)
    Reason given by package:
        Interpreter: Cannot run the interpreter
        "/home/buildroot/br2/output/per-package/kodi/host/x86_64-buildroot-linux-gnu/sysroot/usr/bin/python3"

CMake Error at cmake/scripts/common/Macros.cmake:432 (message):
  PYTHON enabled but not found
Call Stack (most recent call first):
  CMakeLists.txt:214 (core_optional_dep)

-- Configuring incomplete, errors occurred!

Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
---
 package/kodi/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 6b68e6d504..181db55571 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -66,7 +66,7 @@ menuconfig BR2_PACKAGE_KODI
 	depends on BR2_PACKAGE_PYTHON3
 	depends on !BR2_PACKAGE_PYTHON3_PYC_ONLY
 	select BR2_NEEDS_HOST_JAVA
-	select BR2_HOST_CMAKE_AT_LEAST_3_24
+	select BR2_HOST_CMAKE_AT_LEAST_3_26
 	select BR2_PACKAGE_FFMPEG
 	select BR2_PACKAGE_FFMPEG_GPL
 	select BR2_PACKAGE_FFMPEG_POSTPROC
-- 
2.39.2




More information about the buildroot mailing list