Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677506 - kde-*/*[handbook]: EAPI-7 ebuilds install to /usr/share/help
Summary: kde-*/*[handbook]: EAPI-7 ebuilds install to /usr/share/help
Status: RESOLVED DUPLICATE of bug 667138
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-08 17:52 UTC by asears
Modified: 2019-02-09 09:56 UTC (History)
0 users

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 asears 2019-02-08 17:52:52 UTC
It appears the intent was to *include* /usr/share/help in the list of paths to look for documentation, however the patch actually causes KDE packages to install documentation in /usr/share/help instead of /usr/share/doc/HTML. This breaks the "nodoc" feature of portage, and may possibly have more unintended consequences.

Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2019-02-08 18:46:03 UTC
No, kdoctools is not causing other packages to install to /usr/share/help, packages themselves are installing now to /usr/share/help in EAPI-7.
Comment 2 Andreas Sturmlechner gentoo-dev 2019-02-08 18:47:11 UTC
If you don't want to have files installed in /usr/share/help by KDE packages, then set USE=-handbook globally.
Comment 3 Andreas Sturmlechner gentoo-dev 2019-02-08 18:48:50 UTC

*** This bug has been marked as a duplicate of bug 667138 ***
Comment 4 asears 2019-02-08 19:13:46 UTC
Sorry for assuming this was the reason. It was the only thing I could tell had changed.
The handbook USE flag is already disabled globally. So far kdoctools and gwenview have both installed files to /usr/share/help when previously they did not install these files anywhere. Is there another cause for this?
Comment 5 asears 2019-02-08 20:59:29 UTC
Disregard, the files were still in the image but were not installed due to FEATURES="nodoc". Adding /usr/share/help to INSTALL_MASK resolved the issue.
Comment 6 Andreas Sturmlechner gentoo-dev 2019-02-08 21:00:36 UTC
Yes, but there's still a bug there - gwenview ebuild needs to switch to KDE_HANDBOOK=forceoptional, so your report was not for nothing. ;)
Comment 7 Larry the Git Cow gentoo-dev 2019-02-09 09:52:18 UTC
The bug has been referenced in the following commit(s):

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

commit c8829674232d96fe0f9cb30f954fda37b193b752
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-02-08 20:12:47 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-02-09 09:52:00 +0000

    kde-apps/gwenview: Set KDE_HANDBOOK to forceoptional
    
    Bug: https://bugs.gentoo.org/677506
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/gwenview/gwenview-18.08.3-r1.ebuild | 2 +-
 kde-apps/gwenview/gwenview-18.12.2.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 8 Larry the Git Cow gentoo-dev 2019-02-09 09:56:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=7072d66372b3aa024a9fcc8bdb0b0ce20119822d

commit 7072d66372b3aa024a9fcc8bdb0b0ce20119822d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-02-08 20:12:47 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-02-09 09:55:41 +0000

    kde-apps/gwenview: Set KDE_HANDBOOK to forceoptional
    
    Bug: https://bugs.gentoo.org/677506
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/gwenview/gwenview-18.12.49.9999.ebuild | 2 +-
 kde-apps/gwenview/gwenview-9999.ebuild          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)