Review Request 127192: Make --cleanbuild remove all "work" files

Thomas Friedrichsmeier thomas.friedrichsmeier at
Fri Feb 26 14:05:11 UTC 2016

This is an automatically generated e-mail. To reply, visit:

Review request for kdewin.

Repository: emerge


Not sure, whether this is actually intended (strictly speaking, it does match the terminology used in emerge), but it did come as a (negative) surprise to me:
  emerge --cleanbuild XY
does _not_ clean everything in build\category\XY\work, but only the "real" build directory (with the compiler / release type specification) in there. This is ok for most (not all) source packages, but for other packages it means leaving a lot of cruft.

_If_ this is actually the intended behavior, I'd want a --cleanwork action, in addition to this. Assuming the intended behavior is to clean everything in build\category\XY\work, this patch will do that.

Patch also makes failed removals non-fatal, in case there are write-protected files, or some-such.


  bin/Package/ 33247f4 
  bin/ 5d160b6 



Tested locally, and cleans the "work" directories for packages such as mysql-pkg, aspell, 7zip, etc., that were not cleaned, before.


Thomas Friedrichsmeier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Kde-windows mailing list