[Debian-med-packaging] Bug#812378: snap-aligner: FTBFS: no match for max(unsigned long, _int64)

Aaron M. Ucko ucko at debian.org
Fri Jan 22 22:47:04 UTC 2016


Source: snap-aligner
Version: 0.18~1.0~beta.18+dfsg1-1
Severity: important
Justification: fails to build from source

32-bit builds of snap-aligner that get past #812376 still fail:

  SNAPLib/SortedDataWriter.cpp:338:70: error: no matching function for call to 'max(long unsigned int, _int64)'
               min(1UL << 23, max(1UL << 17, bufferSpace / blocks.size()))); // 128kB to 8MB buffer space per block

So far, this error has only occurred on x32, but I expect *i386
builds will fail the same way.  I'd suggest including <stdint.h> and
substituting UINT64_C(1) for both occurrences of 1UL here.  Could you
please take a look?

Thanks!



More information about the Debian-med-packaging mailing list