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

Bug#945489: llvm-toolchain-9: autopkgtest needs update for new version of cmake: fails on warning

Source: llvm-toolchain-9
Version: 1:9.0.0-3
Severity: serious
X-Debbugs-CC: debian-ci@lists.debian.org, cmake@packages.debian.org
Tags: sid bullseye
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:cmake

Dear maintainers,

With a recent upload of cmake the autopkgtest of llvm-toolchain-9 fails
in testing when that autopkgtest is run with the binary packages of
cmake from unstable. It passes when run with only packages from testing.
In tabular form:
                       pass            fail
cmake                  from testing    3.15.4-1
llvm-toolchain-9       from testing    1:9.0.0-3
all others             from testing    from testing

I copied some of the output at the bottom of this report. If you don't
want to fix the warning, you should add the allow-stderr restriction to
not fail on this warning.

Currently this regression is blocking the migration of cmake to testing
[1]. Of course, cmake shouldn't just break your autopkgtest (or even
worse, your package), but it seems to me that the change in cmake was
intended and your package needs to update to the new situation.

More information about this bug and the reason for filing it can be found on


[1] https://qa.debian.org/excuses.php?package=cmake


autopkgtest [05:43:26]: test cmake-test:  - - - - - - - - - - results -
- - - - - - - - -
cmake-test           FAIL stderr: CMake Warning (dev) in CMakeLists.txt:
autopkgtest [05:43:27]: test cmake-test:  - - - - - - - - - - stderr - -
- - - - - - - -
CMake Warning (dev) in CMakeLists.txt:
  No project() command is present.  The top-level CMakeLists.txt file
must contain a literal, direct call to the project() command.  Add a
line of code such as


  near the top of the file, but after cmake_minimum_required().

  CMake is pretending there is a "project(Project)" command on the first
This warning is for project developers.  Use -Wno-dev to suppress it.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: