[Pkg-octave-devel] Octave3.0 compiled using gfortran

Pascal A. Dupuis Pascal.Dupuis at worldonline.be
Sat Jan 19 10:57:15 UTC 2008


On Fri, Jan 18, 2008 at 06:37:55PM +0100, Rafael Laboissiere wrote:
> * depuis <pascal.dupuis at worldonline.be> [2008-01-18 18:02]:
> 
> > I recently tested a patch on octave3.0, and noticed the dependency to f77.
> > After searching a bit, I found the page about the gfortran transition at 
> > http://wiki.debian.org/GfortranTransition
> > 
> > The main dependencies are:
> > 1) atlas and lapack: Cam Maguire has already recompiled those libs, packages
> > at http://people.debian.org/~camm/
> > 2) suitesparse-3.0.0: I recompiled locally a version, changing the control
> > file to reflect the names change of atlas to libatlas
> > 
> > I then updated the debian files for octave3.0. Compilation is in progress...
> > I enclose the debian specific files, could you check ? Could you also forward
> > the info to the relevant mailing lists, if relevant ?
> 
> Could you please send a patch instead of the debian/* files in a tarball?
> Send the patches pkg-octave-devel at lists.alioth.debian.org and
> pkg-scicomp at lists.alioth.debian.org.
> 

Patchs enclosed. The version of octave compiled with gfortran ran all
his tests, except 4. Two of those failures are known. The list of
failed test is:
src/DLD-FUNCTIONS/rand.cc .............................. PASS   56/57   FAIL 1
scripts/optimization/sqp.m ............................. PASS    0/1    FAIL 1
test_sparse.m .......................................... PASS 1182/1184 FAIL 2

Regards

Pascal Dupuis
-------------- next part --------------
--- changelog.orig	2008-01-19 11:37:06.000000000 +0100
+++ changelog	2008-01-18 17:20:08.000000000 +0100
@@ -1,3 +1,10 @@
+octave3.0 (3.0.0-2) unstable; urgency=low
+
+  The "News of the Year" release
+
+  * converted to gfortran. 
+ -- Pascal Dupuis <Pascal.Dupuis at worldonline.be>  Fri, 18 Jan 2007 16:20:00 +0100
+
 octave3.0 (3.0.0-1) unstable; urgency=low
 
   The "Seasons Greetings" release
--- rules.orig	2008-01-19 11:34:42.000000000 +0100
+++ rules	2008-01-18 17:20:39.000000000 +0100
@@ -64,8 +64,10 @@
 #f77_compiler	= /usr/bin/g77-3.3
 c_compiler	= /usr/bin/gcc
 cxx_compiler	= /usr/bin/g++
-f77_compiler	= /usr/bin/g77
-fc_flag		= --with-f77=$(f77_compiler)
+#f77_compiler	= /usr/bin/g77
+f77_compiler	= /usr/bin/gfortran
+#fc_flag		= --with-f77=$(f77_compiler)
+fc_flag		= 
 fc_libs		=
 compilerflags	= -O2
 # linkerflags	= -s
--- control.orig	2008-01-19 11:34:37.000000000 +0100
+++ control	2008-01-18 17:15:30.000000000 +0100
@@ -6,13 +6,13 @@
 Uploaders: Rafael Laboissiere <rafael at debian.org>,
  Thomas Weber <thomas.weber.mail at gmail.com>
 Build-Depends: g++-4.1 (>= 4.1.1-4), debhelper (>= 5.0.0), autoconf, texinfo,
- texlive-latex-base, texlive-generic-recommended, g77, libreadline5-dev,
+ texlive-latex-base, texlive-generic-recommended, gfortran, libreadline5-dev,
  libncurses5-dev, gperf, libhdf5-serial-dev (>= 1.6.5) |
  libhdf5-lam-dev (>= 1.6.5) | libhdf5-mpich-dev (>= 1.6.5),
  refblas3-dev, lapack3-dev,
  gnuplot-nox, libfftw3-dev, texi2html, less, dpatch,
  slice, libpcre3-dev, flex, libglpk-dev (>= 4.15),
- libsuitesparse-dev, gawk, gs-gpl, libcurl4-dev, libqhull-dev,
+ libsuitesparse-dev (>=3.0.0-8), gawk, gs-gpl, libcurl4-dev, libqhull-dev,
  desktop-file-utils, libpcre3-dev, flex, libglpk-dev (>= 4.15),
  libsuitesparse-dev, gawk, gs-gpl, libcurl4-dev, libqhull-dev,
  desktop-file-utils
@@ -24,7 +24,7 @@
 Package: octave3.0
 Architecture: any
 Depends: ${shlibs:Depends}, texinfo
-Recommends: gnuplot, atlas3-base
+Recommends: gnuplot, libatlas3gf-base
 Suggests: octave3.0-info,
  octave3.0-doc,
  octave3.0-htmldoc,
@@ -78,7 +78,7 @@
 
 Package: octave3.0-headers
 Architecture: any
-Depends: octave3.0 (= ${binary:Version}), g++, g77,
+Depends: octave3.0 (= ${binary:Version}), g++, gfortran,
  libreadline5-dev, libncurses5-dev, libhdf5-serial-dev (>= 1.6.5)
  | libhdf5-lam-dev (>= 1.6.5) | libhdf5-mpich-dev (>= 1.6.5),
  refblas3-dev, lapack3-dev, libfftw3-dev,
-------------- next part --------------
--- changelog.orig	2008-01-19 11:40:26.000000000 +0100
+++ changelog	2008-01-18 16:55:37.000000000 +0100
@@ -1,3 +1,9 @@
+suitesparse (3.0.0-8) unstable; urgency=low
+
+  * transitioned to gfortran
+
+ -- Pascal Dupuis <Pascal.Dupuis at worldonline.be>  Fri, 18 Jan 2008 15:50:00 +0200
+
 suitesparse (3.0.0-7) unstable; urgency=low
 
   * Bug fix: "trying to overwrite `/usr/lib/libamd.a&#39;, which is also
--- control.orig	2008-01-19 11:44:53.000000000 +0100
+++ control	2008-01-18 17:09:48.000000000 +0100
@@ -4,7 +4,7 @@
 Priority: optional
 Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
 Uploaders: Christophe Prud'homme <prudhomm at debian.org>, Daniel Rus Morales <danirus at tol-project.org>
-Build-Depends: cdbs, debhelper (>= 5.0.0), dpatch, gfortran, refblas3-dev, lapack3-dev
+Build-Depends: cdbs, debhelper (>= 5.0.0), dpatch, gfortran, refblas3-dev, lapack3gf-dev
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-scicomp/suitesparse/
 XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-scicomp/suitesparse/
@@ -14,8 +14,8 @@
 Architecture: any
 Replaces: libumfpack4, libufsparse, libsuitesparse-metis
 Conflicts: libumfpack4, libufsparse, libsuitesparse-metis
-Provides: libumfpack4, libufsparse
-Depends: refblas3 | atlas3-base | atlas3-sse | atlas3-sse2 | atlas3-3dnow, lapack3 | atlas3-base | atlas3-sse | atlas3-sse2 | atlas3-3dnow, ${shlibs:Depends}
+Provides: libumfpack4gf, libufsparsegf
+Depends: refblas3 | libatlas3gf-base | libatlas3gf-sse | libatlas3gf-sse2 | libatlas3gf-3dnow, liblapack3gf | libatlas3gf-base | libatlas3gf-sse | libatlas3gf-sse2 | libatlas3gf-3dnow, ${shlibs:Depends}
 Description: collection of libraries for computations for sparse matrices
  Suitesparse is a collection of libraries for computations involving
  sparse matrices.  The package includes the following libraries:
@@ -53,10 +53,10 @@
 Package: libsuitesparse-dev
 Section: libdevel
 Architecture: any
-Replaces: libufsparse-dev, libsuitesparse-metis-dev, libumfpack4-dev
-Conflicts: libufsparse-dev, libsuitesparse-metis-dev, libumfpack4-dev
-Provides: libufsparse-dev, libumfpack4-dev
-Depends: libsuitesparse (= ${Source-Version}), refblas3-dev | atlas3-base-dev | atlas3-sse-dev | atlas3-sse2-dev | atlas3-3dnow-dev, lapack3-dev | atlas3-base-dev | atlas3-sse-dev | atlas3-sse2-dev | atlas3-3dnow-dev, libc6-dev
+Replaces: libufsparse-dev, libsuitesparse-metis-dev,  libufsparse-dev, libumfpack4-dev
+Conflicts: libufsparse-dev, libsuitesparse-metis-dev, libumfpack4-dev, libufsparse-dev, libumfpack4-dev
+Provides: libufsparsegf-dev, libumfpack4gf-dev
+Depends: libsuitesparse (= ${Source-Version}), refblas3-dev | libatlas-base-dev | libatlas-sse-dev | libatlas-sse2-dev | libatlas-3dnow-dev, liblapack-dev | libatlas-base-dev | libatlas-sse-dev | libatlas-sse2-dev | libatlas-3dnow-dev, libc6-dev
 Description: collection of libraries for computations for sparse matrices
  Suitesparse is a collection of libraries for computations involving
  sparse matrices.  The package includes the following libraries:
@@ -93,7 +93,7 @@
 Section: libdevel
 Priority: extra
 Architecture: any
-Depends: libsuitesparse (= ${Source-Version}), refblas3-dev | atlas3-base-dev | atlas3-sse-dev | atlas3-sse2-dev | atlas3-3dnow-dev, lapack3-dev | atlas3-base-dev | atlas3-sse-dev | atlas3-sse2-dev | atlas3-3dnow-dev, libc6-dev
+Depends: libsuitesparsegf (= ${Source-Version}), refblas3-dev | libatlas-base-dev | libatlas-sse-dev | libatlas-sse2-dev | libatlas-3dnow-dev, liblapack-dev | libatlas-base-dev | libatlas-sse-dev | libatlas-sse2-dev | libatlas-3dnow-dev, libc6-dev
 Conflicts: libufsparse-dbg
 Replaces: libufsparse-dbg
 Description: collection of libraries for computations for sparse matrices
@@ -131,7 +131,7 @@
 Architecture: all
 Replaces: libufsparse-doc, libumfpack4-doc
 Conflicts: libufsparse-doc, libumfpack4-doc
-Recommends: atlas3-doc, refblas3-doc, doc-central
+Recommends: libatlas-doc, refblas3-doc, doc-central
 Description: collection of libraries for computations for sparse matrices
  Suitesparse is a collection of libraries for computations involving
  sparse matrices.  The package includes the following libraries:


More information about the Pkg-octave-devel mailing list