I’m trying to run kde-builder mobile on Ubuntu 24.04 and the builder is failing on kwin. The last few messages in the error.log file are not particularly helpful:
[1090/1203] Building CXX object autotests/integration/CMakeFiles/testXwaylandSelections.dir/xwayland_selections_test.cpp.o
[1091/1203] Building CXX object autotests/integration/CMakeFiles/testKeyboardInput.dir/keyboard_input_test.cpp.o
[1092/1203] Building CXX object autotests/integration/CMakeFiles/testX11KeyRead.dir/x11keyread.cpp.o
[1093/1203] Building CXX object autotests/integration/CMakeFiles/testVirtualKeyboardDBus.dir/test_virtualkeyboard_dbus.cpp.o
[1094/1203] Building CXX object autotests/integration/CMakeFiles/testKWinBindings.dir/kwinbindings_test.cpp.o
[1095/1203] Building CXX object autotests/integration/CMakeFiles/testGlobalShortcuts.dir/globalshortcuts_test.cpp.o
[1096/1203] Building CXX object autotests/integration/CMakeFiles/testScreencasting.dir/screencasting_test.cpp.o
[1097/1203] Building CXX object autotests/integration/CMakeFiles/testQuickTiling.dir/quick_tiling_test.cpp.o
[1098/1203] Building CXX object autotests/integration/CMakeFiles/testX11Window.dir/x11_window_test.cpp.o
ninja: build stopped: subcommand failed.
# exit code was: 256
When I run kde-builder mobile --ninja-options="--verbose" it prints the full commands and I’m able to see that this is the final script executed:
/usr/bin/c++ (a lot of includes) /home/malogan/kde/src/kwin/autotests/drm/drmTest.cpp
Does anyone know if there’s a missing dependency in Ubuntu that might cause the DRM test to fail, or perhaps a log file somewhere on the computer with more information about why this failed?
Did you specify kde-builder to use your online installer QT instead of that of your repos? If you build something more minimal such as kcalc, does it get built with 6.8 or your system QT?
I pointed kde-builder to the version of Qt I got from the online installer and was able to build and run kcalc; the version Ubuntu ships with (6.5, I think) fails to build anything so the successful build means the kde-builder is definitely pointed to the right version of Qt
Unfortunately none of the logs under ~/kde/log/latest/win give anything more descriptive than what I posted originally
cmake.log does inform me that I’m missing the optional package Qt6QmlCompilerPlusPrivateTools and that the variable BUILD_QT5 was manually specified but unused.
I can post all three log files if that would help, but is there anything else that might contain more information?
I created a VirtualBox running KDE Neon 6.3 and got the exact same error in my log that I did running on the regular machine.
I had kde-builder make the qt6 libraries using version 6.9 in the virtualbox and everything went smoothly until the kwin compile step. I am wondering if this is some kind of hardware/driver issue. Either way, I’ll try turning off the tests for now, I was able to successfully execute kde-builder mobile after blocking the tests for kwin with no other issues.