Hi,

On Sun, 09 Jul 2023 23:03:07 +0200 roehl...@debian.org wrote:
your package ms-gsl 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.
I just did an NMU to DELAY/3. Please tell if you want me to cancel.


Cheers
Timo

--
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯
diff --git a/debian/changelog b/debian/changelog
index 9cb2e41..117793e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ms-gsl (4.0.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix autopkgtest regression due to CMake warning (Closes: #1040735)
+
+ -- Timo Röhling <roehl...@debian.org>  Sun, 23 Jul 2023 21:10:48 +0200
+
 ms-gsl (4.0.0-2) unstable; urgency=medium
 
   * Ignore -Wpsabi warnings on PowerPC.
diff --git a/debian/patches/1040735.patch b/debian/patches/1040735.patch
new file mode 100644
index 0000000..f580449
--- /dev/null
+++ b/debian/patches/1040735.patch
@@ -0,0 +1,18 @@
+From: =?utf-8?q?Timo_R=C3=B6hling?= <roehl...@debian.org>
+Date: Sun, 23 Jul 2023 21:10:02 +0200
+Subject: Fix for #1040735
+
+---
+ tests/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
+index 845ee26..b75648e 100644
+--- a/tests/CMakeLists.txt
++++ b/tests/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.0.2)
++cmake_minimum_required(VERSION 3.13)
+ 
+ project(GSLTests CXX)
+ enable_testing()  # again, for support standalone testing
diff --git a/debian/patches/series b/debian/patches/series
index 235bb02..5eb1697 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 PowerPC-warn-suppression.patch
+1040735.patch
diff --git a/debian/tests/smoke b/debian/tests/smoke
index bb52f69..7e6f409 100755
--- a/debian/tests/smoke
+++ b/debian/tests/smoke
@@ -8,7 +8,7 @@ BASH_XTRACEFD=1
 set -x
 
 tee CMakeLists.txt <<EOF
-cmake_minimum_required(VERSION 3.0.0)
+cmake_minimum_required(VERSION 3.13)
 project(SmokeTest CXX)
 find_package(Microsoft.GSL ${ver} EXACT REQUIRED)
 message(STATUS "Found GSL of version \${Microsoft.GSL_VERSION}")

Attachment: signature.asc
Description: PGP signature

Reply via email to