Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 857555 - app-portage/gentoolkit-0.6.1-r1: eclean-pkg broken
Summary: app-portage/gentoolkit-0.6.1-r1: eclean-pkg broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-11 05:51 UTC by Patrick Lauer
Modified: 2022-07-12 00:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2022-07-11 05:51:46 UTC
# 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'?
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2022-07-11 07:04:57 UTC
How did my testing miss this one!!!! pushing the fix shortly.  HAve to do some updates to have packages and index to clean.
Comment 2 Larry the Git Cow gentoo-dev 2022-07-11 07:17:56 UTC
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(-)
Comment 3 Larry the Git Cow gentoo-dev 2022-07-12 00:36:47 UTC
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(+)