Package: re
Version: 0.1-6
Severity: important
User: debian-...@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
...
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> g++ -fsigned-char -Wno-write-strings -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -Wl,-z,relro src/re_cmd.c src/ru32call.c src/ru32cp.c 
> src/ru32var.c src/ru32lat.c  src/ru32fi.c src/ru32au.c src/ru32mau.c 
> src/ru32un.c -ore
> src/ru32cp.c:92:1: error: narrowing conversion of '136' from 'int' to 'char' 
> inside { } [-Wnarrowing]
>  };
>  ^
> 
> src/ru32cp.c:92:1: error: narrowing conversion of '152' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '160' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '164' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '144' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '166' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '167' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '169' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '171' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '172' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '173' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '174' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '176' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '177' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '145' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '181' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '182' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '183' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> src/ru32cp.c:92:1: error: narrowing conversion of '187' from 'int' to 'char' 
> inside { } [-Wnarrowing]
> debian/rules:5: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 1

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

Reply via email to