Bug#676614: octave: Installation failure during setup phase

Rafael Laboissiere rafael at laboissiere.net
Fri Jun 8 13:37:04 UTC 2012


package octave
reassign 676614 libatlas3-base 3.8.4-5
tags 676614 - unreproducible
tags 676614 + patch
thanks

* Sébastien Villemot <sebastien.villemot at ens.fr> [2012-06-08 11:02]:

> Arnaud Installe <installe at gmail.com> writes:
> 
> > Package: octave
> > Version: 3.6.2-1
> > Severity: grave
> > Justification: renders package unusable
> >
> > Dear Maintainer,
> >
> > I get the following error when trying to upgrade to the latest
> > (unstable)
> > version of octave:
> >
> > ==========
> > Setting up octave (3.6.2-1) ...
> > octave: error while loading shared libraries: libblas.so.3gf: cannot
> > open
> > shared object file: No such file or directory
> > dpkg: error processing octave (--configure):
> >  subprocess installed post-installation script returned error exit
> > status 127
> > ==========
> >
> > This is caused by a transition from libblas3gf to libblas3. The latest
> > libblas3gf package is a transitional, dummy package simply referring to
> > libblas3. Due to this name change, the libblas3gf.so.3 library isn't
> > available
> > any more. Octave should be updated to accomodate this transition.
> 
> The blas package provides a compatibility symlink for libblas.so.3gf, so
> octave needs not to be recompiled to accomodate this transition. On my
> system the upgrade went smoothly.
> 
> Can you please send the result of:
> 
>  sudo update-alternatives --display libblas.so.3 
> 
> On my system this command gives:
> 
> libblas.so.3 - auto mode
>   link currently points to /usr/lib/openblas-base/libopenblas.so.0
> /usr/lib/atlas-base/atlas/libblas.so.3 - priority 35
>   slave libatlas.so.3: /usr/lib/atlas-base/libatlas.so.3
>   slave libblas.so.3gf: /usr/lib/atlas-base/libblas.so.3
>   slave libcblas.so.3: /usr/lib/atlas-base/libcblas.so.3
>   slave libf77blas.so.3: /usr/lib/atlas-base/libf77blas.so.3
>   slave liblapack_atlas.so.3: /usr/lib/atlas-base/liblapack_atlas.so.3
> /usr/lib/libblas/libblas.so.3 - priority 10
>   slave libblas.so.3gf: /usr/lib/libblas/libblas.so.3
> /usr/lib/openblas-base/libopenblas.so.0 - priority 40
>   slave libblas.so.3gf: /usr/lib/openblas-base/libopenblas.so.0
> Current 'best' version is '/usr/lib/openblas-base/libopenblas.so.0'.
> 
> As you can see, there is a slave alternative providing libblas.so.3gf.

If the libopenblas-base package is removed and only libatlas3-base is
kept in the system (which satisfies, BTW, the octave dependencies), then
the failure reported above can be reproduced:

    $ octave
    octave: error while loading shared libraries: libblas.so.3gf: cannot open shared object file: No such file or directory

The problem comes from libatlas3-base and I am hereby reassiging this bug
report to that package.  A trivial patch for fixing the problem is
attached below.

Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-libblas.so-path.patch
Type: text/x-diff
Size: 672 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20120608/a0c1c6f0/attachment.patch>


More information about the debian-science-maintainers mailing list