* Sebastiaan Couwenberg <[email protected]> [2026-08-14 07:46]:

> On 8/14/26 6:53 AM, Sebastiaan Couwenberg wrote:
>> On 8/13/26 8:21 PM, Bas Couwenberg wrote:
>>> The pycontainer patch seems to be the culprit:
>>>
>>> "
>>>   I can't reproduce the issue with SWIG 4.5.0 built from official SWIG 
>>> tarballs, but looking at 
>>> https://salsa.debian.org/debian/swig/-/blob/debian/master/debian/patches/include-pycontainer.patch
>>>  , I believe it is the reason of the failure as it unconditionnally 
>>> includes a SWIG .swg file only meant for C++. This patch to the SWIG 
>>> package looks wrong to me
>>> "
>>
>> Dropping include-pycontainer.patch (e.g. as per the attached patch) is 
>> confirmed the fix the issue.
>>
>> Has the issue been discussed with upstream or the patch forwarded? They 
>> likely can suggest a better fix.
>>
>> I don't know if it's possible to make the include conditional for C++, that 
>> might be a good alternative too.
>
> 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.

> 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?

Best,

Rafael Laboissière

[1] 
https://salsa.debian.org/debian/swig/-/commit/2995208e6103b136aaaf7920c72732409bfe7562

Reply via email to