Package: zvbi
Version: 0.2.35-10
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
...
> libtool: link: g++ -g -O2 -fPIE -fstack-protector-strong -Wformat 
> -Werror=format-security -fPIE -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now 
> -Wl,--as-needed -o test-dvb_demux test-dvb_demux.o test-common.o  
> ../src/.libs/libzvbi.a -lpthread -lm -lpng -lz
> g++ -DHAVE_CONFIG_H -I. -I..  -I..  -D_REENTRANT -D_GNU_SOURCE -Wdate-time 
> -D_FORTIFY_SOURCE=2  -g -O2 -fPIE -fstack-protector-strong -Wformat 
> -Werror=format-security -c -o test-dvb_mux.o test-dvb_mux.cc
> test-dvb_mux.cc:167:1: error: narrowing conversion of '-1' from 'int' to 
> 'vbi_service_set {aka unsigned int}' inside { } [-Wnarrowing]
>  };
>  ^
> 
> test-dvb_mux.cc: In function 'void test_dvb_mux_cor_pts()':
> test-dvb_mux.cc:3241:2: error: narrowing conversion of 
> '9223372036854775808ull' from 'long long unsigned int' to 'int64_t {aka long 
> int}' inside { } [-Wnarrowing]
>   };
>   ^
> 
> Makefile:1348: recipe for target 'test-dvb_mux.o' failed
> make[3]: *** [test-dvb_mux.o] Error 1

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

Reply via email to