Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52539 - Incorrect donload size shown by emerge (emerge -va openoffice-bin)
Summary: Incorrect donload size shown by emerge (emerge -va openoffice-bin)
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-05-31 03:23 UTC by Kalin KOZHUHAROV
Modified: 2004-06-09 22:09 UTC (History)
0 users

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 Kalin KOZHUHAROV 2004-05-31 03:23:41 UTC
# emerge -va openoffice-bin 

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-office/openoffice-bin-1.1.1  -gnome -kde  158,908 kB 

Total size of downloads: 158,908 kB


Reproducible: Always
Steps to Reproduce:
1. # emerge -va openoffice-bin 
Actual Results:  
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] app-office/openoffice-bin-1.1.1  -gnome -kde  158,908 kB 


Expected Results:  
The package is about 80MB.

Well, after a lot of debugging, I think I got it.

The numebr above seems to be the sum of the filesizes in
/usr/portage/app-office/openoffice-bin/files/digest-openoffice-bin-1.1.1 ...

Is this specific to this ebuild, or to any other which is arch dependent for
example?

May be the way we write sources in the ebuild?
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-06-09 20:15:50 UTC
Seems to be fixed in CVS
Comment 2 Kalin KOZHUHAROV 2004-06-09 22:09:11 UTC
I just checked and it is fixed in portage-2.0.50-r8

After a long work through the CVS tree, I think here was the fix:
http://www.gentoo.org/cgi-bin/viewcvs.cgi/portage/pym/portage.py?r1=1.391&r2=1.392&root=gentoo-src