media-sound/yoshimi-1.7.1-r1 * The ebuild is installing to one or more unexpected paths: * * /usr/share/doc/yoshimi-1.7.1 * * Please fix the ebuild to use correct FHS/Gentoo policy paths. It's caused by this weird and wrong src_install: src_install() { cmake_src_install mv "${D}"/usr/share/doc/yoshimi "${D}"/usr/share/doc/${P} } 'P' should be 'PF' here, and external command (mv) needs to be appended with || die "failed to move doc directory."
Saying "weird" because ideally you'd add a patch to correct the doc dir, or check whether cmake accepts a configure option for it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab860e693eaa9c4c7a0962d3ccf352136fe4178f commit ab860e693eaa9c4c7a0962d3ccf352136fe4178f Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-08-21 22:44:58 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-08-22 16:05:55 +0000 media-sound/yoshimi: 1.7.2 version bump, fix doc install dir Closes: https://bugs.gentoo.org/736846 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> media-sound/yoshimi/Manifest | 1 + media-sound/yoshimi/yoshimi-1.7.2.ebuild | 50 ++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+)