Is the module status in the "Compiling..." output redundant?
While kdesrc-build
is in the process of building modules, during the compile phase its status output for each module will be similar to this:
Building kauth from frameworks (11/91)
Fetching remote changes to kauth
Merging kauth changes from branch master
No changes to kauth source code, but proceeding to build anyway.
82.0% Compiling... (10 built, 91 modules)
The (10 built, 91 modules)
at the end of the Compiling...
line, while it appears to be part of the compilation status, is actually just a report of the number of modules built so far, and the total number to be built. IOW, isn't it always redundant with the (11/91)
shown at the end of the first line (Building ...
)?
If so, and if it doesn't convey anything to the user that hasn't already been reported, is it really necessary? Because, it seems confusingly like it should have something to do with the compilation phase. I certainly misinterpreted it that way, until I realized it was just repeating the counters from the Building...
line.
(Initially I thought, perhaps if a module's build involves N CMake targets, it would show Compiling... (M built, N modules)
, and slowly count up M
until it reaches N
at 100%
... something related to the current compilation phase that it's being shown with.)
If there are other modes of operation where the count on the Compiling...
line is useful, or not totally redundant with the introductory Building...
line (or perhaps that line's not always shown?), then I accept its usefulness, and you can consider this withdrawn and feel free to close it.