Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567764 - kde-apps/kteatime-15.08.3-r1 cmake failure - Unknown CMake command "kdoctools_create_handbook"
Summary: kde-apps/kteatime-15.08.3-r1 cmake failure - Unknown CMake command "kdoctools...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-08 09:11 UTC by DrSlony
Modified: 2015-12-10 17:59 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 DrSlony 2015-12-08 09:11:31 UTC
kde-apps/kteatime-15.08.3-r1 fails to emerge, fails at cmake stage:
  CMake Error at doc/CMakeLists.txt:4 (kdoctools_create_handbook):
    Unknown CMake command "kdoctools_create_handbook".

Complete build log:
https://bpaste.net/show/aab7574ba5d3

# emerge -pqv '=kde-apps/kteatime-15.08.3-r1::gentoo'
[ebuild     U ] kde-apps/kteatime-15.08.3-r1 [15.08.3] USE="-debug -handbook"
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-12-08 11:43:07 UTC
Do you have dev-libs/libpcre installed?
Comment 2 Marcin Mirosław 2015-12-08 13:54:46 UTC
I'm getting the same error.

$ eix libpcre
[I] dev-libs/libpcre
     Available versions:  (3) 7.9-r1 8.35 8.36 (~)8.37-r2 8.38
       {bzip2 +cxx doc +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  8.38(3)(09:37:04 25.11.2015)(bzip2 cxx jit pcre16 readline recursion-limit unicode zlib -libedit -pcre32 -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            http://www.pcre.org/
     Description:         Perl-compatible regular expression library
Comment 3 DrSlony 2015-12-08 14:02:54 UTC
Affirmative.

I ran perl-cleaner --reallyall, re-emerged dev-libs/libpcre
[ebuild   R    ] dev-libs/libpcre-8.38:3::gentoo  USE="bzip2 cxx jit pcre16 readline recursion-limit (unicode) zlib -libedit -pcre32 -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
and re-emerged kteatime. Fails with the same error.
I'm on cmake-3.3.1-r1
Comment 4 Michael Palimaka (kensington) gentoo-dev 2015-12-08 14:04:11 UTC
Should be fixed with this:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce4454e6c810066d91a65383aaaaff1402455154
Comment 5 Marcin Mirosław 2015-12-08 14:55:49 UTC
With this patch I'm getting the same error.
Comment 6 Andreas Sturmlechner gentoo-dev 2015-12-09 00:42:00 UTC
It will work with USE=handbook. The problem is these uppercase lines in CMakeLists.txt:

ADD_SUBDIRECTORY(doc)
ADD_SUBDIRECTORY(data)
ADD_SUBDIRECTORY(src)

comment_add_subdirectory doesn't work there, cmake-utils.eclass would need something similar to:

https://gitweb.gentoo.org/repo/gentoo.git/commit/eclass/kde5-functions.eclass?id=8bcc8a35c3323c11a068d0ce00eea377b9a6570c
Comment 7 Michael Palimaka (kensington) gentoo-dev 2015-12-10 17:59:25 UTC
Thanks, fixed in git by Andreas and tests OK this time. :)

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