Bug#1144324: swig: Causes GDAL to FTBFS

Rafael Laboissière <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Organization Debian GNU/Linux
Message-ID <[email protected]>
* Sebastiaan Couwenberg <[email protected]> [2026-08-15 12:58]:

> On 8/15/26 12:44 PM, Rafael Laboissière wrote:
>> * Sebastiaan Couwenberg <[email protected]> [2026-08-14 07:46]:
>>>
>>> The attached patch does that and also resolves the GDAL build failure.
>>
>> Thanks for you patch. I committed it at your name [1] and released version 4.5.0-2 of the package. I hope there will not be other collateral effects.
>
> I hope so too, that's why it's good to forward the patch upstream to get their feedback, there might be better ways to fix the issue reported in #1024555.

I introduced the patch in order to avoid the xdmf package to FTBFS. Your patch works with xdmf, at least, which depends on SWIG's C++ wrappers.

>>> Either of these patches should be forwarded upstream to get their input on the best solution.
>>
>> As you are already in contact with the upstream authors regarding this issue, could you please forward your patch to them?
>
> To clarify, I was in contact with GDAL upstream, not SWIG upstream.

Oh, my bad. You are right. I apologize for the confusion.

> I'd prefer if you forward the patch to SWIG upstream as you're in a better position to coordinate with them, I'd rather not be the man in the middle.
>
> If you are unable or unwilling to upstream the patch I can do that despite the drawbacks.

I did it: https://github.com/swig/swig/issues/3538

Best,

Rafael Laboissière
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.