[Debichem-devel] Bug#822501: Bug#822501: bagel: FTBFS: error: 'inner_product' is not a member of 'std'

Michael Banck mbanck at debian.org
Tue May 3 23:46:01 UTC 2016


tags 822501 +pending
thanks

On Sun, Apr 24, 2016 at 06:16:10PM -0700, Martin Michlmayr wrote:
> 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; });
> >             ^

Thanks, I've cherry-picked a fix from upstream to subversion which fixes
this.  Will upload when I've verified the rest of the package still
builds as well.


Michael



More information about the Debichem-devel mailing list