Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556082 - [kde overlay] kde-apps/kpat-9999 CMake Error at libkcardgame/CMakeLists.txt:12 (generate_export_header): Unknown CMake command "generate_export_header".
Summary: [kde overlay] kde-apps/kpat-9999 CMake Error at libkcardgame/CMakeLists.txt:1...
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-07-27 23:28 UTC by jospezial
Modified: 2015-07-31 11:48 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 jospezial 2015-07-27 23:28:44 UTC
* Package:    kde-apps/kpat-9999
 * Repository: kde
 * Maintainer: kde@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   ccache preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 * Fetching git://anongit.kde.org/kpat ...
git fetch git://anongit.kde.org/kpat +HEAD:refs/git-r3/HEAD
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git://anongit.kde.org/kpat
   05964e4..54976d7             -> refs/git-r3/HEAD
git symbolic-ref refs/git-r3/kde-apps/kpat/5/__main__ refs/heads/master
 * Checking out git://anongit.kde.org/kpat to /var/tmp/portage/kde-apps/kpat-9999/work/kpat-9999 ...
git checkout --quiet master
GIT update -->
   repository:               git://anongit.kde.org/kpat
   updating from commit:     05964e4575b154107cf32fec5d2d19d2a75879f2
   to commit:                54976d7126fd1bc909ccfc0b818a515b9782f980
 CMakeLists.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
>>> Source unpacked in /var/tmp/portage/kde-apps/kpat-9999/work
>>> Preparing source in /var/tmp/portage/kde-apps/kpat-9999/work/kpat-9999 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/kde-apps/kpat-9999/work/kpat-9999 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-apps/kpat-9999/work/kpat-9999_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/kde-apps/kpat-9999/work/kpat-9999_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-apps/kpat-9999/work/kpat-9999_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/kde-apps/kpat-9999/work/kpat-9999_build/gentoo_toolchain.cmake  /var/tmp/portage/kde-apps/kpat-9999/work/kpat-9999
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/kde-apps/kpat-9999/work/kpat-9999_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- Check for working C compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib64/ccache/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/lib64/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib64/ccache/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
-- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.13.0") 
-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.13.0") 
-- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.13.0") 
-- Found KF5DBusAddons: /usr/lib64/cmake/KF5DBusAddons/KF5DBusAddonsConfig.cmake (found version "5.13.0") 
-- Found KF5Declarative: /usr/lib64/cmake/KF5Declarative/KF5DeclarativeConfig.cmake (found version "5.13.0") 
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.5.1") 
-- Found PythonInterp: /usr/bin/python (found version "3.4.3") 
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.13.0") 
-- Found KF5GuiAddons: /usr/lib64/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.13.0") 
-- Found KF5ConfigWidgets: /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.13.0") 
-- Found KF5ItemViews: /usr/lib64/cmake/KF5ItemViews/KF5ItemViewsConfig.cmake (found version "5.13.0") 
-- Found KF5IconThemes: /usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.13.0") 
-- Found KF5Completion: /usr/lib64/cmake/KF5Completion/KF5CompletionConfig.cmake (found version "5.13.0") 
-- Found KF5TextWidgets: /usr/lib64/cmake/KF5TextWidgets/KF5TextWidgetsConfig.cmake (found version "5.13.0") 
-- Found KF5XmlGui: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.13.0") 
-- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.13.0") 
-- Found KF5NotifyConfig: /usr/lib64/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.13.0") 
-- Found KF5NewStuff: /usr/lib64/cmake/KF5NewStuff/KF5NewStuffConfig.cmake (found version "5.13.0") 
-- Found KF5DocTools: /usr/lib64/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.13.0") 
-- Found KF5: success (found version "5.13.0") found components:  CoreAddons Config WidgetsAddons Config DBusAddons Declarative I18n GuiAddons ConfigWidgets ItemViews IconThemes Completion TextWidgets XmlGui KIO NotifyConfig NewStuff DocTools 
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
CMake Error at libkcardgame/CMakeLists.txt:12 (generate_export_header):
  Unknown CMake command "generate_export_header".


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/kde-apps/kpat-9999/work/kpat-9999_build/CMakeFiles/CMakeOutput.log".
 * ERROR: kde-apps/kpat-9999::kde failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 4069:  Called kde5_src_configure
 *   environment, line 3108:  Called cmake-utils_src_configure
 *   environment, line 1142:  Called _execute_optionally 'src_configure'
 *   environment, line  453:  Called enable_cmake-utils_src_configure
 *   environment, line 1474:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=kde-apps/kpat-9999::kde'`,
 * the complete build log and the output of `emerge -pqv '=kde-apps/kpat-9999::kde'`.
 * The complete build log is located at '/var/tmp/portage/kde-apps/kpat-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-apps/kpat-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-apps/kpat-9999/work/kpat-9999_build'
 * S: '/var/tmp/portage/kde-apps/kpat-9999/work/kpat-9999'
Comment 1 jospezial 2015-07-27 23:35:07 UTC
This could be a regression or deprecation of cmake-3.3.0 .

I have read that in cmake-3.3.0 they changed something at the generators.

I will downgrade and try again if nobody sees another cause.
Comment 2 jospezial 2015-07-28 19:32:26 UTC
I get the same error when I try to compile with dev-util/cmake-3.2.3 .

So it is not related to cmake-3.3.0 update.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2015-07-31 11:48:58 UTC
Fixed upstream.

http://quickgit.kde.org/?p=kpat.git&a=commit&h=7c2f73d373e9d957b8cff75d62ea65a826d90548