I have USE=-tools in /etc/portage/make.conf (I usually don't want them, and prefer to enable that flag package by package in /etc/portage/package.use). With the latest "upgrade" of sys-fs/e2fsprogs, the ext2fs headers don't get built by default (without the tools USE flag). The app-arch/libarchive package requires these headers to build.
Created attachment 769853 [details] build_log.text
@base-system, is it really intentional that USE=tools controls installing headers? This is at least mildly confusing.
I can confirm this for arm64 with app-arch/libarchive-3.6.1 and sys-fs/e2fsprogs-1.46.5. The tools are [partly?] provided by busybox.
(In reply to Michał Górny from comment #2) > @base-system, is it really intentional that USE=tools controls installing > headers? This is at least mildly confusing. That certainly doesn't sound right.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f20674a2ffa68abbe6123c78356cc3dffd907171 commit f20674a2ffa68abbe6123c78356cc3dffd907171 Author: David Seifert <soap@gentoo.org> AuthorDate: 2022-04-19 07:21:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-04-19 13:11:49 +0000 sys-fs/e2fsprogs: install all libraries unconditionally Closes: https://bugs.gentoo.org/837668 Signed-off-by: David Seifert <soap@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/25096 Signed-off-by: Sam James <sam@gentoo.org> ...gs-1.46.5.ebuild => e2fsprogs-1.46.5-r1.ebuild} | 68 ++++++++++------------ 1 file changed, 32 insertions(+), 36 deletions(-)