[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CMake 4 upload to unstable



Hi Adrian,

* Adrian Bunk <bunk@debian.org> [2025-10-07 01:19]:
after seeing (and fixing) some of these bugs I have a question:

Is there a good reason why debhelper cannot set
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 by default?
I considered this briefly in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098837#10 but it is a behavior change that needs a debhelper compat level bump, and that would mean a very lengthy transition phase.

If the debhelper maintainers conclude that this can be done without bumping the compat level, it would be a feasible option. So far, we seem to have been "lucky" that packages just blindly declare some arbitrary minimum version, and there is nothing in the CMake files that actually breaks.


Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

Attachment: signature.asc
Description: PGP signature


Reply to: