package octave reassign 676614 libatlas3-base 3.8.4-5 tags 676614 - unreproducible tags 676614 + patch thanks
* Sébastien Villemot <sebastien.ville...@ens.fr> [2012-06-08 11:02]: > Arnaud Installe <insta...@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
Index: debian/libatlas3-base.postinst =================================================================== --- debian/libatlas3-base.postinst (revision 44994) +++ debian/libatlas3-base.postinst (working copy) @@ -14,7 +14,7 @@ --slave /usr/lib/liblapack_atlas.so.3 liblapack_atlas.so.3 \ /usr/lib/atlas-base/liblapack_atlas.so.3 \ --slave /usr/lib/libblas.so.3gf libblas.so.3gf \ - /usr/lib/atlas-base/libblas.so.3 + /usr/lib/atlas-base/atlas/libblas.so.3 update-alternatives --install /usr/lib/liblapack.so.3 liblapack.so.3 \ /usr/lib/atlas-base/atlas/liblapack.so.3 35 \