Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 954379

Summary: app-arch/rpm-4.20.1: "rpm --eval %_mandir" reports wrongly "/usr//usr/share/man"
Product: Gentoo Linux Reporter: Conrad Kostecki <conikost>
Component: Current packagesAssignee: Takuya Wakazono <pastalian46>
Status: CONFIRMED ---    
Severity: normal CC: conikost, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=954347
https://bugs.gentoo.org/show_bug.cgi?id=766516
https://github.com/gentoo/gentoo/pull/41772
Whiteboard:
Package list:
Runtime testing required: ---

Description Conrad Kostecki gentoo-dev 2025-04-24 21:33:05 UTC
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?
Comment 1 Conrad Kostecki gentoo-dev 2025-04-24 21:37:10 UTC
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