Bug#811769: oggvideotools: FTBFS with GCC 6: narrowing conversion

Martin Michlmayr tbm at hpe.com
Wed Jan 20 01:56:27 UTC 2016


Package: oggvideotools
Version: 0.8a-7
Severity: important
User: debian-gcc at 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
...
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++   -DHAVE_CONFIG_H -DPACKAGE_STRING=\"oggvideotools-0.8a\" -D_FILE_OFFSET_BITS=64 -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2    -Wall -Wextra -o CMakeFiles/oggvideotools.dir/oggStreamDecoder.cpp.o -c /<<PKGBUILDDIR>>/src/oggStreamDecoder.cpp
> In file included from /<<PKGBUILDDIR>>/src/oggPacket.h:32:0,
>                  from /<<PKGBUILDDIR>>/src/oggStreamDecoder.h:30,
>                  from /<<PKGBUILDDIR>>/src/oggStreamDecoder.cpp:29:
> /<<PKGBUILDDIR>>/src/oggTypes.h:41:1: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
>  };
>  ^
> 
> /<<PKGBUILDDIR>>/src/oggTypes.h:41:1: error: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
> src/CMakeFiles/oggvideotools.dir/build.make:305: recipe for target 'src/CMakeFiles/oggvideotools.dir/oggStreamDecoder.cpp.o' failed

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



More information about the pkg-xiph-maint mailing list