Your message dated Wed, 21 Aug 2024 20:35:42 +0000
with message-id <e1sgs3s-00dudl...@fasolo.debian.org>
and subject line Bug#1077788: fixed in clblas 2.12-6
has caused the Debian Bug report #1077788,
regarding clblas: autopkgtest regressions with gcc-14
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1077788: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077788
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: clblas
Version: 2.12-5
Severity: serious
Tags: patch


Dear Maintainer,


gcc-14 changed some warnings into errors.
I checked codesearch.debian.org and found something that might be considered a 
patch and submitted upstream.

At least now the example code compiles correctly, this is why I'm tagging it as 
patch (and this is just an example code, so
we can ignore the sanity of the approach)

Feel free to adapt it if needed.

Thanks for considering the patch.


diff -Nru clblas-2.12/debian/patches/361.patch 
clblas-2.12/debian/patches/361.patch
--- clblas-2.12/debian/patches/361.patch        1970-01-01 01:00:00.000000000 
+0100
+++ clblas-2.12/debian/patches/361.patch        2024-08-02 09:02:48.000000000 
+0200
@@ -0,0 +1,55 @@
+From c8df417ce2a7ee644bb6e997ec37b85450496e8c Mon Sep 17 00:00:00 2001
+From: Gianfranco Costamagna <costamagnagianfra...@yahoo.it>
+Date: Fri, 2 Aug 2024 09:02:32 +0200
+Subject: [PATCH] Update example_ctrsm.c
+
+Fixup a failure due to
+
+[ 16%] Building C object CMakeFiles/example_ctrsm.dir/example_ctrsm.c.o
+In file included from /usr/include/CL/cl.h:20,
+                 from /usr/include/clBLAS.h:35,
+                 from /tmp/example_ctrsm.c:25:
+/usr/include/CL/cl_version.h:22:9: note: '#pragma message: cl_version.h: 
CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)'
+   22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. 
Defaulting to 300 (OpenCL 3.0)")
+      |         ^~~~~~~
+/tmp/example_ctrsm.c: In function 'main':
+/tmp/example_ctrsm.c:95:48: error: passing argument 2 of 'clGetPlatformIDs' 
from incompatible pointer type [-Wincompatible-pointer-types]
+   95 |     err = clGetPlatformIDs(sizeof( platform ), &platform, NULL);
+      |                                                ^~~~~~~~~
+      |                                                |
+      |                                                struct _cl_platform_id 
***
+/usr/include/CL/cl.h:956:35: note: expected 'struct _cl_platform_id **' but 
argument is of type 'struct _cl_platform_id ***'
+  956 |                  cl_platform_id * platforms,
+      |                  ~~~~~~~~~~~~~~~~~^~~~~~~~~
+/tmp/example_ctrsm.c:114:5: warning: 'clCreateCommandQueue' is deprecated 
[-Wdeprecated-declarations]
+  114 |     queue = clCreateCommandQueue(ctx, device, 0, &err);
+      |     ^~~~~
+/usr/include/CL/cl.h:1914:1: note: declared here
+ 1914 | clCreateCommandQueue(cl_context                     context,
+      | ^~~~~~~~~~~~~~~~~~~~
+---
+ src/samples/example_ctrsm.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/samples/example_ctrsm.c b/src/samples/example_ctrsm.c
+index 44664810..327fc2ce 100644
+--- a/src/samples/example_ctrsm.c
++++ b/src/samples/example_ctrsm.c
+@@ -81,7 +81,7 @@ int
+ main(void)
+ {
+     cl_int err;
+-    cl_platform_id platform[] = { 0, 0 };
++    cl_platform_id *platform;
+     cl_device_id device = 0;
+     cl_context_properties props[3] = { CL_CONTEXT_PLATFORM, 0, 0 };
+     cl_context ctx = 0;
+@@ -91,7 +91,7 @@ main(void)
+     int ret = 0;
+
+     /* Setup OpenCL environment. */
+-    err = clGetPlatformIDs(sizeof( platform ), &platform, NULL);
++    err = clGetPlatformIDs(sizeof( platform ), platform, NULL);
+     if (err != CL_SUCCESS) {
+         printf( "clGetPlatformIDs() failed with %d\n", err );
+         return 1;
diff -Nru clblas-2.12/debian/patches/series clblas-2.12/debian/patches/series
--- clblas-2.12/debian/patches/series   2024-04-26 18:44:20.000000000 +0200
+++ clblas-2.12/debian/patches/series   2024-08-02 09:02:59.000000000 +0200
@@ -11,3 +11,4 @@
 Fix-local-variables-not-declared-in-outermost-scope.patch
 no-implicit-declarations.patch
 missing-flags.patch
+361.patch

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: clblas
Source-Version: 2.12-6
Done: Andreas Beckmann <a...@debian.org>

We believe that the bug you reported is fixed in the latest version of
clblas, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1077...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <a...@debian.org> (supplier of updated clblas package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 21 Aug 2024 22:13:03 +0200
Source: clblas
Architecture: source
Version: 2.12-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Andreas Beckmann <a...@debian.org>
Closes: 1077788 1077789
Changes:
 clblas (2.12-6) unstable; urgency=medium
 .
   * Team upload.
   * Fix tests on OpenCL 1.1 devices. Upstream PR#342.
     (Closes: #1077789) (LP: #1816887)
   * Compile examples during package build.
   * Fix building and testing with GCC 14. Upstream PR#362.  (Closes: #1077788)
Checksums-Sha1:
 e27b552f2313991f8008a19dd69885b935778d94 2394 clblas_2.12-6.dsc
 17bed5f058fd8fefb411a66f426a0db8fa23c8ab 15668 clblas_2.12-6.debian.tar.xz
 6948d3186dc8eed69aae52ee93235cdc5401ecdf 7482 clblas_2.12-6_source.buildinfo
Checksums-Sha256:
 5b22b2038fba2188a646914ca12a22555e66c96a3a27792f3ec99760289aca91 2394 
clblas_2.12-6.dsc
 6c85cf775939c3fa2f1ac8996a34634d8ae22c7e68b82555a666ca541064564a 15668 
clblas_2.12-6.debian.tar.xz
 db29c0a347938f48b6d9adbb9e2db5ce707c57e6a90de78c331a8a55970ee382 7482 
clblas_2.12-6_source.buildinfo
Files:
 7bcb3355180d3b1a24f7e2f1f06a6278 2394 science optional clblas_2.12-6.dsc
 f3d912875d45e310653e26a8b3e0dc28 15668 science optional 
clblas_2.12-6.debian.tar.xz
 b9be121355fdcf3fd23ad587c3d985c0 7482 science optional 
clblas_2.12-6_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmbGSrEQHGFuYmVAZGVi
aWFuLm9yZwAKCRBfsz+TWentCLkyD/9/T2fC3J4lnJy6FQMVDKdEGM0Eo9pesIoL
jF2V6V6VbTJlucFe8qB9lQAGTt31d5MbCHEyvSm2y/h0iaDFUlpY+eLv6k9faLak
uwsZDmjPgwjaIxUcAZ6cigJ5iFOO6UoTVZFpt2sKS6Q6VMbm852pq1sxyryT1OSt
tyeY8gYrXvrrFNFopOXkRaprepyO/ttwvegdLxX+4uNsyZHzYWEm7Fs9WVUPHhFk
ZGwZ2RSNWHwmqqmlzIU1lqcjij8jUnUdwJoLaGsrJTSgnU0/SwaGjAZ3OvD7XY4i
CMN07CsRevPSSya8QMzJStbfmE/GPOnECNf3rHVDCu9eY9HBHeMiN+l2y/NA9c6O
oba0zF2uJ8gPuXBlErULvoQYBAUwVN6WqyMtj3TOQ7dOBd+GZ2w5hQCv46lD3UkU
iNX4MNkqA5JVDK/a42HvJIFaDtPScqcNnihS6FJrIJqL8BoNW0RGXDLDrzJJYzvK
4KVtpsuBEj23+bHQIx9lTEmimZUS0rHiOFciqlF2P56i/2lrxnpaWe4kB7sf91JA
cBSiQxk1ERXyUwkgTjk1Zh1M5xdx2Y0d+sBuq8BK9KBpzWLKcMvGlXeW7cFKUq9u
VZKQFkFYE06/56oYcmrQChI+p8N7anmzY+vKkZ0a3DRwD/eUcQEy/N13FDMt4qvU
qgWSIeLTaw==
=dKu3
-----END PGP SIGNATURE-----

Attachment: pgpLYcUpZfGTp.pgp
Description: PGP signature


--- End Message ---

Reply via email to