Your message dated Fri, 08 May 2026 13:06:48 +0000
with message-id <[email protected]>
and subject line Bug#1134162: fixed in vtk9 9.5.2+dfsg4-4
has caused the Debian Bug report #1134162,
regarding vtk9: FTBFS with GDAL 3.13.0
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 [email protected]
immediately.)


-- 
1134162: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1134162
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: vtk9
Version: 9.5.2+dfsg4-3
Severity: important
Tags: upstream ftbfs patch
User: [email protected]
Usertags: gdal-3.13

Dear Maintainer,

Your package FTBFS with GDAL 3.13.0:

 error: invalid conversion from 'CSLConstList' {aka 'const char* const*'} to 
'char**' [-fpermissive]

>From GDAL 3.13.0 NEWS:

 * GDALMajorObject: Use CSLConstList for GetMetadata, SetMetadata (API breakage)

https://github.com/OSGeo/gdal/blob/v3.13.0beta1/NEWS.md

The attached patch fixes the issue.

Kind Regards,

Bas
diff -Nru vtk9-9.5.2+dfsg4/debian/patches/gdal-3.13.patch 
vtk9-9.5.2+dfsg4/debian/patches/gdal-3.13.patch
--- vtk9-9.5.2+dfsg4/debian/patches/gdal-3.13.patch     1970-01-01 
01:00:00.000000000 +0100
+++ vtk9-9.5.2+dfsg4/debian/patches/gdal-3.13.patch     2026-04-17 
07:43:23.000000000 +0200
@@ -0,0 +1,35 @@
+Description: Fix FTBFS with GDAL 3.13.0.
+ error: invalid conversion from 'CSLConstList' {aka 'const char* const*'} to 
'char**' [-fpermissive]
+ .
+ From GDAL 3.13.0 NEWS:
+ "
+  * GDALMajorObject: Use CSLConstList for GetMetadata, SetMetadata (API 
breakage)
+ "
+Author: Bas Couwenberg <[email protected]>
+
+--- a/IO/GDAL/vtkGDALRasterReader.cxx
++++ b/IO/GDAL/vtkGDALRasterReader.cxx
+@@ -182,7 +182,11 @@ void vtkGDALRasterReader::vtkGDALRasterR
+     this->Reader->DriverShortName = GDALGetDriverShortName(driver);
+     this->Reader->DriverLongName = GDALGetDriverLongName(driver);
+ 
++#if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3, 13, 0)
++    CSLConstList papszMetaData = GDALGetMetadata(this->GDALData, nullptr);
++#else
+     char** papszMetaData = GDALGetMetadata(this->GDALData, nullptr);
++#endif
+     if (CSLCount(papszMetaData) > 0)
+     {
+       for (int i = 0; papszMetaData[i] != nullptr; ++i)
+@@ -878,7 +882,11 @@ std::vector<std::string> vtkGDALRasterRe
+ {
+   std::vector<std::string> domainMetaData;
+ 
++#if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3, 13, 0)
++  CSLConstList papszMetadata = GDALGetMetadata(this->Impl->GDALData, 
domain.c_str());
++#else
+   char** papszMetadata = GDALGetMetadata(this->Impl->GDALData, 
domain.c_str());
++#endif
+ 
+   if (CSLCount(papszMetadata) > 0)
+   {
diff -Nru vtk9-9.5.2+dfsg4/debian/patches/series 
vtk9-9.5.2+dfsg4/debian/patches/series
--- vtk9-9.5.2+dfsg4/debian/patches/series      2026-03-16 06:12:29.000000000 
+0100
+++ vtk9-9.5.2+dfsg4/debian/patches/series      2026-04-17 07:43:23.000000000 
+0200
@@ -13,3 +13,4 @@
 121_add_support_for_loong64.patch
 findEXPAT_version_fix_MR12826.patch
 matplotlib_nullptr_s390x.patch
+gdal-3.13.patch

--- End Message ---
--- Begin Message ---
Source: vtk9
Source-Version: 9.5.2+dfsg4-4
Done: Drew Parsons <[email protected]>

We believe that the bug you reported is fixed in the latest version of
vtk9, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Drew Parsons <[email protected]> (supplier of updated vtk9 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 08 May 2026 14:41:38 +0200
Source: vtk9
Architecture: source
Version: 9.5.2+dfsg4-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Drew Parsons <[email protected]>
Closes: 1133759 1134162
Changes:
 vtk9 (9.5.2+dfsg4-4) unstable; urgency=medium
 .
   * Team upload.
   * mark libvtk9-dev as Multi-Arch: no, not Multi-Arch: same
     since some header files contain arch-dependent definitions
     (vtkOptions.h, vtkEndian.h, cgnstypes.h, XdmfConfig.h setting
     endianness, int size, etc). Closes: #1133759
     Consequently drop Multi-Arch: same from libvtk9-qt-dev
     to avoid including inconsistent header definitions
   * debian patch gdal-3.13.patch enables build with gdal 3.13.
     Thanks Bas Couwenberg. Closes: #1134162
Checksums-Sha1:
 b08a9a137879e102c816a55f197b459bb09bd570 3811 vtk9_9.5.2+dfsg4-4.dsc
 c9b04c93a1b17b547d1e2acdb92795d5c5eadc25 25536 vtk9_9.5.2+dfsg4-4.debian.tar.xz
 eb62beaf7422780a5590465096c8e0f98c77e16c 31737 
vtk9_9.5.2+dfsg4-4_source.buildinfo
Checksums-Sha256:
 c3d376773f18ba0d22110844f81c7116036bf0396a9c5a3becbb04dea2c3cdb4 3811 
vtk9_9.5.2+dfsg4-4.dsc
 312e21394bc9b7d3724cc20abd5c9d55330adc3892bdc922f4d5b095d0fabcfa 25536 
vtk9_9.5.2+dfsg4-4.debian.tar.xz
 67ed9db77f374a1ce1bfc6f8446cf2eaa25520651735899ac995a224cac7f905 31737 
vtk9_9.5.2+dfsg4-4_source.buildinfo
Files:
 7c82e38306d672bca77682c714c03701 3811 graphics optional vtk9_9.5.2+dfsg4-4.dsc
 931f9decc76b6371e4a4defedbe3ad82 25536 graphics optional 
vtk9_9.5.2+dfsg4-4.debian.tar.xz
 77522fdcc9251e19399b7a594703dc5a 31737 graphics optional 
vtk9_9.5.2+dfsg4-4_source.buildinfo

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

iQJIBAEBCgAyFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmn92osUHGRwYXJzb25z
QGRlYmlhbi5vcmcACgkQVz7x5L1aAfrVYA//aROWAzxejT4NCZQW4u8rVZD0ONxD
ndkUosSd1cOdKKwnX1viP9asxlVluNEO4HEsuE4xglSTw18Si+bLxLyUTx8eJwI5
iMB2iZXyJV/xusT2MOHUvRMNXMABUbA/rG65Mw2IFV0rxENp60vGefOwjy2VJf4b
g/gkNuhxqLP/uSPkBCfzjQHs1XFZcbje2RcTRUsqv3k6f6x98w7nYGdQNLLBT1Lv
RG5yYLzkZX+xO6s/apJ/+VJwx0u4eDLzEFUq+azJphnihkVjCbnmUdP8m9Bqpahw
93Hr8AUO6GdLPS5fw50FOGoDdp3Ayi/jpSN7NXzjjSISHvtNHD9+mlcandWrOiA/
h1lAUvmmK+ySPGqQtBXL7iqy4rtqxdKC3PzipGLYk2B4dMms7B+LoL5VM7j75llX
mPfivzSlQGMLdo+t+lV3OgJG3CpO9Kps7ic0WRXnyMRBRSUr2pisfZHTAhnxs5f/
zpGBgoymyfba7VwWIecyWPWieW8VOkWYf0NCdWNrJqUcZcbqyzyEcVKRyrKnaP5C
POYJmW/yMJn08ciLX0lLCibRc78ykyuJso6VawDxuiukHmwCzQilbqeQtqzK9G/4
sUsDajTE99X3Df5PEwO6xUdPXYVfcoVBjH297yqarwNSVWxfzJjscNyiYfbgaqrr
8gC+xQ/yn4bgDyg=
=KBkc
-----END PGP SIGNATURE-----

Attachment: pgpbZzPldXpo_.pgp
Description: PGP signature


--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to