[Debian-med-packaging] Bug#811876: disulfinder: FTBFS with GCC 6: no matching function for call to

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


Package: disulfinder
Version: 1.2.11-5
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
...
> g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -DDEFAULT_PKGDATADIR=\"/usr/share/disulfinder\" -O3 -Wall -Wno-deprecated -IBRNN/RNNs -c Input/Protein.cpp -o Input/Protein.o
> In file included from Input/Protein.cpp:11:0:
> Input/../Common/Util.h: In function 'void Util::readfile(std::vector<T>&, std::__cxx11::string)':
> Input/../Common/Util.h:120:80: error: no matching function for call to 'Exception::Assert(std::ifstream&, const char [34], const char*)'
>      Exception::Assert(ifs,"Cannot open file <%s> for reading", filename.c_str());
>                                                                                 ^
> 
> In file included from Input/../Common/Util.h:11:0,
>                  from Input/Protein.cpp:11:
> Input/../Common/../Common/Exception.h:30:15: note: candidate: static void Exception::Assert(bool)
>    static void Assert(bool condition) { if(!condition) throw new Exception(); }
>                ^~~~~~
> 
> Input/../Common/../Common/Exception.h:30:15: note:   candidate expects 1 argument, 3 provided
> Input/../Common/../Common/Exception.h:31:15: note: candidate: static void Exception::Assert(bool, const char*, ...)
>    static void Assert(bool condition, const char *const format,...);
>                ^~~~~~
> 
> Input/../Common/../Common/Exception.h:31:15: note:   no known conversion for argument 1 from 'std::ifstream {aka std::basic_ifstream<char>}' to 'bool'
> Input/../Common/../Common/Exception.h:32:15: note: candidate: static void Exception::Assert(bool, const string&)
>    static void Assert(bool condition, const string &mex) { if(!condition) throw new Exception(mex); }
>                ^~~~~~
> 
> Input/../Common/../Common/Exception.h:32:15: note:   candidate expects 2 arguments, 3 provided
> In file included from Input/Protein.cpp:11:0:
> Input/../Common/Util.h: In function 'std::ostream& Util::writeOptionArray(std::ostream&, const char*, ValueType*, int)':
> Input/../Common/Util.h:169:72: error: no matching function for call to 'Exception::Assert(std::basic_ostream<char>&, const char [25], const char*&)'
>      Exception::Assert(os << tag << " ", "Error while writing <%s>", tag);
>                                                                         ^
> 
> In file included from Input/../Common/Util.h:11:0,
>                  from Input/Protein.cpp:11:
> Input/../Common/../Common/Exception.h:30:15: note: candidate: static void Exception::Assert(bool)
>    static void Assert(bool condition) { if(!condition) throw new Exception(); }
>                ^~~~~~
> 
> Input/../Common/../Common/Exception.h:30:15: note:   candidate expects 1 argument, 3 provided
> Input/../Common/../Common/Exception.h:31:15: note: candidate: static void Exception::Assert(bool, const char*, ...)
>    static void Assert(bool condition, const char *const format,...);
>                ^~~~~~
> 
> Input/../Common/../Common/Exception.h:31:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>' to 'bool'
> Input/../Common/../Common/Exception.h:32:15: note: candidate: static void Exception::Assert(bool, const string&)
>    static void Assert(bool condition, const string &mex) { if(!condition) throw new Exception(mex); }
>                ^~~~~~
> 
> Input/../Common/../Common/Exception.h:32:15: note:   candidate expects 2 arguments, 3 provided
> In file included from Input/Protein.cpp:11:0:
> Input/../Common/Util.h:172:66: error: no matching function for call to 'Exception::Assert(std::basic_ostream<char>::__ostream_type&, const char [25], const char*&)'
>      Exception::Assert(os << endl, "Error while writing <%s>", tag);
>                                                                   ^
> 
> In file included from Input/../Common/Util.h:11:0,
>                  from Input/Protein.cpp:11:
> Input/../Common/../Common/Exception.h:30:15: note: candidate: static void Exception::Assert(bool)
>    static void Assert(bool condition) { if(!condition) throw new Exception(); }
>                ^~~~~~
> 
> Input/../Common/../Common/Exception.h:30:15: note:   candidate expects 1 argument, 3 provided
> Input/../Common/../Common/Exception.h:31:15: note: candidate: static void Exception::Assert(bool, const char*, ...)
>    static void Assert(bool condition, const char *const format,...);
>                ^~~~~~
> 
> Input/../Common/../Common/Exception.h:31:15: note:   no known conversion for argument 1 from 'std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<char>}' to 'bool'
> Input/../Common/../Common/Exception.h:32:15: note: candidate: static void Exception::Assert(bool, const string&)
>    static void Assert(bool condition, const string &mex) { if(!condition) throw new Exception(mex); }
>                ^~~~~~
> 
> Input/../Common/../Common/Exception.h:32:15: note:   candidate expects 2 arguments, 3 provided
> Input/Protein.cpp: In member function 'void Protein::ReadDSSP(std::istream&, char, bool)':
> Input/Protein.cpp:643:76: error: no matching function for call to 'Exception::Assert(std::istream&, const char [48])'
>      Exception::Assert(fp,"unexpected EOF while looking for protein\'s data");
>                                                                             ^
> 
> In file included from Input/../Common/Util.h:11:0,
>                  from Input/Protein.cpp:11:
> Input/../Common/../Common/Exception.h:30:15: note: candidate: static void Exception::Assert(bool)
>    static void Assert(bool condition) { if(!condition) throw new Exception(); }
>                ^~~~~~
> 
> Input/../Common/../Common/Exception.h:30:15: note:   candidate expects 1 argument, 2 provided
> Input/../Common/../Common/Exception.h:31:15: note: candidate: static void Exception::Assert(bool, const char*, ...)
>    static void Assert(bool condition, const char *const format,...);
>                ^~~~~~
> 
> Input/../Common/../Common/Exception.h:31:15: note:   no known conversion for argument 1 from 'std::istream {aka std::basic_istream<char>}' to 'bool'
> Input/../Common/../Common/Exception.h:32:15: note: candidate: static void Exception::Assert(bool, const string&)
>    static void Assert(bool condition, const string &mex) { if(!condition) throw new Exception(mex); }
>                ^~~~~~
> 
> Input/../Common/../Common/Exception.h:32:15: note:   no known conversion for argument 1 from 'std::istream {aka std::basic_istream<char>}' to 'bool'
> Makefile:48: recipe for target 'Input/Protein.o' failed

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



More information about the Debian-med-packaging mailing list