[From nobody Sat May 23 07:21:06 2026
Received: (at submit) by bugs.debian.org; 17 Apr 2026 08:45:03 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-109.6 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
 DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
 FROMDEVELOPER,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
 USER_IN_DKIM_WELCOMELIST,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 69; hammy, 150; neutral, 161; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;sebastic@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:51504)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sebastic@debian.org&gt;) id 1wDeox-00DUwZ-2d
 for submit@bugs.debian.org; Fri, 17 Apr 2026 08:45:03 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Date:Message-ID:Subject:To:From:
 MIME-Version:Content-Type:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=yj5suaB2BdZSmlTgH0175IbO1FTY4E9+hpsWG1pK8Lo=; b=pvynUr8LJ1NCYJ1yuDnfsKbgAD
 AwtL7YV1GRbJjwDHoqhrvJHKdvjDyXIepPjrMyBYKY4lXSycA03h7u0bvjwlCkefOd1DRybaf5Nlu
 VgiqU7fyFJzikBZQVSxWFvaGdqxmeeRdvzFENMzBSc49CpLiElLM5DSy58MOH1o1HecKhRcnnzNzK
 Tc6oA9VN/cvFoq0kkSY1RvHjsOp+hpC0J4XfOdLIV0uqXCO/1cGtYqDLKjClHUmF0VZaAa5LfAsJh
 GEWysCBUjmhbXoc3WXEQo8BaQQ7l8eIyfPRng8luvVivNsDK/SWV4h4XJgFitf89H1hrZF8yX9ENJ
 xMkrhK6Q==;
Received: from authenticated user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sebastic@debian.org&gt;)
 id 1wDeow-00FGGS-0d; Fri, 17 Apr 2026 08:45:02 +0000
Received: by osiris.linuxminded.xs4all.nl (Postfix, from userid 1000)
 id B85AC17400E7; Fri, 17 Apr 2026 10:45:01 +0200 (CEST)
Content-Type: multipart/mixed; boundary=&quot;===============8959395284490931121==&quot;
MIME-Version: 1.0
From: Bas Couwenberg &lt;sebastic@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: jeolib-jiplib: FTBFS with GDAL 3.13.0
Message-ID: &lt;177641550167.2755493.5542046057228882051.reportbug@osiris.linuxminded.xs4all.nl&gt;
X-Mailer: reportbug 13.2.0
Date: Fri, 17 Apr 2026 10:45:01 +0200
X-Debian-User: sebastic
Delivered-To: submit@bugs.debian.org

This is a multi-part MIME message sent by reportbug.


--===============8959395284490931121==
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Source: jeolib-jiplib
Version: 1.1.7+ds-1
Severity: important
Tags: upstream ftbfs patch
User: debian-gis@lists.debian.org
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]

&gt;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

--===============8959395284490931121==
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=&quot;jeolib-jiplib_1.1.7+ds-1.debdiff&quot;

diff -Nru jeolib-jiplib-1.1.7+ds/debian/changelog jeolib-jiplib-1.1.7+ds/debian/changelog
--- jeolib-jiplib-1.1.7+ds/debian/changelog	2026-02-09 13:45:52.000000000 +0100
+++ jeolib-jiplib-1.1.7+ds/debian/changelog	2026-04-17 10:26:54.000000000 +0200
@@ -1,3 +1,9 @@
+jeolib-jiplib (1.1.7+ds-2) UNRELEASED; urgency=medium
+
+  * Rebuild with GDAL 3.13.0.
+
+ -- Bas Couwenberg &lt;sebastic@debian.org&gt;  Fri, 17 Apr 2026 10:26:54 +0200
+
 jeolib-jiplib (1.1.7+ds-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru jeolib-jiplib-1.1.7+ds/debian/patches/gdal-3.13.patch jeolib-jiplib-1.1.7+ds/debian/patches/gdal-3.13.patch
--- jeolib-jiplib-1.1.7+ds/debian/patches/gdal-3.13.patch	1970-01-01 01:00:00.000000000 +0100
+++ jeolib-jiplib-1.1.7+ds/debian/patches/gdal-3.13.patch	2026-04-17 10:26:54.000000000 +0200
@@ -0,0 +1,64 @@
+--- a/src/imageclasses/Jim.cc
++++ b/src/imageclasses/Jim.cc
+@@ -1026,7 +1026,11 @@ void Jim::getGeoTransform(vector&lt;double&gt;
+ /**
+  * @return the metadata of this data set in C style string format (const version)
+  **/
++#if GDAL_VERSION_NUM &gt;= GDAL_COMPUTE_VERSION(3, 13, 0)
++CSLConstList Jim::getMetadata() const
++#else
+ char** Jim::getMetadata() const
++#endif
+ {
+   if(m_gds){
+     if(m_gds-&gt;GetMetadata()!=NULL)
+@@ -1045,7 +1049,11 @@ char** Jim::getMetadata() const
+ void Jim::getMetadata(std::list&lt;std::string&gt;&amp; metadata) const
+ {
+   if(m_gds){
++#if GDAL_VERSION_NUM &gt;= GDAL_COMPUTE_VERSION(3, 13, 0)
++    CSLConstList cmetadata=m_gds-&gt;GetMetadata();
++#else
+     char** cmetadata=m_gds-&gt;GetMetadata();
++#endif
+     while(*cmetadata!=NULL){
+       metadata.push_back(*(cmetadata));
+       ++cmetadata;
+@@ -1494,7 +1502,11 @@ CPLErr Jim::registerDriver()
+       s &lt;&lt; &quot;FileOpenError (&quot; &lt;&lt; m_imageType &lt;&lt; &quot;)&quot;;
+       throw(s.str());
+     }
++#if GDAL_VERSION_NUM &gt;= GDAL_COMPUTE_VERSION(3, 13, 0)
++    CSLConstList papszMetadata;
++#else
+     char **papszMetadata;
++#endif
+     papszMetadata = poDriver-&gt;GetMetadata();
+     //todo: try and catch if CREATE is not supported (as in PNG)
+     if( ! CSLFetchBoolean( papszMetadata, GDAL_DCAP_CREATE, FALSE )){
+@@ -2120,7 +2132,11 @@ CPLErr Jim::open(app::AppFactory &amp;app){
+     GDALRasterBand *poBand;//we will fetch the first band to obtain the gds metadata
+ 
+     if(m_gds){
++#if GDAL_VERSION_NUM &gt;= GDAL_COMPUTE_VERSION(3, 13, 0)
++      CSLConstList papszMetadata;
++#else
+       char **papszMetadata;
++#endif
+       papszMetadata = m_gds-&gt;GetMetadata(&quot;SUBDATASETS&quot;);
+       vector&lt;string&gt; LayersAll;
+       if( papszMetadata ){
+--- a/src/imageclasses/Jim.h
++++ b/src/imageclasses/Jim.h
+@@ -640,7 +640,11 @@ class Jim : public std::enable_shared_fr
+   //Get a pointer to the GDAL dataset
+   GDALDataset* getDataset(){return m_gds;};
+   ///Get the metadata of this dataset
++#if GDAL_VERSION_NUM &gt;= GDAL_COMPUTE_VERSION(3, 13, 0)
++  CSLConstList getMetadata() const;
++#else
+   char** getMetadata() const;
++#endif
+   // Get the metadata of this dataset in the form of a list of strings (const version)
+   void getMetadata(std::list&lt;std::string&gt;&amp; metadata) const;
+   ///Get the image description from the driver of this dataset
diff -Nru jeolib-jiplib-1.1.7+ds/debian/patches/series jeolib-jiplib-1.1.7+ds/debian/patches/series
--- jeolib-jiplib-1.1.7+ds/debian/patches/series	2026-02-09 13:44:35.000000000 +0100
+++ jeolib-jiplib-1.1.7+ds/debian/patches/series	2026-04-17 10:26:54.000000000 +0200
@@ -1,2 +1,3 @@
 pip-break-sys-pkg.patch
 wheel.patch
+gdal-3.13.patch

--===============8959395284490931121==--
]