Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603882 - emerge: --tree option changes packages to be installed
Summary: emerge: --tree option changes packages to be installed
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-28 07:36 UTC by Patrick Lauer
Modified: 2016-12-28 22:57 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 Patrick Lauer gentoo-dev 2016-12-28 07:36:16 UTC
Note how sys-devel/gcc only appears without --tree:

# emerge -auNDv @world

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS    ] sys-devel/gcc-5.4.0:5.4.0::gentoo [6.2.0-r1:6.2.0::gentoo] USE="cxx fortran (multilib) nls nptl openmp sanitize vtv (-altivec) (-awt) -cilk -debug -doc (-fixed-point) -gcj -go -graphite (-hardened) (-jit) (-libssp) -mpx -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" 93467 KiB
[ebuild     U  ] app-office/libreoffice-5.2.4.2::gentoo [5.2.3.3-r1::gentoo] USE="bluetooth branding cups dbus (-aqua) -coinmp -collada -debug -eds (-firebird) -gltf -gnome -googledrive -gstreamer -gtk -gtk3 -java -jemalloc -kde -libressl -mysql -odk -pdfimport -postgres -quickstarter (-telepathy) {-test} -vlc" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_4 -python3_5" 0 KiB
[ebuild  rR    ] app-emulation/libvirt-glib-1.0.0::gentoo  USE="introspection nls python vala" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild     U  ] dev-python/libvirt-python-2.5.0::gentoo [2.4.0::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_4" 0 KiB
[ebuild     U  ] net-print/cups-filters-1.13.1::gentoo [1.13.0::gentoo] USE="dbus foomatic jpeg pdf png postscript tiff -ldap -perl -static-libs -zeroconf" 0 KiB
[ebuild     U  ] media-video/vlc-2.2.4-r1:0/5-8::gentoo [2.2.4:0/5-8::gentoo] USE="X a52 alsa avcodec avformat cdda dbus dts dvbpsi dvd encode ffmpeg flac gcrypt jpeg libnotify libsamplerate mp3 mpeg ncurses ogg opengl png qt5 sdl svg swscale truetype udev vaapi vdpau vorbis x264 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -bidi -bluray -cddb -chromaprint -dc1394 -debug -directfb (-directx) -dvb (-dxva2) -faad -fdk -fluidsynth -fontconfig -gme -gnome -gnutls -growl -gstreamer% -httpd -ieee1394 -jack -kate -kde -libass -libav -libcaca -libtar -libtiger -linsys -lirc -live -lua (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) -matroska -modplug -mtp -musepack (-neon) -omxil -opencv -optimisememory -opus -postproc -projectm -pulseaudio -qt4 -rdp -rtsp -run-as-root -samba -schroedinger -sdl-image -sftp -shout -sid -skins -speex -taglib {-test} -theora -tremor -twolame -upnp -v4l -vcdx -vlm -vnc -vpx -wma-fixed -x265 -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" 0 KiB
[ebuild  rR    ] www-client/firefox-50.1.0::gentoo  USE="dbus gmp-autoupdate gtk2 hwaccel jemalloc jit skia startup-notification -bindist -custom-cflags -custom-optimization -debug -hardened -jack (-neon) -pgo -pulseaudio (-selinux) (-system-cairo) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" L10N="-ach -af -an -ar -as -ast -az -be -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" 0 KiB
[ebuild  rR    ] mail-client/thunderbird-45.5.1::gentoo  USE="crypt dbus gstreamer jemalloc3 jit minimal startup-notification -bindist -custom-cflags -custom-optimization -debug -ffmpeg -gstreamer-0 -hardened -ldap -lightning -mozdom (-neon) -pulseaudio (-selinux) (-system-cairo) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite" L10N="-ar -ast -be -bg -bn-BD -br -ca -cs -cy -da -de -el -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -it -ja -ko -lt -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -sq -sr -sv -ta-LK -tr -uk -vi -zh-CN -zh-TW" 0 KiB
[ebuild  rR    ] www-client/chromium-55.0.2883.75::gentoo  USE="cups (gn) hangouts (pic) proprietary-codecs suid system-ffmpeg tcmalloc -custom-cflags -gnome -gnome-keyring -gtk3 -kerberos (-neon) -pulseaudio (-selinux) {-test} -widevine" L10N="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk vi zh-CN zh-TW" 0 KiB
[ebuild     U  ] kde-frameworks/kwallet-5.29.0-r1:5/5.29::gentoo [5.29.0:5/5.29::gentoo] USE="man -debug -gpg {-test}" 0 KiB

Total: 10 packages (5 upgrades, 1 in new slot, 4 reinstalls), Size of downloads: 93467 KiB

Would you like to merge these packages? [Yes/No]


# emerge -auNDv @world --tree

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[nomerge       ] app-emulation/virt-manager-1.4.0-r2::gentoo  USE="policykit -debug -gnome-keyring -gtk -sasl" LINGUAS="-as -bg -bn_IN -bs -ca -cmn -cs -da -de -en_GB -es -fi -fr -gu -hi -hr -hu -is -it -ja -kn -ko -ml -mr -ms -nb -nl -or -pa -pl -pt -pt_BR -ro -ru -sk -sr -sr@latin -sv -ta -te -tr -uk -vi -zh_CN -zh_TW" PYTHON_TARGETS="python2_7"
[ebuild     U  ]  dev-python/libvirt-python-2.5.0::gentoo [2.4.0::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_4" 0 KiB
[ebuild  rR    ]  app-emulation/libvirt-glib-1.0.0::gentoo  USE="introspection nls python vala" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild  rR    ] mail-client/thunderbird-45.5.1::gentoo  USE="crypt dbus gstreamer jemalloc3 jit minimal startup-notification -bindist -custom-cflags -custom-optimization -debug -ffmpeg -gstreamer-0 -hardened -ldap -lightning -mozdom (-neon) -pulseaudio (-selinux) (-system-cairo) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite" L10N="-ar -ast -be -bg -bn-BD -br -ca -cs -cy -da -de -el -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -it -ja -ko -lt -nb -nl -nn -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -sq -sr -sv -ta-LK -tr -uk -vi -zh-CN -zh-TW" 0 KiB
[ebuild  rR    ] www-client/firefox-50.1.0::gentoo  USE="dbus gmp-autoupdate gtk2 hwaccel jemalloc jit skia startup-notification -bindist -custom-cflags -custom-optimization -debug -hardened -jack (-neon) -pgo -pulseaudio (-selinux) (-system-cairo) -system-harfbuzz -system-icu -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" L10N="-ach -af -an -ar -as -ast -az -be -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" 0 KiB
[ebuild     U  ] kde-frameworks/kwallet-5.29.0-r1:5/5.29::gentoo [5.29.0:5/5.29::gentoo] USE="man -debug -gpg {-test}" 0 KiB
[ebuild  rR    ] www-client/chromium-55.0.2883.75::gentoo  USE="cups (gn) hangouts (pic) proprietary-codecs suid system-ffmpeg tcmalloc -custom-cflags -gnome -gnome-keyring -gtk3 -kerberos (-neon) -pulseaudio (-selinux) {-test} -widevine" L10N="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk vi zh-CN zh-TW" 0 KiB
[ebuild     U  ] app-office/libreoffice-5.2.4.2::gentoo [5.2.3.3-r1::gentoo] USE="bluetooth branding cups dbus (-aqua) -coinmp -collada -debug -eds (-firebird) -gltf -gnome -googledrive -gstreamer -gtk -gtk3 -java -jemalloc -kde -libressl -mysql -odk -pdfimport -postgres -quickstarter (-telepathy) {-test} -vlc" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_4 -python3_5" 0 KiB
[nomerge       ] dev-java/icedtea-7.2.6.8:7::gentoo  USE="alsa cups jbootstrap sunec webstart (-cacao) -cjk -debug -doc -examples -gtk -headless-awt -infinality (-jamvm) -javascript -kerberos -libressl -nsplugin -nss -pax_kernel -pulseaudio -sctp (-selinux) -smartcard -source {-test} -zero"
[nomerge       ]  net-print/cups-2.1.4::gentoo  USE="X acl dbus pam ssl threads usb -debug -java -kerberos -lprng-compat -python (-selinux) -static-libs -systemd -xinetd -zeroconf" ABI_X86="(64) -32 (-x32)" LINGUAS="ca cs de es fr it ja ru" PYTHON_TARGETS="python2_7"
[ebuild     U  ]   net-print/cups-filters-1.13.1::gentoo [1.13.0::gentoo] USE="dbus foomatic jpeg pdf png postscript tiff -ldap -perl -static-libs -zeroconf" 0 KiB
[nomerge       ] kde-frameworks/kwallet-5.29.0-r1:5/5.29::gentoo [5.29.0:5/5.29::gentoo] USE="man -debug -gpg {-test}"
[nomerge       ]  kde-frameworks/knotifications-5.29.0:5/5.29::gentoo  USE="X dbus nls -debug (-speech)"
[nomerge       ]   media-libs/phonon-4.9.0::gentoo  USE="qt4 qt5 vlc (-aqua) -debug -designer -gstreamer -pulseaudio (-zeitgeist)" ABI_X86="(64) -32 (-x32)"
[nomerge       ]    media-libs/phonon-vlc-0.9.0::gentoo  USE="qt4 qt5 -debug"
[ebuild     U  ]     media-video/vlc-2.2.4-r1:0/5-8::gentoo [2.2.4:0/5-8::gentoo] USE="X a52 alsa avcodec avformat cdda dbus dts dvbpsi dvd encode ffmpeg flac gcrypt jpeg libnotify libsamplerate mp3 mpeg ncurses ogg opengl png qt5 sdl svg swscale truetype udev vaapi vdpau vorbis x264 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -bidi -bluray -cddb -chromaprint -dc1394 -debug -directfb (-directx) -dvb (-dxva2) -faad -fdk -fluidsynth -fontconfig -gme -gnome -gnutls -growl -gstreamer% -httpd -ieee1394 -jack -kate -kde -libass -libav -libcaca -libtar -libtiger -linsys -lirc -live -lua (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) -matroska -modplug -mtp -musepack (-neon) -omxil -opencv -optimisememory -opus -postproc -projectm -pulseaudio -qt4 -rdp -rtsp -run-as-root -samba -schroedinger -sdl-image -sftp -shout -sid -skins -speex -taglib {-test} -theora -tremor -twolame -upnp -v4l -vcdx -vlm -vnc -vpx -wma-fixed -x265 -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" 0 KiB

Total: 9 packages (5 upgrades, 4 reinstalls), Size of downloads: 0 KiB
Comment 1 Patrick Lauer gentoo-dev 2016-12-28 07:36:38 UTC
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-6.2.0, glibc-2.23-r3, 4.8.12-gentoo x86_64)
=================================================================
System uname: Linux-4.8.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-6600U_CPU_@_2.60GHz-with-gentoo-2.3
KiB Mem:    16296628 total,   1923104 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Tue, 27 Dec 2016 18:30:01 +0000
sh bash 4.4_p5-r1
ld GNU ld (Gentoo 2.27 p1.0) 2.27
app-shells/bash:          4.4_p5-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.27::gentoo
sys-devel/gcc:            6.2.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus dri dri3 dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm iconv icu ipv6 jpeg lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 qt5 readline sdl seccomp session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis wxwidgets x264 xattr xcb xml xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev keyboard mouse wacom synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Zac Medico gentoo-dev 2016-12-28 22:57:36 UTC
The --tree option is only used in the merge order calculation and the display code, so it must have been a coincidence that sys-devel/gcc-5.4.0 did not show up with --tree. If you repeat the calculation many times, you should find that there is no reliable correlation with the --tree option, and that the results are random.

If you can capture --debug output for a calculation that pulls in sys-devel/gcc-5.4.0, then we'll see how it got pulled in, and maybe that will give us a clue about what triggers the random results.

    emerge -puNDv @world --debug > debug.log 2>&1