Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683800 - kde-apps/audiocd-kio-19.04.0 - CMake Error at kcmaudiocd/doc/CMakeLists.txt:3 (kdoctools_create_handbook): Unknown CMake command "kdoctools_create_handbook".
Summary: kde-apps/audiocd-kio-19.04.0 - CMake Error at kcmaudiocd/doc/CMakeLists.txt:3...
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-18 20:59 UTC by Lucas Matt
Modified: 2019-04-21 11:31 UTC (History)
2 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 Lucas Matt 2019-04-18 20:59:25 UTC
emerge =kde-apps/audiocd-kio-19.04.0 fails in configure phase as follows. This is on stable amd64 with kde-frameworks/-plasma/-apps from ~amd64.
I've already encountered this once in https://bugs.gentoo.org/show_bug.cgi?id=657678.

Thanks for looking into it.

>>> Emerging (1 of 1) kde-apps/audiocd-kio-19.04.0::gentoo
 * audiocd-kio-19.04.0.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking audiocd-kio-19.04.0.tar.xz to /var/tmp/portage/kde-apps/audiocd-kio-19.04.0/work
>>> Source unpacked in /var/tmp/portage/kde-apps/audiocd-kio-19.04.0/work
>>> Preparing source in /var/tmp/portage/kde-apps/audiocd-kio-19.04.0/work/audiocd-kio-19.04.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/kde-apps/audiocd-kio-19.04.0/work/audiocd-kio-19.04.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-apps/audiocd-kio-19.04.0/work/audiocd-kio-19.04.0_build"
cmake -C /var/tmp/portage/kde-apps/audiocd-kio-19.04.0/work/audiocd-kio-19.04.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DKDE_INSTALL_DOCBUNDLEDIR=/usr/share/help -DCMAKE_DISABLE_FIND_PACKAGE_FLAC=OFF -DCMAKE_DISABLE_FIND_PACKAGE_OggVorbis=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/kde-apps/audiocd-kio-19.04.0/work/audiocd-kio-19.04.0_build/gentoo_toolchain.cmake  /var/tmp/portage/kde-apps/audiocd-kio-19.04.0/work/audiocd-kio-19.04.0
loading initial cache file /var/tmp/portage/kde-apps/audiocd-kio-19.04.0/work/audiocd-kio-19.04.0_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could not set up the appstream test. appstreamcli is missing.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.57.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.57.0") 
-- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.57.0") 
-- Found KF5KCMUtils: /usr/lib64/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake (found version "5.57.0") 
-- Found KF5: success (found suitable version "5.57.0", minimum required is "5.24.0") found components:  Config I18n KIO KCMUtils 
-- Found Cdparanoia: /usr/lib/libcdda_paranoia.so;/usr/lib/libcdda_interface.so;-lm  
-- Performing Test CDDA_IOCTL_DEVICE_EXISTS
-- Performing Test CDDA_IOCTL_DEVICE_EXISTS - Success
-- Found FLAC: /usr/include  
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - found
-- Found OggVorbis: /usr/lib/libogg.so;/usr/lib/libvorbis.so;/usr/lib/libvorbisfile.so;/usr/lib/libvorbisenc.so
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
CMake Error at kcmaudiocd/doc/CMakeLists.txt:3 (kdoctools_create_handbook):
  Unknown CMake command "kdoctools_create_handbook".


-- Configuring incomplete, errors occurred!
Comment 1 SpikyAtLinux 2019-04-20 07:38:32 UTC
If I add handbook to the IUSE line and comment out KDE_HANDBOOK,the error is gone.

-#KDE_HANDBOOK="forceoptional"
+KDE_HANDBOOK="forceoptional"
 inherit kde5
 
 DESCRIPTION="kioslave for accessing audio CDs"
 LICENSE="GPL-2+ handbook? ( FDL-1.2 )"
 KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE="handbook flac vorbis"
+IUSE="flac vorbis"

I´ve copied ebuild to my local overlay and edit it there.

Regards
Comment 2 Larry the Git Cow gentoo-dev 2019-04-21 11:31:31 UTC
The bug has been closed via the following commit(s):

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

commit 432c86ff5bc167639785ed872da0024be92d6334
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-04-20 21:23:23 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2019-04-21 11:30:57 +0000

    kde-apps/audiocd-kio: Fix cmake configure with USE -handbook
    
    Closes: https://bugs.gentoo.org/683800
    Package-Manager: Portage-2.3.64, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/audiocd-kio/audiocd-kio-19.04.0.ebuild    |  2 ++
 .../files/audiocd-kio-19.04.0-handbook.patch       | 24 ++++++++++++++++++++++
 2 files changed, 26 insertions(+)