On 2025-02-15, Michael <confabul...@kintzios.com> wrote: > On Saturday 15 February 2025 05:03:14 Greenwich Mean Time Grant Edwards wrote: > >> Either that profile or something else you have in your world file >> pulls in qtx11extras as a dependency, so depclean doesn't try to >> remove it. > > Yes, my profile specifies plasma and in addition I have installed the kde- > plasma/plasma-meta package which sets USE="qt5". So in my case depclean will > not ask to remove dev-qt/qtx11extras.
>> But libreoffice-bin (which _is_ installed) _uses_ (links to) >> qtx11extras, and depclean was smart enough to detect that and not >> remove qtx11extras (even though nothing on my system "depends" on it). > > I don't think libreoffice-bin has a *direct* dependency on qtx11extras, but > it > does have a dependency on kde, or gnome. No, it doesn't. > These DEs would drag in their Qt, or GTK GUI libraries respectively. I have libreoffice installed, and it did not pull in KDE or Gnome DEs. It depends on specific libraries. qtx11extras is not one of those libraries, even though the libreoffice-bin executable requires it. >> Hence my question: am I correct in my conclusion is that the >> libreoffice-bin ebuild should (but does not) list qtx11extras as a >> dependency? > As I understand it from the contents of /var/db/repos/gentoo/app-office/ > libreoffice-bin/libreoffice-bin-24.2.7.2.ebuild the binary 'flavor' being > fetched and installed from the servers is either kde or gnome specific, with > or without Java. This depends on the kde/gnome/java USE flags set in your > system. I don't have any of those flags enabled: $ sudo emerge -av libreoffice-bin These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 3.03 s (backtrack: 0/20). [ebuild R ] app-office/libreoffice-bin-24.2.7.2::gentoo USE="-gnome -java -kde" PYTHON_SINGLE_TARGET="python3_12" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] > Anyway, it shouldn't be too onerous to test unmerging dev-qt/qtx11extras, > then > run 'emerge -t -p -D -v @world' and see what is trying to pull it back in. Once again: NOTHING IS PULLING IT IN. That's why emerge --depclean wants to remove it. > If it is libreoffice-bin which asks to rebuild qtx11extras and not > some other Qt or kde package, then this would explain your depclean > result and ... confuse me even more. :-/ I don't understand why you think something on my system has a dependency on qtx11extras. > [...] > The above confirms USE="qt5" plus USE="X" is pulling in in dev-qt/qtx11extras > as a dependency for the pinentry package. I don't have the qt5 USE flag enabled, so pinentry is not trying to pull in qtx11extras. Nothing on my system is has qtx11extras as a dependency. However, something on my system (libreoffice-bin) requires qtx11extras. -- Grant