From: Grant Edwards <grant.b.edwards@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Dependency missing for libreoffice-bin?
Date: Sun, 16 Feb 2025 07:10:17 -0000 (UTC) [thread overview]
Message-ID: <vos30p$17ki$1@ciao.gmane.io> (raw)
In-Reply-To: 3675741.R56niFO833@rogueboard
On 2025-02-15, Michael <confabulate@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
next prev parent reply other threads:[~2025-02-16 7:11 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 19:51 [gentoo-user] Dependency missing for libreoffice-bin? Grant Edwards
2025-02-14 21:11 ` Michael
2025-02-15 5:03 ` [gentoo-user] " Grant Edwards
2025-02-15 12:02 ` Michael
2025-02-16 7:10 ` Grant Edwards [this message]
2025-02-16 10:20 ` Michael
2025-02-17 0:25 ` Grant Edwards
2025-02-17 0:42 ` Eli Schwartz
2025-02-16 3:11 ` [gentoo-user] " Eli Schwartz
2025-02-16 7:18 ` [gentoo-user] " Grant Edwards
2025-02-16 19:25 ` Jack
2025-02-17 0:38 ` Grant Edwards
2025-02-17 18:33 ` Grant Edwards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='vos30p$17ki$1@ciao.gmane.io' \
--to=grant.b.edwards@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox