Bug#811635: FTBFS with GCC 6: cannot convert x to y

Martin Michlmayr tbm at hpe.com
Wed Jan 20 00:28:30 UTC 2016


Package: libfolia
Version: 0.10-4.2
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
...
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -I/usr/include/libxml2 -I/usr/include -fopenmp -c document.cxx  -fPIC -DPIC -o .libs/document.o
> document.cxx: In member function 'bool folia::Document::save(std::ostream&, const string&, bool)':
> document.cxx:250:12: error: cannot convert 'std::ostream {aka std::basic_ostream<char>}' to 'bool' in return
>      return os;
>             ^~
> 
> Makefile:424: recipe for target 'document.lo' failed
> make[3]: *** [document.lo] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Makefile:375: recipe for target 'all-recursive' failed

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



More information about the debian-science-maintainers mailing list