public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
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:18:46 -0000 (UTC)	[thread overview]
Message-ID: <vos3gm$qe8$1@ciao.gmane.io> (raw)
In-Reply-To: 81921e2e-38af-42ca-94d4-1bca55c9a31b@gentoo.org

On 2025-02-16, Eli Schwartz <eschwartz@gentoo.org> wrote:
> On 2/13/25 2:51 PM, Grant Edwards wrote:
>
>> Does this message from emerge --depclean mean that there's a
>> dependency on dev-qt/qtx11extras:5 missing from the libreoffice-bin
>> ebuild?
>> 
>> Or have I managed to break something?
>> 
>>     $ sudo emerge --depclean --ask
>>     Password: 
>>     
>>      * Always study the list of packages [...]
>>      
>>     Calculating dependencies... done!
>>     >>> Checking for lib consumers...
>>     >>> Assigning files to packages...
>>      * In order to avoid breakage of link level dependencies, one or more
>>      * packages will not be removed. This can be solved by rebuilding the
>>      * packages that pulled them in.
>>      * 
>>      *   dev-qt/qtx11extras-5.15.16 pulled in by:
>>      *     app-office/libreoffice-bin-24.2.7.2 needs libQt5X11Extras.so.5
>
>
> $ pkg-list-linked-libraries
> /var/tmp/portage/app-office/libreoffice-bin-24.2.7.2/work/usr/ libQt
>
> lib64/libreoffice/program/libvclplug_qt5lo.so
>   NEEDED               libQt5Core.so.5
>   NEEDED               libQt5Gui.so.5
>   NEEDED               libQt5Widgets.so.5
>   NEEDED               libQt5X11Extras.so.5
> lib64/libreoffice/program/libvclplug_qt6lo.so
>   NEEDED               libQt6Core.so.6
>   NEEDED               libQt6Gui.so.6
>   NEEDED               libQt6Widgets.so.6
>
>
>
> Yup... the ebuild announces a dependency on Qt6 (with USE="gui widgets")
> and doesn't announce any dependency at all on the qt5 version of this
> plugin.
>
>
> If you look at the regular libreoffice package:
>
> COMMON_DEPEND="
> [...]
>         qt5? (
>                 dev-qt/qtcore:5
>                 dev-qt/qtgui:5
>                 dev-qt/qtwidgets:5
>                 dev-qt/qtx11extras:5
>         )
>         qt6? ( dev-qt/qtbase:6[gui,widgets] )
> "

I don't have either qt5 or qt6 flags enabled.

> But the -bin package appears to provide this plugin without announcing
> its dependencies at all. It's not a X11Extras specific thing.
>
> One could argue that nothing forces this plugin to be used, I suppose...

I guess I could try removing qt11extras to see what breaks in
libreoffice.  I assumed it just wouldn't run, but if it's some sort of
plugin that uses it, and I don't use that plugin, then maybe I'd be OK.

--
Grant






  reply	other threads:[~2025-02-16  7:22 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
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   ` Grant Edwards [this message]
2025-02-16 19:25     ` [gentoo-user] " 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='vos3gm$qe8$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