Bug 381498 - CMake fails since it does not find file 'CMakeFindDependencyMacro'
Summary: CMake fails since it does not find file 'CMakeFindDependencyMacro'
Status: RESOLVED WORKSFORME
Alias: None
Product: massif-visualizer
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 0.4
Assignee: Massif Visualizer developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-21 17:58 UTC by science
Modified: 2022-12-06 05:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description science 2017-06-21 17:58:54 UTC
Hello there,

currently I'm trying to compile massif-visualizer from the git repository. As stated in the INSTALL file I created a directory 'build' and executed 'cmake ..'. At first CMake complained that certain dependencies are missing. Due to this, I installed the following packages with 'yum' (Scientific Linux 7.3):

kf5-kconfig-gui-5.33.0-1.el7.x86_64
kf5-kconfig-devel-5.33.0-1.el7.x86_64
kf5-kconfig-core-5.33.0-1.el7.x86_64
kf5-kconfig-5.33.0-1.el7.x86_64
kf5-karchive-devel-5.33.0-1.el7.x86_64
kf5-karchive-5.33.0-1.el7.x86_64
kf5-filesystem-5.33.0-1.el7.x86_64
qt5-qtxmlpatterns-devel-5.6.1-10.el7.x86_64
qt5-qtsvg-devel-5.6.1-10.el7.x86_64
qt5-qtsvg-5.6.1-10.el7.x86_64
kf5-rpm-macros-5.33.0-1.el7.noarch
extra-cmake-modules-5.33.0-1.el7.noarch

Now CMake seems to be satisfied with all dependencies, however, it now fails with the following error message:

-- Could not set up the appstream test. appstreamcli is missing.
CMake Error at /usr/lib64/cmake/KF5Archive/KF5ArchiveConfig.cmake:37 (include):
  include could not find load file:

    CMakeFindDependencyMacro
Call Stack (most recent call first):
  /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
  CMakeLists.txt:34 (find_package)


CMake Error at /usr/lib64/cmake/KF5Archive/KF5ArchiveConfig.cmake:38 (find_dependency):
  Unknown CMake command "find_dependency".
Call Stack (most recent call first):
  /usr/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
  CMakeLists.txt:34 (find_package)


-- Configuring incomplete, errors occurred!
See also "/local/luebeck/git/massif-visualizer/build/CMakeFiles/CMakeOutput.log".

I'm a little bit confused since I installed all KF5 dependencies and the extra-cmake-modules (ECM). What else do I miss?

Best regards,

Konze
Comment 1 Justin Zobel 2022-11-06 09:25:16 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-11-21 05:13:55 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-12-06 05:20:38 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!