[pkg-fgfs-crew] Bug#667373: simgear: ftbfs with GCC-4.7

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


Package: simgear
Version: 2.4.0-1.1
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.

SGExpression.hxx:1251:7: error: 'addOperand' 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/simgear_2.4.0-1.1_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.

[...]
SGExpression.cxx:752:54:   required from 'simgear::Expression* simgear::expression::makeConvert(simgear::Expression*) [with T = float; OpType = int]'
SGExpression.cxx:784:56:   required from here
SGExpression.hxx:1251:7: error: 'addOperand' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
SGExpression.hxx:1251:7: note: declarations in dependent base 'simgear::GeneralNaryExpression<float, int>' are not found by unqualified lookup
SGExpression.hxx:1251:7: note: use 'this->addOperand' instead
SGExpression.hxx: In instantiation of 'simgear::ConvertExpression<T, OpType>::ConvertExpression(SGExpression<OpType>*) [with T = double; OpType = int]':
SGExpression.cxx:752:54:   required from 'simgear::Expression* simgear::expression::makeConvert(simgear::Expression*) [with T = double; OpType = int]'
SGExpression.cxx:787:57:   required from here
SGExpression.hxx:1251:7: error: 'addOperand' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
SGExpression.hxx:1251:7: note: declarations in dependent base 'simgear::GeneralNaryExpression<double, int>' are not found by unqualified lookup
SGExpression.hxx:1251:7: note: use 'this->addOperand' instead
SGExpression.hxx: In instantiation of 'simgear::ConvertExpression<T, OpType>::ConvertExpression(SGExpression<OpType>*) [with T = double; OpType = float]':
SGExpression.cxx:752:54:   required from 'simgear::Expression* simgear::expression::makeConvert(simgear::Expression*) [with T = double; OpType = float]'
SGExpression.cxx:794:55:   required from here
SGExpression.hxx:1251:7: error: 'addOperand' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
SGExpression.hxx:1251:7: note: declarations in dependent base 'simgear::GeneralNaryExpression<double, float>' are not found by unqualified lookup
SGExpression.hxx:1251:7: note: use 'this->addOperand' instead
make[4]: *** [SGExpression.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/StringTable.Tpo .deps/StringTable.Po
mv -f .deps/subsystem_mgr.Tpo .deps/subsystem_mgr.Po
make[4]: Leaving directory `/«PKGBUILDDIR»/simgear/structure'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/simgear'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»/simgear'
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 pkg-fgfs-crew mailing list