Bug#822383: gringo: FTBFS: error: 'pow' is not a member of 'std'

Martin Michlmayr tbm at hpe.com
Sun Apr 24 00:53:53 UTC 2016


Package: gringo
Version: 4.5.4-1
Severity: serious

This package fails to build in unstable:

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> g++ -o build/release/libgringo/src/term.o -c -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -O3 -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -DNDEBUG=1 -DWITH_LUA=1 -DWITH_PYTHON=1 -I/usr/include/lua5.2 -I/usr/include/python2.7 -Ilibgringo -Ibuild/release/libgringo/src -Ilibgringo/src -Ilibprogram_opts -Ilibprogram_opts/src libgringo/src/term.cc
> libgringo/src/term.cc: In member function 'virtual double Gringo::FunctionTerm::estimate(double, const VarSet&) const':
> libgringo/src/term.cc:1848:37: error: 'pow' is not a member of 'std'
>          double root = std::max(1.0, std::pow(((*name).empty() ? size : size/2.0), 1.0/args.size()));
>                                      ^
> scons: *** [build/release/libgringo/src/term.o] Error 1
> scons: building terminated because of errors.
> debian/rules:49: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 2

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the debian-science-maintainers mailing list