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] )
"

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...


-- 
Eli Schwartz

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to