By accident, I found out, that apparently executing "rpm --eval %_mandir" reports wrongly "/usr//usr/share/man". The background was, that dev-util/statifier was using as fallback "rpm --eval %_mandir" to get the man page dir, which is anyway wrong. Could be related to wrong EPREFIX?
This seems present in all versions in tree: 4.20.0: $ rpm --eval %_mandir /usr//usr/share/man 4.20.1: $ rpm --eval %_mandir /usr//usr/share/man
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6781dee7f8db901895c470343cf4a0e443ede35a commit 6781dee7f8db901895c470343cf4a0e443ede35a Author: Takuya Wakazono <pastalian46@gmail.com> AuthorDate: 2025-04-26 15:45:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-29 19:43:59 +0000 app-arch/rpm: fix infodir and mandir macros By default, infodir and mandir macros are set to `\${prefix}/${CMAKE_INSTALL_*DIR}`, assuming ${CMAKE_INSTALL_*DIR} are relative paths, but cmake.eclass sets them to absolute paths including prefix. Closes: https://bugs.gentoo.org/954379 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41772 Closes: https://github.com/gentoo/gentoo/pull/41772 Signed-off-by: Sam James <sam@gentoo.org> app-arch/rpm/{rpm-4.20.1.ebuild => rpm-4.20.1-r1.ebuild} | 4 ++++ 1 file changed, 4 insertions(+)