Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18331 - emerge -l or emerge --changelog <package> should be pretend
Summary: emerge -l or emerge --changelog <package> should be pretend
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-27 19:32 UTC by Narada Sage
Modified: 2011-10-30 22:18 UTC (History)
3 users (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 Narada Sage 2003-03-27 19:32:08 UTC
emerge -l package or emerge --changelog package should show changelog and not
install the package as it does do at the moment.

Reproducible: Always
Steps to Reproduce:
1. emerge -l package
2. 
3.

Actual Results:  
Package installs.

Expected Results:  
It should show either a changelog or a direct return to prompt.

Also another suggestion is that when there is no changelog entries to show
perhaps it should be more verbose to say there are none rather than appear as
though it isn't taking effect.  Just a thought although not a problem.

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
GENTOO_MIRRORS="http://gentoo.linux.no/
http://ftp.tu-clausthal.de/pub/linux/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ "
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm
berkdb slang readline arts tetex bonobo svga java guile X sdl gpm tcpd pam
libwww ssl perl python imlib oggvorbis gnome gtk qt kde motif opengl aalib acpi
alsa cdr directfb dvd esd fbcon gtk2 imap mozilla mozinterfaceinfo mozp3p
moznoirc moznocompose moznoxft nas sse tcltk tiff usb xml"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays
-falign-functions=4 -funroll-loops -ffast-math -fforce-addr"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays
-falign-functions=4 -funroll-loops -ffast-math -fforce-addr"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-04-28 05:17:00 UTC
Done. >=2.0.48_pre3
Comment 2 Dennis Schridde 2010-08-02 08:52:14 UTC
This bug is back in sys-apps/portage-2.2_rc67 (maybe also earlier versions). Please reopen!

Further, if you run "emerge -pl" portage always tries to resolve the dependencies, which are clearly not required when reading a changelog, but the calculations cost an enormous amount of time. (And sometimes prevent reading the changelog, due to failed dependencies.)
Comment 3 Zac Medico gentoo-dev 2010-08-04 08:55:00 UTC
I'd rather not add a special case for this combination since you can use --nodeps (-O short option).
Comment 4 Dennis Schridde 2010-08-04 09:39:53 UTC
That makes it --changelog --pretend --nodeps. Three options just to show what "head" could do as well.
I think that is a little bit inconvenient, if all that emerge should do is find out the path to the ChangeLog and display a portion of it.
Comment 5 Zac Medico gentoo-dev 2010-08-04 17:36:18 UTC
It's just one more character if you use short form like `emerge -plO <atom>`.