[Pkg-octave-devel] Bug#356620: FTBFS with G++ 4.1: error: unknown escape sequence '\s'

Martin Michlmayr tbm at cyrius.com
Sun Mar 12 23:56:13 UTC 2006


Package: octaviz
Version: 0.4.0-23
Severity: important

Your package fails 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.


> Automatic build of octaviz_0.4.0-23 on bigsur by sbuild/mips 1.89
...
> Building CXX object Common/CMakeFiles/octaviz.dir/octaviz.o
> /usr/include/octave-2.1.72/octave/oct-obj.h:103: error: extra qualification 'octave_value_list::' on member 'resize'
> make[3]: *** [Common/CMakeFiles/octaviz.dir/octaviz.o] Error 1

That's obviously a bug in octave.  I report it (witha patch), but then
we get:

| vtkCurvatures.cc: In function ‘bool FSvtkCurvatures_gnu_v3(const octave_shlib&)’:
| vtkCurvatures.cc:10: error: unknown escape sequence '\s'

The following patch helps, but the strange thing is that I cannot find
this file in the tar ball.  It must be created during build but I've
no idea how.  I guess you understand the build system of this package
better and know what to do.  Anyway, G++ 4.1 is in experimental.
Maybe you can try yourself what needs to be done to make it compile.


--- ./Graphics/vtkCurvatures.cc~	2006-03-12 19:39:50.000000000 +0000
+++ ./Graphics/vtkCurvatures.cc	2006-03-12 20:48:32.000000000 +0000
@@ -16,7 +16,7 @@
 \n\
 Gauss Curvature\n\
 discrete Gauss curvature (K) computation,\n\
-K(vertex v) = 2*PI-\sum_@{facet neighbs f of v@} (angle_f at v)\n\
+K(vertex v) = 2*PI-sum_@{facet neighbs f of v@} (angle_f at v)\n\
 The contribution of every facet is for the moment weighted by Area(facet)/3\n\
 The units of Gaussian Curvature are [1/m^2]\n\
 \n\

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




More information about the Pkg-octave-devel mailing list