Bug#853513: libvigraimpex: ftbfs with GCC-7

Matthias Klose doko at debian.org
Tue Jan 31 09:33:16 UTC 2017


Package: src:libvigraimpex
Version: 1.10.0+git20160211.167be93+dfsg-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/libvigraimpex_1.10.0+git20160211.167be93+dfsg-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

[...]
                 from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:41:
/usr/include/c++/7/sstream:790:5: note: candidate: template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_istringstream<_CharT, _Traits, _Allocator>&, std::__cxx11::basic_istringstream<_CharT, _Traits, _Allocator>&)
     swap(basic_istringstream<_CharT, _Traits, _Allocator>& __x,
     ^~~~
/usr/include/c++/7/sstream:790:5: note:   template argument deduction/substitution failed:
In file included from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/resampling_convolution.hxx:46:0,
                 from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/resizeimage.hxx:46,
                 from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/stdimagefunctions.hxx:74,
                 from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/nonlineardiffusion.hxx:41,
                 from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/convolution.hxx:44,
                 from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:45:
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/imagecontainer.hxx:770:53: note:   mismatched types 'std::__cxx11::basic_istringstream<_CharT, _Traits, _Allocator>' and 'int'
         std::swap(highestLevel_, other.highestLevel_);
                                                     ^
In file included from /usr/include/c++/7/complex:45:0,
                 from /usr/include/boost/python/converter/builtin_converters.hpp:13,
                 from /usr/include/boost/python/converter/arg_to_python.hpp:17,
                 from /usr/include/boost/python/call.hpp:15,
                 from /usr/include/boost/python/object_core.hpp:14,
                 from /usr/include/boost/python/args.hpp:25,
                 from /usr/include/boost/python.hpp:11,
                 from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:41:
/usr/include/c++/7/sstream:783:5: note: candidate: template<class _CharT, class _Traits, class _Allocator> void std::__cxx11::swap(std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>&, std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>&)
     swap(basic_stringbuf<_CharT, _Traits, _Allocator>& __x,
     ^~~~
/usr/include/c++/7/sstream:783:5: note:   template argument deduction/substitution failed:
In file included from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/resampling_convolution.hxx:46:0,
                 from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/resizeimage.hxx:46,
                 from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/stdimagefunctions.hxx:74,
                 from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/nonlineardiffusion.hxx:41,
                 from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/convolution.hxx:44,
                 from /<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/vigranumpy/src/core/convolution.cxx:45:
/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/include/vigra/imagecontainer.hxx:770:53: note:   mismatched types 'std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>' and 'int'
         std::swap(highestLevel_, other.highestLevel_);
                                                     ^
vigranumpy/src/core/CMakeFiles/vigranumpy_filters.dir/build.make:89: recipe for target 'vigranumpy/src/core/CMakeFiles/vigranumpy_filters.dir/convolution.cxx.o' failed
make[4]: *** [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'
CMakeFiles/Makefile2:3615: recipe for target 'vigranumpy/src/core/CMakeFiles/vigranumpy_filters.dir/all' failed
make[3]: *** [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'
Makefile:163: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg/obj.python2.7'
debian/rules:91: recipe for target 'obj.python2.7/build-stamp' failed
make[1]: *** [obj.python2.7/build-stamp] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/libvigraimpex-1.10.0+git20160211.167be93+dfsg'
debian/rules:65: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2



More information about the debian-science-maintainers mailing list