# eclean-pkg Traceback (most recent call last): File "/usr/lib/python-exec/python3.10/eclean-pkg", line 41, in <module> main() File "/usr/lib/python3.10/site-packages/gentoolkit/eclean/cli.py", line 679, in main doAction(action, options, exclude=exclude, output=output) File "/usr/lib/python3.10/site-packages/gentoolkit/eclean/cli.py", line 574, in doAction clean_size = cleaner.clean_pkgs(clean_me, pkgdir) File "/usr/lib/python3.10/site-packages/gentoolkit/eclean/clean.py", line 68, in clean_pkgs clean_size += index_control.clean_pkgs_index(self.quiet) File "/usr/lib/python3.10/site-packages/gentoolkit/eclean/pkgindex.py", line 60, in clean_pkgs_index if self.get_emaint_binhost(): AttributeError: 'PkgIndex' object has no attribute 'get_emaint_binhost'. Did you mean: '_get_emaint_binhost'?
How did my testing miss this one!!!! pushing the fix shortly. HAve to do some updates to have packages and index to clean.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=bf3eb16e451fd1bdee8ef03a0d22e0040e033f19 commit bf3eb16e451fd1bdee8ef03a0d22e0040e033f19 Author: Brian Dolbec <dolsen@gentoo.org> AuthorDate: 2022-07-11 06:41:33 +0000 Commit: Brian Dolbec <dolsen@gentoo.org> CommitDate: 2022-07-11 06:53:33 +0000 eclean/pkgindex.py: Fix typo in function call File "/usr/lib/python3.10/site-packages/gentoolkit/eclean/pkgindex.py", line 60, in clean_pkgs_index if self.get_emaint_binhost(): AttributeError: 'PkgIndex' object has no attribute 'get_emaint_binhost'. Did you mean: '_get_emaint_binhost'? Also fix too many parameters in line 68 for the self.controller() call Bug: https://bugs.gentoo.org/857555 Signed-off-by: Brian Dolbec <dolsen@gentoo.org> pym/gentoolkit/eclean/pkgindex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9b8dc221898a3f7c2173cb062fcc91097cd4ab4 commit f9b8dc221898a3f7c2173cb062fcc91097cd4ab4 Author: Brian Dolbec <dolsen@gentoo.org> AuthorDate: 2022-07-12 00:27:34 +0000 Commit: Brian Dolbec <dolsen@gentoo.org> CommitDate: 2022-07-12 00:36:37 +0000 app-portage/gentoolkit: Bump to 0.6.1-r2 to fix eclean-pkg Patch includes two small fixes for running emaint fix binhost directly from imported modules. Closes: https://bugs.gentoo.org/857555 Signed-off-by: Brian Dolbec <dolsen@gentoo.org> .../files/gentoolkit-0.6.1-pkgindex.patch | 45 ++++++++++++++++++++++ ...-0.6.1-r1.ebuild => gentoolkit-0.6.1-r2.ebuild} | 1 + 2 files changed, 46 insertions(+)