[Debichem-devel] Bug#822501: bagel: FTBFS: error: 'inner_product' is not a member of 'std'
Martin Michlmayr
tbm at hpe.com
Mon Apr 25 01:16:10 UTC 2016
Package: bagel
Version: 0.0~git20150902-1
Severity: serious
This package fails to build in unstable:
> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> libtool: compile: mpicxx -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -g -O2 -DNDEBUG -std=c++11 -c distzmatrix.cc -o distzmatrix.o
> In file included from algo.cc:27:0:
> ../../../src/util/math/algo.h: In function 'decltype (((* p) * (* q))) bagel::blas::{anonymous}::dot_product(T, size_t, U)':
> ../../../src/util/math/algo.h:151:12: error: 'inner_product' is not a member of 'std'
> return std::inner_product(p, p+n, q, static_cast<ResultType>(0.0), std::plus<ResultType>(), [](decltype(*p) i, decltype(*q) j) { return detail::conj(i)*j; });
> ^
> ../../../src/util/math/algo.h: In function 'decltype (((* p) * (* q))) bagel::blas::{anonymous}::dot_product_noconj(T, size_t, U)':
> ../../../src/util/math/algo.h:168:12: error: 'inner_product' is not a member of 'std'
> return std::inner_product(p, p+n, q, static_cast<ResultType>(0.0), std::plus<ResultType>(), [](decltype(*p) i, decltype(*q) j) { return i*j; });
> ^
> In file included from ztranspose.cc:26:0:
> ../../../src/util/math/algo.h: In function 'decltype (((* p) * (* q))) bagel::blas::{anonymous}::dot_product(T, size_t, U)':
> ../../../src/util/math/algo.h:151:12: error: 'inner_product' is not a member of 'std'
> return std::inner_product(p, p+n, q, static_cast<ResultType>(0.0), std::plus<ResultType>(), [](decltype(*p) i, decltype(*q) j) { return detail::conj(i)*j; });
> ^
> ../../../src/util/math/algo.h: At global scope:
> ../../../src/util/math/algo.h:196:48: error: 'accumulate' is not a member of 'std'
> auto average(const T& container) -> decltype(std::accumulate(container.begin(), container.end(), 0.0)/container.size()) {
> ^
> ../../../src/util/math/algo.h:196:48: error: 'accumulate' is not a member of 'std'
> ../../../src/util/math/algo.h: In function 'decltype ((<expression error> / container.size())) bagel::blas::{anonymous}::average(const T&)':
> ../../../src/util/math/algo.h:197:12: error: 'accumulate' is not a member of 'std'
> return std::accumulate(container.begin(), container.end(), 0.0) / container.size();
> ^
> ../../../src/util/math/algo.h: In function 'decltype (((* p) * (* q))) bagel::blas::{anonymous}::dot_product_noconj(T, size_t, U)':
> ../../../src/util/math/algo.h:168:12: error: 'inner_product' is not a member of 'std'
> return std::inner_product(p, p+n, q, static_cast<ResultType>(0.0), std::plus<ResultType>(), [](decltype(*p) i, decltype(*q) j) { return i*j; });
> ^
> ../../../src/util/math/algo.h: At global scope:
> ../../../src/util/math/algo.h:196:48: error: 'accumulate' is not a member of 'std'
> auto average(const T& container) -> decltype(std::accumulate(container.begin(), container.end(), 0.0)/container.size()) {
> ^
> ../../../src/util/math/algo.h:196:48: error: 'accumulate' is not a member of 'std'
> ../../../src/util/math/algo.h: In function 'decltype ((<expression error> / container.size())) bagel::blas::{anonymous}::average(const T&)':
> ../../../src/util/math/algo.h:197:12: error: 'accumulate' is not a member of 'std'
> return std::accumulate(container.begin(), container.end(), 0.0) / container.size();
> ^
> Makefile:461: recipe for target 'algo.lo' failed
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the Debichem-devel
mailing list