[Pkg-octave-devel] Bug#355980: Makes other packages FTBFS with G++ 4.1:

Martin Michlmayr tbm at cyrius.com
Thu Mar 9 05:28:01 UTC 2006


Package: octave2.1
Version: 1:2.1.72-10
Severity: important
Tags: patch

Your package makes other packages fail to build with G++ 4.1.  I'm
filing this bug as important for now, but when 4.1 will be the default
compiler in unstable (probably in a few weeks) I'll upgrade this to
serious.

A patch is below.


> Automatic build of statdataml_1.0.9-2 on bigsur by sbuild/mips 1.78
...
> make[2]: Entering directory `/build/tbm/statdataml-1.0.9/StatDataML/MatOct/octave'
> cp -f ../readsdml.c_in readsdml.cc
> mkoctfile -I/usr/include/libxml2 -lxml2  readsdml.cc
> /usr/include/octave-2.1.72/octave/oct-obj.h:103: error: extra qualification 'octave_value_list::' on member 'resize'
> make[2]: *** [readsdml.oct] Error 1
> rm readsdml.cc
> make[2]: Leaving directory `/build/tbm/statdataml-1.0.9/StatDataML/MatOct/octave'
> make[1]: *** [Octave] Error 1


--- ./debian/patches/50_octave-value-list-resize-2.9.dpatch~	2006-03-09 05:25:56.000000000 +0000
+++ ./debian/patches/50_octave-value-list-resize-2.9.dpatch	2006-03-09 05:26:03.000000000 +0000
@@ -15,7 +15,7 @@
    void resize (octave_idx_type n) { data.resize (n); }
  
 -  void resize (octave_idx_type n, const octave_value& val);
-+  void octave_value_list::resize (octave_idx_type n, const octave_value& val)
++  void resize (octave_idx_type n, const octave_value& val)
 +  {
 +    octave_idx_type len = length ();
 +  

-- 
Martin Michlmayr
http://www.cyrius.com/




More information about the Pkg-octave-devel mailing list