Bug 1814195

Summary: Cmake 3.17.0 cannot find Python 3.8
Product: [Fedora] Fedora Reporter: Vitaly <vitaly>
Component: cmakeAssignee: Björn Esser (besser82) <besser82>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anto.trande, besser82, jreznik, rdieter, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cmake-3.17.0-1.fc32 cmake-3.17.0-1.fc31 cmake-3.17.0-1.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-28 00:15:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vitaly 2020-03-17 10:37:46 UTC
Description of problem:
Cmake 3.17.0 rc3 cannot find Python 3.8.

Version-Release number of selected component (if applicable):
cmake: 3.17.0-0.4.rc3.fc33
python: 3.8.2-2.fc33

How reproducible:
Always.

Steps to Reproduce:
1. Add Python to your CMakeLists.txt: find_package(Python REQUIRED)
2. Run cmake build.

Actual results:
Configuration error:

BUILDSTDERR: CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
BUILDSTDERR:   Could NOT find Python (missing: Python_EXECUTABLE Interpreter)
BUILDSTDERR: Call Stack (most recent call first):
BUILDSTDERR:   /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
BUILDSTDERR:   /usr/share/cmake/Modules/FindPython.cmake:358 (find_package_handle_standard_args)
BUILDSTDERR:   Telegram/cmake/generate_scheme.cmake:8 (find_package)
BUILDSTDERR:   Telegram/cmake/lib_scheme.cmake:18 (generate_scheme)
BUILDSTDERR:   Telegram/CMakeLists.txt:35 (include)
-- Configuring incomplete, errors occurred!


Expected results:
Successful build.

Additional info:
Reported this issue to upstream: https://gitlab.kitware.com/cmake/cmake/issues/20465

Comment 1 Vitaly 2020-03-17 14:33:13 UTC
Upstream PR with fix: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4492

I think it need to be backported to Rawhide.

Comment 2 Fedora Update System 2020-03-26 12:35:03 UTC
FEDORA-2020-4ffd6bce17 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-4ffd6bce17

Comment 3 Fedora Update System 2020-03-26 12:35:13 UTC
FEDORA-2020-8f7479dbf9 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-8f7479dbf9

Comment 4 Fedora Update System 2020-03-27 13:08:36 UTC
FEDORA-2020-4ffd6bce17 has been pushed to the Fedora 30 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-4ffd6bce17`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-4ffd6bce17

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-03-27 15:58:03 UTC
FEDORA-2020-24253acaa7 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-24253acaa7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-24253acaa7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2020-03-27 19:12:12 UTC
FEDORA-2020-8f7479dbf9 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-8f7479dbf9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-8f7479dbf9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2020-03-28 00:15:18 UTC
FEDORA-2020-24253acaa7 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2020-04-02 09:55:19 UTC
FEDORA-2020-8f7479dbf9 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2020-04-04 04:18:22 UTC
FEDORA-2020-4ffd6bce17 has been pushed to the Fedora 30 stable repository.
If problem still persists, please make note of it in this bug report.