Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extra-cmake-modules needs update related to python #1032

Open
dmacks opened this issue Jun 1, 2023 · 2 comments
Open

extra-cmake-modules needs update related to python #1032

dmacks opened this issue Jun 1, 2023 · 2 comments
Assignees
Labels
waiting for reply Waiting for reply from submitter

Comments

@dmacks
Copy link
Member

dmacks commented Jun 1, 2023

Attempting to build various kde5 packages fails during their cmake:

CMake Error at /sw/lib/qt5-mac/share/ECM/find-modules/FindPythonModuleGeneration.cmake:149 (message):
  The max python version in PythonModuleGeneration must be updated.
Call Stack (most recent call first):
  src/CMakeLists.txt:71 (find_package)

FindPythonModuleGeneration is from extra-cmake-modules, and apparently is choking when it finds various pythonX.X that are newer than existed at the time this ECM was released. I don't know enough cmake to figure out speicifically what the version limits are here and how to fix them.

@nieder
Copy link
Member

nieder commented Jun 1, 2023

Quick workaround: disable PythonModuleGeneration in whatever package is failing, cf: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6990f098728781bec8178e4b92ecee5aa4430b26

-DCMAKE_DISABLE_FIND_PACKAGE_PythonModuleGeneration=ON

@nieder
Copy link
Member

nieder commented Jun 4, 2023

Is there a specific package that this happens on? And what macOS are you using?

@nieder nieder added the waiting for reply Waiting for reply from submitter label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for reply Waiting for reply from submitter
Projects
None yet
Development

No branches or pull requests

2 participants