Bug#811829: clam: FTBFS with GCC 6: no match for

Martin Michlmayr tbm at hpe.com
Wed Jan 20 02:22:40 UTC 2016


Package: clam
Version: 1.4.0-7
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
...
> == Build copying src/Storage/XML/XMLable.hxx
> == Compiling shared scons/libs/core/src/ProcessingFactory.cxx
> In file included from scons/libs/core/include/CLAM/DynamicType.hxx:28:0,
>                  from scons/libs/core/include/CLAM/ProcessingConfig.hxx:25,
>                  from scons/libs/core/include/CLAM/Processing.hxx:32,
>                  from scons/libs/core/include/CLAM/ProcessingFactory.hxx:4,
>                  from scons/libs/core/src/ProcessingFactory.cxx:1:
> scons/libs/core/include/CLAM/XMLAdapter.hxx: In member function 'bool CLAM::XMLAdapter<T>::XMLContent(std::istream&)':
> scons/libs/core/include/CLAM/XMLAdapter.hxx:109:13: error: no match for 'operator!=' (operand types are 'std::istream {aka std::basic_istream<char>}' and 'long int')
>    return str!=NULL;
>           ~~~^~~

-> error

> 
> scons/libs/core/include/CLAM/XMLAdapter.hxx:109:13: note: candidate: operator!=(int, long int) <built-in>
> scons/libs/core/include/CLAM/XMLAdapter.hxx:109:13: note:   no known conversion for argument 1 from 'std::istream {aka std::basic_istream<char>}' to 'int'
> In file included from /usr/include/c++/6/list:63:0,
>                  from scons/libs/core/include/CLAM/InControl.hxx:26,
>                  from scons/libs/core/include/CLAM/InControlRegistry.hxx:28,
>                  from scons/libs/core/include/CLAM/Processing.hxx:28,
>                  from scons/libs/core/include/CLAM/ProcessingFactory.hxx:4,
>                  from scons/libs/core/src/ProcessingFactory.cxx:1:
> /usr/include/c++/6/bits/stl_list.h:1894:5: note: candidate: template<class _Tp, class _Alloc> bool std::operator!=(const std::__cxx11::list<_Tp, _Alloc>&, const std::__cxx11::list<_Tp, _Alloc>&)
>      operator!=(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
>      ^~~~~~~~
> 
> /usr/include/c++/6/bits/stl_list.h:1894:5: note:   template argument deduction/substitution failed:
> In file included from /usr/include/_G_config.h:15:0,
>                  from /usr/include/libio.h:31,
>                  from /usr/include/stdio.h:74,
>                  from /usr/include/c++/6/cstdio:42,
>                  from /usr/include/c++/6/ext/string_conversions.h:43,
>                  from /usr/include/c++/6/bits/basic_string.h:5402,
>                  from /usr/include/c++/6/string:52,
>                  from scons/libs/core/include/CLAM/InControlRegistry.hxx:26,
>                  from scons/libs/core/include/CLAM/Processing.hxx:28,
>                  from scons/libs/core/include/CLAM/ProcessingFactory.hxx:4,
>                  from scons/libs/core/src/ProcessingFactory.cxx:1:
> scons/libs/core/include/CLAM/XMLAdapter.hxx:109:15: note:   'std::istream {aka std::basic_istream<char>}' is not derived from 'const std::__cxx11::list<_Tp, _Alloc>'
>    return str!=NULL;
>                ^
> 
> In file included from /usr/include/c++/6/list:63:0,
>                  from scons/libs/core/include/CLAM/InControl.hxx:26,
>                  from scons/libs/core/include/CLAM/InControlRegistry.hxx:28,
>                  from scons/libs/core/include/CLAM/Processing.hxx:28,
>                  from scons/libs/core/include/CLAM/ProcessingFactory.hxx:4,
>                  from scons/libs/core/src/ProcessingFactory.cxx:1:
> /usr/include/c++/6/bits/stl_list.h:293:5: note: candidate: template<class _Val> bool std::operator!=(const std::_List_iterator<_Tp>&, const std::_List_const_iterator<_Tp>&)
>      operator!=(const _List_iterator<_Val>& __x,
>      ^~~~~~~~
> 
> /usr/include/c++/6/bits/stl_list.h:293:5: note:   template argument deduction/substitution failed:
> In file included from /usr/include/_G_config.h:15:0,
>                  from /usr/include/libio.h:31,
>                  from /usr/include/stdio.h:74,
>                  from /usr/include/c++/6/cstdio:42,
>                  from /usr/include/c++/6/ext/string_conversions.h:43,
>                  from /usr/include/c++/6/bits/basic_string.h:5402,
>                  from /usr/include/c++/6/string:52,
>                  from scons/libs/core/include/CLAM/InControlRegistry.hxx:26,
>                  from scons/libs/core/include/CLAM/Processing.hxx:28,
>                  from scons/libs/core/include/CLAM/ProcessingFactory.hxx:4,
>                  from scons/libs/core/src/ProcessingFactory.cxx:1:
> scons/libs/core/include/CLAM/XMLAdapter.hxx:109:15: note:   'std::istream {aka std::basic_istream<char>}' is not derived from 'const std::_List_iterator<_Tp>'
>    return str!=NULL;



More information about the pkg-multimedia-maintainers mailing list