Bug#667170: freefem3d: ftbfs with GCC-4.7

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


Package: freefem3d
Version: 1.0pre10-3
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.

./FEMDiscretization.hpp:701:7: error: 'generatesElementaryMatrix' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/freefem3d_1.0pre10-3_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.

[...]
FictitiousDomainMethod.cpp:269:1:   required from here
./FEMDiscretization.hpp:839:5: error: 'generatesElementaryMatrix' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
./FEMDiscretization.hpp:839:5: note: declarations in dependent base 'BaseFEMDiscretization<Structured3DMesh, (DiscretizationType::Type)12>' are not found by unqualified lookup
./FEMDiscretization.hpp:839:5: note: use 'this->generatesElementaryMatrix' instead
./FEMDiscretization.hpp: In instantiation of 'void FEMDiscretization<Structured3DMesh, TypeOfDiscretization>::timesX(const BaseVector&, BaseVector&) const [with DiscretizationType::Type TypeOfDiscretization = (DiscretizationType::Type)12]':
FictitiousDomainMethod.cpp:269:1:   required from here
./FEMDiscretization.hpp:778:5: error: 'generatesElementaryMatrix' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
./FEMDiscretization.hpp:778:5: note: declarations in dependent base 'BaseFEMDiscretization<Structured3DMesh, (DiscretizationType::Type)12>' are not found by unqualified lookup
./FEMDiscretization.hpp:778:5: note: use 'this->generatesElementaryMatrix' instead
./FEMDiscretization.hpp: In instantiation of 'void FEMDiscretization<Structured3DMesh, TypeOfDiscretization>::getDiagonal(BaseVector&) const [with DiscretizationType::Type TypeOfDiscretization = (DiscretizationType::Type)11]':
FictitiousDomainMethod.cpp:269:1:   required from here
./FEMDiscretization.hpp:896:5: error: 'generatesElementaryMatrix' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
./FEMDiscretization.hpp:896:5: note: declarations in dependent base 'BaseFEMDiscretization<Structured3DMesh, (DiscretizationType::Type)11>' are not found by unqualified lookup
./FEMDiscretization.hpp:896:5: note: use 'this->generatesElementaryMatrix' instead
./FEMDiscretization.hpp: In instantiation of 'void FEMDiscretization<Structured3DMesh, TypeOfDiscretization>::transposedTimesX(const BaseVector&, BaseVector&) const [with DiscretizationType::Type TypeOfDiscretization = (DiscretizationType::Type)11]':
FictitiousDomainMethod.cpp:269:1:   required from here
./FEMDiscretization.hpp:839:5: error: 'generatesElementaryMatrix' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
./FEMDiscretization.hpp:839:5: note: declarations in dependent base 'BaseFEMDiscretization<Structured3DMesh, (DiscretizationType::Type)11>' are not found by unqualified lookup
./FEMDiscretization.hpp:839:5: note: use 'this->generatesElementaryMatrix' instead
./FEMDiscretization.hpp: In instantiation of 'void FEMDiscretization<Structured3DMesh, TypeOfDiscretization>::timesX(const BaseVector&, BaseVector&) const [with DiscretizationType::Type TypeOfDiscretization = (DiscretizationType::Type)11]':
FictitiousDomainMethod.cpp:269:1:   required from here
./FEMDiscretization.hpp:778:5: error: 'generatesElementaryMatrix' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
./FEMDiscretization.hpp:778:5: note: declarations in dependent base 'BaseFEMDiscretization<Structured3DMesh, (DiscretizationType::Type)11>' are not found by unqualified lookup
./FEMDiscretization.hpp:778:5: note: use 'this->generatesElementaryMatrix' instead
make[3]: *** [FictitiousDomainMethod.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/solver'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the debian-science-maintainers mailing list