commit: b825c4280dc809870568b6280f787ac82105f4bb Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Sat Feb 14 15:08:38 2026 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sat Feb 14 15:10:48 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b825c428
sys-fs/lvm2: require full lvm for test We do a partial build when the lvm USE flag is disabled, which causes many extra targets to be built in the src_test phase. Instead of trying to trace out the required targets and their dependencies, just require a full lvm build to run tests. Closes: https://bugs.gentoo.org/970083 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> sys-fs/lvm2/lvm2-2.03.38.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys-fs/lvm2/lvm2-2.03.38.ebuild b/sys-fs/lvm2/lvm2-2.03.38.ebuild index 3cd7b856c546..a73547570b5c 100644 --- a/sys-fs/lvm2/lvm2-2.03.38.ebuild +++ b/sys-fs/lvm2/lvm2-2.03.38.ebuild @@ -14,13 +14,15 @@ S="${WORKDIR}/${PN^^}.${PV}" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="lvm nvme readline sanlock selinux static static-libs systemd thin +udev valgrind xfs" +IUSE="lvm nvme readline sanlock selinux static static-libs systemd test thin +udev valgrind xfs" REQUIRED_USE=" static? ( !systemd !udev !nvme ) static-libs? ( static !udev ) systemd? ( udev ) + test? ( lvm ) thin? ( lvm ) " +RESTRICT="!test? ( test )" # Doesn't strictly need >=sanlock-4.0.0 but autodetects features, so pick # the best we have for predictability. Ditto systemd.
