https://bugs.kde.org/show_bug.cgi?id=430551
Bug ID: 430551 Summary: Fail to build heaptrack on mac os catalina Product: Heaptrack Version: 1.2.0 Platform: macOS (DMG) OS: macOS Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: m...@milianw.de Reporter: zhiting...@outlook.com Target Milestone: --- SUMMARY CMake fail to find KF5Service STEPS TO REPRODUCE 1. I followed the instruction to add tap and install the kde components via homebrew 2. runs CMAKE_PREFIX_PATH=/usr/local/opt/qt PATH=$PATH:/usr/local/opt/gettext/bin cmake .. 3. OBSERVED RESULT -- Found Boost: /usr/local/lib/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.41.0") found components: system filesystem iostreams CMake Warning (dev) at /usr/local/Cellar/cmake/3.19.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:424 (message): The package name passed to `find_package_handle_standard_args` (ZSTD) does not match the name of the calling package (Zstd). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindZstd.cmake:15 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:31 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Boost: /usr/local/lib/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.41.0") found components: iostreams program_options CMake Warning at /usr/local/Cellar/cmake/3.19.1/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package): By not providing "FindKF5Service.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "KF5Service", but CMake did not find one. Could not find a package configuration file provided by "KF5Service" (requested version 5.76.0) with any of the following names: KF5ServiceConfig.cmake kf5service-config.cmake Add the installation prefix of "KF5Service" to CMAKE_PREFIX_PATH or set "KF5Service_DIR" to a directory containing one of the above files. If "KF5Service" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /usr/local/lib/cmake/KF5KIO/KF5KIOConfig.cmake:35 (find_dependency) /usr/local/share/ECM/find-modules/FindKF5.cmake:53 (find_package) src/analyze/CMakeLists.txt:38 (find_package) CMake Warning at /usr/local/share/ECM/find-modules/FindKF5.cmake:53 (find_package): Found package configuration file: /usr/local/lib/cmake/KF5KIO/KF5KIOConfig.cmake but it set KF5KIO_FOUND to FALSE so package "KF5KIO" is considered to be NOT FOUND. Reason given by package: KF5KIO could not be found because dependency KF5Service could not be found. Call Stack (most recent call first): src/analyze/CMakeLists.txt:38 (find_package) -- Could NOT find KF5KIO (found version "5.76.0"), checked the following files: /usr/local/lib/cmake/KF5KIO/KF5KIOConfig.cmake (version 5.76.0) Reason given by package: KF5KIO could not be found because dependency KF5Service could not be found. -- Could NOT find KF5 (missing: KIO) (found version "5.76.0") -- The following OPTIONAL packages have been found: * Qt5Gui (required version >= 5.15.2) * Qt5 (required version >= 5.2.0) * ECM (required version >= 1.0.0) * KF5I18n * KF5ItemModels * KF5ThreadWeaver * KF5Auth (required version >= 5.76.0) * KF5Codecs (required version >= 5.76.0) * KF5WidgetsAddons (required version >= 5.76.0) * KF5ConfigWidgets * KF5CoreAddons (required version >= 5.76.0) * Qt5Core (required version >= 5.6.0) * Qt5Widgets (required version >= 5.6.0) -- The following RECOMMENDED packages have been found: * Zstd Zstandard offers better (de)compression performance compared with gzip/zlib, making heaptrack faster and datafiles smaller. * KChart (required version >= 2.6.0) Required for the heaptrack_gui executable. Get it from the kdiagram module. -- The following REQUIRED packages have been found: * Threads * ZLIB * boost_iostreams (required version == 1.74.0) * boost_headers (required version == 1.74.0) * boost_program_options (required version == 1.74.0) * Boost (required version >= 1.41.0) * Gettext -- The following OPTIONAL packages have not been found: * KF5KIO * KF5 -- Configuring done -- Generating done EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Catalina 10.15.7 Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.