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

[Pkg-octave-devel] Bug#666142: marked as done (octave: Please support -mieee option to mkoctfile)



Your message dated Thu, 26 Apr 2012 23:03:17 +0000
with message-id <E1SNXiX-00061F-49@franck.debian.org>
and subject line Bug#666142: fixed in octave-octcdf 1.1.4-2
has caused the Debian Bug report #666142,
regarding octave: Please support -mieee option to mkoctfile
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
666142: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666142
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: octave
Version: 3.6.1-4
Severity: wishlist
Tag:patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org, debian-alpha@lists.debian.org

Hi,

octave-octcdf FTBFS on Alpha. (maybe on sh4 too.)
 http://buildd.debian-ports.org/status/fetch.php?pkg=octave-octcdf&arch=alpha&ver=1.1.4-1&stamp=1332884789

Because mkoctfile does not support mieee option, this problem happens.

-----
octave-forge is configured with
   octave:      /usr/bin/octave (version 3.6.1)
   mkoctfile:	/usr/bin/mkoctfile for Octave 1
   octcdf toolbox: yes
   netCDF compiler flags: -D_FORTIFY_SOURCE=2 -mieee
   netCDF libraries: -Wl,--as-needed -lnetcdf

find . -name NOINSTALL -print    # shows which toolboxes won't be installed

mkoctfile: unrecognized argument -mieee
make[1]: *** [ov-netcdf.o] Error 1
'make' returned the following error: make[1]: Entering directory
`/tmp/oct-IU8IvA/src'
/usr/bin/mkoctfile -DHAVE_OCTAVE_ -v -c ov-netcdf.cc
-D_FORTIFY_SOURCE=2 -mieee -DHAVE_OCTAVE_INT
make[1]: Leaving directory `/tmp/oct-IU8IvA/src'
error: called from `pkg>configure_make' in file
/usr/share/octave/3.6.1/m/pkg/pkg.m near line 1391, column 9
error: called from:
error:   /usr/share/octave/3.6.1/m/pkg/pkg.m at line 834, column 5
error:   /usr/share/octave/3.6.1/m/pkg/pkg.m at line 383, column 9
make: *** [install-pkg] Error 1
-----

I made a patch which revise this. However, I do not yet check it.
Could you check and apply?

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff --git a/mkoctfile.cc.in b/mkoctfile.cc.in
index 65a3f6b..2eb3578 100644
--- a/mkoctfile.cc.in
+++ b/mkoctfile.cc.in
@@ -542,6 +542,12 @@ main (int argc, char **argv)
 	{
 	  pass_on_options += (" " + arg);
 	}
+      else if (arg == "-mieee")
+	{
+	  vars["ALL_CFLAGS"] += " -mieee";
+	  vars["ALL_CXXFLAGS"] += " -mieee";
+	  vars["ALL_FFLAGS"] += " -mieee";
+	}
       else
 	{
 	  cerr << "mkoctfile: unrecognized argument " << arg;
diff --git a/mkoctfile.in b/mkoctfile.in
index f6d46ba..40bd7e0 100644
--- a/mkoctfile.in
+++ b/mkoctfile.in
@@ -325,6 +325,11 @@ EOF
     -W*)
       pass_on_options="$pass_on_options $1"
     ;;
+    -mieee)
+      ALL_CFLAGS="$ALL_CFLAGS -mieee"
+      ALL_CXXFLAGS="$ALL_CXXFLAGS -mieee"
+      ALL_FFLAGS="$ALL_FFLAGS -mieee"
+    ;;
     *)
       echo "mkoctfile: unrecognized argument $1" 1>&2
       exit 1

--- End Message ---
--- Begin Message ---
Source: octave-octcdf
Source-Version: 1.1.4-2

We believe that the bug you reported is fixed in the latest version of
octave-octcdf, which is due to be installed in the Debian FTP archive:

octave-octcdf_1.1.4-2.debian.tar.gz
  to main/o/octave-octcdf/octave-octcdf_1.1.4-2.debian.tar.gz
octave-octcdf_1.1.4-2.dsc
  to main/o/octave-octcdf/octave-octcdf_1.1.4-2.dsc
octave-octcdf_1.1.4-2_amd64.deb
  to main/o/octave-octcdf/octave-octcdf_1.1.4-2_amd64.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 666142@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Weber <tweber@debian.org> (supplier of updated octave-octcdf 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.8
Date: Fri, 27 Apr 2012 00:40:56 +0200
Source: octave-octcdf
Binary: octave-octcdf
Architecture: source amd64
Version: 1.1.4-2
Distribution: unstable
Urgency: low
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Thomas Weber <tweber@debian.org>
Description: 
 octave-octcdf - NetCDF data files interface for Octave
Closes: 666142
Changes: 
 octave-octcdf (1.1.4-2) unstable; urgency=low
 .
   * debian/watch: Use the SourceForge redirector
   * New patch: do_not_pass_compiler_flags_to_mkoctfile (Closes: 666142)
Checksums-Sha1: 
 7fe5146c107477a58d1ddc97d40fc4b47f8e953a 1434 octave-octcdf_1.1.4-2.dsc
 ac8f07e3af91a74ba2a9536251701b37404dfd4a 3204 octave-octcdf_1.1.4-2.debian.tar.gz
 905745c736b006e5e0744b405f7adf564f291f61 75062 octave-octcdf_1.1.4-2_amd64.deb
Checksums-Sha256: 
 9f7064bacd2622693e8215bc240add9df3f96520ac996b21878d6b1f8aa70f4a 1434 octave-octcdf_1.1.4-2.dsc
 c89158e57ac43836080f64117e58ac80462b5e4b0721643866d8bf19c3c53903 3204 octave-octcdf_1.1.4-2.debian.tar.gz
 ac05d515cf4d655ce812825b76c31369ac2298d43466e2c8d87e0e4142130d2d 75062 octave-octcdf_1.1.4-2_amd64.deb
Files: 
 e8032788f089eb0f52d288d6bb100006 1434 math optional octave-octcdf_1.1.4-2.dsc
 3081f2ae9de66d8647834566a2752267 3204 math optional octave-octcdf_1.1.4-2.debian.tar.gz
 65144886aba8a9d9407b0d3b6a17b5d5 75062 math optional octave-octcdf_1.1.4-2_amd64.deb

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

iEYEARECAAYFAk+Z0T0ACgkQPqD4a3lPnXxqzACfcxlnjwg41ins41dpu0tnMIcm
noAAoJrlo1DsPaburiLGA6jmq4u83NKV
=RNub
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: