commit:     3e527a3041fd7e63f822b813a00201eccf235ea0
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 17 01:23:42 2021 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Aug 17 02:05:58 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e527a30

sci-libs/fflas-ffpack: add a patch to disable test-fgesv.

This test is flaky; disable it with a patch for now.

Closes: https://bugs.gentoo.org/807100
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r2.ebuild |  3 +-
 .../files/fflas-ffpack-2.4.3-no-test-fgesv.patch   | 37 ++++++++++++++++++++++
 2 files changed, 39 insertions(+), 1 deletion(-)

diff --git a/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r2.ebuild 
b/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r2.ebuild
index b97b581707a..d13e3c0f530 100644
--- a/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r2.ebuild
+++ b/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r2.ebuild
@@ -25,10 +25,11 @@ RDEPEND="${DEPEND}"
 
 # The no-test-echelon patch works around a test failure that may
 # eventually be fixed upstream. Gentoo bug 725446 and upstream
-# Github issue 282.
+# Github issue 282. Same for test-fgesv (bug 807100).
 PATCHES=(
        "${FILESDIR}/${PN}-2.3.2-blaslapack.patch"
        "${FILESDIR}/${P}-no-test-echelon.patch"
+       "${FILESDIR}/${P}-no-test-fgesv.patch"
        "${FILESDIR}/${P}-fix-internal-linking.patch"
        "${FILESDIR}/${P}-no-fabi-version.patch"
 )

diff --git a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-test-fgesv.patch 
b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-test-fgesv.patch
new file mode 100644
index 00000000000..a995c051856
--- /dev/null
+++ b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-test-fgesv.patch
@@ -0,0 +1,37 @@
+From 3f7a5f601e73491ac7c39cc848fa98fe6224978c Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <[email protected]>
+Date: Mon, 16 Aug 2021 21:19:39 -0400
+Subject: [PATCH 1/1] tests/Makefile.am: disable test-fgesv.
+
+This test can fail on Gentoo, and has been reported upstream. In the
+meantime, having it fail on end users is no good, so we disable it.
+
+Gentoo-bug: https://bugs.gentoo.org/807100
+Upstream-bug: https://github.com/linbox-team/fflas-ffpack/issues/341
+---
+ tests/Makefile.am | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index 62e92bc..83cf71f 100755
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -63,7 +63,6 @@ BASIC_TESTS =               \
+               test-io      \
+               test-maxdelayeddim \
+               test-solve \
+-              test-fgesv             \
+               test-simd \
+               test-fgemv \
+               test-nullspace \
+@@ -143,7 +142,6 @@ test_ftrtri_SOURCES            = test-ftrtri.C
+ #  test_fullranksubmatrix_SOURCES = test-fullranksubmatrix.C
+ #  test_invert_SOURCES            = test-invert.C
+ #  test_krylov_elim_SOURCES       = test-krylov-elim.C
+-test_fgesv_SOURCES             = test-fgesv.C
+ #  test_frobenius_SOURCES         = test-frobenius.C
+ test_nullspace_SOURCES = test-nullspace.C
+ test_fdot_SOURCES = test-fdot.C
+-- 
+2.31.1
+

Reply via email to