Processed: HDF 4.3.1 uploaded to unstable
Sebastiaan Couwenberg
sebastic at xs4all.nl
Sun Nov 23 06:52:42 GMT 2025
On 11/22/25 10:46 PM, Antonio Valentino wrote:
> Il 22/11/25 22:19, Antonio Valentino ha scritto:
>> Il 22/11/25 20:52, Sebastiaan Couwenberg ha scritto:
>>> On 11/22/25 8:41 PM, Antonio Valentino wrote:
>>>> I finally managed to come up with a kind of solution that, apparently, fixes the segfaults both in rioxarray and satpy.
>>>> The build of those packages still fails due to unrelated issues, and both of them have new upstream releases.
>>>>
>>>> The attached patch basically reverts the content of hdf4 mfhdf/ libsrc/ file.c to the version 4.3.0 of HDF4 itself.
>>>>
>>>> I still would need to do some tests to doublecheck that it does not introduces new errors in dependent packages.
>>>> According to the HDF4 changelog it could introduce some memory leak.
>>>>
>>>> Apart for the additional checks I'm not sure how to proceed.
>>>
>>> Reverting changes in hdf4 needs to be discussed with upstream. We can carry the patch if upstream agrees to merge those changes.
>>>
>>>> I would appreciate if you could give a look to the patch.
>>>
>>> Looks simple enough, but I can't judge its correctness.
>>>
>>>> Then, maybe, it would be good to have an upload to experimental.
>>>> What do you think? Would you be available to do it?
>>>
>>> Yes, after getting hdf4 upstream involved in this discussion.
>>>
>>>> Do you want me to file bug report or prepare a merge request in salsa?
>>>
>>> Let's start by filing an issue with hdf4 upstream.
>>>
>>>> Once we are sure that the patch is really working I will file bug report / PR to https://github.com/HDFGroup/hdf4/
>>> Why not get hdf4 upstream involved already as you have results for rioxarray & satpy with those changes reverted?
>>
>> I just fear that the discussion with HDF4 developers could be tool long and I would like to avoid that other packages are removed form testing.
>> The problem is that the issue involves a quite long stack of SW
>>
>> hdf4 - gdal - rasterio - rioxarray
>>
>> in one case, and
>>
>> hdf4 - python-hdf4 - satpy
>>
>> in the other case.
>> An I only have a reasonably small example to reproduce the issue for rioxarray.
>>
>> By the way I can file a bug report against hdf4 immediately if you prefer.
>
> Just reported the issue in https://github.com/HDFGroup/hdf4/issues/862
Great, I've added myself to the CC.
I've also included your patch in an upload to experimental, the autopkgtest machinery won't be very helpful as the immediate rdeps are not the affected ones.
Kind Regards,
Bas
--
PGP Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the Pkg-grass-devel
mailing list