Package: kyotocabinet Version: 1.2.76-4.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_MYZLIB -D_MYLZO -D_MYLZMA -D_MYGCCATOMIC > -D_KC_PREFIX="\"/usr\"" -D_KC_INCLUDEDIR="\"/usr/include\"" > -D_KC_LIBDIR="\"/usr/lib/x86_64-linux-gnu\"" -D_KC_BINDIR="\"/usr/bin\"" > -D_KC_LIBEXECDIR="\"/usr/lib/x86_64-linux-gnu\"" > -D_KC_APPINC="\"-I/usr/include\"" > -D_KC_APPLIBS="\"-L/usr/lib/x86_64-linux-gnu -lkyotocabinet -llzma -llzo2 -lz > -lstdc++ -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 kcdbext.cc > In file included from kcdbext.cc:16:0: > kcdbext.h: In member function 'char* kyotocabinet::IndexDB::get(const char*, > size_t, size_t*)': > kcdbext.h:1281:14: error: cannot convert 'bool' to 'char*' in return > return false; > ^~~~~ > > Makefile:76: recipe for target 'kcdbext.o' failed > make[1]: *** [kcdbext.o] Error 1 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > dh_auto_build: make -j1 returned exit code 2 > debian/rules:40: recipe for target 'build' failed > make: *** [build] Error 2 -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

