I am following the Setting up and getting started guide for Kirigami and I’m stuck at Building Kirigami with kdesrc-build.
I am on Manjaro Linux 24.0.2 Wynsdey x86_64 with Plasma 6.0.5 [KF5 5.116.0] [Qt 5.15.14] (x11).
Log:
[samu@smemjaro ~]$ kde-builder kirigami kcoreaddons ki18n breeze plasma-integration qqc2-desktop-style
Holding performance profile
Error accessing dbus: org.freedesktop.DBus.Error.InvalidArgs: Cannot hold profile 'performance' as it is not available
Holding performance profile
Error accessing dbus: org.freedesktop.DBus.Error.InvalidArgs: Cannot hold profile 'performance' as it is not available
Holding performance profile
Error accessing dbus: org.freedesktop.DBus.Error.InvalidArgs: Cannot hold profile 'performance' as it is not available
Building extra-cmake-modules from frameworks (1/50)
Fetching remote changes to extra-cmake-modules
Merging extra-cmake-modules changes from branch master
No changes to extra-cmake-modules source code, but proceeding to build anyway.
extra-cmake-modules didn't build, stopping here.
<<< PACKAGES FAILED TO BUILD >>>
extra-cmake-modules - /home/samu/kde/log/2024-06-15-01/extra-cmake-modules/build.log
Important notification for extra-cmake-modules:
extra-cmake-modules has failed to build 4 times.
:-(
Your logs are saved in /home/samu/kde/log/2024-06-15-01
(additional logs are saved in /home/samu/.local/state/log/2024-06-15-09)
Did you check the logs it linked?
build-log and build-status are parts from my initial posts.
I found this error message in log/2024-06-15-01/extra-cmake-modules/build.log:
# kde-builder running: 'ninja' '-j' '12'
# from directory: /home/samu/kde/build/extra-cmake-modules
[1/2] sphinx-build html: see /home/samu/kde/build/extra-cmake-modules/docs/build-html.log
FAILED: docs/doc_format_html /home/samu/kde/build/extra-cmake-modules/docs/doc_format_html
cd /home/samu/kde/build/extra-cmake-modules/docs && /usr/bin/sphinx-build -D man_make_section_directory=0 -c /home/samu/kde/build/extra-cmake-modules/docs -d /home/samu/kde/build/extra-cmake-modules/docs/doctrees -b html /home/samu/kde/src/extra-cmake-modules/docs /home/samu/kde/build/extra-cmake-modules/docs/html > build-html.log
Traceback (most recent call last):
File "/usr/bin/sphinx-build", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3.12/site-packages/sphinx/cmd/build.py", line 369, in main
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python3.12/locale.py", line 615, in setlocale
return _setlocale(category, locale)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
locale.Error: unsupported locale setting
ninja: build stopped: subcommand failed.
the other logs seem normal, but I’ll include the file tree for you:
~/kde/log/2024-06-15-01
|-- build-log
|-- build-status
|-- extra-cmake-modules
| |-- build.log
| |-- error.log -> build.log
| |-- git-checkout-update.log
| |-- git-fetch.log
| |-- git-fix-remote.log
| |-- git-rebase.log
| |-- git-stash-push.log
| `-- git-status-before-update.log
|-- kconfig
| |-- git-checkout-update.log
| |-- git-fetch.log
| |-- git-fix-remote.log
| |-- git-rebase.log
| |-- git-stash-push.log
| `-- git-status-before-update.log
`-- kcoreaddons
|-- git-checkout-update.log
|-- git-fetch.log
|-- git-fix-remote.log
|-- git-rebase.log
|-- git-stash-push.log
`-- git-status-before-update.log
4 directories, 22 files
Found the fix.
I had generally messed up locale settings on my system, probably because I used a mix of German and English in my system settings.
Changed it all to German temporarily and could now build everything succesfully.