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

Bug 671592

Summary: app-portage/gentoolkit: eclean packages should remove empty directories
Product: Portage Development Reporter: Matt Turner <mattst88>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Matt Turner gentoo-dev 2018-11-20 21:08:05 UTC
With FEATURES="buildpkg binpkg-multi-instance ...". app-eselect/eselect-mesa was tree cleaned, and 'eclean packages' removed all binpkgs, but it left an empty directory in place:

server /var/portage/packages/broadwell # ls app-eselect/eselect-mesa/
server /var/portage/packages/broadwell # 

eclean packages should remove empty directories resulting from all binpkgs being removed.
Comment 1 Larry the Git Cow gentoo-dev 2019-12-05 16:51:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=3f25e307ba5116892beb48fec2809500882dcf4f

commit 3f25e307ba5116892beb48fec2809500882dcf4f
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-12-02 22:15:14 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-12-05 02:23:20 +0000

    eclean: Delete empty directories
    
    Closes: https://bugs.gentoo.org/671592
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 pym/gentoolkit/eclean/clean.py | 4 ++++
 1 file changed, 4 insertions(+)