Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 954379 - app-arch/rpm-4.20.1: "rpm --eval %_mandir" reports wrongly "/usr//usr/share/man"
Summary: app-arch/rpm-4.20.1: "rpm --eval %_mandir" reports wrongly "/usr//usr/share/man"
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Takuya Wakazono
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-24 21:33 UTC by Conrad Kostecki
Modified: 2025-04-24 21:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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