Created attachment 697035 [details] build.log This was found on a minimal Prefix installation. Installing sys-devel/autoconf-archive fixes the issue.
Created attachment 697038 [details] config.log
What a coincidence: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f40161d7c0c9634a2031386b7d6e55621c7243ea.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=03207a4f8e0fc9f725dc2b36efe894771ec3f2a8 commit 03207a4f8e0fc9f725dc2b36efe894771ec3f2a8 Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-04-04 08:36:33 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-04-04 08:36:33 +0000 dev-lang/python: sync Closes: https://bugs.gentoo.org/779889 Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2 Signed-off-by: Fabian Groffen <grobian@gentoo.org> dev-lang/python/Manifest | 7 + dev-lang/python/python-3.8.8_p1.ebuild | 413 +++++++++++++++++++++++++++++++++ dev-lang/python/python-3.9.3.ebuild | 409 ++++++++++++++++++++++++++++++++ 3 files changed, 829 insertions(+)