[Debian-med-packaging] Bug#811644: FTBFS with GCC 6: cannot convert x to y

Martin Michlmayr tbm at hpe.com
Wed Jan 20 00:34:06 UTC 2016


Package: idba
Version: 1.1.2-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-cannot-convert

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.

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../gtest_src   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -O3 -fopenmp -pthread -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o sequence_reader.o `test -f '../src/sequence/sequence_reader.cpp' || echo './'`../src/sequence/sequence_reader.cpp
> ../src/sequence/sequence_reader.cpp: In member function 'virtual bool FastaReader::ReadRecord(Sequence&, std::__cxx11::string&, std::__cxx11::string&)':
> ../src/sequence/sequence_reader.cpp:50:40: error: cannot convert 'std::istream {aka std::basic_istream<char>}' to 'bool' in return
>      return ReadFasta(*is_, seq, comment);
>                                         ^
> 
> ../src/sequence/sequence_reader.cpp: In member function 'virtual bool FastqReader::ReadRecord(Sequence&, std::__cxx11::string&, std::__cxx11::string&)':
> ../src/sequence/sequence_reader.cpp:55:49: error: cannot convert 'std::istream {aka std::basic_istream<char>}' to 'bool' in return
>      return ReadFastq(*is_, seq, comment, quality);
>                                                  ^
> 
> Makefile:441: recipe for target 'sequence_reader.o' failed

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



More information about the Debian-med-packaging mailing list