I noticed a deprecation of libhugetlbfs here: https://bugs.gentoo.org/806079 After removing libhugetlbfs, nvme-cli had to be rebuilt due. Built then failed with: nvme.c:41:10: fatal error: hugetlbfs.h: No such file or directory 41 | #include <hugetlbfs.h> | ^~~~~~~~~~~~~ So it looks to me like sys-apps/nvme-cli has a missing declaration of dependency on libhugetlbfs. Reproducible: Always Steps to Reproduce: 1. Make sure you don't have libhugetlbfs installed 2. Try emerging nvme-cli Actual Results: Build failure For now the fix is easy - just emerge libhugetlbfs, of course if it does get removed as per https://bugs.gentoo.org/806079 things might get messier
Looks optional in the new Meson port: https://github.com/linux-nvme/nvme-cli/blob/79bdcbd0935bd531716aff97e065a9fbe4f16278/meson.build#L37.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ec2e30b2f1acf44e1b2c427b8a31f3a77f538e5 commit 3ec2e30b2f1acf44e1b2c427b8a31f3a77f538e5 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-26 07:32:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-26 07:33:25 +0000 sys-apps/nvme-cli: add 1.15 Closes: https://bugs.gentoo.org/820320 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/riscv/package.use.mask | 4 +++ sys-apps/nvme-cli/Manifest | 1 + sys-apps/nvme-cli/metadata.xml | 4 ++- sys-apps/nvme-cli/nvme-cli-1.15.ebuild | 50 ++++++++++++++++++++++++++++++++++ 4 files changed, 58 insertions(+), 1 deletion(-)
Thanks for the report!