Bug#1040733: docopt.cpp: autopkgtest failure due to new CMake deprecation warning

Gianfranco Costamagna locutusofborg at debian.org
Thu Jul 20 10:54:13 BST 2023


Dear maintainer,

I've prepared an NMU for docopt.cpp (versioned as 0.6.2-2.4) and
uploaded.

Regards.

diff -Nru docopt.cpp-0.6.2/debian/changelog docopt.cpp-0.6.2/debian/changelog
--- docopt.cpp-0.6.2/debian/changelog   2021-08-17 05:44:44.000000000 +0200
+++ docopt.cpp-0.6.2/debian/changelog   2023-07-20 11:52:23.000000000 +0200
@@ -1,3 +1,11 @@
+docopt.cpp (0.6.2-2.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Bump minimum required cmake version to 3.11 to fix autopkgtests
+    (Closes: #1040733)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Thu, 20 Jul 2023 11:52:23 +0200
+
  docopt.cpp (0.6.2-2.3) unstable; urgency=medium

    * Non-maintainer upload.
diff -Nru docopt.cpp-0.6.2/debian/tests/docopt.cpp-examples docopt.cpp-0.6.2/debian/tests/docopt.cpp-examples
--- docopt.cpp-0.6.2/debian/tests/docopt.cpp-examples   2020-07-25 07:18:18.000000000 +0200
+++ docopt.cpp-0.6.2/debian/tests/docopt.cpp-examples   2023-07-20 11:52:21.000000000 +0200
@@ -9,7 +9,7 @@
  cd $AUTOPKGTEST_TMP

  cat << EOF > CMakeLists.txt
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.11)
  project(docopt.cpp-examples)

  find_package(docopt)

On Sun, 09 Jul 2023 23:03:01 +0200 roehling at debian.org wrote:
> Source: docopt.cpp
> Version: 0.6.2-2.3
> Severity: important
> User: roehling at debian.org
> Usertags: cmake3.27
> 
> Dear maintainer,
> 
> your package docopt.cpp will soon experience autopkgtest failures
> because the new CMake release 3.27 will issue a deprecation warning
> on stderr if cmake_minimum_required() asks for compatibility with
> CMake 3.4 or older.
> 
> You can check for the exact failure on the cmake pseudo-excuses page
> from experimental:
> https://qa.debian.org/excuses.php?experimental=1&package=cmake
> 
> For a more in-depth discussion, kindly refer to the debian-devel
> thread: https://lists.debian.org/debian-devel/2023/06/msg00150.html
> 
> Cheers
> 
> Timo
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20230720/2b47b149/attachment-0001.sig>


More information about the debian-science-maintainers mailing list