Package: fbreader
Version: 0.12.10dfsg-10
Severity: important
User: [email protected]
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
...
> gcc -MMD -c -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong 
> -Wformat -Werror=format-security -pipe -fno-exceptions -Wall 
> -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -DINSTALLDIR=\"/usr\" 
> -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" 
> -DIMAGEDIR=\"/usr/share/pixmaps\" 
> -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" 
> -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG 
> -DINSTALLDIR=\"/usr\" -DBASEDIR=\"/usr/share\" -DLIBDIR=\"/usr/lib\" 
> -DIMAGEDIR=\"/usr/share/pixmaps\" 
> -DAPPIMAGEDIR=\"/usr/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.12.10\" 
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -I 
> /<<PKGBUILDDIR>>/fbreader/../zlibrary/core/include -I 
> /<<PKGBUILDDIR>>/fbreader/../zlibrary/text/include  BooksDB_BookTag.cpp
> BooksDB.cpp: In member function 'shared_ptr<Book> BooksDB::loadBook(const 
> string&)':
> BooksDB.cpp:148:10: error: could not convert 'false' from 'bool' to 
> 'shared_ptr<Book>'
>    return false;
>           ^~~~~
> 
> /<<PKGBUILDDIR>>/fbreader/../makefiles/subdir.mk:14: recipe for target 
> 'BooksDB.o' failed
> make[2]: *** [BooksDB.o] Error 1
> make[2]: *** Waiting for unfinished jobs....

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

Reply via email to