[Debian-med-packaging] Bug#790667: FTBFS with GCC 5 on arm64: error: narrowing conversion

Martin Michlmayr tbm at hp.com
Tue Jun 30 17:58:47 UTC 2015


Package: ncbi-blast+
Version: 2.2.30-3
Severity: serious
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

This package fails to compile with GCC 5 on ARM64.  The error doesn't
show up on amd64.

> sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c4n1.hlinux.usa.hp.com
...
> /usr/bin/g++  -std=gnu++11 -c -Wall -Wno-format-y2k  -pthread -fopenmp -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC    -DNDEBUG -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -D_FORTIFY_SOURCE=2 -D_MT -D_REENTRANT -D_THREAD_SAFE -I/build/ncbi-blast+-mkG3Rd/ncbi-blast+-2.2.30/c++/BUILD/inc -I/build/ncbi-blast+-mkG3Rd/ncbi-blast+-2.2.30/c++/include  /build/ncbi-blast+-mkG3Rd/ncbi-blast+-2.2.30/c++/src/util/histogram_binning.cpp -o histogram_binning.o 
> In file included from /build/ncbi-blast+-mkG3Rd/ncbi-blast+-2.2.30/c++/include/util/bitset/bmutil.h:30:0,
>                  from /build/ncbi-blast+-mkG3Rd/ncbi-blast+-2.2.30/c++/src/util/histogram_binning.cpp:43:
> /build/ncbi-blast+-mkG3Rd/ncbi-blast+-2.2.30/c++/include/util/bitset/bmconst.h: In instantiation of 'const char bm::first_bit_table<true>::_idx [256]':
> /build/ncbi-blast+-mkG3Rd/ncbi-blast+-2.2.30/c++/include/util/bitset/bmutil.h:147:56:   required from here
> /build/ncbi-blast+-mkG3Rd/ncbi-blast+-2.2.30/c++/include/util/bitset/bmconst.h:154:12: error: narrowing conversion of '-1' from 'int' to 'char' inside { } [-Wnarrowing]
>  const char first_bit_table<T>::_idx[256] = {
>             ^
> /build/ncbi-blast+-mkG3Rd/ncbi-blast+-2.2.30/c++/BUILD/build/Makefile.rules:52: recipe for target 'histogram_binning.o' failed
> make[3]: *** [histogram_binning.o] Error 1
> make[3]: Leaving directory '/build/ncbi-blast+-mkG3Rd/ncbi-blast+-2.2.30/c++/BUILD/build/util'
> FAILED: src/util/Makefile.util.lib
> make[3]: Entering directory '/build/ncbi-blast+-mkG3Rd/ncbi-blast+-2.2.30/c++/BUILD/build/util'

-- 
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard



More information about the Debian-med-packaging mailing list