[Pkg-opencl-devel] Bug#1040730: khronos-opencl-clhpp: autopkgtest failure due to new CMake deprecation warning
Timo Röhling
roehling at debian.org
Tue Aug 1 17:18:08 BST 2023
Hi,
On Sun, 09 Jul 2023 23:03:05 +0200 roehling at debian.org wrote:
> your package khronos-opencl-clhpp 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 have uploaded an NMU to DELAYED/5 now (see attached diff).
Cheers
Timo
--
⢀⣴⠾⠻⢶⣦⠀ ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁ │ Timo Röhling │
⢿⡄⠘⠷⠚⠋⠀ │ 9B03 EBB9 8300 DF97 C2B1 23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀ ╰────────────────────────────────────────────────────╯
-------------- next part --------------
diff --git a/debian/changelog b/debian/changelog
index 4890a5a..975b170 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+khronos-opencl-clhpp (3.0~2023.04.17-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Bump cmake_minimum_required() in autopkgtest (Closes: #1040730)
+
+ -- Timo Röhling <roehling at debian.org> Tue, 01 Aug 2023 18:04:04 +0200
+
khronos-opencl-clhpp (3.0~2023.04.17-1) unstable; urgency=medium
* New upstream release.
diff --git a/debian/tests/upstream-testsuite b/debian/tests/upstream-testsuite
index f6786ed..501bfb0 100644
--- a/debian/tests/upstream-testsuite
+++ b/debian/tests/upstream-testsuite
@@ -5,6 +5,14 @@ srcdir=$(pwd)
cp -a . $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
+# Temporary fix for #1040730
+sed -i -e '1 s/VERSION [^)]*/VERSION 3.13/' \
+ CMakeLists.txt \
+ examples/CMakeLists.txt \
+ tests/strip_defines.cmake \
+ tests/pkgconfig/bare/CMakeLists.txt \
+ tests/pkgconfig/sdk/CMakeLists.txt
+# End of temporary fix
mkdir build
cd build
cmake -DOPENCL_LIB_DIR=/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH) -DCMOCK_DIR=../cmock -DUNITY_DIR=../unity ..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-opencl-devel/attachments/20230801/ef2ea13e/attachment.sig>
More information about the Pkg-opencl-devel
mailing list