To build a static lvm2 binary with 2.02.178 or newer (only 2.02.181 in gentoo) requires dev-libs/libaio build with static-libs useflag. Generally the dependency on libaio is missing, which is required since version 2.02.178-rc1 - 24th May 2018 (see https://github.com/lvmteam/lvm2/blob/master/WHATS_NEW line 24).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f3787c1295f4224b34e20beac7b7b4ffd565bf4 commit 2f3787c1295f4224b34e20beac7b7b4ffd565bf4 Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2018-08-31 16:15:10 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2018-08-31 16:15:54 +0000 sys-fs/lvm2: missing libaio dep Fixes: https://bugs.gentoo.org/664738 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Package-Manager: Portage-2.3.48, Repoman-2.3.10 sys-fs/lvm2/lvm2-2.02.181.ebuild | 3 +++ 1 file changed, 3 insertions(+)
*** Bug 662836 has been marked as a duplicate of this bug. ***