Perl is used to build the .info files. When neither "perl" nor "test" flags are enabled, ac_cv_path_PERL=no passed to configure also disables building and installing the .info files. One would expect that USE=doc is sufficient to get them installed. So we need "doc? ( dev-lang/perl )" in BDEPEND and COMMON_DEPEND; and the ac_cv_path_PERL=... line needs to be adjusted accordingly.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d2dfbde8b72aac769827dc0cbbb415af86f8004 commit 4d2dfbde8b72aac769827dc0cbbb415af86f8004 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2023-05-06 22:28:31 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2023-05-06 22:28:31 +0000 sys-libs/glibc: Enable perl also for USE=doc Closes: https://bugs.gentoo.org/904344 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-libs/glibc/glibc-2.37-r2.ebuild | 3 ++- sys-libs/glibc/glibc-9999.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)