Bug#853333: blitz++: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:30:03 UTC 2017


Package: src:blitz++
Version: 1:0.10+ds-2
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc7-20170126/blitz++_0.10+ds-2_unstable_gcc7.log
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-7/porting_to.html

[...]
                                   ^
../../blitz/array/newet-macros.h:125:1: note: in definition of macro 'BZ_DECLARE_ARRAY_ET_BINARY_SCALAR'
 name(const BZ_BLITZ_SCOPE(ETBase)<T>& d1, const sca d2)                    \
 ^~~~
../../blitz/array/ops.h:127:1: note: in expansion of macro 'BZ_DECLARE_ARRAY_ET_SCALAR_OPS'
 BZ_DECLARE_ARRAY_ET_SCALAR_OPS(complex<long double>)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../blitz/array/ops.h:93:35: note:   substitution of deduced template arguments resulted in errors seen above
 BZ_DECLARE_ARRAY_ET_BINARY_SCALAR(operator-,  Subtract, sca)           \
                                   ^
../../blitz/array/newet-macros.h:125:1: note: in definition of macro 'BZ_DECLARE_ARRAY_ET_BINARY_SCALAR'
 name(const BZ_BLITZ_SCOPE(ETBase)<T>& d1, const sca d2)                    \
 ^~~~
../../blitz/array/ops.h:127:1: note: in expansion of macro 'BZ_DECLARE_ARRAY_ET_SCALAR_OPS'
 BZ_DECLARE_ARRAY_ET_SCALAR_OPS(complex<long double>)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../blitz/globeval.cc:34:0,
                 from ../../blitz/array/ops.cc:38,
                 from ../../blitz/array.cc:13,
                 from ../../blitz/array-impl.h:2559,
                 from ../../blitz/array.h:37,
                 from ../../src/globals.cpp:12:
../../blitz/tvevaluate.h: In instantiation of 'static void blitz::_tv_evaluator<unroll, N_length>::evaluate_unaligned(T_numtype*, const T_expr&, T_update) [with T_numtype = int; T_expr = blitz::_bz_ArrayExpr<blitz::FastTV2Iterator<int, 2> >; T_update = blitz::_bz_update<int, int>; bool unroll = false; int N_length = 2]':
../../blitz/globeval.cc:303:7:   required from 'static void blitz::chunked_updater<T_numtype, T_expr, T_update, N>::unaligned_update(T_numtype*, T_expr, blitz::diffType) [with T_numtype = int; T_expr = blitz::_bz_ArrayExpr<blitz::IndexPlaceholder<0> >; T_update = blitz::_bz_update<int, int>; int N = 2; blitz::diffType = long int]'
../../blitz/globeval.cc:342:41:   recursively required from 'static void blitz::_bz_meta_binaryAssign<I>::assign(T_data*, T_expr, blitz::diffType, blitz::diffType, T_update) [with T_data = int; T_expr = blitz::_bz_ArrayExpr<blitz::IndexPlaceholder<0> >; T_update = blitz::_bz_update<int, int>; int I = 6; blitz::diffType = long int]'
../../blitz/globeval.cc:342:41:   required from 'static void blitz::_bz_meta_binaryAssign<I>::assign(T_data*, T_expr, blitz::diffType, blitz::diffType, T_update) [with T_data = int; T_expr = blitz::_bz_ArrayExpr<blitz::IndexPlaceholder<0> >; T_update = blitz::_bz_update<int, int>; int I = 7; blitz::diffType = long int]'
../../blitz/globeval.cc:404:13:   required from 'void blitz::_bz_evaluateWithUnitStride(T_dest&, typename T_dest::T_iterator&, T_expr, blitz::diffType, T_update) [with T_dest = blitz::TinyVector<int, 1>; T_expr = blitz::_bz_ArrayExpr<blitz::IndexPlaceholder<0> >; T_update = blitz::_bz_update<int, int>; typename T_dest::T_iterator = blitz::FastTV2Iterator<int, 1>; blitz::diffType = long int]'
../../blitz/globeval.cc:591:31:   required from 'static void blitz::_bz_evaluator<1>::evaluateWithStackTraversal(T_dest&, T_expr, T_update) [with T_dest = blitz::TinyVector<int, 1>; T_expr = blitz::_bz_ArrayExpr<blitz::IndexPlaceholder<0> >; T_update = blitz::_bz_update<int, int>]'
../../blitz/globeval.cc:279:58:   required from 'void blitz::_bz_evaluate(T_dest&, T_expr, T_update) [with T_dest = blitz::TinyVector<int, 1>; T_expr = blitz::_bz_ArrayExpr<blitz::IndexPlaceholder<0> >; T_update = blitz::_bz_update<int, int>]'
../../blitz/tvevaluate.h:135:17:   required from 'static void blitz::_tv_evaluator<true, N_length>::select_evaluation(blitz::TinyVector<T, N_length>&, const T_expr&, T_update) [with T = int; T_expr = blitz::_bz_ArrayExpr<blitz::IndexPlaceholder<0> >; T_update = blitz::_bz_update<int, int>; int N_length = 1]'
../../blitz/tvevaluate.h:179:57:   required from 'void blitz::TinyVector<T, N>::_tv_evaluate(const T_expr&, T_update) [with T_expr = blitz::_bz_ArrayExpr<blitz::IndexPlaceholder<0> >; T_update = blitz::_bz_update<int, int>; P_numtype = int; int N_length = 1]'
../../blitz/tinyvec2.cc:86:15:   required from 'blitz::TinyVector<T, N>& blitz::TinyVector<T, N>::operator=(const blitz::ETBase<T_expr>&) [with T_expr = blitz::IndexPlaceholder<0>; P_numtype = int; int N_length = 1]'
../../blitz/array/storage.h:412:17:   required from 'blitz::ColumnMajorArray<N_rank>::ColumnMajorArray(blitz::paddingPolicy) [with int N_rank = 1]'
../../blitz/array/storage.h:430:34:   required from here
../../blitz/tvevaluate.h:120:36: error: 'const class blitz::_bz_ArrayExpr<blitz::FastTV2Iterator<int, 2> >' has no member named 'fastRead'; did you mean 'fastRead_tv'?
     T_update::update(data[i], expr.fastRead(i));
                               ~~~~~^~~~~~~~
                               fastRead_tv
Makefile:548: recipe for target 'globals.lo' failed
make[3]: *** [globals.lo] Error 1
make[3]: Leaving directory '/build/blitz++-u0oEAa/blitz++-0.10+ds/_build/lib'
Makefile:982: recipe for target 'blitz-library' failed
make[2]: *** [blitz-library] Error 1
make[2]: Leaving directory '/build/blitz++-u0oEAa/blitz++-0.10+ds/_build'
debian/rules:24: recipe for target 'override_dh_auto_build-arch' failed
make[1]: *** [override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/build/blitz++-u0oEAa/blitz++-0.10+ds'
debian/rules:13: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the debian-science-maintainers mailing list