[Pkg-haskell-maintainers] Bug#756801: haskell-bloomfilter: FTBFS almost everywhere

Dejan Latinovic Dejan.Latinovic at imgtec.com
Thu Nov 13 13:47:48 UTC 2014


Control: tags -1 + patch
Control: user -1 debian-mips at lists.debian.org
Control: usertags -1 + mips-patch



Unfortunately there is no feedback from upstream.


The problem is the condition roundedBits > 0xffffffff.
On 32-bit system 0xffffffff treated as Int is -1,
due to maxBound :: Int is 214748364 (0x7fffffff).

If the value of roundedBits is greater than 0x7fffffff,
it will satisfy already exisiting condition (roundedBits <= 0),
due to roundedBits is Int type.


I think that removing this additional condition (reverting commit)
would be acceptable solution.


Patch that remove this condition is attached.


With this patch I was able to build haskell-bloomfilter
on mips, mipsel, i386 and amd64.

Could you please consider including these changes?


Regards,
Dejan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-roundedBits-max-conition.patch
Type: text/x-patch
Size: 668 bytes
Desc: remove-roundedBits-max-conition.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20141113/a1e6ccae/attachment.bin>


More information about the Pkg-haskell-maintainers mailing list