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

Martin Michlmayr tbm at hpe.com
Wed Jan 20 00:46:16 UTC 2016


Package: sga
Version: 0.10.14-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../Bigraph -I../Thirdparty -Wdate-time -D_FORTIFY_SOURCE=2 -fopenmp  -I/usr//include -I/usr//include/bamtools -Wall -Wextra  -Wno-unknown-pragmas -O3 -c -o libutil_a-VariantIndex.o `test -f 'VariantIndex.cpp' || echo './'`VariantIndex.cpp
> ClusterReader.cpp: In member function 'bool ClusterReader::readCluster(ClusterRecord&)':
> ClusterReader.cpp:70:41: error: cannot convert 'std::basic_istream<char>' to 'bool' in initialization
>      bool good = getline(*m_pReader, line);
>                                          ^
> 
> Makefile:722: recipe for target 'libutil_a-ClusterReader.o' failed
> make[3]: *** [libutil_a-ClusterReader.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> StdAlnTools.cpp: In function 'std::__cxx11::string StdAlnTools::expandCigar(const string&)':
> StdAlnTools.cpp:122:34: error: cannot convert 'std::basic_istream<char>' to 'bool' in initialization
>          bool success = parser >> code;
>                                   ^~~~
> 
> Makefile:750: recipe for target 'libutil_a-StdAlnTools.o' failed

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



More information about the Debian-med-packaging mailing list