Package: splay
Version: 0.9.5.2-13
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
...
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" 
> -DPACKAGE=\"splay\" -DVERSION=\"0.9.5.2\" -DSTDC_HEADERS=1 
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
> -DHAVE_UNISTD_H=1 -DHAVE_TAGLIB_TAG_H=1 -DTAGLIB=1 -DHAVE_LIBM=1 
> -DPTHREADEDMPEG=1 -D_REENTRANT=1 -DHAVE_PTHREAD_H=1 -DSTDC_HEADERS=1 
> -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCTL_H=1 
> -DHAVE_UNISTD_H=1 -DRETSIGTYPE=void -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 
> -DHAVE_STRSTR=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -MT huffmantable.o 
> -MD -MP -MF .deps/huffmantable.Tpo -c -o huffmantable.o huffmantable.cc
> huffmantable.cc:587:1: error: narrowing conversion of '-1' from 'int' to 
> 'unsigned int' inside { } [-Wnarrowing]
>  };
>  ^
> 
> huffmantable.cc:587:1: error: narrowing conversion of '-1' from 'int' to 
> 'unsigned int' inside { } [-Wnarrowing]
> huffmantable.cc:587:1: error: narrowing conversion of '-1' from 'int' to 
> 'unsigned int' inside { } [-Wnarrowing]
> huffmantable.cc:587:1: error: narrowing conversion of '-1' from 'int' to 
> 'unsigned int' inside { } [-Wnarrowing]
> huffmantable.cc:587:1: error: narrowing conversion of '-1' from 'int' to 
> 'unsigned int' inside { } [-Wnarrowing]
> huffmantable.cc:587:1: error: narrowing conversion of '-1' from 'int' to 
> 'unsigned int' inside { } [-Wnarrowing]
> Makefile:352: recipe for target 'huffmantable.o' failed
> make[2]: *** [huffmantable.o] Error 1

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

Reply via email to