Actions
Bug #57230
openpacific: Could NOT find Python3
Status:
Pending Backport
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
backport_processed
Backport:
quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Affects API and make check tests on Pacific PRs.
https://jenkins.ceph.com/job/ceph-api/43117/
https://jenkins.ceph.com/job/ceph-pull-requests/102097/
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR
Development) (found suitable exact version "3.8.10")
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindPython/Support.cmake:1181 (find_package_handle_standard_args)
cmake/modules/FindPython3.cmake:181 (include)
CMakeLists.txt:477 (find_package)
Both checks involve braggi14.
Updated by Laura Flores over 1 year ago
Seems to be happening on an Ubuntu (Jammy Jellyfish) node:
source /etc/os-release
++ PRETTY_NAME='Ubuntu 22.04.1 LTS'
++ NAME=Ubuntu
++ VERSION_ID=22.04
++ VERSION='22.04.1 LTS (Jammy Jellyfish)'
++ VERSION_CODENAME=jammy
++ ID=ubuntu
++ ID_LIKE=debian
++ HOME_URL=https://www.ubuntu.com/
++ SUPPORT_URL=https://help.ubuntu.com/
++ BUG_REPORT_URL=https://bugs.launchpad.net/ubuntu/
++ PRIVACY_POLICY_URL=https://www.ubuntu.com/legal/terms-and-policies/privacy-policy
++ UBUNTU_CODENAME=jammy
In that case, I think we should be referencing python 3.10.4. But here, we're detecting python 3.8.10.
Should be:
Found Python: /usr/bin/python3.10 (found version "3.10.4") found components: Interpreter
Updated by Laura Flores over 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 47741
Proposing a solution.
Updated by Laura Flores over 1 year ago
- Backport set to quincy,pacific
I think it would make sense to enforce this on all branches. That said, I am only really seeing this on braggi14 (https://jenkins.ceph.com/computer/172.21.2.14%2Bbraggi14/builds), Pacific PRs.
Updated by Laura Flores over 1 year ago
- Has duplicate Bug #57229: pacific: ImportError: cannot import name 'sysconfig' from 'distutils' added
Updated by Laura Flores over 1 year ago
- Has duplicate deleted (Bug #57229: pacific: ImportError: cannot import name 'sysconfig' from 'distutils')
Updated by Laura Flores over 1 year ago
- Status changed from Fix Under Review to Pending Backport
Updated by Backport Bot over 1 year ago
- Copied to Backport #57463: quincy: pacific: Could NOT find Python3 added
Updated by Backport Bot over 1 year ago
- Copied to Backport #57464: pacific: pacific: Could NOT find Python3 added
Actions