Package: leveldb Version: 0+20120530.gitdd0d562-1 Followup-For: Bug #677645 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu quantal ubuntu-patch
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Dear Maintainer, * Fix FTBFS on big-endian architectures (LP: #1021560): - d/patches/9112-fix-bloom-test.patch: Increase false positive threshold by 1% to deal with test failures on big-endian architectures. Picked from upstream dev mailing list. I appreciate that this is a less that ideal resolution to this problem; upstream have identified this is a test case issue rather than an underlying problem. Thanks for considering the patch. - -- System Information: Debian Release: wheezy/sid APT prefers quantal-updates APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 'quantal') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.5.0-4-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJQBUHLAAoJEL/srsug59jDEqkP/3NRqEict0dZxw42F4sxGuF5 MMzHhXgRx9d43Y2xxB4xM9+4urYsdXNIU0krJfOPKt6stIdUrsYH+l77Kf3m8F6D XA20FRBTUjirCtz2fRXTojy1aJDIMrNGzHuwUkibcCWMrOh6r8eFijmdTeE/DNNq vCX8As/spJQ/UXFlZXTSdaHcnksk2B9wQ/mOqvYTTe3Ico4C4/ObhKE+q49+PQ+G wWAjFzw+O/gNUMLfcN2Im5IFS1/hcG6JmTujDRAtlU1LcleEgdkA5XPHJ+l+Dg7k v3nufUWY8Ng2Qc2T+p1wEtiSnOtFp7wiLT2uKQuCd0y/CV5E6kNs21ssXoGNf3Jv 2lS4rgPKXlG/FWWMJBdPKXpQ63eSnG0GK9Dh+Fl2XTjgqUzr3nxspWom6I6t9DFO xdGnznhjIiR7/4ZoPEQrksqplaqcJrh0DMN06A9OlFAW1RsK4SyNlVGCnkxNggUI EEK5FJxcL5NE7Ir2UDH0MeG8qRwbLFDvPVk3p1LIntrYUWVx+h2q2AOf4uVLedd1 ullBrIJ1NcnJbkjN+7PputmqVVj5+EoRv8armvGVCS75XyeuEaQrb7IggjC2+XDj QCeH+/2+YZbmS4v/D/yMmqw7yNLcB2859pDveduzA+P+Vqsn/0RvdxNOr6twf2RR XVr1l/Ht8miHR1b4zQ65 =I1I0 -----END PGP SIGNATURE-----
=== added file 'debian/patches/9112-fix-bloom-test.patch' --- debian/patches/9112-fix-bloom-test.patch 1970-01-01 00:00:00 +0000 +++ debian/patches/9112-fix-bloom-test.patch 2012-07-16 19:28:20 +0000 @@ -0,0 +1,17 @@ +Description: Increase false positive rate to deal with testing + on big-endian architectures. +Origin: https://groups.google.com/forum/?fromgroups#!topic/leveldb/SbVPvl4j4vU + +Index: leveldb-0+20120530.gitdd0d562/util/bloom_test.cc +=================================================================== +--- leveldb-0+20120530.gitdd0d562.orig/util/bloom_test.cc 2012-06-02 10:29:43.000000000 +0000 ++++ leveldb-0+20120530.gitdd0d562/util/bloom_test.cc 2012-07-16 19:15:47.000000000 +0000 +@@ -139,7 +139,7 @@ + fprintf(stderr, "False positives: %5.2f%% @ length = %6d ; bytes = %6d\n", + rate*100.0, length, static_cast<int>(FilterSize())); + } +- ASSERT_LE(rate, 0.02); // Must not be over 2% ++ ASSERT_LE(rate, 0.03); // Must not be over 3% + if (rate > 0.0125) mediocre_filters++; // Allowed, but not too often + else good_filters++; + } === modified file 'debian/patches/series' --- debian/patches/series 2012-06-14 10:38:40 +0000 +++ debian/patches/series 2012-07-16 19:28:20 +0000 @@ -11,3 +11,4 @@ 0102-kfreebsd.patch 0103-hurd.patch 0112-makefile_install.patch +9112-fix-bloom-test.patch