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

Andreas Tille andreas at an3as.eu
Wed Jan 20 08:55:39 UTC 2016


Hi,

as you can see sga fails to build when using gcc 6 due to stricter type
checking.  Please let us know if you need further information to prepare
sga for gcc 6.

Kind regards and thanks for providing sga as Free Software

      Andreas.

On Tue, Jan 19, 2016 at 04:46:16PM -0800, Martin Michlmayr wrote:
> 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
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
> 

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list