[Pkg-octave-devel] Bug#468323: octave3.0: 3.0.0-6 has very weird behavior

Didier Raboud didier at raboud.com
Thu Feb 28 10:29:03 UTC 2008


Package: octave3.0
Version: 1:3.0.0-6
Severity: important

Hi,

with latest upload (3.0.0-6), I get very weird behavior for multiple things in Octave:

-----------------
octave:1> jpgread('chess_00.jpg')
error: `jpgread' undefined near line -1 column 1
octave:2> path
Octave's search path contains the following directories:
(... stripped for bug report ...)
/home/didier/.octave/image-1.0.5/x86_64-pc-linux-gnu-api-v32
/home/didier/.octave/image-1.0.5
(...)
----------------
$ ls -la /home/didier/.octave/image-1.0.5/x86_64-pc-linux-gnu-api-v32/ | grep jpgread
-rwxr-xr-x 1 didier didier 31447 2008-02-27 12:26 jpgread.oct
----------------

So jpgread (from package image-1.0.5, from octave.sourceforge.net) exists, is in path, but 
Octave can't find it.

Let's try to uninstall and re-install image-1.0.5 :
---------------
octave:6> pkg install image-1.0.5.tar.gz
/usr/bin/ld: cannot find -lblas-3
collect2: ld returned 1 exit status
configure: error: Could not run mkoctfile
error: the configure script returned the following error: checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for mkoctfile... mkoctfile
error: called from `pkg:configure_make' in file /usr/share/octave/3.0.0/m/pkg/pkg.m near 
line 1045, column 2
---------------
So this package is now uninstallable! (it was under 3.0.0-5).

$ locate blas-3
/etc/alternatives/libblas-3gf.a
/etc/alternatives/libblas-3gf.so
/usr/lib/libblas-3gf.a
/usr/lib/libblas-3gf.so
/var/lib/dpkg/alternatives/libblas-3gf.so

So something changed which renders Octave packages (from sourceforge at least) 
uninstallable and then unuseable !

Best regards,

Didier, who tries to be a responsive bug reporter.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (700, 'testing'), (700, 'stable'), (600, 'unstable'), (50, 'experimental'), (50, 'unstable'), (50, 'testing'), (50, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-rc2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages octave3.0 depends on:
ii  libatlas3gf-base [libl 3.6.0-21.3        Automatically Tuned Linear Algebra
ii  libblas3gf [libblas.so 1.2-1.5           Basic Linear Algebra Subroutines 3
ii  libc6                  2.7-6             GNU C Library: Shared libraries
ii  libcurl3-gnutls        7.18.0-1          Multi-protocol file transfer libra
ii  libfftw3-3             3.1.2-3           library for computing Fast Fourier
ii  libgcc1                1:4.3-20080202-1  GCC support library
ii  libgfortran3           4.3-20080202-1    Runtime library for GNU Fortran ap
ii  libglpk0               4.25-1            linear programming kit with intege
ii  libhdf5-serial-1.6.5-0 1.6.5-5+b1        Hierarchical Data Format 5 (HDF5) 
ii  liblapack3gf [liblapac 3.0.20000531a-1.3 library of linear algebra routines
ii  libncurses5            5.6+20080203-1    Shared libraries for terminal hand
ii  libpcre3               7.4-1+lenny1      Perl 5 Compatible Regular Expressi
ii  libqhull5              2003.1-8          calculate convex hulls and related
ii  libreadline5           5.2-3             GNU readline and history libraries
ii  libstdc++6             4.3-20080202-1    The GNU Standard C++ Library v3
ii  libsuitesparse-3.1.0   3.1.0-3           collection of libraries for comput
ii  texinfo                4.11.dfsg.1-3     Documentation system for on-line i
ii  zlib1g                 1:1.2.3.3.dfsg-11 compression library - runtime

Versions of packages octave3.0 recommends:
ii  gnuplot                       4.2.2-1    A command-line driven interactive 
ii  libatlas3gf-base              3.6.0-21.3 Automatically Tuned Linear Algebra

-- no debconf information





More information about the Pkg-octave-devel mailing list