[Pkg-cmake-team] Bug#945825: [cmake] cannot find development files for default Python

Timo Röhling roehling at debian.org
Mon Sep 13 18:50:59 BST 2021


On Wed, 18 Nov 2020 14:30:17 +0100 Marc CHEVRIER <marc.chevrier at gmail.com> wrote:
> So, for the interpreter, `python3.9’ will be searched first, after
> ‘python3.8’, etc… When multiple versions are installed, the most
> recent version of the interpreter is selected. And, after, only
> ‘Development’ artefacts matching this version will be searched
> for.
Starting with CMake 3.15, the default Python_FIND_STRATEGY is
LOCATION, i.e. the search will stop with the first found version
(see CMP0094).

Therefore, this issue can also be resolved by moving the Debian
default version to the top of the list, thereby making sure that
it is used by default:

https://salsa.debian.org/cmake-team/cmake/-/merge_requests/8

Cheers
Timo

-- 
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cmake-team/attachments/20210913/e31895d8/attachment.sig>


More information about the Pkg-cmake-team mailing list