Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711612 - media-video/mpv-0.32.0-r1 - QA notice - The ebuild is installing to one or more unexpected paths: /usr/share/doc/mpv
Summary: media-video/mpv-0.32.0-r1 - QA notice - The ebuild is installing to one or mo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-05 14:55 UTC by Francesco Turco
Modified: 2020-04-01 10:34 UTC (History)
2 users (show)

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


Attachments
build log (build.log,229.83 KB, text/plain)
2020-03-05 14:56 UTC, Francesco Turco
Details
emerge --info =media-video/mpv-0.32.0-r1 (info.txt,6.69 KB, text/plain)
2020-03-05 14:57 UTC, Francesco Turco
Details
Add --docdir support to waf-utils.eclass (0001-waf-utils.eclass-Support-docdir-and-htmldir.patch,1.87 KB, patch)
2020-03-05 19:45 UTC, Chris Mayo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Turco 2020-03-05 14:55:55 UTC
Portage reports the following QA notice when emerging media-video/mpv-0.32.0-r1:

> * The ebuild is installing to one or more unexpected paths:
> * 
> *   /usr/share/doc/mpv
> * 
> * Please fix the ebuild to use correct FHS/Gentoo policy paths.
Comment 1 Francesco Turco 2020-03-05 14:56:41 UTC
Created attachment 617170 [details]
build log
Comment 2 Francesco Turco 2020-03-05 14:57:35 UTC
Created attachment 617172 [details]
emerge --info =media-video/mpv-0.32.0-r1
Comment 3 Chris Mayo 2020-03-05 19:45:34 UTC
Created attachment 617178 [details, diff]
Add --docdir support to waf-utils.eclass

Best fixed I think in the waf-utils.eclass. I've sent the attached to the dev mailing list.
Comment 4 Larry the Git Cow gentoo-dev 2020-04-01 10:34:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e38913efbae82f8888a6232162b775f744da2f72

commit e38913efbae82f8888a6232162b775f744da2f72
Author:     Chris Mayo <aklhfex@gmail.com>
AuthorDate: 2020-03-24 19:49:57 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-04-01 10:34:10 +0000

    waf-utils.eclass: Support --docdir and --htmldir
    
    waf can optionally set the standard GNU directories [1].
    Based on the code for econf in Portage's phase-helpers.sh.
    
    [1] https://waf.io/apidocs/tools/gnu_dirs.html
    
    Closes: https://bugs.gentoo.org/711612
    Signed-off-by: Chris Mayo <aklhfex@gmail.com>
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 eclass/waf-utils.eclass | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)