Bug#918566: [Debian-med-packaging] Bug#918566: mash FTBFS on big endian: test failures

2019-01-07 Thread Sascha Steinbiss
Hi,

FYI I have already opened an issue upstream for something that might be
related:

  https://github.com/marbl/Mash/issues/104

I suspect that some of these failures are connected to the update of
Cap'n Proto to 0.7.0, the issues only started after the dependency was
upgraded in in unstable.

Cheers
Sascha

On 1/7/19 2:14 PM, Adrian Bunk wrote:
> Source: mash
> Version: 2.1-1
> Severity: serious
> Tags: ftbfs
> 
> https://buildd.debian.org/status/package.php?p=mash
> 
> ...
> diff test/genomes.dist test/ref/genomes.dist
> 1,3c1,3
> < genome1.fna reads   0.12827 1.02947e-18035/1000
> < genome2.fna reads   0.1296046.13708e-17534/1000
> < genome3.fna reads   0.12827 1.02332e-18035/1000
> ---
>> genome1.fna  reads   0.12101 4.48626e-21441/1000
>> genome2.fna  reads   0.12827 2.61074e-18035/1000
>> genome3.fna  reads   0.12101 4.45454e-21441/1000
> make[1]: *** [Makefile:98: testDist] Error 1
> make[1]: *** Waiting for unfinished jobs
> diff test/genomes.json test/ref/genomes.json
> 18,1017c18,1017
> < 2755981392628,
> < 3189583257792,
> < 9584077549833,
> < 12718262031724,
> < 17482074590444,
> < 23032165717400,
> ...
> 
> ___
> Debian-med-packaging mailing list
> debian-med-packag...@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging
> 



Bug#918566: [Debian-med-packaging] Bug#918566: mash FTBFS on big endian: test failures

2019-01-07 Thread Fabian Klötzl

forwarded 918566 https://github.com/marbl/Mash/issues/106
thanks



Bug#918566: [Debian-med-packaging] Bug#918566: mash FTBFS on big endian: test failures

2019-01-07 Thread Fabian Klötzl
mash internally uses MurmurHash 3 which is sensitive to the endianess. 
There is a note in the source [1], but no preventive measures are taken. 
I will forward this upstream and might even have a go at this myself.


(In theory this should not be a big issue expect for slightly 
inaccurate/different results.)


Fabian

1: 
https://github.com/marbl/Mash/blob/aabd5925e7cfc097a8d89e2d8691ac4af5b95d37/src/mash/MurmurHash3.cpp#L52