[Debian-med-packaging] Bug#807583: pbseqlib: FTBFS (32-bit): TupleMask.h: error: narrowing conversion

Aaron M. Ucko ucko at debian.org
Thu Dec 10 14:44:13 UTC 2015


Source: pbseqlib
Version: 0~20151014+gitbe5d1bf-1
Severity: important
Justification: fails to build from source

Builds of pbseqlib for 32-bit architectures such as i386 have been
failing:

  /«BUILDDIR»/pbseqlib-0~20151014+gitbe5d1bf/alignment/tuples/TupleMask.h:11:53: error: narrowing conversion of '68719476735ll' from 'long long int' to 'long unsigned int' inside { } [-Wnarrowing]
                                     0xffffffffffffffff}; // 16
                                                       ^
  [...]
  /«BUILDDIR»/pbseqlib-0~20151014+gitbe5d1bf/alignment/tuples/TupleMask.h:11:53: error: narrowing conversion of '18446744073709551615ull' from 'long long unsigned int' to 'long unsigned int' inside { } [-Wnarrowing]

You should be able to address the immediate problem by having
TupleMask.h #include <stdint.h> and changing TupleMask's element type
to uint64_t.  However, I strongly suspect you'll need similar formal
changes elsewhere.

Could you please take a look?

Thanks!



More information about the Debian-med-packaging mailing list