Bug#1061049: libsuitesparse-dev: libsuitesparse-dev 7.4.0 has an ABI break in libcholmod5 without bumping to "libcholmod6"
Sébastien Villemot
sebastien at debian.org
Wed Jan 17 07:16:20 GMT 2024
Hi Dima,
Le mardi 16 janvier 2024 à 15:06 -0800, Dima Kogan a écrit :
> Hi. I'm chasing down
>
> http://bugs.debian.org/1060986
>
> The problem is that mrcal uses libdogleg, which contains
>
> typedef struct
> {
> cholmod_common common;
> ....
> } dogleg_solverContext_t;
>
> The existing "libdogleg2" package was built against libsuitesparse-dev
> 7.3, so it must be linked with packages that use that ABI. But in
> suitesparse 7.4 the cholmod_common structure has a new member at the
> end:
>
> FILE *blas_dump ; // only used if CHOLMOD is compiled with -DBLAS_DUMP
>
> This is in CHOLMOD/Include/cholmod.h
>
> This extra member changes sizeof(cholmod_common), which changes the ABI,
> causing the crash. One way to fix this is to bump the SONAME of
> libcholmod.
I was indeed suspecting an ABI break in suitesparse, after having
noticed unexpected autopkgtest failures.
Thanks for investigating and finding the cause of the problem, you
saved me a lot of time!
I’ll report this upstream and fix it properly in Debian.
Best wishes,
--
⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁ Debian Developer
⢿⡄⠘⠷⠚⠋⠀ https://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀ https://www.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20240117/c2d1d699/attachment.sig>
More information about the debian-science-maintainers
mailing list