SUMMARY I am following https://community.kde.org/Get_Involved/development#Set_up_kdesrc-build which is a tutorial to set up kde development environment. I am using a pristine KDE Neon (standard install) in a VM. I have follow every step carefully, in fact three times, and each time I reach step: kdesrc-build dolphin --include-dependencies this attempts to build 78 modules. It fails to build. Removing 3 out of 3 old log directories... <<< PACKAGES FAILED TO UPDATE >>> libdbusmenu-qt - ~/kde/src/log/2019-08-29-04/libdbusmenu-qt/error.log libgpg-error - ~/kde/src/log/2019-08-29-04/libgpg-error/error.log phonon - ~/kde/src/log/2019-08-29-04/phonon/error.log gpgme - ~/kde/src/log/2019-08-29-04/gpgme/error.log <<< PACKAGES FAILED TO BUILD >>> Qt5 - ~/kde/src/log/2019-08-29-04/Qt5/build.log solid - ~/kde/src/log/2019-08-29-04/solid/build.log kio - ~/kde/src/log/2019-08-29-04/kio/build.log The following modules have failed to build 3 or more times in a row: gpgme There is probably a local error causing this kind of consistent failure, it is recommended to verify no issues on the system. The following top 5 may be the most important to fix to get the build to work, listed in order of 'probably most interesting' to 'probably least interesting' failure: Qt5 libgpg-error libdbusmenu-qt phonon gpgme STEPS TO REPRODUCE 1. install fresh KDE Neon in VM 2. follow tutorial to set up development enviroment 3. kdesrc-build dolphin --include-dependencies Operating System: KDE neon 5.16 KDE Plasma Version: 5.16.4 KDE Frameworks Version: 5.61.0 Qt Version: 5.12.3 Kernel Version: 5.0.0-25-generic OS Type: 64-bit Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz Memory: 15.6 GiB of RAM
Created attachment 122411 [details] build_log
Investigating proposed solution: https://stackoverflow.com/a/57782656/401226
Build errors after manually changed qt version from 5.11 to 5.12 in qt5-build-include Building Qt5 from qt5-set (1/78) Updating Qt5 (to branch 5.12) Using Qt 5 modules: qtbase, qtdeclarative, qtgraphicaleffects, qtimageformats, qtmultimedia, qtquickcontrols, qtquickcontrols2, qtscript, qtsensors, qtsvg, qttools, qtwayland, qtwebchannel, qtwebsockets, qtwebview, qtx11extras, qtxmlpatterns Source update complete for Qt5: 509 files affected. LGPL license selected for Qt. See /home/tim/kde/src/Qt5/LICENSE.LGPL Running configure... Unable to update libdbusmenu-qt! at /home/tim/kde/src/kdesrc-build/modules/ksb/Updater/Bzr.pm line 51. ksb::Updater::Bzr::updateInternal(ksb::Updater::Bzr=HASH(0x55c31774af10), ksb::IPC::Pipe=HASH(0x55c31775dd88)) called at /home/tim/kde/src/kdesrc-build/modules/ksb/Module.pm line 733 eval {...} called at /home/tim/kde/src/kdesrc-build/modules/ksb/Module.pm line 733 ksb::Module::update(ksb::Module=HASH(0x55c31757d370), ksb::IPC::Pipe=HASH(0x55c31775dd88), ksb::BuildContext=HASH(0x55c3160ea0f0)) called at /home/tim/kde/src/kdesrc-build/modules/ksb/Application.pm line 1485 ksb::Application::_handle_updates(ksb::IPC::Pipe=HASH(0x55c31775dd88), ksb::BuildContext=HASH(0x55c3160ea0f0)) called at /home/tim/kde/src/kdesrc-build/modules/ksb/Application.pm line 1746 ksb::Application::_handle_async_build(ksb::IPC::Pipe=HASH(0x55c317750230), ksb::BuildContext=HASH(0x55c3160ea0f0)) called at /home/tim/kde/src/kdesrc-build/modules/ksb/Application.pm line 812 ksb::Application::runAllModulePhases(ksb::Application=HASH(0x55c316e915e0)) called at /home/tim/kde/src/kdesrc-build/kdesrc-build line 367 eval {...} called at /home/tim/kde/src/kdesrc-build/kdesrc-build line 363 Error updating libdbusmenu-qt, removing from list of packages to build. > 1 Error updating libgpg-error, removing from list of packages to build. > Unable to perform git fetch for origin (git://git.gnupg.org/libgpg-error.git) Error updating phonon, removing from list of packages to build. > Unable to perform git fetch for origin (kde:phonon) Error updating gpgme, removing from list of packages to build. > Unable to perform git fetch for origin (git://git.gnupg.org/gpgme.git)
404 Not Found The requested URL /gpgme.git was not found on this server
I've updated the Qt branch that is built by default to 5.13 now (for bug 410921). I've also reduced a bit of the error message spam you get for the first major failing module, libdbusmenu-qt. Unfortunately I've not been able to reproduce the libdbusmenu-qt failure myself. Someone else has reported a very similar bug (bug 413031). As your StackOverflow question mentioned, you may have to remove build directories (can be done using the --refresh-build flag to kdesrc-build) after you make potential fixes. You might also use the --stop-on-failure flag until things get stable on your system, that will stop the entire build if a single module fails to avoid wasting time trying to build modules where the dependencies didn't make it through.
Hi Michael, my build environment is a standard KDE Neon (in a VM, so it's a vanilla install). Do I need to wait for the complete qt 5.13.2 binary transition before trying again?
kdesrc-build dolphin --refresh-build --stop-on-failure succeeded. Thanks, it's good to be over this hump. I disabled building of Qt by following this tip: If your Linux distribution provides a recent version of Qt (5.11 or newer), you can save some time and disk space and use that version instead of building your own. To configure kdesrc-build to skip building Qt, open the configuration file ~/.kdesrc-buildrc and comment out the qtdir and two include lines related to qt5. from: https://community.kde.org/Get_Involved/development this was built in a user-edition of KDE Neon in a VM running on a linux host.
*** Bug 473350 has been marked as a duplicate of this bug. ***
Closing this since this isn't the place to request help with dev setups; see https://community.kde.org/Get_Involved/Issue_Reporting#Step_1:_Make_sure_it's_a_valid_bug_or_feature_request. You are welcome to ask for help with individual failures in the #kde-devel matrix room.