Package: avifile Version: 1:0.7.48~20090503.ds-18 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 ... > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../include -Wdate-time > -D_FORTIFY_SOURCE=2 -Wall -Wno-unused -I../../include -fvisibility=hidden -g > -O2 -fstack-protector-strong -Wformat -Werror=format-security -g -O2 > -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 > -ffast-math -fomit-frame-pointer -pipe -c huffmantable.cpp -fPIC -DPIC -o > .libs/huffmantable.o > In file included from huffmantable.cpp:8:0: > mpegsound.h: In member function 'void avm::Mpegbitwindow::wrap()': > mpegsound.h:195:47: warning: dereferencing type-punned pointer will break > strict-aliasing rules [-Wstrict-aliasing] > *((int *)(buffer+WINDOWSIZE))=*((int *)buffer); > ^ > > huffmantable.cpp: At global scope: > huffmantable.cpp:585:1: error: narrowing conversion of '-1' from 'int' to > 'unsigned int' inside { } [-Wnarrowing] > }; > ^ > > huffmantable.cpp:585:1: error: narrowing conversion of '-1' from 'int' to > 'unsigned int' inside { } [-Wnarrowing] > huffmantable.cpp:585:1: error: narrowing conversion of '-1' from 'int' to > 'unsigned int' inside { } [-Wnarrowing] > huffmantable.cpp:585:1: error: narrowing conversion of '-1' from 'int' to > 'unsigned int' inside { } [-Wnarrowing] > huffmantable.cpp:585:1: error: narrowing conversion of '-1' from 'int' to > 'unsigned int' inside { } [-Wnarrowing] > huffmantable.cpp:585:1: error: narrowing conversion of '-1' from 'int' to > 'unsigned int' inside { } [-Wnarrowing] > Makefile:528: recipe for target 'huffmantable.lo' failed -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise

