[Pkg-julia-devel] [SCM] Julia branch master updated. debian/0.3.11-1-20-gdbf6516

Sébastien Villemot sebastien at debian.org
Thu Nov 5 09:44:31 UTC 2015


Le jeudi 05 novembre 2015 à 11:24 +0200, Graham Inggs a écrit :

> > - Log -----------------------------------------------------------------
> > commit dbf65165b1184453db2a9848a0ee44f5a74fa1b3
> > Author: Peter Colberg <peter at colberg.org>
> > Date:   Wed Nov 4 20:21:52 2015 -0500
> >
> >      Ensure that Julia loads the right soversion of each library
> >
> > -----------------------------------------------------------------------

> What problem is this trying to solve?
> 
> I don't think trying to maintain this list of links in the julia package 
> is a solution.

I used to maintain such a list (though by a less clever mean, using a
patch to the ccall calls in .jl files). The logic is to force julia to
use the soversion that we want it to use. In the presence of two
concurrent versions of the same library, for example during transitions,
we otherwise have no guarantee that julia will use one version rather
than the other.

It is however a bit painful to maintain such a list, and so far I have
not yet encountered a situation in which the theoretical problem would
bite. So at some point I decided to drop that mechanism.

At the very least, I think you should add a comment in debian/control
saying that one should keep the Depends: field of julia in sync with
that list of symlinks. Otherwise NMUers, especially during transitions,
could be confused.

There is also another issue. For example, if libarpack were
multiarchified some day, the Julia package would break silently. This is
not a big issue, since that sort of thing rarely happens, but must be
kept in mind.


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



More information about the Pkg-julia-devel mailing list