Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83201 - "emerge uDv --usepkg world" gives different package list than "emerge uDv world"
Summary: "emerge uDv --usepkg world" gives different package list than "emerge uDv wo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 09:10 UTC by csights
Modified: 2005-02-25 14:15 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 csights 2005-02-24 09:10:33 UTC
"emerge uDv --usepkg world"  gives different list of packages to update than "emerge uDv world"

-------------- --usepkg -----------------
root # emerge -uDvp --usepkg world

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

Calculating world dependencies ...done!
[binary     U ] app-arch/bzip2-1.0.2-r5 [1.0.2-r4] -build -debug -static
[binary     U ] net-mail/mailbase-0.00-r8 [0.00-r6] +pam
[binary     U ] app-editors/vim-6.3-r4 [6.3-r2] -acl -cscope -debug -gpm -minimal -ncurses +nls -perl +python -ruby (-selinux) -vim-with-x

Total size of downloads: 0 kB

-------------- no usepkg -----------------


root # emerge -uDvp world

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

Calculating world dependencies ...done!
[ebuild     U ] app-arch/bzip2-1.0.2-r5 [1.0.2-r4] -build -debug -static 0 kB
[ebuild     U ] net-mail/mailbase-0.00-r8 [0.00-r6] +pam 0 kB
[ebuild     U ] app-editors/vim-core-6.3-r4 [6.3-r3] -acl -debug -livecd -ncurses +nls (-selinux) 2,149 kB
[ebuild     U ] app-editors/vim-6.3-r4 [6.3-r2] -acl -cscope -debug -gpm -minimal -ncurses +nls -perl +python -ruby (-selinux) -vim-with-x 0 kB
[ebuild  N    ] app-vim/gentoo-syntax-20041227  -ignore-glep31 0 kB

Total size of downloads: 2,149 kB

Reproducible: Always
Steps to Reproduce:
1.  I am not sure how to setup the conditions under which this occurs.  Obviously you need current binaries of some of the packages, but not others.
2.
3.



Expected Results:  
Expect that the list of packages to be updated would be the same, but whether or
not a binary was used for installation or not would depend on the --usepkg switch.

root # emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.4.24-om2 i686)
=================================================================
System uname: 2.4.24-om2 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  9 2005, 12:37:17)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
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.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS=" -march=athlon -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=" -march=athlon -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/
http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/
http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j1"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow X apm berkdb bitmap-fonts crypt emboss font-server gdbm libg++
mmx motif nls pam python readline ssl truetype truetype-fonts type1-fonts zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jeremy Hanmer 2005-02-24 23:16:55 UTC
It looks like this is because of the DEPEND and RDEPEND variables in the vim ebuild.  I think the RDEPEND line was meant to read:

RDEPEND="${DEPEND} !app-editors/nvi"

but instead it reads:

RDEPEND="${RDEPEND} !app-editors/nvi"
Comment 2 Ciaran McCreesh 2005-02-25 14:15:29 UTC
Hrm, it *should* read:

RDEPEND="${RDEPEND}
	~app-editors/vim-core-${PV}
	!app-editors/nvi"

...and now it does. Thanks.