DevHeads.net

New: Cannot build packages with Craft: cmake failed with exit code 9

<a href="https://bugs.kde.org/show_bug.cgi?id=403057" title="https://bugs.kde.org/show_bug.cgi?id=403057">https://bugs.kde.org/show_bug.cgi?id=403057</a>

Bug ID: 403057
Summary: Cannot build packages with Craft: cmake failed with
exit code 9
Product: Craft
Version: unspecified
Platform: Other
OS: OS X
Status: REPORTED
Severity: normal
Priority: NOR
Component: Blueprints
Assignee: <a href="mailto: ... at kde dot org"> ... at kde dot org</a>
Reporter: <a href="mailto: ... at gmail dot com"> ... at gmail dot com</a>
CC: <a href="mailto:kde- ... at kde dot org">kde- ... at kde dot org</a>
Target Milestone: ---

SUMMARY

Getting no output from CMake. It seems CMake that is packaged through Craft is
broken as even invoking it as `cmake --help` shows no output.

STEPS TO REPRODUCE
1. Install Craft
2. Source craft environment
3. craft systemsettings

OBSERVED RESULT

2019-01-09 22:52:51,851 DEBUG Command
"/Users/tatsh/.local/share/dev-utils/bin/cmake" -G "Ninja" -DBUILD_TESTING=ON
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_C_COMPILER=/usr/bin/clang
-DCMAKE_INSTALL_PREFIX="/Users/tatsh/.local/share"
-DCMAKE_PREFIX_PATH="/Users/tatsh/.local/share"
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-DKDE_INSTALL_BUNDLEDIR="/Users/tatsh/.local/share/Applications/KDE"
-DAPPLE_SUPPRESS_X11_WARNING=ON -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
"/Users/tatsh/.local/share/build/kde/plasma/systemsettings/work/systemsettings-5.14.4"
failed with exit code 9
2019-01-09 22:52:51,852 WARNING Action: compile for
kde/plasma/systemsettings:5.14.4 FAILED
2019-01-09 22:52:51,852 INFO *** Craft all failed: kde/plasma/systemsettings
after 1 second ***
2019-01-09 22:52:51,856 DEBUG Craft was unable to locate: snoretoast, in None
2019-01-09 22:52:51,856 ERROR fatal error: package kde/plasma/systemsettings
all failed

EXPECTED RESULT

The package should build.

SOFTWARE/OS VERSIONS
Windows:
MacOS: macOS 10.14.2
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version: