[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1107586: unblock (pre-approval): ocaml/5.3.0-3



El 17/6/25 a las 15:11, Stéphane Glondu escribió:
I got it. This hash is computed over compressed (zstd) data, and zstd changed from 1.5.6+dfsg-2 to 1.5.7+dfsg-1.

I tried compiling ocaml with --disable-zstd in today's unstable and in stable updated to unstable snapshot of 20250127T000000Z, and I get the same ABI hashes. Without --disable-zstd, I get the two different ABI hashes (the current testing one and the current unstable one).

The ABI hash being dependent of the version of zstd used at build time seems to be a defect for me... What do you think? Should I fix it right now in unstable? That means another round of binNMUs...

Would make sense to change the hashing algorithm for the ABI so that
it's calculated from uncompressed data, except that we hardcode it
to the current value if the data matches today's data? (i.e. this would
be like changing the hash algorithm but only for the next time it has
a good reason to change).

BTW: On which data is the hash calculated?

Thanks.


Reply to: