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(0.0),
> std::plus(), [](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(0.0),
> std::plus(), [](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(0.0),
> std::plus(), [](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 (( /
> 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(0.0),
> std::plus(), [](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 (( /
> 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