[Pkg-ime-devel] Bug#811723: fcitx-unikey: FTBFS with GCC 6: narrowing conversion

Martin Michlmayr tbm at hpe.com
Wed Jan 20 01:42:59 UTC 2016


Package: fcitx-unikey
Version: 0.2.4-1
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
...
> [ 17%] Building CXX object unikey/CMakeFiles/unikey.dir/data.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/unikey && /usr/bin/c++     -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2    -fPIC -o CMakeFiles/unikey.dir/data.cpp.o -c /<<PKGBUILDDIR>>/unikey/data.cpp
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777670'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
>  };
>  ^
> 
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777670'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777665'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777665'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777666'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777666'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777667'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777667'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777671'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777671'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777642'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777651'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777712'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777712'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777707'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777707'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777710'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777710'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777711'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777711'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777713'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777713'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777641'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777650'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777676'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777676'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777673'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777673'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777674'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777674'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777675'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777675'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
> /<<PKGBUILDDIR>>/unikey/data.cpp:242:1: error: narrowing conversion of ''\37777777706'' from 'char' to 'unsigned char' inside { } [-Wnarrowing]
...

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



More information about the Pkg-ime-devel mailing list