Package: thrift-compiler
Version: 0.9.1-2
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6

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.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -DHAVE_CONFIG_H -I. -I..  -I./src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
> -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o 
> thrift-t_java_generator.o `test -f 'src/generate/t_java_generator.cc' || echo 
> './'`src/generate/t_java_generator.cc
> src/generate/t_java_generator.cc: In member function 'void 
> t_java_generator::generate_process_async_function(t_service*, t_function*)':
> src/generate/t_java_generator.cc:2830:14: error: operands to ?: have 
> different types 'bool' and 'std::basic_ostream<char>'
>         first ? first = false : indent(f_service_) << "else ";
>         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Makefile:683: recipe for target 'thrift-t_java_generator.o' failed
> make[4]: *** [thrift-t_java_generator.o] Error 1
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/cpp'

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

Reply via email to