Bug#667356: rheolef: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:12:12 UTC 2012


Package: rheolef
Version: 5.93-2
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

Mesh2.cpp:3198:25: error: capture of non-variable 'bamg::Triangles::nbvx'

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/rheolef_5.93-2_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
/bin/rm -f /«PKGBUILDDIR»/include/rheolef/compiler.h
ln -s /«PKGBUILDDIR»/config/compiler.h compiler.h
/bin/rm -f /«PKGBUILDDIR»/include/rheolef/dmalloc_return.h
ln -s /«PKGBUILDDIR»/config/dmalloc_return.h dmalloc_return.h
/bin/rm -f /«PKGBUILDDIR»/include/rheolef/numeric_limits.h
ln -s /«PKGBUILDDIR»/config/numeric_limits.h numeric_limits.h
/bin/rm -f /«PKGBUILDDIR»/include/rheolef/numeric_flags.h
ln -s /«PKGBUILDDIR»/config/numeric_flags.h numeric_flags.h
linking done.
Making all in util
Making all in bamg
g++ -DHAVE_CONFIG_H -I. -I../../config -DBAMG_LONG_LONG -w    -ansi -Wall -Wno-unused -Werror -MT bamg.o -MD -MP -MF .deps/bamg.Tpo -c -o bamg.o bamg.cpp
mv -f .deps/bamg.Tpo .deps/bamg.Po
g++ -DHAVE_CONFIG_H -I. -I../../config -DBAMG_LONG_LONG -w    -ansi -Wall -Wno-unused -Werror -MT bamg-aux.o -MD -MP -MF .deps/bamg-aux.Tpo -c -o bamg-aux.o bamg-aux.cpp
mv -f .deps/bamg-aux.Tpo .deps/bamg-aux.Po
g++ -DHAVE_CONFIG_H -I. -I../../config -DBAMG_LONG_LONG -w    -ansi -Wall -Wno-unused -Werror -MT Mesh2.o -MD -MP -MF .deps/Mesh2.Tpo -c -o Mesh2.o Mesh2.cpp
Mesh2.cpp: In member function 'void bamg::Triangles::PreInit(bamg::Int4, char*)':
Mesh2.cpp:3198:25: error: capture of non-variable 'bamg::Triangles::nbvx' 
In file included from Mesh2.cpp:44:0:
Mesh2.h:746:8: note: 'bamg::Int4 bamg::Triangles::nbvx' declared here
Mesh2.cpp: In member function 'bamg::Edge** bamg::Triangles::MakeGeometricalEdgeToEdge()':
Mesh2.cpp:3974:25: error: capture of non-variable 'bamg::Triangles::Gh' 
In file included from Mesh2.cpp:44:0:
Mesh2.h:742:14: note: 'bamg::Geometry& bamg::Triangles::Gh' declared here
make[3]: *** [Mesh2.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the debian-science-maintainers mailing list