Bug#811878: opengm: FTBFS with GCC 6: no matching function for call to

Martin Michlmayr tbm at hpe.com
Wed Jan 20 02:53:43 UTC 2016


Package: opengm
Version: 2.3.6-2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-no-match

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> make -f src/unittest/CMakeFiles/test-memoryinfo.dir/build.make src/unittest/CMakeFiles/test-memoryinfo.dir/build
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [ 31%] Building CXX object src/unittest/CMakeFiles/test-memoryinfo.dir/test_memoryinfo.cxx.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/unittest && /usr/bin/c++   -DOPENGM_DEBUG -DWITH_BOOST -DWITH_BOOST_GRAPH -DWITH_HDF5 -DWITH_OPENMP -DWITH_VIGRA -I/<<PKGBUILDDIR>>/include -I/usr/include/hdf5/serial  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2    -o CMakeFiles/test-memoryinfo.dir/test_memoryinfo.cxx.o -c /<<PKGBUILDDIR>>/src/unittest/test_memoryinfo.cxx
> /<<PKGBUILDDIR>>/src/interfaces/python/opengm/opengmcore/opengmcore.cpp: In function 'void init_module__opengmcore()':
> /<<PKGBUILDDIR>>/src/interfaces/python/opengm/opengmcore/opengmcore.cpp:644:49: error: no matching function for call to 'boost::python::class_<std::deque<long unsigned int, std::allocator<long unsigned int> > >::def(const char [11], <unresolved overloaded function type>)'
>        .def("push_front",&DequeUInt64::push_front)
>                                                  ^
> 
> In file included from /usr/include/boost/python.hpp:18:0,
>                  from /<<PKGBUILDDIR>>/src/interfaces/python/opengm/opengmcore/opengmcore.cpp:5:
> /usr/include/boost/python/class.hpp:224:11: note: candidate: template<class Derived> boost::python::class_<T, X1, X2, X3>::self& boost::python::class_<T, X1, X2, X3>::def(const boost::python::def_visitor<Derived>&) [with Derived = Derived; W = std::deque<long unsigned int, std::allocator<long unsigned int> >; X1 = boost::python::detail::not_specified; X2 = boost::python::detail::not_specified; X3 = boost::python::detail::not_specified]
>      self& def(def_visitor<Derived> const& visitor)
>            ^~~
> 
> /usr/include/boost/python/class.hpp:224:11: note:   template argument deduction/substitution failed:
> /<<PKGBUILDDIR>>/src/interfaces/python/opengm/opengmcore/opengmcore.cpp:644:49: note:   mismatched types 'const boost::python::def_visitor<U>' and 'const char [11]'
>        .def("push_front",&DequeUInt64::push_front)
>                                                  ^

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise



More information about the debian-science-maintainers mailing list