Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95192 - portage download size calculation ignores package.use
Summary: portage download size calculation ignores package.use
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Other
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 106611 (view as bug list)
Depends on:
Blocks: 108082
  Show dependency tree
 
Reported: 2005-06-06 03:28 UTC by crusaderky
Modified: 2005-10-23 03:49 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 crusaderky 2005-06-06 03:28:13 UTC
1)have USE=-doc in /etc/make.conf
2)emerge gimp
3)rm -rf /usr/portage/distfiles/*
4)echo "media-gfx/gimp doc" >> /etc/portage/package.use

#emerge -pv gimp
[ebuild   R   ] media-gfx/gimp-2.2.7  +aalib (-altivec) -debug +doc* +gimpprint -gtkhtml -hardened +jpeg +lcms +mmx +mng +png +python +scanner -smp +sse +svg +tiff +wmf 13,647 kB

#USE=doc emerge -pv gimp
[ebuild   R   ] media-gfx/gimp-2.2.7  +aalib (-altivec) -debug +doc* +gimpprint -gtkhtml -hardened +jpeg +lcms +mmx +mng +png +python +scanner -smp +sse +svg +tiff +wmf 32,240 kB
Comment 1 crusaderky 2005-06-06 03:28:43 UTC
Sorry, I forgot.

# emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.5 [2.3.5 (#1,
Apr 28 2005, 18:10:21)]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer
-falign-functions=4 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer
-falign-functions=4 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache digest distcc distlocks fixpackages
sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/"
LANG="it_IT@euro"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X X509 a52 aac aaca52 aalib alsa apache2 avi berkdb
bitmap-fonts cdparanoia cdr chroot crypt cscope cups curl dga dts dvb dvd dvdr
dvdread emboss encode erandom extensions faad fam fbcon ffmpeg flac flash
foomaticdb fortran freetype gd gdbm ggi gif gimpprint ginac glut gnutls gpm
gstreamer gtk gtk2 guile imagemagick imap imlib innodb ipv6 jack java javascript
jikes joystick jpeg kde kerberos krb4 lcms ldap libcaca libg++ libwww live
logitech-mouse lzo mad matroska mcal md5sum memlimit mikmod mmx mmxext mng motif
mozilla mp3 mpeg mpi mysql ncurses network nls nptl nvidia odbc offensive ogg
oggvorbis opengl pam parse-clocks pcre pdflib perl pic plotutils png ppds
prelude python qhull qt quicktime readline real rtc samba scanner sdl skey slang
slp sndfile snmp socks5 speex spell sqlite sse ssl stream svg svga tcltk tcpd
tetex tga theora tiff truetype truetype-fonts type1-fonts usb v4l v4l2 vcd
vim-with-x vlm vorbis win32codecs wmf wxwindows xchattext xine xml xml2 xmms
xosd xprint xv xvid xvmc yaz zlib linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:48:09 UTC
Fixed on or before 2.0.51.22-r1 
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:48 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened. 
Comment 4 crusaderky 2005-07-14 08:16:59 UTC
Not fixed.

$ emerge -pv gimp
[ebuild   R   ] media-gfx/gimp-2.2.8-r1  +aalib (-altivec) -debug +doc
+gimpprint -gtkhtml -hardened +jpeg +lcms +mmx +mng +png +python +scanner -smp
+sse +svg +tiff +wmf 13,688 kB

I've got -doc in /etc/make.conf and +doc in package.keywords
The odd thing is that I managed once to get the correct result (that is, ~32Mb),
but I wasn't able to reproduce it.

I did:
1)emerge -pv gimp (result: 32Mb. OK)
2)removed the package.keywords flag
3)emerge -pv gimp (result: 13Mb. OK)
4)re-added the flag to package.keywords
5)emerge -pv gimp (result: 13Mb. NOT OK). 

I can't make it go back to 32Mb. 
I've already tried running emerge metadata.
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 08:23:20 UTC
I've got the fix for this locally. I added the keyword before actually 
committing it. 
Comment 6 Andrei F. 2005-09-19 15:34:31 UTC
*** Bug 106611 has been marked as a duplicate of this bug. ***
Comment 7 Andrei F. 2005-09-19 15:37:12 UTC
Sorry, bug #106611 is a duplicate of this one. basically portage doesn't
calculate the download size correctly for apache-1.3.33-r12 when package.use has
"net-www/apache -ssl" in it. removed it and everything seemed fine.
Comment 8 Jason Stubbs (RETIRED) gentoo-dev 2005-10-23 03:49:22 UTC
Fixed in 2.0.52 or 2.0.53.