Bug#800101: libeigen3-dev: CholmodSupport.h uses UF_long which has been removed in SuiteSparse 4.4

Sébastien Villemot sebastien at debian.org
Wed Sep 30 21:59:30 UTC 2015


Control: tags -1 + patch

Le samedi 26 septembre 2015 à 21:45 +0200, Sébastien Villemot a écrit :
> On Mon, 27 Jul 2015 10:55:40 +0200 Sébastien Villemot wrote:
> > Package: src:yade
> > Version: 1.14.0-5
> 
> > Your package fails to build against suitesparse 4.4, which is
> > available in
> > experimental.
> > 
> > A full build log is attached. The relevant part seems to be:
> > 
> >  /usr/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h: In
> > function 'cholmod_sparse
> > Eigen::viewAsCholmod(Eigen::SparseMatrix<_Scalar, _Options,
> > _Index>&)':
> >  /usr/include/eigen3/Eigen/src/CholmodSupport/CholmodSupport.h:81:3
> > 7: error: 'UF_long' was not declared in this scope
> >     else if (internal::is_same<_Index,UF_long>::value)
> > 
> > Note that UF_long has been replaced by SuiteSparse_long in recent 
> > versions of
> > suitesparse.
> 
> I now realize that the bug lies in eigen3. Cloning accordingly.

I attach a patch for this issue. It should work with both suitesparse
4.2 (currently in sid) and 4.4 (to be uploaded soon).

Cheers,

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://sebastien.villemot.name
  `-      GPG Key: 4096R/381A7594



-------------- next part --------------
A non-text attachment was scrubbed...
Name: suitesparse-4.4.patch
Type: text/x-patch
Size: 742 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150930/3c28b1d1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150930/3c28b1d1/attachment.sig>


More information about the debian-science-maintainers mailing list