Hi, I wondered why adwaita-icon-theme got pulled on my system: > emerge -putD @world > > These are the packages that would be merged, in reverse order: > > [nomerge ] net-misc/remmina-1.4.31-r1 > [nomerge ] virtual/freedesktop-icon-theme-0-r4 > [ebuild N ] x11-themes/adwaita-icon-theme-45.0 USE="-branding" here Indeed, I replaced adwaita-icon-theme by tango-icon-theme. But both are satisfying for virtual/freedesktop-icon-theme-0-r4. So as a test, this does not pull anything as expected: > emerge -putD virtual/freedesktop-icon-theme For the convenience of this bug report, I paste the deps of net-misc/remmina-1.4.31-r1.ebuild here: > COMMON_DEPEND=" > dev-libs/glib:2 > dev-libs/json-glib > dev-libs/libpcre2 > dev-libs/libsodium:= > dev-libs/openssl:0= > x11-libs/gdk-pixbuf > x11-libs/gtk+:3[wayland?] > x11-libs/libX11 > x11-libs/libxkbfile > appindicator? ( dev-libs/libayatana-appindicator ) > crypt? ( dev-libs/libgcrypt:0= ) > keyring? ( app-crypt/libsecret ) > gvnc? ( net-libs/gtk-vnc ) > kwallet? ( kde-frameworks/kwallet:5 ) > python? ( ${PYTHON_DEPS} ) > rdp? ( >=net-misc/freerdp-2.0.0_rc4_p1129[X] > <net-misc/freerdp-3[X] > cups? ( net-print/cups:= ) ) > spice? ( net-misc/spice-gtk[gtk3] ) > ssh? ( net-libs/libssh:0=[sftp] > x11-libs/vte:2.91 ) > vnc? ( net-libs/libvncserver[jpeg] ) > webkit? ( net-libs/webkit-gtk:4.1 ) > zeroconf? ( >=net-dns/avahi-0.8-r2[dbus,gtk] ) > " > > DEPEND=" > ${COMMON_DEPEND} > spice? ( app-emulation/spice-protocol ) > " > > BDEPEND=" > virtual/pkgconfig > nls? ( sys-devel/gettext ) > " > > RDEPEND=" > ${COMMON_DEPEND} > virtual/freedesktop-icon-theme > " The dependency for adwaita-icon-theme is not explicitly listed. I guessed it is gtk+:3, and indeed it seems to be it (at least): > emerge -putD gtk+:3 > > [nomerge ] x11-libs/gtk+-3.24.39 > [ebuild N ] x11-themes/adwaita-icon-theme-45.0 USE="-branding" Here is an extract from gtk+'s ebuild, including adwaita-icon-theme: > # librsvg for svg icons (PDEPEND to avoid circular dep), bug #547710 > PDEPEND=" > gnome-base/librsvg[${MULTILIB_USEDEP}] > >=x11-themes/adwaita-icon-theme-3.14 > vim-syntax? ( app-vim/gtk-syntax ) > " So, portage tells me that remmina finally pulls adwaita-icon-theme but actually it is gtk+:3. Is there anything else I can to besides guessing what indermediate dependency is responsible for pulling a package?
Do you get better output if you mask adwaita-icon-theme?
(In reply to Sam James from comment #1) > Do you get better output if you mask adwaita-icon-theme? Thanks for helping. Indeed, I do: > printf "x11-themes/adwaita-icon-theme\n" >> /etc/portage/package.mask/package.mask > emerge -putD remmina > > These are the packages that would be merged, in reverse order: > > Calculating dependencies .. .... done! > Dependency resolution took 13.47 s (backtrack: 0/20). > > [nomerge ] net-misc/remmina-1.4.31-r1 > [nomerge ] virtual/freedesktop-icon-theme-0-r4 > [ebuild N #] x11-themes/adwaita-icon-theme-45.0 USE="-branding" > > The following mask changes are necessary to proceed: > (see "package.unmask" in the portage(5) man page for more details) > # required by x11-libs/gtk+-3.24.39::gentoo > # required by net-libs/gtk-vnc-1.3.1::gentoo > # required by net-misc/remmina-1.4.31-r1::gentoo[gvnc] > # required by remmina (argument) > # /etc/portage/package.mask/package.mask: > =x11-themes/adwaita-icon-theme-45.0 > > NOTE: The --autounmask-keep-masks option will prevent emerge > from creating package.unmask or ** keyword changes. This tells exactly the root cause what package directly wants adwaita-icon-theme. It is gtk+, not remmina. Hm, can I somehow trigger this output without masking adwaita-icon-theme? I can't find an option for this. E.g., --complete-graph does not help.