Package: audiofile
Version: 0.3.6-2
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6

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../.. -I./.. -Wdate-time 
> -D_FORTIFY_SOURCE=2 -DNDEBUG -Wall -Wno-multichar -fvisibility=hidden 
> -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -c 
> RebufferModule.cpp -o RebufferModule.o >/dev/null 2>&1
> In file included from ModuleState.cpp:29:0:
> SimpleModule.h: In instantiation of 'const int 
> signConverter<(FormatCode)0>::kMinSignedValue':
> SimpleModule.h:130:52:   required from 'signConverter<Format>::UnsignedType 
> signConverter<Format>::signedToUnsigned::operator()(signConverter<Format>::SignedType)
>  [with FormatCode Format = (FormatCode)0; signConverter<Format>::UnsignedType 
> = unsigned char; signConverter<Format>::SignedType = signed char]'
> /usr/include/c++/6/bits/stl_algo.h:4184:24:   required from '_OIter 
> std::transform(_IIter, _IIter, _OIter, _UnaryOperation) [with _IIter = const 
> signed char*; _OIter = unsigned char*; _UnaryOperation = 
> signConverter<(FormatCode)0>::signedToUnsigned]'
> SimpleModule.h:104:16:   required from 'void transform(const void*, void*, 
> size_t) [with UnaryFunction = signConverter<(FormatCode)0>::signedToUnsigned; 
> size_t = long unsigned int]'
> SimpleModule.h:176:62:   required from 'static void 
> ConvertSign::convertSignedToUnsigned(const void*, void*, size_t) [with 
> FormatCode Format = (FormatCode)0; size_t = long unsigned int]'
> SimpleModule.h:183:51:   required from here
> SimpleModule.h:126:40: error: left operand of shift expression '(-1 << 7)' is 
> negative [-fpermissive]
>   static const int kMinSignedValue = -1 << kScaleBits;
>                                      ~~~^~~~~~~~~~~~~
> 
> SimpleModule.h: In instantiation of 'const int 
> signConverter<(FormatCode)1>::kMinSignedValue':
> SimpleModule.h:130:52:   required from 'signConverter<Format>::UnsignedType 
> signConverter<Format>::signedToUnsigned::operator()(signConverter<Format>::SignedType)
>  [with FormatCode Format = (FormatCode)1; signConverter<Format>::UnsignedType 
> = short unsigned int; signConverter<Format>::SignedType = short int]'
> /usr/include/c++/6/bits/stl_algo.h:4184:24:   required from '_OIter 
> std::transform(_IIter, _IIter, _OIter, _UnaryOperation) [with _IIter = const 
> short int*; _OIter = short unsigned int*; _UnaryOperation = 
> signConverter<(FormatCode)1>::signedToUnsigned]'
> SimpleModule.h:104:16:   required from 'void transform(const void*, void*, 
> size_t) [with UnaryFunction = signConverter<(FormatCode)1>::signedToUnsigned; 
> size_t = long unsigned int]'
> SimpleModule.h:176:62:   required from 'static void 
> ConvertSign::convertSignedToUnsigned(const void*, void*, size_t) [with 
> FormatCode Format = (FormatCode)1; size_t = long unsigned int]'
> SimpleModule.h:186:52:   required from here
> SimpleModule.h:126:40: error: left operand of shift expression '(-1 << 15)' 
> is negative [-fpermissive]
> SimpleModule.h: In instantiation of 'const int 
> signConverter<(FormatCode)2>::kMinSignedValue':
> SimpleModule.h:130:52:   required from 'signConverter<Format>::UnsignedType 
> signConverter<Format>::signedToUnsigned::operator()(signConverter<Format>::SignedType)
>  [with FormatCode Format = (FormatCode)2; signConverter<Format>::UnsignedType 
> = unsigned int; signConverter<Format>::SignedType = int]'
> /usr/include/c++/6/bits/stl_algo.h:4184:24:   required from '_OIter 
> std::transform(_IIter, _IIter, _OIter, _UnaryOperation) [with _IIter = const 
> int*; _OIter = unsigned int*; _UnaryOperation = 
> signConverter<(FormatCode)2>::signedToUnsigned]'
> SimpleModule.h:104:16:   required from 'void transform(const void*, void*, 
> size_t) [with UnaryFunction = signConverter<(FormatCode)2>::signedToUnsigned; 
> size_t = long unsigned int]'
> SimpleModule.h:176:62:   required from 'static void 
> ConvertSign::convertSignedToUnsigned(const void*, void*, size_t) [with 
> FormatCode Format = (FormatCode)2; size_t = long unsigned int]'
> SimpleModule.h:189:52:   required from here
> SimpleModule.h:126:40: error: left operand of shift expression '(-1 << 23)' 
> is negative [-fpermissive]

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

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to