Bug#811761: cld2: FTBFS with GCC 6: narrowing conversion

Martin Michlmayr tbm at hpe.com
Wed Jan 20 01:54:19 UTC 2016


Package: cld2
Version: 0.0.0-git20150806-2
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-narrowing

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
...
> [ 29%] Building CXX object CMakeFiles/cld2_full.dir/internal/cld_generated_cjk_delta_bi_32.cc.o
> /usr/bin/c++   -Dcld2_full_EXPORTS  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -fPIC   -o CMakeFiles/cld2_full.dir/internal/cld_generated_cjk_delta_bi_32.cc.o -c /<<PKGBUILDDIR>>/internal/cld_generated_cjk_delta_bi_32.cc
> /<<PKGBUILDDIR>>/internal/scoreonescriptspan.cc: In function 'void CLD2::ScoreEntireScriptSpan(const CLD2::LangSpan&, CLD2::ScoringContext*, CLD2::DocTote*, CLD2::ResultChunkVector*)':
> /<<PKGBUILDDIR>>/internal/scoreonescriptspan.cc:1149:5: warning: narrowing conversion of 'score' from 'int' to 'CLD2::uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
>      };
>      ^
> 
> /<<PKGBUILDDIR>>/internal/scoreonescriptspan.cc:1149:5: warning: narrowing conversion of 'bytes' from 'int' to 'CLD2::uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/scoreonescriptspan.cc:1149:5: warning: narrowing conversion of 'reliability' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/scoreonescriptspan.cc:1149:5: warning: narrowing conversion of 'reliability' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
>  };
>  ^
> 
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-14' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-30' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-30' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-30' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-30' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-30' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-30' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-30' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-30' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-30' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-30' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-30' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/internal/cld_generated_cjk_uni_prop_80.cc:7089:1: error: narrowing conversion of '-30' from 'int' to 'CLD2::uint8 {aka unsigned char}' inside { } [-Wnarrowing]
...

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



More information about the debian-science-maintainers mailing list