Package: kyototycoon
Version: 0.9.56-1
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
...
> g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/usr/include 
> -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 
> -D_REENTRANT -D__EXTENSIONS__ -D_MYLUA -I/usr/include/lua5.1 
> -I/usr/local/include/lua5.1 -I/usr/include/lua -I/usr/local/include/lua 
> -D_KT_PREFIX="\"/usr\"" -D_KT_INCLUDEDIR="\"/usr/include\"" 
> -D_KT_LIBDIR="\"/usr/lib/x86_64-linux-gnu\"" -D_KT_BINDIR="\"/usr/bin\"" 
> -D_KT_LIBEXECDIR="\"/usr/lib/x86_64-linux-gnu\"" 
> -D_KT_APPINC="\"-I/usr/include\"" 
> -D_KT_APPLIBS="\"-L/usr/lib/x86_64-linux-gnu -lkyototycoon -lkyotocabinet 
> -llzma -llzo2 -lz -lstdc++ -lresolv -lnsl -ldl -lrt -lpthread -lm -lc \"" -g 
> -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -fPIC 
> -fsigned-char -g0 -O2 -Wno-unused-but-set-variable 
> -Wno-unused-but-set-parameter ktutil.cc
> In file included from ./ktcommon.h:24:0,
>                  from ktutil.h:19,
>                  from ktutil.cc:16:
> /usr/include/kcdbext.h: In member function 'char* 
> kyotocabinet::IndexDB::get(const char*, size_t, size_t*)':
> /usr/include/kcdbext.h:1281:14: error: cannot convert 'bool' to 'char*' in 
> return
>        return false;
>               ^~~~~
> 
> Makefile:76: recipe for target 'ktutil.o' failed
> make[1]: *** [ktutil.o] Error 1

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

Reply via email to