Summary: | kde-plasma/kdecoration-5.4.1 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Giacomo <delleceste> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
CMakeLists.txt
CMakeLists.txt v2 |
Description
Giacomo
2015-09-21 08:21:48 UTC
Which version of kde-frameworks/extra-cmake-modules do you have? Are there any stray KDEInstallDirs.cmake on your system? Hello. Thanks for your kind reply. woody src # find / -iname "*KDEInstallDir*" find: ‘/run/user/1000/gvfs’: Permission denied /usr/share/ECM/kde-modules/KDEInstallDirs.cmake woody giacomo # equery belongs /usr/share/ECM/kde-modules/KDEInstallDirs.cmake * Searching for /usr/share/ECM/kde-modules/KDEInstallDirs.cmake ... kde-frameworks/extra-cmake-modules-5.14.0 (/usr/share/ECM/kde-modules/KDEInstallDirs.cmake) So, in my system there's only /usr/share/ECM/kde-modules/KDEInstallDirs.cmake installed by kde-frameworks/extra-cmake-modules-5.14.0. Best regards, Giacomo. Created attachment 412802 [details]
CMakeLists.txt
Could you please copy this CMakeLists.txt to an empty directory, run "cmake ." and add the output here?
Hello! Here it is! giacomo@woody /tmp/testCMake $ cmake . -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- 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/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:6 (include): include could not find load file: KDEInstallDirs -- CMAKE_INSTALL_INCLUDEDIR_KF5: -- KF5_INCLUDE_INSTALL_DIR: -- KF5_INSTALL_TARGETS_DEFAULT_ARGS: -- Configuring incomplete, errors occurred! See also "/tmp/testCMake/CMakeFiles/CMakeOutput.log". Hello! Any news? Still can't build kdecoration. Thanks Giacomo. (In reply to Giacomo from comment #5) > Hello! > Any news? > Still can't build kdecoration. > > Thanks > > Giacomo. Have you tested 5.4.2 (available in the overlay)? Created attachment 414116 [details]
CMakeLists.txt v2
It looks like it could be a cmake path issue. Could you please try this second debug CMakeLists.txt ?
Thanks for your help. Here's the output now: -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- 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/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- CMAKE_MODULE_PATH1: -- CMAKE_MODULE_PATH2: /usr/local/share/ECM/modules//usr/local/share/ECM/find-modules//usr/local/share/ECM/kde-modules//usr/local/share/ECM/kde-modules/ -- ECM_MODULE_PATH: /usr/local/share/ECM/modules//usr/local/share/ECM/find-modules//usr/local/share/ECM/kde-modules/ -- ECM_KDE_MODULE_DIR: /usr/local/share/ECM/kde-modules/ -- Configuring done -- Generating done -- Build files have been written to: /tmp/cmaketest giacomo@woody /tmp/cmaketest $ ls CMakeCache.txt CMakeFiles cmake_install.cmake CMakeLists.txt Makefile Best regards, Giacomo. What's in /usr/local/share, anything cmake/ECM-related? I think that it was the issue... Now it has successfully built... I thank You very much for your help. There were some leftover files deriving from an old kde plasma git installation from kde sources... Best regards. Giacomo. |