Package: libsidplay
Version: 1.36.59-8
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++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" 
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" 
> -DPACKAGE_URL=\"\" -DPACKAGE=\"libsidplay\" -DVERSION=\"1.36.59\" 
> -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 -DSIZEOF_CHAR=1 -DSIZEOF_SHORT_INT=2 
> -DSIZEOF_INT=4 -DSIZEOF_LONG_INT=8 -DSTDC_HEADERS=1 -DHAVE_LONG_FILE_NAMES=1 
> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I.. -g -O2 -MT samples.lo -MD 
> -MP -MF .deps/samples.Tpo -c samples.cpp  -fPIC -DPIC -o .libs/samples.o
> samples.cpp:82:1: error: narrowing conversion of '128' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
>  };
>  ^
> 
> samples.cpp:82:1: error: narrowing conversion of '145' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:82:1: error: narrowing conversion of '162' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:82:1: error: narrowing conversion of '179' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:82:1: error: narrowing conversion of '196' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:82:1: error: narrowing conversion of '213' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:82:1: error: narrowing conversion of '230' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:82:1: error: narrowing conversion of '247' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:93:1: error: narrowing conversion of '129' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
>  };
>  ^
> 
> samples.cpp:93:1: error: narrowing conversion of '144' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:93:1: error: narrowing conversion of '160' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:93:1: error: narrowing conversion of '176' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:93:1: error: narrowing conversion of '192' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:93:1: error: narrowing conversion of '208' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:93:1: error: narrowing conversion of '224' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> samples.cpp:93:1: error: narrowing conversion of '240' from 'int' to 'sbyte 
> {aka signed char}' inside { } [-Wnarrowing]
> Makefile:495: recipe for target 'samples.lo' failed

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

Reply via email to