When you use --stop-on-failure and it stops because of failure, it will terminate with output like this: Removing 7 out of 10 old log directories... <<< PACKAGES FAILED TO BUILD >>> kactivities - ~/kde/src/log/2018-12-23-09/kactivities/cmake.log :-( Your logs are saved in /home/nate/kde/src/log/2018-12-23-09 It would be nice if it printed the contents to the log for the failing build rather than making you go and open it yourself. Bonus points if the failure is in CMake and it omits everything before the first occurrence of "CMake Error" in the log file.
Fixed in https://invent.kde.org/kde/kdesrc-build/merge_requests/2
Oops, closed the wrong bug.
I've been working around this by using the following shell function to run kdesrc-build: # "kde build" just this repo and then set up variables function kb { REPO=`basename $PWD` kdesrc-build $REPO --no-src --resume-from $REPO ERRORFILE=~/kde/src/log/latest/$REPO/error.log if [ -f $ERRORFILE ] then cat $ERRORFILE else source ../../build/$REPO/prefix.sh fi }
*** Bug 331203 has been marked as a duplicate of this bug. ***