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

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to