Package: libcrypto++
Version: 5.6.1-9
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
...
> /bin/bash ./libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.     
> -g -fno-strict-aliasing -pipe -DNDEBUG -O2 -MT wake.lo -MD -MP -MF 
> .deps/wake.Tpo -c -o wake.lo wake.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -g -fno-strict-aliasing -pipe 
> -DNDEBUG -O2 -MT wake.lo -MD -MP -MF .deps/wake.Tpo -c wake.cpp  -fPIC -DPIC 
> -o .libs/wake.o
> wake.cpp: In member function 'void 
> CryptoPP::WAKE_Base::GenKey(CryptoPP::word32, CryptoPP::word32, 
> CryptoPP::word32, CryptoPP::word32)':
> wake.cpp:34:15: error: narrowing conversion of '3868867420u' from 'unsigned 
> int' to 'int' inside { } [-Wnarrowing]
>    0x9ee27cf3, } ;
>                ^
> 
> wake.cpp:34:15: error: narrowing conversion of '3553042405u' from 'unsigned 
> int' to 'int' inside { } [-Wnarrowing]
> wake.cpp:34:15: error: narrowing conversion of '2872865746u' from 'unsigned 
> int' to 'int' inside { } [-Wnarrowing]
> wake.cpp:34:15: error: narrowing conversion of '2665643251u' from 'unsigned 
> int' to 'int' inside { } [-Wnarrowing]
> Makefile:1021: recipe for target 'wake.lo' failed
> make[2]: *** [wake.lo] Error 1
> make[2]: Leaving directory '/build/libcrypto++-IJ4xfo/libcrypto++-5.6.1'

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

Reply via email to