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

            Bug ID: 474263
           Summary: Missing --no-stop-on-failure option; unexpectedly
                    stops on failure without --stop-on-failure
    Classification: Developer tools
           Product: kdesrc-build
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: setup wizard
          Assignee: mp...@kde.org
          Reporter: ash...@linuxcomp.ru
  Target Milestone: ---

I have failure when building a dependency for module, and kdesrc-build stops
after it.

The
[documentation](https://docs.kde.org/trunk5/en/kdesrc-build/kdesrc-build/supported-cmdline-params.html)
assumes that the kdesrc-build will not stop on failure. And if you want it to
stop, you specify --stop-on-failure.

I think it got broken. But maybe the default was changed without documentation
change, and no opposite option is provided.

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Have some dependency failing for some module.
    I am building `kio` with dependencies, and one of the dependencies
(`kcolorscheme`) is failing to build.
    You can break building manually, for example by adding some bad option to
config, or by modifying the code so it does not compile anymore.
2. Run `kdesrc-build kio --include-dependencies`.
3. Wait for the output.

OBSERVED RESULT
When the broken dependency fails, kdesrc-build stops:
```
Building karchive from frameworks (10/30)
        ...
        Compiling... succeeded (after 1 second)
        Installing.. succeeded (after 0 seconds)

Building kcolorscheme from frameworks (11/30)
        ...
        Compiling... failed (after 1 second)

kcolorscheme didn't build, stopping here.
...
Your logs are saved in file://...
```

EXPECTED RESULT
```
Building karchive from frameworks (10/30)
        ...
Building kcolorscheme from frameworks (11/30)
        Compiling... failed (after 1 second)
Building kconfigwidgets from frameworks (12/30)
        ...
```

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
kdesrc-build: 22.07 (v22.07-304-gf7968b4)

ADDITIONAL INFORMATION
As a workaround, after such failure I manually run `kdesrc-build kio
--include-dependencies --resume-after kcolorscheme`.

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

Reply via email to