[Debian-med-packaging] [Pkg-scicomp-devel] Bug#532693: libsuitesparse-dev and libsofa1-dev: error when trying to install together

Rafael Laboissiere rafael at debian.org
Thu Jun 11 05:27:24 UTC 2009


* Ralf Treinen <treinen at free.fr> [2009-06-10 21:25]:

> Package: libsofa1-dev,libsuitesparse-dev
> Version: libsofa1-dev/1.0~beta4-1
> Version: libsuitesparse-dev/1:3.4.0-1
> Severity: serious
> User: treinen at debian.org
> Usertags: edos-file-overwrite
> 
> Date: 2009-06-10
> Architecture: amd64
> Distribution: sid
> 
> [snip]
>
> Here is a list of files that are known to be shared by both packages
> (according to the Contents file for sid/amd64, which may be slightly
> out of sync):
> 
>   usr/lib/libcsparse.so

This library is built from the a version of SuiteSparse's CSparse
library.  More precisely, the file extlibs/csparse/csparse.c in
sofa-framework is a like a concatenation of the files CSparse/Source/*.c
in the suitesparse package.

I tried to build sofa-framework against libsuitesparse-dev using the
simple patch attached below.  However, the compilation fials.  I did not
investigate this issuedeeply, but it seems that extlibs/csparse/csparse.c
contains an old version of SuiteSparse's CSparse.

I see the following solutions for this:

1) Ask the upstream authors to link agaisnt SuiteSparse instead of
   shipping a copy of the CSparse library and adapt their code for working
   with a modern version of the library.
   
2) Link against an internal version of CSparse but put it somewhere else
   (e.g. /usr/lib/sofa/libcsparse*).  I do not now if this is fully
   appropriate for the libcsparse.so symlink included in libsofa1-dev.

Cheers,

-- 
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sofa-suitesparse.patch
Type: text/x-diff
Size: 1332 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20090611/422e3b50/attachment-0001.patch>


More information about the Debian-med-packaging mailing list