emerge -uDav world pulls x11-libs/qt into system but i can't see which package triggers that install. I have qt3 qt4 in my USE (from profile) emerge -uDpv world --tree These are the packages that would be merged, in reverse order: Calculating world dependencies... done! [nomerge ] net-fs/samba-3.0.22 USE="acl async cups ldap pam python quotas readline winbind xml -automount -doc -examples -kerberos -ldapsam -libclamav -mysql -oav -postgres -swat -syslog" [nomerge ] net-nds/openldap-2.2.28-r3 USE="berkdb crypt ipv6 perl readline samba ssl tcpd -debug -gdbm -kerberos -minimal -odbc -sasl -slp" [ebuild N ] x11-libs/qt-3.3.6-r1 USE="cups gif ipv6 opengl -debug -doc -examples -firebird -immqt -immqt-bc -mysql -nas -nis -odbc -postgres -sqlite -xinerama" 14,224 kB Total size of downloads: 14,224 kB
Please attach ouput of the command with --debug enabled.
Created attachment 90304 [details] log file generated with emerge -uDpv world --debug
The debug output shows that it's being pulled in as dependencies of packages that are already installed. If you add the --emptytree option then the output should make more sense.
The --debug output shows that all the qt dependencies are conditional on USE="qt3", so if you add -qt3 to you flags then it should no longer get pulled in.
Well I know how to solve my problem the idea for bug report is that emerge -uDpv --tree does not show which package triggers install of x11-libs/qt. I think that is purpose of --tree flag or I'm missing something?
Normally, it only shows packages that would be installed. Like I said before, you can use --emptytree to see all packages.
I don't agree In my example: samba does not needed to be installed [nomerge] same for openldap So, why then these packages appears in output? At least this is confusing as nor samba, nor openldap depends directly of x11-libs/qt
Actually, --tree is meant to show the already-installed-packages that are causing package installs/upgrades as well. The "nomerge" entries in the OP are examples of this but for some reason it's not working correctly in this case. The known case of when it doesn't work is with PDEPENDs - caused by the parent not being added to the graph.
Created attachment 102424 [details] emerge -d -uDpvt azureus I am having similar problems: pena jasperreports # emerge -uDpvt azureus These are the packages that would be merged, in reverse order: Calculating dependencies... done! [nomerge ] x11-themes/gnome-icon-theme-2.16.0.1 USE="-debug" [nomerge ] gnome-base/libgnomeui-2.16.1 USE="jpeg -debug -doc" [nomerge ] gnome-base/libbonoboui-2.16.0 USE="-X -debug -doc" [nomerge ] gnome-base/libgnome-2.16.0 USE="esd -debug -doc -static" [ebuild U ] gnome-base/gnome-vfs-2.16.3 [2.16.2] USE="hal samba ssl -avahi -debug -doc -gnutls -ipv6" 1,855 kB [nomerge ] dev-java/log4j-1.2.14 USE="javamail -doc -jms -jmx -source" [nomerge ] dev-java/sun-javamail-1.4 USE="-doc -source" [ebuild U ] sys-apps/portage-2.1.2_rc2-r1 [2.1.2_rc2] USE="-build -doc (-epydoc) (-selinux)" LINGUAS="-pl" 4 kB
The current --tree display algorithm focuses on a linear ordering of nodes that is arbitrary in many cases due to the non-linear structure of the dependency tree. It think the fix for this bug will be a new algorithm that displays every single relationship in the dependency tree, showing each node multiple times if necessary.
*** This bug has been marked as a duplicate of bug 109224 ***