Package: presage
Version: 0.9.1-1.1
Severity: important
User: [email protected]
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[6]: Entering directory '/<<PKGBUILDDIR>>/src/lib/core/context_tracker'
> /bin/bash ../../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H 
> -I. -I../../../..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o 
> contextTracker.lo contextTracker.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -Wdate-time 
> -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -c contextTracker.cpp  -fPIC -DPIC -o 
> .libs/contextTracker.o
> In file included from contextTracker.h:41:0,
>                  from contextTracker.cpp:25:
> ../charsets.h:174:10: error: narrowing conversion of '192' from 'int' to 
> 'char' inside { } [-Wnarrowing]
>      '\0' };
>           ^
> 
> ../charsets.h:174:10: error: narrowing conversion of '193' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '194' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '195' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '196' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '197' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '198' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '199' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '200' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '201' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '202' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '203' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '204' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '205' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '206' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '207' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '208' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '209' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '210' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '211' from 'int' to 
> 'char' inside { } [-Wnarrowing]
> ../charsets.h:174:10: error: narrowing conversion of '212' from 'int' to 
> 'char' inside { } [-Wnarrowing]
...

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

Reply via email to