dev-libs/raft: drop 0.11.3-r1

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Joonas Niilola
2022-06-04 09:04:22 +03:00
parent 6b919770b8
commit db774dfc6a
3 changed files with 0 additions and 88 deletions

View File

@@ -1,2 +1 @@
DIST raft-0.11.3.tar.gz 329571 BLAKE2B 08b145bfbcc26b50f69c550599978ed365ccbbd021b9c4699784c08bd7e0f17f366b1709c22df1a467fbdb524668a753f431744419da8f18d57ea52c5b33de38 SHA512 7d1a7455ff8d58ed1f3d259cade1c74fcb22732a55242dcf761cc6554739c0ea1c462aa02591d28d8fa2b343b23e6261a5e15d02e2a31467969b7d9f9f3b5e92
DIST raft-0.13.0.tar.gz 332490 BLAKE2B 8d14e07b12d4f5a7eadb626b72a90b4defffaee26804a982f257ef80f75ff47ccf434a7dc6b62f36177120cd12ce8c772a6f293e9ad48c61df277b10c0df1854 SHA512 1d65f21ac85deb36a6f8681bd506656a34994164ba51f7c23aa523673024dacf5616bbb3f706c0da4df38c0cc1a00b330459209c80d404545686525da2916afa

View File

@@ -1,31 +0,0 @@
commit e0948518f6eedad85c7705fb3963cfdda3627d8f
Author: Reto Gantenbein <reto.gantenbein@linuxmonk.ch>
Date: Thu Oct 22 00:19:31 2020 +0200
Always skip init/oom test
The RPM package build in COPR is being executed on a tmpfs which
always results in a failure of this test:
init/oom
heap-fault-delay=1, heap-fault-repeat=1 [ ERROR ]
Error: test/integration/test_uv_init.c:156: assertion failed: _rv == 1 (0 == 1)
Instead only for certain architectures we always skip this test.
For more informations see https://github.com/ganto/copr-lxc4/issues/8
diff --git a/test/integration/test_uv_init.c b/test/integration/test_uv_init.c
index 8c9b5f7..57db7f3 100644
--- a/test/integration/test_uv_init.c
+++ b/test/integration/test_uv_init.c
@@ -144,10 +144,8 @@ static MunitParameterEnum oomParams[] = {
TEST(init, oom, setUp, tearDown, 0, oomParams)
{
struct fixture *f = data;
-#if defined(__i686__)
/* XXX: tmpfs seems to not support O_DIRECT */
return MUNIT_SKIP;
-#endif
#if defined(__powerpc64__)
/* XXX: fails on ppc64el */
return MUNIT_SKIP;

View File

@@ -1,56 +0,0 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="C implementation of the Raft consensus protocol"
HOMEPAGE="https://github.com/canonical/raft"
SRC_URI="https://github.com/canonical/raft/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3-with-linking-exception"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~x86"
IUSE="lz4 test zfs"
RESTRICT="!test? ( test )"
DEPEND="dev-libs/libuv:=
lz4? ( app-arch/lz4:= )"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/raft-0.9.25-Always-skip-init-oom-test.patch
"${FILESDIR}"/raft-0.10.0-toggle-zfs.patch
"${FILESDIR}"/raft-0.11.3-disable-automagic-check-for-lz4.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=(
--enable-uv
--disable-benchmark
--disable-debug
--disable-example
--disable-sanitize
--disable-static
$(use_enable lz4)
$(use_enable test fixture)
$(use_with zfs)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}