Skip to content

Application.pm if cmake fails for a module, suggest "Possible solution: apt build-dep"

Raresh Rus requested to merge (removed):work/nmariusp/possible_solution into master
Notice the section "Possible solution:" below.
I think that this section will help people which start using kdesrc-build.

The kdesrc-build output (when modules fail to build because of CMake issues) now looks like:

"$ kdesrc-build kpat krfb --no-src --no-include-dependencies
...
Building krfb from kdenetwork (1/2)
        Source update complete for krfb: Skipped
        Preparing build system for krfb.
        Removing files in build directory for krfb
        Old build system cleaned, starting new build system.
        Running cmake targeting Unix Makefiles...
        Unable to configure krfb with KDE CMake

Building kpat from kdegames (2/2)
        Source update complete for kpat: Skipped
        Preparing build system for kpat.
        Removing files in build directory for kpat
        Old build system cleaned, starting new build system.
        Running cmake targeting Unix Makefiles...
        Unable to configure kpat with KDE CMake


<<<  PACKAGES FAILED TO BUILD  >>>
krfb - file:///home/n/kde/src/log/2022-10-28-03/krfb/cmake.log
kpat - file:///home/n/kde/src/log/2022-10-28-03/kpat/cmake.log

Possible solution: Install the build dependencies for the modules:
krfb, kpat.
Using 'sudo apt build-dep <source_package>', 'sudo dnf builddep <package>' or similar.
See https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Install_the_dependencies

Important notification for krfb:
    krfb has failed to build 7 times.
    You can check https://build.kde.org/search/?q=krfb to see if this is expected.

Important notification for kpat:
    kpat has failed to build 10 times.
    You can check https://build.kde.org/search/?q=kpat to see if this is expected.

:-(
Your logs are saved in file:///home/n/kde/src/log/2022-10-28-03
"

Merge request reports

Loading