Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354747 - emerge --autounmask comments should prefer parents that are in the merge list
Summary: emerge --autounmask comments should prefer parents that are in the merge list
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
Depends on:
Blocks: 349307
  Show dependency tree
 
Reported: 2011-02-13 16:15 UTC by dE
Modified: 2011-02-15 19:02 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 dE 2011-02-13 16:15:07 UTC
[ebuild     U ~] dev-libs/nspr-4.8.7 [4.8.6] USE="-debug" 1,215 kB [0]
[ebuild     U  ] media-libs/libpng-1.4.5 [1.4.3] USE="apng%* -static-libs%" 533 kB [0=>1]
[binary  N     ] dev-util/pkgconfig-0.25-r2  USE="-hardened"  [0]
[ebuild     U ~] dev-libs/nss-3.12.9 [3.12.8] USE="-utils" 5,845 kB [0]
[binary  NS    ] sys-devel/autoconf-2.13 [2.65-r1] [0]
[binary  N     ] dev-lang/yasm-1.1.0  USE="-nls -python"  [0]
[ebuild     U ~] x11-libs/cairo-1.10.2-r1 [1.8.10] USE="X opengl qt4%* svg xcb (-aqua) -debug -directfb -doc (-drm) -gallium% (-openvg) -static-libs% (-cleartype%) (-glitz%) (-lcdfilter%)" 23,007 kB [0]
[ebuild     U #] net-libs/xulrunner-2.0_beta12_pre-r1 [1.9.2.13] USE="alsa custom-optimization dbus ipc libnotify startup-notification webm%* -debug -gnome -system-sqlite -wifi (-java%*)" 63,101 kB [0=>1]
[ebuild     U #] www-client/firefox-4.0_beta12_pre-r1 [3.6.13] USE="alsa custom-optimization dbus ipc libnotify startup-notification webm%* -bindist -gnome -system-sqlite -wifi (-java%*)" LINGUAS="(-af%) (-ar%) (-as%) (-be%) (-bg%) (-bn%) (-bn_BD%) (-bn_IN%) (-ca%) (-cs%) (-cy%) (-da%) (-de%) (-el%) (-en%) (-en_GB%) (-en_US%) (-eo%) (-es%) (-es_AR%) (-es_CL%) (-es_ES%) (-es_MX%) (-et%) (-eu%) (-fa%) (-fi%) (-fr%) (-fy%) (-fy_NL%) (-ga%) (-ga_IE%) (-gl%) (-gu%) (-gu_IN%) (-he%) (-hi%) (-hi_IN%) (-hr%) (-hu%) (-id%) (-is%) (-it%) (-ja%) (-ka%) (-kk%) (-kn%) (-ko%) (-ku%) (-lt%) (-lv%) (-mk%) (-ml%) (-mr%) (-nb%) (-nb_NO%) (-nl%) (-nn%) (-nn_NO%) (-oc%) (-or%) (-pa%) (-pa_IN%) (-pl%) (-pt%) (-pt_BR%) (-pt_PT%) (-rm%) (-ro%) (-ru%) (-si%) (-sk%) (-sl%) (-sq%) (-sr%) (-sv%) (-sv_SE%) (-ta%) (-ta_LK%) (-te%) (-th%) (-tr%) (-uk%) (-vi%) (-zh_CN%) (-zh_TW%)" 5 kB [0=>1]

Total: 9 packages (6 upgrades, 2 new, 1 in new slot, 3 binaries), Size of downloads: 93,704 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/mozilla

The following keyword changes are necessary to proceed:
#required by app-office/openoffice-3.2.1-r1[nsplugin], required by @selected, required by @world (argument)
=dev-libs/nss-3.12.9 ~amd64
#required by dev-cpp/cairomm-1.8.2, required by dev-cpp/pangomm-2.26.2, required by dev-cpp/gtkmm-2.20.3, required by gnome-extra/gsmartcontrol-0.8.5, required by @selected, required by @world (argument)
=x11-libs/cairo-1.10.2-r1 ~amd64
#required by dev-java/icedtea6-bin-1.9.1[nsplugin], required by virtual/jdk-1.6.0[-amd64-linux,-x86-linux], required by dev-java/lucene-2.3.2, required by app-office/openoffice-3.2.1-r1[java], required by @selected, required by @world (argument)
=dev-libs/nspr-4.8.7 ~amd64

It's required by everything other than firefox...

Reproducible: Always

Steps to Reproduce:
Comment 1 Zac Medico gentoo-dev 2011-02-14 01:27:11 UTC
I guess you think it's "weird" since it didn't show the parents that you expected to see. The display code (get_dep_chain) only shows one of the parents, chosen somewhat randomly, so it's currently not possible to predict which parents will be chosen for display.  Anyway, I'm fairly sure that the output is valid, even if unexpected.
Comment 2 Zac Medico gentoo-dev 2011-02-14 01:29:11 UTC
I guess what you really want is for get_dep_chain to prefer parents that are displayed in the merge list.
Comment 4 dE 2011-02-15 03:56:45 UTC
Yes. Thanks.
Comment 5 Zac Medico gentoo-dev 2011-02-15 19:02:42 UTC
This is fixed in 2.1.9.40 and 2.2.0_alpha24.