I have app-portage/gentoolkit-0.6.1-r3 installed. I ran # eclean-dist -dp … # eclean-dist -d … # eclean-dist -dp The last call resulted in the following output: --- * Building file list for distfiles cleaning... * Your distfiles directory was already clean. The following unavailable files were saved from cleaning due to exclusion file entries [ 80.6 M ] teams_1.4.00.26453_amd64.deb Traceback (most recent call last): File "/usr/lib/python-exec/python3.11/eclean-dist", line 41, in <module> main() File "/usr/lib/python3.11/site-packages/gentoolkit/eclean/cli.py", line 679, in main doAction(action, options, exclude=exclude, output=output) File "/usr/lib/python3.11/site-packages/gentoolkit/eclean/cli.py", line 599, in doAction output.total("deprecated", clean_size, len(saved), verb, action) ^^^^ UnboundLocalError: cannot access local variable 'verb' where it is not associated with a value --- So it seems there is some bug in eclean. Reproducible: Always
Created attachment 872049 [details, diff] fix-verb.patch Untested, but this looks like it'll do it.