Bug#667168: fparser: ftbfs with GCC-4.7

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


Package: fparser
Version: 4.3-4
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.

fpaux.hh:648:57: error: 'makeLongInteger' 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/fparser_4.3-4_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.

[...]
fpaux.hh:652:17: note: 'template<class Value_t> long int FUNCTIONPARSERTYPES::makeLongInteger(Value_t)' declared here, later in the translation unit
fpaux.hh: In instantiation of 'Value_t FUNCTIONPARSERTYPES::fp_acosh(Value_t) [with Value_t = double]':
fparser.cc:2312:15:   required from 'Value_t FunctionParserBase<Value_t>::Eval(const Value_t*) [with Value_t = double]'
fparser.cc:3482:1:   required from here
fpaux.hh:75:54: error: 'fp_sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
fpaux.hh:397:17: note: 'long int FUNCTIONPARSERTYPES::fp_sqrt(long int)' declared here, later in the translation unit
fpaux.hh:75:54: error: 'fp_log' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
fpaux.hh:391:17: note: 'long int FUNCTIONPARSERTYPES::fp_log(long int)' declared here, later in the translation unit
fpaux.hh: In instantiation of 'Value_t FUNCTIONPARSERTYPES::fp_asinh(Value_t) [with Value_t = double]':
fparser.cc:2321:24:   required from 'Value_t FunctionParserBase<Value_t>::Eval(const Value_t*) [with Value_t = double]'
fparser.cc:3482:1:   required from here
fpaux.hh:72:54: error: 'fp_sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
fpaux.hh:397:17: note: 'long int FUNCTIONPARSERTYPES::fp_sqrt(long int)' declared here, later in the translation unit
fpaux.hh:72:54: error: 'fp_log' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
fpaux.hh:391:17: note: 'long int FUNCTIONPARSERTYPES::fp_log(long int)' declared here, later in the translation unit
fpaux.hh: In instantiation of 'Value_t FUNCTIONPARSERTYPES::fp_atanh(Value_t) [with Value_t = double]':
fparser.cc:2333:15:   required from 'Value_t FunctionParserBase<Value_t>::Eval(const Value_t*) [with Value_t = double]'
fparser.cc:3482:1:   required from here
fpaux.hh:78:72: error: 'fp_log' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
fpaux.hh:391:17: note: 'long int FUNCTIONPARSERTYPES::fp_log(long int)' declared here, later in the translation unit
fpaux.hh: In instantiation of 'Value_t FUNCTIONPARSERTYPES::fp_hypot(Value_t, Value_t) [with Value_t = double]':
fparser.cc:2406:15:   required from 'Value_t FunctionParserBase<Value_t>::Eval(const Value_t*) [with Value_t = double]'
fparser.cc:3482:1:   required from here
fpaux.hh:68:77: error: 'fp_sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
fpaux.hh:397:17: note: 'long int FUNCTIONPARSERTYPES::fp_sqrt(long int)' declared here, later in the translation unit
make[1]: *** [fparser.lo] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the debian-science-maintainers mailing list