[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Bug#375646: marked as done (octave2.9: Error on line 45 of /usr/share/octave/2.9.6/m/time/etime.m -> bad use of datenum.m)



Your message dated Tue, 27 Jun 2006 14:05:16 -0700
with message-id <E1FvKkG-00074J-Jq@spohr.debian.org>
and subject line Bug#375646: fixed in octave2.9 2.9.6-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: octave2.9
Version: 2.9.6-2
Severity: normal
Tags: experimental



-- System Information:
Debian Release: testing/unstable
 APT prefers unstable
 APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_ZA, LC_CTYPE=en_ZA (charmap=ISO-8859-1)

Versions of packages octave2.9 depends on:
ii atlas3-base [liblapack.so.3] 3.6.0-20 Automatically Tuned Linear Algebra ii fftw3 3.0.1-14 library for computing Fast Fourier
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.1-5  GCC support library
ii libgfortran0 4.0.3-1 Runtime library for GNU Fortran ap ii libglpk0 4.10-1 linear programming kit (shared lib ii libhdf5-serial-1.6.5-0 [libhd 1.6.5-1 Hierarchical Data Format 5 (HDF5) ii libncurses5 5.5-1 Shared libraries for terminal hand ii libpcre3 6.4-1.1 Perl 5 Compatible Regular Expressi ii libreadline5 5.1-7 GNU readline and history libraries
ii  libstdc++6                    4.1.1-5    The GNU Standard C++ Library v3
ii libufsparse 1.2-6 collection of libraries for comput ii texinfo 4.8-8 Documentation system for on-line i
ii  zlib1g                        1:1.2.3-11 compression library - runtime

octave2.9 recommends no packages.

-- no debconf information

Given a script such as:
  t = clock()
  etime(clock(), t)

results in the following error message:
  error: element number 2 undefined in return list
  error: evaluating assignment expression near line 45, column 13
error: called from `etime' in file `/usr/share/octave/2.9.6/m/time/etime.m'
  error: near line 2 of file `xxx.m'

Investigating the error message shows that it is generated by the following line of code in etime.m:
  [d1, s1] = datenum (t1);

Further investigating the function datenum(...) with `help datenum', gives the following text:
-- Function File:  datenum(Y, M, D [, h , m [, s]])
-- Function File:  datenum('date' [, P])
    Returns the specified local time as a day number, with Jan 1, 0000
    being day 1. By this reckoning, Jan 1, 1970 is day number 719529.
    The fractional portion, corresponds to the portion of the
    specified day.

datenum(...) does not have two returns! Reverting to the etime.m of 2.1.73 (in the stable tree), in /usr/share/octave/2.1.73/m/miscellaneous/ *seems* to provide a temporary workaround to the problem.

--
Jan Vermeulen
The Extremist
23137216

"God has such a deep reverence for our freedom that he'd much rather have us freely go to Hell, than be compelled to go to Heaven"
                                               ----------Desmond Tutu
                       Beyers Naude Memorial Lecture 2003 (15 August)



--- End Message ---
--- Begin Message ---
Source: octave2.9
Source-Version: 2.9.6-3

We believe that the bug you reported is fixed in the latest version of
octave2.9, which is due to be installed in the Debian FTP archive:

octave2.9-doc_2.9.6-3_all.deb
  to pool/main/o/octave2.9/octave2.9-doc_2.9.6-3_all.deb
octave2.9-emacsen_2.9.6-3_all.deb
  to pool/main/o/octave2.9/octave2.9-emacsen_2.9.6-3_all.deb
octave2.9-headers_2.9.6-3_i386.deb
  to pool/main/o/octave2.9/octave2.9-headers_2.9.6-3_i386.deb
octave2.9-htmldoc_2.9.6-3_all.deb
  to pool/main/o/octave2.9/octave2.9-htmldoc_2.9.6-3_all.deb
octave2.9-info_2.9.6-3_all.deb
  to pool/main/o/octave2.9/octave2.9-info_2.9.6-3_all.deb
octave2.9_2.9.6-3.diff.gz
  to pool/main/o/octave2.9/octave2.9_2.9.6-3.diff.gz
octave2.9_2.9.6-3.dsc
  to pool/main/o/octave2.9/octave2.9_2.9.6-3.dsc
octave2.9_2.9.6-3_i386.deb
  to pool/main/o/octave2.9/octave2.9_2.9.6-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 375646@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rafael Laboissiere <rafael@debian.org> (supplier of updated octave2.9 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 27 Jun 2006 16:57:16 +0200
Source: octave2.9
Binary: octave2.9-headers octave2.9-info octave2.9-htmldoc octave2.9 octave2.9-emacsen octave2.9-doc
Architecture: source i386 all
Version: 2.9.6-3
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Rafael Laboissiere <rafael@debian.org>
Description: 
 octave2.9  - GNU Octave language for numerical computations (2.9 branch)
 octave2.9-doc - PDF documentation on the GNU Octave language (2.9 branch)
 octave2.9-emacsen - Emacs support for the GNU Octave language (2.9 branch)
 octave2.9-headers - header files for the GNU Octave language (2.9 branch)
 octave2.9-htmldoc - HTML documentation on the GNU Octave language (2.9 branch)
 octave2.9-info - GNU Info documentation on the GNU Octave language (2.9 branch)
Closes: 375646
Changes: 
 octave2.9 (2.9.6-3) unstable; urgency=low
 .
   * debian/in/PACKAGE.conf: Added code for removing all the directories
     containing octave-forge .m scripts.  This allows octave2.9 and
     octave-forge to be installed together and avoids errors in octave2.9
     such as etime calling an outdated datenum function from octave-forge
     (closes: #375646).
Files: 
 f1328acf38d92bb463a2db12af72df83 1090 math optional octave2.9_2.9.6-3.dsc
 5af32892b7d094973fa1827772963635 39457 math optional octave2.9_2.9.6-3.diff.gz
 27cdffd2adb384320105d544f56af72b 7305316 math optional octave2.9_2.9.6-3_i386.deb
 6f6fbbf361ab84a42dcdffbb2eedf85a 332992 math optional octave2.9-headers_2.9.6-3_i386.deb
 74e895f29d0a9d3fd936b9b39807dd68 2081370 doc optional octave2.9-doc_2.9.6-3_all.deb
 a625b767d56de6a3573790d7d3a1a6bf 517592 math optional octave2.9-htmldoc_2.9.6-3_all.deb
 1c12d1ca21dfed58f26cced5b93e4b88 80000 math optional octave2.9-emacsen_2.9.6-3_all.deb
 f88ecd85fca2bdf211ccb97ba999ad84 354960 math optional octave2.9-info_2.9.6-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEoYLNk3oga0pdcv4RAg2BAJ9NQvKe66GoyQRdTBnrwKigBHAXnwCgiIU2
YcurqNaMUWXd5lSp4no/uTk=
=naH1
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: