https://bugs.kde.org/show_bug.cgi?id=481980
Bug ID: 481980 Summary: neochat and kcalc fail to build out of the box on MacOS Classification: Developer tools Product: Craft Version: unspecified Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: Blueprints Assignee: vonr...@kde.org Reporter: raph...@rtpg.co CC: kde-wind...@kde.org Target Milestone: --- SUMMARY out of the box, I seem to be unable to build neochat or kcalc on Macs. This might be related to the file system, but I'm unsure of how to debug this myself. STEPS TO REPRODUCE 1. Install Craft as on https://community.kde.org/Get_Involved/development/Mac 2. run "craft neochat" OBSERVED RESULT build failure like the following [1] % craft neochat Craft : /Users/rtpg/CraftRoot ABI : macos-clang-arm64 Download directory : /Users/rtpg/CraftRoot/download Cache repository : https://files.kde.org/craft/Qt6/24.01/macos/clang/arm64 ========================================================================================================================================================================================================= *** Handling package: kde/plasma/breeze, action: all *** *** Action: fetch-binary for kde/plasma/breeze *** Could not find kde/plasma/breeze=5.27.8 in https://files.kde.org/craft/Qt6/24.01/macos/clang/arm64/RelWithDebInfo Could not find kde/plasma/breeze=5.27.8 in https://files.kde.org/craft/Qt6/24.01/macos/clang/arm64/Release *** kde/plasma/breeze not found in cache *** *** Action: fetch for kde/plasma/breeze *** *** Action: unpack for kde/plasma/breeze *** executing command: /Users/rtpg/CraftRoot/dev-utils/bin/7za x /Users/rtpg/CraftRoot/download/archives/kde/plasma/breeze/breeze-5.27.8.tar.xz -so -bsp2 | /usr/bin/tar --directory /Users/rtpg/CraftRoot/build/kde/plasma/breeze/work -xf - executing command: /usr/bin/patch --ignore-whitespace -d /Users/rtpg/CraftRoot/build/kde/plasma/breeze/work/breeze-5.27.8 -p 0 -i /Users/rtpg/CraftRoot/etc/blueprints/locations/craft-blueprints-kde/kde/plasma/breeze/breeze-noWinDrag.diff patching file 'kstyle/breeze.kcfg' *** Action: configure for kde/plasma/breeze *** executing command: /Users/rtpg/CraftRoot/dev-utils/bin/cmake -G Ninja -DBUILD_TESTING=ON -DBUILD_SHARED_LIBS=ON -DBUILD_WITH_QT6=ON -DQT_MAJOR_VERSION=6 -DWITH_DECORATIONS=OFF -DBUILD_QT5=OFF -DBUILD_QT6=ON -DCMAKE_INSTALL_PREFIX=/Users/rtpg/CraftRoot -DCMAKE_PREFIX_PATH=/Users/rtpg/CraftRoot -DCMAKE_REQUIRED_INCLUDES=/Users/rtpg/CraftRoot/include -DCMAKE_C_STANDARD_INCLUDE_DIRECTORIES=/Users/rtpg/CraftRoot/include -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DKDE_INSTALL_BUNDLEDIR=/Users/rtpg/CraftRoot/Applications/KDE -DAPPLE_SUPPRESS_X11_WARNING=ON -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -S /Users/rtpg/CraftRoot/build/kde/plasma/breeze/work/breeze-5.27.8 -- The C compiler identification is AppleClang 15.0.0.15000100 -- The CXX compiler identification is AppleClang 15.0.0.15000100 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped -- 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__ - not found -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_DATE_TIME -- Performing Test HAVE_DATE_TIME - Success CMake Error at CMakeLists.txt:36 (find_package): By not providing "FindKF5KCMUtils.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "KF5KCMUtils", but CMake did not find one. Could not find a package configuration file provided by "KF5KCMUtils" (requested version 5.102.0) with any of the following names: KF5KCMUtilsConfig.cmake kf5kcmutils-config.cmake Add the installation prefix of "KF5KCMUtils" to CMAKE_PREFIX_PATH or set "KF5KCMUtils_DIR" to a directory containing one of the above files. If "KF5KCMUtils" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/Users/rtpg/CraftRoot/build/kde/plasma/breeze/work/build/CMakeFiles/CMakeOutput.log". See also "/Users/rtpg/CraftRoot/build/kde/plasma/breeze/work/build/CMakeFiles/CMakeError.log". Command ['/Users/rtpg/CraftRoot/dev-utils/bin/cmake', '-G', 'Ninja', '-DBUILD_TESTING=ON', '-DBUILD_SHARED_LIBS=ON', '-DBUILD_WITH_QT6=ON', '-DQT_MAJOR_VERSION=6', '-DWITH_DECORATIONS=OFF', '-DBUILD_QT5=OFF', '-DBUILD_QT6=ON', '-DCMAKE_INSTALL_PREFIX=/Users/rtpg/CraftRoot', '-DCMAKE_PREFIX_PATH=/Users/rtpg/CraftRoot', '-DCMAKE_REQUIRED_INCLUDES=/Users/rtpg/CraftRoot/include', '-DCMAKE_C_STANDARD_INCLUDE_DIRECTORIES=/Users/rtpg/CraftRoot/include', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DKDE_INSTALL_BUNDLEDIR=/Users/rtpg/CraftRoot/Applications/KDE', '-DAPPLE_SUPPRESS_X11_WARNING=ON', '-DKDE_INSTALL_USE_QT_SYS_PATHS=ON', '-S', '/Users/rtpg/CraftRoot/build/kde/plasma/breeze/work/breeze-5.27.8'] failed with exit code 1 Action: configure for kde/plasma/breeze:5.27.8 FAILED *** Craft all failed: kde/plasma/breeze after 1s *** fatal error: package kde/plasma/breeze all failed Craft stopped with out completing ['kde/plasma/breeze', 'kde/frameworks/tier2/kstatusnotifieritem', 'kde/applications/neochat'] CRAFT: EXPECTED RESULT SOFTWARE/OS VERSIONS macOS: 14.2.1 ADDITIONAL INFORMATION craft kcalc also seems to fail when building, though I think that might be due to some Qt5 stuff... Craft : /Users/rtpg/CraftRoot ABI : macos-clang-arm64 Download directory : /Users/rtpg/CraftRoot/download Cache repository : https://files.kde.org/craft/Qt6/24.01/macos/clang/arm64 ========================================================================================================================================================================================================= *** Handling package: kde/kdeutils/kcalc, action: all *** *** Action: fetch-binary for kde/kdeutils/kcalc *** Could not find kde/kdeutils/kcalc=23.08.4 in https://files.kde.org/craft/Qt6/24.01/macos/clang/arm64/RelWithDebInfo Could not find kde/kdeutils/kcalc=23.08.4 in https://files.kde.org/craft/Qt6/24.01/macos/clang/arm64/Release *** kde/kdeutils/kcalc not found in cache *** *** Action: fetch for kde/kdeutils/kcalc *** *** Action: unpack for kde/kdeutils/kcalc *** executing command: /Users/rtpg/CraftRoot/dev-utils/bin/7za x /Users/rtpg/CraftRoot/download/archives/kde/kdeutils/kcalc/kcalc-23.08.4.tar.xz -so -bsp2 | /usr/bin/tar --directory /Users/rtpg/CraftRoot/build/kde/kdeutils/kcalc/work -xf - *** Action: configure for kde/kdeutils/kcalc *** executing command: /Users/rtpg/CraftRoot/dev-utils/bin/cmake -G Ninja -DBUILD_TESTING=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/Users/rtpg/CraftRoot -DCMAKE_PREFIX_PATH=/Users/rtpg/CraftRoot -DCMAKE_REQUIRED_INCLUDES=/Users/rtpg/CraftRoot/include -DCMAKE_C_STANDARD_INCLUDE_DIRECTORIES=/Users/rtpg/CraftRoot/include -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DKDE_INSTALL_BUNDLEDIR=/Users/rtpg/CraftRoot/Applications/KDE -DAPPLE_SUPPRESS_X11_WARNING=ON -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -S /Users/rtpg/CraftRoot/build/kde/kdeutils/kcalc/work/kcalc-23.08.4 -- The C compiler identification is AppleClang 15.0.0.15000100 -- The CXX compiler identification is AppleClang 15.0.0.15000100 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- No executable found. Can't check QT_INSTALL_PREFIX CMake Error at /Users/rtpg/CraftRoot/share/ECM/modules/ECMQueryQt.cmake:84 (message): No executable found. Can't check QT_INSTALL_PLUGINS as required Call Stack (most recent call first): /Users/rtpg/CraftRoot/share/ECM/kde-modules/KDEInstallDirs5.cmake:255 (ecm_query_qt) /Users/rtpg/CraftRoot/share/ECM/kde-modules/KDEInstallDirs.cmake:15 (include) CMakeLists.txt:16 (include) -- Configuring incomplete, errors occurred! See also "/Users/rtpg/CraftRoot/build/kde/kdeutils/kcalc/work/build/CMakeFiles/CMakeOutput.log". Command ['/Users/rtpg/CraftRoot/dev-utils/bin/cmake', '-G', 'Ninja', '-DBUILD_TESTING=ON', '-DBUILD_SHARED_LIBS=ON', '-DCMAKE_INSTALL_PREFIX=/Users/rtpg/CraftRoot', '-DCMAKE_PREFIX_PATH=/Users/rtpg/CraftRoot', '-DCMAKE_REQUIRED_INCLUDES=/Users/rtpg/CraftRoot/include', '-DCMAKE_C_STANDARD_INCLUDE_DIRECTORIES=/Users/rtpg/CraftRoot/include', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DKDE_INSTALL_BUNDLEDIR=/Users/rtpg/CraftRoot/Applications/KDE', '-DAPPLE_SUPPRESS_X11_WARNING=ON', '-DKDE_INSTALL_USE_QT_SYS_PATHS=ON', '-S', '/Users/rtpg/CraftRoot/build/kde/kdeutils/kcalc/work/kcalc-23.08.4'] failed with exit code 1 Action: configure for kde/kdeutils/kcalc:23.08.4 FAILED *** Craft all failed: kde/kdeutils/kcalc after 0s *** fatal error: package kde/kdeutils/kcalc all failed Craft stopped with out completing ['kde/kdeutils/kcalc'] CRAFT: -- You are receiving this mail because: You are watching all bug changes.