Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667138 - kde-*/*: The ebuild is installing to one or more unexpected paths / One or more compressed files were found in docompress-ed directories
Summary: kde-*/*: The ebuild is installing to one or more unexpected paths / 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: Gentoo KDE team
URL: https://archives.gentoo.org/gentoo-de...
Whiteboard: fixed in EAPI-7
Keywords: PullRequest
: 668626 668628 668694 677506 (view as bug list)
Depends on: frameworks-5.57.0-stable plasma-5.15.5-stable
Blocks:
  Show dependency tree
 
Reported: 2018-09-26 21:07 UTC by Jonas Stein
Modified: 2019-09-08 16:19 UTC (History)
3 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 Jonas Stein gentoo-dev 2018-09-26 21:07:39 UTC
* The ebuild is installing to one or more unexpected paths:
 * 
 *   /usr/share/doc/HTML
 * 
 * Please fix the ebuild to use correct FHS/Gentoo policy paths.
Comment 1 Andreas Sturmlechner gentoo-dev 2018-09-29 14:51:22 UTC
Usage of this path dates back to *at least* 2008 and was mentioned first in kde4-base.eclass with the exception to not compress it with EAPI 4 in 2011. All KDE handbook files need to be below the same subdirectory for khelpcenter to find the docs. If this is now suddenly a problem, then please advise how else to solve this.
Comment 2 Andreas Sturmlechner gentoo-dev 2018-10-14 15:32:00 UTC
*** Bug 668626 has been marked as a duplicate of this bug. ***
Comment 3 Andreas Sturmlechner gentoo-dev 2018-10-14 15:38:25 UTC
*** Bug 668628 has been marked as a duplicate of this bug. ***
Comment 4 Andreas Sturmlechner gentoo-dev 2018-10-16 08:41:31 UTC
Another problem is detection of the index.cache (that is compressed to bz2):

 * Please fix the ebuild not to install compressed files (manpages,
 * documentation) when automatic compression is used:
 * 
 *   /usr/share/doc/HTML/en/kwrite/index.cache.bz2
 *   /usr/share/doc/HTML/de/kwrite/index.cache.bz2
Comment 5 Andreas Sturmlechner gentoo-dev 2018-10-16 08:54:36 UTC
*** Bug 668694 has been marked as a duplicate of this bug. ***
Comment 6 Andreas Sturmlechner gentoo-dev 2018-10-16 12:51:59 UTC
To circumvent these QA warnings, we could simply set HTML_INSTALL_DIR inside kde5.eclass to a directory outside of /usr/share/doc.
Comment 7 Andreas Sturmlechner gentoo-dev 2019-01-24 23:36:27 UTC
Opinions? Should we just pull a 'gtk-doc'? Is that acceptable to QA?
Comment 8 Larry the Git Cow gentoo-dev 2019-01-29 17:22:50 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=41f803a7f62ba178bff82b78e4455e271587a243

commit 41f803a7f62ba178bff82b78e4455e271587a243
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-01-28 22:25:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-01-28 22:41:16 +0000

    kde-frameworks/kdoctools: Add /usr/share/help dir to list of doc dirs
    
    This is fed to kio_help from kde-frameworks/kio to populate
    kde-apps/khelpcenter runtime content.
    
    Bug: https://bugs.gentoo.org/667138
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../kdoctools-5.54.0-gentoo-docbundledir.patch     | 26 ++++++++++++++++++++++
 kde-frameworks/kdoctools/kdoctools-9999.ebuild     |  2 ++
 2 files changed, 28 insertions(+)

https://gitweb.gentoo.org/proj/kde.git/commit/?id=290bbd89e17c723ca268f36ed01d2256c372a015

commit 290bbd89e17c723ca268f36ed01d2256c372a015
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-01-28 19:29:12 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-01-28 22:34:42 +0000

    kde5.eclass: Relocate KDE_INSTALL_DOCBUNDLEDIR to /usr/share/help
    
    These are handbook files installed by hundreds of packages to a
    central location, to be accessed by KDE Helpcenter application,
    with compressed index cache files.
    
    This leads to the following QA issues on every package w/ USE handbook:
    * The ebuild is installing to one or more unexpected paths
    * One or more compressed files were found in docompress-ed directories
    
    We'll use the EAPI-7 transition to move the location from previously
    /usr/share/doc/HTML to /usr/share/help [1]. Transition for khelpcenter
    will be seemless as kde-frameworks/kdoctools can be easily patched to
    accept both locations, until eventually /usr/share/doc/HTML is empty.
    
    As a side-effect, we will be able to drop the workaround for disabling
    auto compression of files beneath /usr/share/doc together with EAPI-6.
    
    [1] See also: https://www.freedesktop.org/wiki/Specifications/help-system/
        It is also the path upstream intends to migrate to in the future.
    
    Bug: https://bugs.gentoo.org/667138
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/kde5.eclass | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2019-02-07 13:00:58 UTC
The bug has been referenced in the following commit(s):

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

commit 68f1813bb6ff036b2f3d250effcaad28c051a20d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-01-28 19:29:12 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-02-07 12:59:56 +0000

    kde5.eclass: Relocate KDE_INSTALL_DOCBUNDLEDIR to /usr/share/help
    
    These are handbook files installed by hundreds of packages to a
    central location, to be accessed by KDE Helpcenter application,
    with compressed index cache files.
    
    This leads to the following QA issues on every package w/ USE handbook:
    * The ebuild is installing to one or more unexpected paths
    * One or more compressed files were found in docompress-ed directories
    
    We'll use the EAPI-7 transition to move the location from previously
    /usr/share/doc/HTML to /usr/share/help [1]. Transition for khelpcenter
    will be seemless as kde-frameworks/kdoctools can be easily patched to
    accept both locations, until eventually /usr/share/doc/HTML is empty.
    
    As a side-effect, we will be able to drop the workaround for disabling
    auto compression of files beneath /usr/share/doc together with EAPI-6.
    
    [1] See also: https://www.freedesktop.org/wiki/Specifications/help-system/
        It is also the path upstream intends to migrate to in the future.
    
    Bug: https://bugs.gentoo.org/667138
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/kde5.eclass | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
Comment 10 Andreas Sturmlechner gentoo-dev 2019-02-08 18:48:50 UTC
*** Bug 677506 has been marked as a duplicate of this bug. ***
Comment 11 Andreas Sturmlechner gentoo-dev 2019-09-08 16:19:49 UTC
All packages w/ USE handbook have been migrated to EAPI-7.