summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2021-08-16 21:23:42 -0400
committerMichael Orlitzky <mjo@gentoo.org>2021-08-16 22:05:58 -0400
commit3e527a3041fd7e63f822b813a00201eccf235ea0 (patch)
treee33a0518776da1543f2c45625cfa1b52105cf66d /sci-libs/fflas-ffpack
parentsys-fs/avfs: keyworded 1.1.4 for hppa, bug #807361 (diff)
downloadgentoo-3e527a3041fd7e63f822b813a00201eccf235ea0.tar.gz
gentoo-3e527a3041fd7e63f822b813a00201eccf235ea0.tar.bz2
gentoo-3e527a3041fd7e63f822b813a00201eccf235ea0.zip
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@gentoo.org>
Diffstat (limited to 'sci-libs/fflas-ffpack')
-rw-r--r--sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r2.ebuild3
-rw-r--r--sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-test-fgesv.patch37
2 files changed, 39 insertions, 1 deletions
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 b97b581707a8..d13e3c0f530c 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 000000000000..a995c0518566
--- /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 <michael@orlitzky.com>
+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
+