Bug 1860546 - cmake has broken modules for python in buildsystem
Summary: cmake has broken modules for python in buildsystem
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cmake
Version: 32
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Björn Esser (besser82)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-25 00:42 UTC by Luya Tshimbalanga
Modified: 2020-11-15 07:47 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-11-15 07:47:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Luya Tshimbalanga 2020-07-25 00:42:59 UTC
Description of problem:
It looks like the new update of cmake in the build system inadvertly broken the python modules. The process were fine on the previous version.

Version-Release number of selected component (if applicable):
3.17.3

How reproducible:
Always

Steps to Reproduce:
1. Attempt to either scratch-build or build a package
2.
3.

Actual results:
https://koji.fedoraproject.org/koji/taskinfo?taskID=47730766

Expected results:
cmake should properly read python module

Additional info:
Backtrace:

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
  Could NOT find PythonLibsUnix (missing: PYTHON_LIBRARY PYTHON_LIBPATH
  PYTHON_INCLUDE_DIR PYTHON_INCLUDE_CONFIG_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
  build_files/cmake/Modules/FindPythonLibsUnix.cmake:180 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  build_files/cmake/platform/platform_unix.cmake:99 (find_package)
  CMakeLists.txt:812 (include)
-- Configuring incomplete, errors occurred!
See also "/builddir/build/BUILD/blender-2.83.3/build/CMakeFiles/CMakeOutput.log".

Comment 1 Björn Esser (besser82) 2020-08-01 12:55:19 UTC
Can you verify this was fixed on fc32 with cmake-3.17.4?  I've tagged the build for a buildroot-override:  koji wait-repo f32-build --build=cmake-3.17.4-1.fc32

Comment 2 Luya Tshimbalanga 2020-10-25 19:59:17 UTC
Yes it works with version 3.17.4.


Note You need to log in before you can comment on or make changes to this bug.