Bug#741110: mathgl: FTBFS: invalid covariant return type for 'virtual Octave_map octave_swig_type::map_value() const'

Daniel Schepler dschepler at gmail.com
Sat Mar 8 17:03:12 UTC 2014


Source: mathgl
Version: 2.2-1
Severity: serious

>From my pbuilder build log:

...
 92%] Building CXX object lang/CMakeFiles/mgl-oct.dir/mathglOCTAVE_wrap.cxx.o
cd /tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang && /usr/bin/c++   -DHAVE_MEMRCHR -DNO_COLOR_ARRAY -Dmgl_oct_EXPORTS -fopenmp -fPIC -I/tmp/buildd/mathgl-2.2/include -I/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python2.7 -I/usr/include/octave-3.8.0/octave -I/usr/include/octave-3.8.0/octave/..    -o CMakeFiles/mgl-oct.dir/mathglOCTAVE_wrap.cxx.o -c /tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:1507:36: warning: 'Octave_map' is deprecated (declared at /usr/include/octave-3.8.0/octave/../octave/oct-map.h:484) [-Wdeprecated-declarations]
     virtual Octave_map map_value() const {
                                    ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:1507:24: error: invalid covariant return type for 'virtual Octave_map octave_swig_type::map_value() const'
     virtual Octave_map map_value() const {
                        ^
In file included from /usr/include/octave-3.8.0/octave/../octave/ov.h:58:0,
                 from /usr/include/octave-3.8.0/octave/../octave/oct-obj.h:34,
                 from /usr/include/octave-3.8.0/octave/../octave/ov-fcn.h:32,
                 from /usr/include/octave-3.8.0/octave/../octave/ov-builtin.h:28,
                 from /usr/include/octave-3.8.0/octave/../octave/defun-int.h:28,
                 from /usr/include/octave-3.8.0/octave/../octave/defun-dld.h:30,
                 from /usr/include/octave-3.8.0/octave/../octave/oct.h:36,
                 from /tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:154:
/usr/include/octave-3.8.0/octave/../octave/ov-base.h:568:22: error:   overriding 'virtual octave_map octave_base_value::map_value() const'
   virtual octave_map map_value (void) const;
                      ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx: In member function 'virtual dim_vector octave_swig_type::dims() const':
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:1183:46: error: 'class octave_value' has no member named 'is_real_nd_array'
       } else if (out.is_matrix_type() || out.is_real_nd_array() || out.is_numeric_type() ) {
                                              ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx: At global scope:
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:1742:36: warning: 'Octave_map' is deprecated (declared at /usr/include/octave-3.8.0/octave/../octave/oct-map.h:484) [-Wdeprecated-declarations]
     virtual Octave_map map_value() const
                                    ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:1742:24: error: invalid covariant return type for 'virtual Octave_map octave_swig_ref::map_value() const'
     virtual Octave_map map_value() const
                        ^
In file included from /usr/include/octave-3.8.0/octave/../octave/ov.h:58:0,
                 from /usr/include/octave-3.8.0/octave/../octave/oct-obj.h:34,
                 from /usr/include/octave-3.8.0/octave/../octave/ov-fcn.h:32,
                 from /usr/include/octave-3.8.0/octave/../octave/ov-builtin.h:28,
                 from /usr/include/octave-3.8.0/octave/../octave/defun-int.h:28,
                 from /usr/include/octave-3.8.0/octave/../octave/defun-dld.h:30,
                 from /usr/include/octave-3.8.0/octave/../octave/oct.h:36,
                 from /tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:154:
/usr/include/octave-3.8.0/octave/../octave/ov-base.h:568:22: error:   overriding 'virtual octave_map octave_base_value::map_value() const'
   virtual octave_map map_value (void) const;
                      ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx: In function 'void SWIG_Octave_LinkGlobalValue(std::string)':
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:2052:28: warning: 'static octave_value& symbol_table::varref(const string&, symbol_table::scope_id, symbol_table::context_id, bool)' is deprecated (declared at /usr/include/octave-3.8.0/octave/../octave/symtab.h:1322) [-Wdeprecated-declarations]
   symbol_table::varref(name);
                            ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx: In function 'bool SWIG_Octave_LoadModule(std::string)':
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:124898:5: error: 'begin_frame' is not a member of 'unwind_protect'
     unwind_protect::begin_frame("SWIG_Octave_LoadModule");
     ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:124899:35: error: 'unwind_protect_int' was not declared in this scope
     unwind_protect_int(error_state);
                                   ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:124901:47: error: 'unwind_protect_bool' was not declared in this scope
     unwind_protect_bool(discard_error_messages);
                                               ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:124917:5: error: 'run_frame' is not a member of 'unwind_protect'
     unwind_protect::run_frame("SWIG_Octave_LoadModule");
     ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx: In function 'bool SWIG_Octave_InstallFunction(octave_function*, std::string)':
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:124930:5: error: 'begin_frame' is not a member of 'unwind_protect'
     unwind_protect::begin_frame("SWIG_Octave_InstallFunction");
     ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:124931:35: error: 'unwind_protect_int' was not declared in this scope
     unwind_protect_int(error_state);
                                   ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:124933:47: error: 'unwind_protect_bool' was not declared in this scope
     unwind_protect_bool(discard_error_messages);
                                               ^
/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu/lang/mathglOCTAVE_wrap.cxx:124953:5: error: 'run_frame' is not a member of 'unwind_protect'
     unwind_protect::run_frame("SWIG_Octave_InstallFunction");
     ^
make[3]: *** [lang/CMakeFiles/mgl-oct.dir/mathglOCTAVE_wrap.cxx.o] Error 1
make[3]: Leaving directory `/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu'
make[2]: *** [lang/CMakeFiles/mgl-oct.dir/all] Error 2
make[2]: Leaving directory `/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/buildd/mathgl-2.2/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-- 
Daniel Schepler



More information about the debian-science-maintainers mailing list