Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102421 - Silliness in EMERGE
Summary: Silliness in EMERGE
Status: VERIFIED DUPLICATE of bug 102208
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-13 13:11 UTC by Chuck Wegrzyn
Modified: 2005-08-13 15:16 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 Chuck Wegrzyn 2005-08-13 13:11:41 UTC
It seems, for some unknown reason, and very recently emerge can't decide what
version of valgrind I want. Check out the following:

marge ~ # emerge -UDp world

*** Warning: --upgradeonly is a deprecated option in portage-2.0.51.22-r2
***          and will likely be removed in a future version.

>>> --upgradeonly implies --update... adding --update to options.

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

Calculating world dependencies ...done!
[ebuild     U ] net-im/gaim-1.5.0 [1.4.0-r2]
[ebuild     U ] sys-fs/udev-066 [065]
[ebuild     UD] dev-util/valgrind-2.4.1 [3.0.0]
[ebuild     U ] dev-util/strace-4.5.12 [4.5.11]
marge ~ # emerge -UD  world

*** Warning: --upgradeonly is a deprecated option in portage-2.0.51.22-r2
***          and will likely be removed in a future version.

>>....all sorts of work.....

--- !empty dir /usr
>>> Regenerating /etc/ld.so.cache...
>>> Regenerating /etc/ld.so.cache...
>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.
 * IMPORTANT: 1 config files in /etc need updating.
 * Type emerge --help config to learn how to update config files.

marge ~ # etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/udev/rules.d/50-udev.rules
/etc/udev/rules.d/._cfg0000_50-udev.rules
Please select a file to edit by entering the corresponding number.
              (don't use -3 or -5 if you're unsure what to do)
              (-1 to exit) (-3 to auto merge all remaining files)
                           (-5 to auto-merge AND not use 'mv -i'):
....
Exiting: Nothing left to do; exiting. :)
marge ~ # emerge -UDp world

*** Warning: --upgradeonly is a deprecated option in portage-2.0.51.22-r2
***          and will likely be removed in a future version.

>>> --upgradeonly implies --update... adding --update to options.

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

Calculating world dependencies ...done!
[ebuild     U ] dev-util/valgrind-3.0.0 [2.4.1]


Just recently I did an emerge sync, and when I did an emerge -UDp world this is
what I got back:

sent 15109 bytes  received 4847458 bytes  92620.32 bytes/sec
total size is 95686486  speedup is 19.68

>>> Updating Portage cache:  100%


marge ~ # emerge -UDp world

*** Warning: --upgradeonly is a deprecated option in portage-2.0.51.22-r2
***          and will likely be removed in a future version.

>>> --upgradeonly implies --update... adding --update to options.

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

Calculating world dependencies ...done!
[ebuild     U ] x11-base/opengl-update-2.2.3 [2.2.2]
[ebuild     U ] dev-db/unixODBC-2.2.11-r1 [2.2.11]
[ebuild     U ] net-fs/samba-3.0.14a-r3 [3.0.14a-r2]
[ebuild     U ] media-sound/alsa-utils-1.0.9a-r1 [1.0.9a]
[ebuild     U ] sys-apps/baselayout-1.12.0_pre5 [1.11.13]
[ebuild     U ] sys-fs/udev-067 [066]
[ebuild     U ] app-editors/vim-core-6.3.084-r2 [6.3.084-r1]
[ebuild     U ] dev-util/valgrind-3.0.0 [2.4.1]
[ebuild     U ] dev-util/gtk-doc-1.4-r1 [1.3-r1]


As you can see valgrind is going to be upgraded to 3.0.0 now and next time I
will be told to downgrade it!



Reproducible: Always
Steps to Reproduce:
You can see the actual information in "Details"



Expected Results:  
To either pick 3.0.0 of Valgrind or downgrade it but not go back and forth.


marge ~ # emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-rc2-nitro1 i686)
=================================================================
System uname: 2.6.12-rc2-nitro1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -O2 -march=pentium4"
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/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS=" -O2 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acl acpi afs aim alsa aotuv apache2 apm arts artswrappersuid
audiofile avi bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash caps
cdparanoia cdr cluster codecs crypt css cups curl dbx dga dio directfb dpms dv
dvb dvd dvdr dvdread eds encode esd ethereal exif fam fame fb fbcon fbdev flac
flatfile foomaticdb fpx freetds ftp gd gdbm gif gpg gpm gstreamer gtk gtk2
imagemagick imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod mime mjpeg
mmx monkey motif mp3 mpeg msn msql mysql ncurses nls odbc ogg oggvorbis opengl
oss pam pdflib perl png postgres python qt quicktime readline samba sdl spell
sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts
vorbis xine xinerama xml2 xmms xv yahoo zeroconf zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-08-13 13:16:35 UTC
That's because you are using the stupid -U; maybe you should take the warnings
more seriously. ;p

> *** Warning: --upgradeonly is a deprecated option in portage-2.0.51.22-r2
> ***          and will likely be removed in a future version.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-13 13:44:02 UTC
Reopen to dupe this.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-13 13:44:17 UTC

*** This bug has been marked as a duplicate of 102208 ***
Comment 4 Chuck Wegrzyn 2005-08-13 14:27:56 UTC
Jakub, you show the very best attributes of someone supporting open software:
ignorance and arrogance. 

The -U flag is not the problem. This problem only exists for valgrind and has
never shown up before; it has only existed for the past few weeks.

I will forgive you if you don't know how to read English and comprehend it. If
you do, then you didn't bother reading what I wrote before you jumped to the
conclusion that I must not know what I am doing. Nothing could be further from
the truth.

And yes, I do know the -U is deprecated. I would suggest you read the definition
of deprecated. Obviously it has nothing to do with "It doesn't work right".
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-08-13 15:16:00 UTC
See Bug 13632. That said, --upgradeonly should not ever be used and will cause
much more headaches then this bug. Don't use -U, it's evil.