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

Bug 542354

Summary: app-portage/gentoolkit: eclean mistakenly deletes ardour-3.5.403.tar.gz when media-sound/ardour-3.5.403 is installed
Product: Portage Development Reporter: CaptainBlood <lpdmlpdm>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: UNCONFIRMED ---    
Severity: normal CC: bircoph
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description CaptainBlood 2015-03-06 12:37:34 UTC
n ~ # [1] eix -I ardour
[I] media-sound/ardour
     Available versions:  
     (2)    ~2.8.14-r1 ~2.8.16 ~2.9999[1]
     (3)    ~3.5.308-r1 ~3.5.357 (~)3.5.380 (~)3.5.403 **3.5.403[1] **3.9999[1] **9999
       {altivec curl debug doc lv2 nls sse CPU_FLAGS_X86="sse"}
     Installed versions:  3.5.403(3)(16:45:00 25/02/2015)(nls -altivec -doc -lv2 CPU_FLAGS_X86="sse")
     Homepage:            http://ardour.org/
     Description:         Digital Audio Workstation

[1] "bar" /var/lib/layman/bar
n ~ # emerge -c -p

 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 * 
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence of this, it often becomes necessary to run 
 * `emerge --update --newuse --deep @world` prior to depclean.

Calculating dependencies  .... done!
>>> No packages selected for removal by depclean
>>> To see reverse dependencies, use --verbose
Packages installed:   1082
Packages in world:    140
Packages in system:   44
Required packages:    1082
Number to remove:     0
n ~ # eclean -p --deep distfiles
 * Building file list for distfiles cleaning...
 * Here are the distfiles that would be deleted:
 [  180.0 K ] Archive-Zip-1.37.tar.gz
 [    8.2 M ] ardour-3.5.403.tar.gz
 [  931.2 K ] cppunit-1.13.2.tar.gz
 [    4.0 M ] glm-0.9.6.1.zip
 [   64.3 K ] npapi-sdk-0.27.2.tar.bz2
 [  268.1 K ] ucpp-1.3.4.tar.xz
 ===========
 [   13.6 M ] Total space from 6 files would be freed in the distfiles directory
n ~ # 

Reproducible: Always

Actual Results:  
File would be deleted mistakenly.
Comment 1 Andrew Savchenko gentoo-dev 2015-03-08 15:15:58 UTC
Please post emerge --info when reporting bugs.

And we need to know what app-portage/gentoolkit version is installed on your system (eclean belongs there).