1 |
commit: 10cc6ae8d05d268607e7368374fe3740b2815299 |
2 |
Author: Florian Schmaus <flo <AT> geekplace <DOT> eu> |
3 |
AuthorDate: Mon Apr 19 19:04:24 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Mon Apr 19 19:05:14 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=10cc6ae8 |
7 |
|
8 |
app-arch/tarlz: skip broken test case |
9 |
|
10 |
Closes: https://bugs.gentoo.org/783846 |
11 |
Signed-off-by: Florian Schmaus <flo <AT> geekplace.eu> |
12 |
|
13 |
app-arch/tarlz/files/skip-broken-testcase.patch | 14 ++++++++++++++ |
14 |
app-arch/tarlz/tarlz-0.19-r2.ebuild | 4 ++++ |
15 |
2 files changed, 18 insertions(+) |
16 |
|
17 |
diff --git a/app-arch/tarlz/files/skip-broken-testcase.patch b/app-arch/tarlz/files/skip-broken-testcase.patch |
18 |
new file mode 100644 |
19 |
index 000000000..949e4df5a |
20 |
--- /dev/null |
21 |
+++ b/app-arch/tarlz/files/skip-broken-testcase.patch |
22 |
@@ -0,0 +1,14 @@ |
23 |
+--- a/testsuite/check.sh 2021-04-19 20:57:33.141266611 +0200 |
24 |
++++ b/testsuite/check.sh 2021-04-19 20:58:18.465330536 +0200 |
25 |
+@@ -1102,6 +1102,11 @@ |
26 |
+ [ $? = 2 ] || test_failed $LINENO $i |
27 |
+ "${TARLZ}" -q -tf "${testdir}"/t155_fv${i}.tar.lz --permissive || |
28 |
+ test_failed $LINENO $i |
29 |
++ if [ "${i}" = 5 ] ; then |
30 |
++ # Skip broken test case. See gentoo bug #783846 and |
31 |
++ # https://lists.nongnu.org/archive/html/lzip-bug/2021-04/msg00001.html |
32 |
++ continue |
33 |
++ fi |
34 |
+ if [ "${ln_works}" = yes ] ; then |
35 |
+ mkdir dir2 || framework_failure |
36 |
+ "${TARLZ}" -C dir2 -xf "${testdir}"/t155_fv${i}.tar.lz --permissive || |
37 |
|
38 |
diff --git a/app-arch/tarlz/tarlz-0.19-r2.ebuild b/app-arch/tarlz/tarlz-0.19-r2.ebuild |
39 |
index 5ecb5d3fe..86091b0f2 100644 |
40 |
--- a/app-arch/tarlz/tarlz-0.19-r2.ebuild |
41 |
+++ b/app-arch/tarlz/tarlz-0.19-r2.ebuild |
42 |
@@ -20,6 +20,10 @@ DEPEND=" |
43 |
$(unpacker_src_uri_depends) |
44 |
" |
45 |
|
46 |
+PATCHES=( |
47 |
+ "${FILESDIR}/skip-broken-testcase.patch" |
48 |
+) |
49 |
+ |
50 |
src_configure() { |
51 |
econf LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}" |
52 |
} |