Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 688550

Summary: app-portage/gentoolkit: "eclean -Cdq packages" still emits output from emaint call
Product: Portage Development Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal CC: gabriel
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-06-23 10:40:27 UTC
I expect no output at all when calling eclean with -q/--quiet option but rather get this output when cleaning bin packages:


#  eclean -Cdq packages

Emaint: fix binhost        100% [============================================>]

#
Comment 1 Gabriel 2021-01-04 10:21:32 UTC
Same here, except that I get \n or something similar as I get an "empty" email from crontab when I call `eclean -qd packages`.
Hopefully worked around it with >/dev/null so that I only get error conditions.
Comment 2 Larry the Git Cow gentoo-dev 2022-07-09 21:46:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=680dd160e1e5a41f008bd1a47afa2da2eb25714f

commit 680dd160e1e5a41f008bd1a47afa2da2eb25714f
Author:     Brian Dolbec <dolsen@gentoo.org>
AuthorDate: 2022-07-09 21:41:39 +0000
Commit:     Brian Dolbec <dolsen@gentoo.org>
CommitDate: 2022-07-09 21:45:04 +0000

    eclean: Complete migration to imported emaint code
    
    eclean-pkg now uses imported emaint binhost code to run,
    Properly handle --quiet option for progressbar suppression from emaint.
    Keeps the standalone emaint binhost subprocess call as backup.
    
    Closes: https://bugs.gentoo.org/688550
    
    Signed-off-by: Brian Dolbec <dolsen@gentoo.org>

 pym/gentoolkit/eclean/clean.py    |  5 ++--
 pym/gentoolkit/eclean/cli.py      |  2 +-
 pym/gentoolkit/eclean/pkgindex.py | 56 ++++++++++++++++++---------------------
 3 files changed, 30 insertions(+), 33 deletions(-)