#1087867 llvm-toolchain-15: autopkgtest regression due to new CMake deprecation warning

#1087867#5
Date:
2024-11-19 16:12:00 UTC
From:
To:
Dear maintainer,

your package has an autopkgtest regression with CMake 3.31. CMake has
deprecated backwards compatibility for versions earlier than 3.10,
which causes cmake_minimum_required() and/or cmake_policy() to emit a
warning on stderr, thereby causing your autopkgtest to fail. The
tests should be unaffected otherwise.

To avoid this warning from cmake_minimum_required() you have two
options:

1. Bump the minimum required version to at least 3.10. For reference,
the CMake version in oldstable is 3.18 and in oldoldstable is 3.13.

2. Add a maximum version with the ... operator. For example, instead
of cmake_minimum_required(VERSION 3.7) use
cmake_minimum_required(VERSION 3.7...3.31).

In either case, please verify that the requested policy profile is
compatible with your package. This is very likely the case you have a
non-trivial autopkgtest which passes after the change.

#1087867#10
Date:
2025-01-23 09:54:45 UTC
From:
To:
Note that llvm-toolchain-15 has been removed from sid already, and is only
present in testing due to emscripten still depending on it. Once emscripten gets
updated to a newer llvm (which has happened in sid, but there are issues with
it), then llvm-toolchain-15 will be automatically dropped from testing. Focus
should be on fixing emscripten and allowing it to migrate to testing, see its RC
bugs.

Cheers,
Emilio