Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829998 - sci-mathematics/rkward-0.7.2: CMake Error at CMakeLists.txt:57 (KDOCTOOLS_INSTALL): Unknown CMake command "KDOCTOOLS_INSTALL"
Summary: sci-mathematics/rkward-0.7.2: CMake Error at CMakeLists.txt:57 (KDOCTOOLS_INS...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2021-12-26 10:34 UTC by Milos Popovic
Modified: 2022-01-07 14:21 UTC (History)
3 users (show)

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


Attachments
rkward-0.7.2-r1.ebuild (rkward-0.7.2-r1.ebuild,1.27 KB, text/plain)
2021-12-26 10:34 UTC, Milos Popovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milos Popovic 2021-12-26 10:34:43 UTC
Created attachment 760207 [details]
rkward-0.7.2-r1.ebuild

1. Compiling rkward with USE="-handbook" does not work. Compilation fails at configure stage.

CMake Error at CMakeLists.txt:57 (KDOCTOOLS_INSTALL):
  Unknown CMake command "KDOCTOOLS_INSTALL".


2. Second, I propose to add several run time dependencies throu USE flags for rkward (minimal bibtex markdown), which should install additional packages (kate, kbibtex and pandoc respectively). Those changes are incorporated in the ebuild attached along this bug.
Comment 1 Mike Gilbert gentoo-dev 2021-12-26 16:44:37 UTC
Please include the package category in the summary when creating bug reports.
Comment 2 Andreas Sturmlechner gentoo-dev 2021-12-26 16:59:49 UTC
Runtime only IUSE are banned.
Comment 3 Andreas Sturmlechner gentoo-dev 2021-12-26 19:57:52 UTC
(In reply to Milos Popovic from comment #0)
> 1. Compiling rkward with USE="-handbook" does not work. Compilation fails at
> configure stage.
> 
> CMake Error at CMakeLists.txt:57 (KDOCTOOLS_INSTALL):
>   Unknown CMake command "KDOCTOOLS_INSTALL".
This appears to be the first package in years where the eclass function fails because of using uppercase letters here.

(In reply to Milos Popovic from comment #0)
> Created attachment 760207 [details]
> rkward-0.7.2-r1.ebuild
> 2. Second, I propose to add several run time dependencies throu USE flags
> for rkward (minimal bibtex markdown), which should install additional
> packages (kate, kbibtex and pandoc respectively). Those changes are
> incorporated in the ebuild attached along this bug.
All these dependencies are announced through the RKward setup wizard, so they are highly visible to the user and will not be missed without having IUSE for them.

What we can do is add the missing bits (kate is already covered) as optfeature messages in pkg_postinst.
Comment 4 Larry the Git Cow gentoo-dev 2021-12-26 20:39:03 UTC
The bug has been referenced in the following commit(s):

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

commit b1a39345045e820f3a56984bf3e11ba8919d8b9e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-12-26 20:35:51 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-12-26 20:38:32 +0000

    sci-mathematics/rkward: Add more optfeature to pkg_postinst
    
    Reported-by: Milos Popovic <gpopac@gmail.com>
    Bug: https://bugs.gentoo.org/829998
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-mathematics/rkward/rkward-9999.ebuild | 2 ++
 1 file changed, 2 insertions(+)

https://gitweb.gentoo.org/proj/kde.git/commit/?id=4635dbecb2ee1129f6f7cde8a29fc27a618ecbbe

commit 4635dbecb2ee1129f6f7cde8a29fc27a618ecbbe
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-12-26 20:14:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-12-26 20:38:03 +0000

    ecm.eclass: Case-insensitivity for grep and sed
    
    Reported-by: Milos Popovic <gpopac@gmail.com>
    Bug: https://bugs.gentoo.org/829998
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/ecm.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 5 Milos Popovic 2021-12-26 22:58:59 UTC
Thank you all for detailed comments and quick fixes. I haven’t used Gentoo for a few years, thus I am a bit rusty and some things have changed in the mean time :)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-26 23:07:21 UTC
(In reply to Milos Popovic from comment #5)
> Thank you all for detailed comments and quick fixes. I haven’t used Gentoo
> for a few years, thus I am a bit rusty and some things have changed in the
> mean time :)

Welcome back. Remember the IRC and other support forums are around if you need help.

Note that asturm's eclass commit is only in ::kde (the KDE overlay) for now, but it will get pushed to ::gentoo (the main repository) in due course.
Comment 7 Larry the Git Cow gentoo-dev 2022-01-07 14:21:57 UTC
The bug has been closed via the following commit(s):

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

commit c2522b493bf5d0b1041111fab10c69d491259a86
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-12-29 12:17:43 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-01-07 14:21:38 +0000

    sci-mathematics/rkward: EAPI-8, more optfeature, various fixes
    
    KDE-bug: https://bugs.kde.org/show_bug.cgi?id=389914
    KDE-bug: https://bugs.kde.org/show_bug.cgi?id=430680
    KDE-bug: https://bugs.kde.org/show_bug.cgi?id=438993
    
    Reported-by: Milos Popovic <gpopac@gmail.com>
    Closes: https://bugs.gentoo.org/829998
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/rkward-0.7.2-fix-crash-w-R-4.1.0.patch   |  99 ++++++++++++
 .../files/rkward-0.7.2-fix-dark-themes.patch       | 172 +++++++++++++++++++++
 .../files/rkward-0.7.2-fix-eop-tag-in-html.patch   |  32 ++++
 .../files/rkward-0.7.2-fix-hang-on-exit.patch      |  28 ++++
 .../rkward/files/rkward-0.7.2-fix-hidpi.patch      |  25 +++
 sci-mathematics/rkward/rkward-0.7.2-r1.ebuild      |  64 ++++++++
 6 files changed, 420 insertions(+)

Additionally, it has been referenced in the following commit(s):

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

commit b068f2b2031c152888510f5657afe3d3a07113fa
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-12-26 20:14:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-01-07 14:21:38 +0000

    ecm.eclass: Case-insensitivity for grep and sed
    
    Reported-by: Milos Popovic <gpopac@gmail.com>
    Bug: https://bugs.gentoo.org/829998
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 eclass/ecm.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)