Bug#897800: libvigraimpex: ftbfs with GCC-8

Matthias Klose doko at debian.org
Fri May 4 13:22:30 BST 2018


Package: src:libvigraimpex
Version: 1.10.0+git20160211.167be93+dfsg-5
Severity: normal
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-8

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-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/libvigraimpex_1.10.0+git20160211.167be93+dfsg-5_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 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-8/porting_to.html

[...]
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:441:1:   required from 'static void vigra::pyGaussianDivergenceImpl<T, FROM, FROM>::def(const char*, const Args&, const char*) [with Args = boost::python::detail::keywords<7>; T = double; int N = 3]'
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:441:1:   required from 'static void vigra::pyGaussianDivergenceImpl<T, FROM, TO>::def(const char*, const Args&, const char*) [with Args = boost::python::detail::keywords<7>; T = double; int FROM = 2; int TO = 3]'
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:441:1:   required from 'void vigra::pyGaussianDivergence<FROM, TO, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>::def(const char*, const Args&, const char*) const [with Args = boost::python::detail::keywords<7>; int FROM = 2; int TO = 3; T1 = float; T2 = double; T3 = void; T4 = void; T5 = void; T6 = void; T7 = void; T8 = void; T9 = void; T10 = void; T11 = void; T12 = void]'
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/numpy_array_converters.hxx:804:5:   required from 'typename std::enable_if<std::is_base_of<boost::python::PythonMultidefFunctor, Functor>::value, void>::type boost::python::multidef(const char*, const Functor&, const Args&, const char*) [with Functor = vigra::pyGaussianDivergence<2, 3, float, double>; Args = boost::python::detail::keywords<7>; typename std::enable_if<std::is_base_of<boost::python::PythonMultidefFunctor, Functor>::value, void>::type = void]'
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:744:114:   required from here
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:435:37: error: no matching function for call to 'gaussianDivergenceMultiArray(vigra::NumpyArray<3, vigra::TinyVector<double, 3>, vigra::StridedArrayTag>&, vigra::NumpyArray<3, vigra::Singleband<double>, vigra::StridedArrayTag>&, vigra::ConvolutionOptions<3>&)'
In file included from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:46:
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/multi_convolution.hxx:2258:1: note: candidate: 'template<class Iterator, unsigned int N, class T, class S> void vigra::gaussianDivergenceMultiArray(Iterator, Iterator, vigra::MultiArrayView<N, T, S>, vigra::ConvolutionOptions<N>)'
 gaussianDivergenceMultiArray(Iterator vectorField, Iterator vectorFieldEnd,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/multi_convolution.hxx:2258:1: note:   template argument deduction/substitution failed:
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:435:37: note:   deduced conflicting types for parameter 'Iterator' ('vigra::NumpyArray<3, vigra::TinyVector<double, 3>, vigra::StridedArrayTag>' and 'vigra::NumpyArray<3, vigra::Singleband<double>, vigra::StridedArrayTag>')
         gaussianDivergenceMultiArray(array, res, opt);
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:46:
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/multi_convolution.hxx:2301:1: note: candidate: 'template<class Iterator, unsigned int N, class T, class S> void vigra::gaussianDivergenceMultiArray(Iterator, Iterator, vigra::MultiArrayView<N, T, S>, double, vigra::ConvolutionOptions<N>)'
 gaussianDivergenceMultiArray(Iterator vectorField, Iterator vectorFieldEnd,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/multi_convolution.hxx:2301:1: note:   template argument deduction/substitution failed:
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:435:37: note:   deduced conflicting types for parameter 'Iterator' ('vigra::NumpyArray<3, vigra::TinyVector<double, 3>, vigra::StridedArrayTag>' and 'vigra::NumpyArray<3, vigra::Singleband<double>, vigra::StridedArrayTag>')
         gaussianDivergenceMultiArray(array, res, opt);
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:46:
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/multi_convolution.hxx:2312:1: note: candidate: 'template<unsigned int N, class T1, class S1, class T2, class S2> void vigra::gaussianDivergenceMultiArray(const vigra::MultiArrayView<N, vigra::TinyVector<T1, N>, S1>&, vigra::MultiArrayView<N, T2, S2>, const vigra::ConvolutionOptions<N>&)'
 gaussianDivergenceMultiArray(MultiArrayView<N, TinyVector<T1, N>, S1> const & vectorField,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/multi_convolution.hxx:2312:1: note:   template argument deduction/substitution failed:
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:435:37: note:   deduced conflicting values for non-type parameter 'N' ('3' and '3')
         gaussianDivergenceMultiArray(array, res, opt);
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:435:37: note:   'vigra::NumpyArray<3, vigra::TinyVector<double, 3>, vigra::StridedArrayTag>' is not derived from 'const vigra::MultiArrayView<N, vigra::TinyVector<T1, N>, S1>'
In file included from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:46:
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/multi_convolution.hxx:2326:1: note: candidate: 'template<unsigned int N, class T1, class S1, class T2, class S2> void vigra::gaussianDivergenceMultiArray(const vigra::MultiArrayView<N, vigra::TinyVector<T1, N>, S1>&, vigra::MultiArrayView<N, T2, S2>, double, vigra::ConvolutionOptions<N>)'
 gaussianDivergenceMultiArray(MultiArrayView<N, TinyVector<T1, N>, S1> const & vectorField,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/multi_convolution.hxx:2326:1: note:   template argument deduction/substitution failed:
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:435:37: note:   deduced conflicting values for non-type parameter 'N' ('3' and '3')
         gaussianDivergenceMultiArray(array, res, opt);
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:435:37: note:   'vigra::NumpyArray<3, vigra::TinyVector<double, 3>, vigra::StridedArrayTag>' is not derived from 'const vigra::MultiArrayView<N, vigra::TinyVector<T1, N>, S1>'
make[4]: *** [vigranumpy/src/core/CMakeFiles/vigranumpy_filters.dir/build.make:79: vigranumpy/src/core/CMakeFiles/vigranumpy_filters.dir/convolution.cxx.o] Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/obj.python2.7'
make[3]: *** [CMakeFiles/Makefile2:3615: vigranumpy/src/core/CMakeFiles/vigranumpy_filters.dir/all] Error 2
make[3]: Leaving directory '/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/obj.python2.7'
make[2]: *** [Makefile:166: all] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/obj.python2.7'
make[1]: *** [debian/rules:92: obj.python2.7/build-stamp] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg'
make: *** [debian/rules:70: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2



More information about the debian-science-maintainers mailing list