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"
Done. >=2.0.48_pre3
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.)
I'd rather not add a special case for this combination since you can use --nodeps (-O short option).
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.
It's just one more character if you use short form like `emerge -plO <atom>`.