aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flo@geekplace.eu>2021-04-19 21:04:24 +0200
committerFlorian Schmaus <flo@geekplace.eu>2021-04-19 21:05:14 +0200
commit10cc6ae8d05d268607e7368374fe3740b2815299 (patch)
tree873e8f5f5f3247ee751f4c6d8e2c7a800e8a6076 /app-arch
parentapp-admin/ananicy: missing dependency and metadata (diff)
downloadguru-10cc6ae8d05d268607e7368374fe3740b2815299.tar.gz
guru-10cc6ae8d05d268607e7368374fe3740b2815299.tar.bz2
guru-10cc6ae8d05d268607e7368374fe3740b2815299.zip
app-arch/tarlz: skip broken test case
Closes: https://bugs.gentoo.org/783846 Signed-off-by: Florian Schmaus <flo@geekplace.eu>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/tarlz/files/skip-broken-testcase.patch14
-rw-r--r--app-arch/tarlz/tarlz-0.19-r2.ebuild4
2 files changed, 18 insertions, 0 deletions
diff --git a/app-arch/tarlz/files/skip-broken-testcase.patch b/app-arch/tarlz/files/skip-broken-testcase.patch
new file mode 100644
index 000000000..949e4df5a
--- /dev/null
+++ b/app-arch/tarlz/files/skip-broken-testcase.patch
@@ -0,0 +1,14 @@
+--- a/testsuite/check.sh 2021-04-19 20:57:33.141266611 +0200
++++ b/testsuite/check.sh 2021-04-19 20:58:18.465330536 +0200
+@@ -1102,6 +1102,11 @@
+ [ $? = 2 ] || test_failed $LINENO $i
+ "${TARLZ}" -q -tf "${testdir}"/t155_fv${i}.tar.lz --permissive ||
+ test_failed $LINENO $i
++ if [ "${i}" = 5 ] ; then
++ # Skip broken test case. See gentoo bug #783846 and
++ # https://lists.nongnu.org/archive/html/lzip-bug/2021-04/msg00001.html
++ continue
++ fi
+ if [ "${ln_works}" = yes ] ; then
+ mkdir dir2 || framework_failure
+ "${TARLZ}" -C dir2 -xf "${testdir}"/t155_fv${i}.tar.lz --permissive ||
diff --git a/app-arch/tarlz/tarlz-0.19-r2.ebuild b/app-arch/tarlz/tarlz-0.19-r2.ebuild
index 5ecb5d3fe..86091b0f2 100644
--- a/app-arch/tarlz/tarlz-0.19-r2.ebuild
+++ b/app-arch/tarlz/tarlz-0.19-r2.ebuild
@@ -20,6 +20,10 @@ DEPEND="
$(unpacker_src_uri_depends)
"
+PATCHES=(
+ "${FILESDIR}/skip-broken-testcase.patch"
+)
+
src_configure() {
econf LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}"
}