Skip to content

🧑‍🌾 CMake warning in Rolling Debug (Policy CMP0148) #291

@Crola1702

Description

@Crola1702

Reference build: https://build.ros2.org/view/Rci/job/Rci__nightly-debug_ubuntu_noble_amd64/7/

Warnings:

  • Warning: shiboken_helpers.cmake:318 - Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
Output in package qt_gui_cpp:
 20929 -- Shiboken2Config: Using default python: .cpython-312-x86_64-linux-gnu
 20930 CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.15.13/shiboken_helpers.cmake:318 (find_package):
 20931   Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
 20932   are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
 20933   the cmake_policy command to set the policy and suppress this warning.
 20934 
 20935 Call Stack (most recent call first):
 20936   /usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.15.13/Shiboken2Config.cpython-312-x86_64-linux-gnu.cmake:44 (shiboken_find_required_python)
 20937   /usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.15.13/Shiboken2Config.cmake:5 (include)
 20938   /tmp/ws/install_isolated/python_qt_binding/share/python_qt_binding/cmake/shiboken_helper.cmake:24 (find_package)
 20939   src/qt_gui_cpp_shiboken/CMakeLists.txt:43 (include)
 20940 This warning is for project developers.  Use -Wno-dev to suppress it.
 20941 
 20942 -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.12.3", minimum required is "3")
 20943 CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.15.13/shiboken_helpers.cmake:319 (find_package):
 20944   Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
 20945   are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
 20946   the cmake_policy command to set the policy and suppress this warning.
 20947 
 20948 Call Stack (most recent call first):
 20949   /usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.15.13/Shiboken2Config.cpython-312-x86_64-linux-gnu.cmake:44 (shiboken_find_required_python)
 20950   /usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.15.13/Shiboken2Config.cmake:5 (include)
 20951   /tmp/ws/install_isolated/python_qt_binding/share/python_qt_binding/cmake/shiboken_helper.cmake:24 (find_package)
 20952   src/qt_gui_cpp_shiboken/CMakeLists.txt:43 (include)
 20953 This warning is for project developers.  Use -Wno-dev to suppress it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions