https://bugs.kde.org/show_bug.cgi?id=391396

            Bug ID: 391396
           Summary: Missing error handling on compile error
           Product: kdesrc-build
           Version: Git
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: mp...@kde.org
          Reporter: fa...@kde.org
  Target Milestone: ---

If you try building an autoconf-based module and configure fails (e.g. due to
no automake-1.13 not being installed), kdesrc-build moves on to the next module
but doesn't actually display any red line in the output to indicate an error
happened.

Building libaccounts-glib (4/381)
        No source update, but the module has failed to build 10 times in a row
        Updating libaccounts-glib (to branch master)
        Source update complete for libaccounts-glib: no files affected
        Preparing build system for libaccounts-glib.
        Removing files in build directory for libaccounts-glib
        Old build system cleaned, starting new build system.
        Compiling...

Building <next module> etc.

Testcase:

include extragear/utils/kdesrc-build/custom-qt5-libs-build-include

Same bug with qmake-based modules.
Building libaccounts-qt (5/381)
        No source update, but the module has failed to build 10 times in a row
        Updating libaccounts-qt (to branch master)
        Source update complete for libaccounts-qt: no files affected
        Preparing build system for libaccounts-qt.
        Removing files in build directory for libaccounts-qt
        Old build system cleaned, starting new build system.
        Running qmake...
        Compiling...

Error handling is better with cmake, with an error like this:
        Unable to configure kdewebkit with CMake!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to