Package: scantailor
Version: 0.9.11.1-4
Severity: important
User: [email protected]
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
...
> /<<PKGBUILDDIR>>/filters/page_split/PageLayoutEstimator.cpp: In static member 
> function 'static page_split::PageLayout 
> page_split::PageLayoutEstimator::cutAtWhitespaceDeskewed150(page_split::LayoutType,
>  int, const imageproc::BinaryImage&, bool, bool, DebugImages*)':
> /<<PKGBUILDDIR>>/filters/page_split/PageLayoutEstimator.cpp:526:74: error: no 
> matching function for call to 'bind(<unresolved overloaded function type>, 
> boost::lambda::lambda_functor<boost::lambda::identity<std::deque<Span>&> >, 
> boost::lambda::placeholder1_type&)'
>   span_finder.find(hist, bind(&std::deque<Span>::push_back, var(spans), _1));
>                                                                           ^
> 
> In file included from /usr/include/boost/lambda/bind.hpp:17:0,
>                  from 
> /<<PKGBUILDDIR>>/filters/page_split/PageLayoutEstimator.cpp:53:
> /usr/include/boost/lambda/detail/bind_functions.hpp:49:1: note: candidate: 
> template<class Result> const 
> boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::action<1,
>  boost::lambda::function_action<1, T> >, typename 
> boost::lambda::detail::bind_tuple_mapper<Result (&)()>::type> > 
> boost::lambda::bind(Result (&)())
>  bind(Result(& a1)()) {
>  ^~~~
> 
> /usr/include/boost/lambda/detail/bind_functions.hpp:49:1: note:   template 
> argument deduction/substitution failed:
> /<<PKGBUILDDIR>>/filters/page_split/PageLayoutEstimator.cpp:526:74: note:   
> mismatched types 'Result()' and 'void 
> (std::deque<Span>::*)(std::deque<Span>::value_type&&) {aka void 
> (std::deque<Span>::*)(Span&&)}'
>   span_finder.find(hist, bind(&std::deque<Span>::push_back, var(spans), _1));

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

Reply via email to