https://bugs.kde.org/show_bug.cgi?id=479260

--- Comment #1 from Björn Strömberg <bjorn.stromber...@gmail.com> ---
hmm tested to patch the code directly and modify the CMakeLists.txt:

```
# handle CMP0148 - NEW is default from cmake 3.27
if(POLICY CMP0148)
    message(STATUS "Policy CMP0148 is true: need to be handled!")
    find_package(Python3 REQUIRED COMPONENTS Interpreter Development)
[...]
```

```
-- Policy CMP0148 is true: need to be handled!
-- Configuring incomplete, errors occurred!
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230
(message):
  Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES
  Development Development.Module Development.Embed) (found version "3.11.6")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600
(_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindPython/Support.cmake:3824
(find_package_handle_standard_args)
  /usr/share/cmake/Modules/FindPython3.cmake:545 (include)
  CMakeLists.txt:47 (find_package)


*** Failure: Exit code 1 ***
```

so this looks like extra-cmake-packages is not picking up python, even though
it finds it?

not sure where the issue is here.. 'extra-cmake-packages', 'alpines python
package' or 'just me using find_package(Python3) wrong'

my trial and error:
https://invent.kde.org/stromberg/kdev-python/-/commit/7a66da9e614ad7d39c0d31e12ba970265876f821

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to