Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166880 - portage --tree without --pretend no longer prints tree output
Summary: portage --tree without --pretend no longer prints tree output
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 167107
  Show dependency tree
 
Reported: 2007-02-14 18:40 UTC by Charles Stewart
Modified: 2007-02-19 21:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
always display the merge list (even without --ask or --pretend) (always_display.patch,933 bytes, patch)
2007-02-17 20:49 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Charles Stewart 2007-02-14 18:40:17 UTC
Please re-enable --tree implies --pretend.  I am tutoring many new gentoo
users, and this one has been very annoying.  IMHO, I believe that I speak for
many gentoo users out there in saying that this behavior has come to be
expected behavior from the emerge tool from long-term experience.  I would have no choice to give in to the logic
for removing this behavior, but no tree output is even printed without the
--pretend argument.

Reproducible: Always

Steps to Reproduce:
emerge -vt sys-apps/portage
Actual Results:  
attempts to install portage

Expected Results:  
displays the output in tree format of the dependencies and build requirements of portage

This behavior has been unchanged in emerge for over 2 years experience with gentoo.
Comment 1 Zac Medico gentoo-dev 2007-02-14 18:43:00 UTC
How about if we show the --tree output and continue with the merge in that case.  Wouldn't that make sense?
Comment 2 christian 2007-02-16 09:39:38 UTC
--tree should not imply --pretend, each have distinct and separate uses.  i have noticed though, since upgrading to the latest version that emerge doesn't install ebuilds in the order in which --tree lists them, and this is very annoying for me.  previously emerge installed from the base of the tree up, and now the order appears random.  dependencies for each branch are installed in the correct order it seems but must not be listing the branches in the correct order.  i mostly use -DNatv or -Datv.  when the tree was shown in order in which the ebuilds would be emerged, things were much more logical and easy to track.  i have had this problem since upgrading to portage-2.1.2-r9.

caves orcrist # emerge --info
Portage 2.1.2-r9 (!/local/portage/profiles/hardened/amd64/multilib/se, gcc-4.1.1, glibc-2.4-r4, 2.6.16-hardened-r11 x86_64)
=================================================================
System uname: 2.6.16-hardened-r11 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 15 Feb 2007 00:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fno-function-cse -fprefetch-loop-arrays -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -fno-function-cse -fprefetch-loop-arrays -ftree-vectorize"
DISTDIR="/local/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/local/packages64"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/local/portage /local/portage/xeffects/trunk /local/portage/xeffects/experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X Xaw3d a52 aac aalib acl acpi aiglx alsa amd64 amr amuled apache2 apm arj arts asf audiofile avahi avi berkdb bidi bindist binfilter bitmap-fonts bl browserplugin bzip2 cdda cddb cdio cdparanoia cdr cpudetection crypt css cups curl custom-cflags dbus dga dio directfb divx4linux dlloader dmi dmx dri dts dv dvb dvd dvdr dvdread dxr3 eds emboss encode erandom esd evo exif expat fam fame fat fbcon ffmpeg firefox flac font-server foomaticdb fortran freetype ftp fuse gdbm ggi gif gimpprint glibc-omitfp glitz glut gmp gnome gnutls gpm gstreamer gtk gtk2 gtkhtml gtkspell hal hardened hfs httpd i8x0 icq idn ieee1394 imagemagick imlib ipv6 irc ithreads jack jack-tmpfs java jbig jfs joystick jpeg justify kde kdeenablefinal kerberos ladcca lame lcd lcms ldap lha libcaca libclamav libg++ libvisual libwww linuxthreads-tls live lzo mad matroska mbox mgetty midi mikmod mime mjpeg mmap mng modplug motif mozbranding mozilla mp3 mp4 mpeg mplayer multilib musepack mysql mythtv nas ncurses nls nntp nocd nptl nptlonly nsplugin ntfs nvidia objc ofx ogg oggvorbis openal opengl oss pam pcre pdf pdflib perl perlsuid php pic pie png portaudio posix profile pulseaudio python qt qt3 qt4 quicktime rar readline recode reiser4 reiserfs rtc samba sdl session shared shorten slang smp sndfile socks5 sox speex spell spl sqlite sse sse2 ssl stream subtitles svg tcl tcpd test tga theora threads threadsafe tiff tk toolbar tools transmitter truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vcd vdr vlm vorbis wmf wxwindows x264 xanim xcomposite xfs xine xinerama xinetd xml xml2 xorg xprint xv xvid xvmc yahoo zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Zac Medico gentoo-dev 2007-02-16 20:20:22 UTC
(In reply to comment #2)
> emerge doesn't
> install ebuilds in the order in which --tree lists them, and this is very
> annoying for me.

That will be fixed in 2.1.2-r10.  See bug #158100.
Comment 4 Zac Medico gentoo-dev 2007-02-17 20:49:48 UTC
Created attachment 110492 [details, diff]
always display the merge list (even without --ask or --pretend)
Comment 5 Zac Medico gentoo-dev 2007-02-18 22:01:34 UTC
In reply to comment #4)
> always display the merge list (even without --ask or --pretend)

In svn r5998.
Comment 6 Zac Medico gentoo-dev 2007-02-19 21:48:32 UTC
This has been released in 2.1.2-r10.