Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682470 - app-office/libreoffice with global set -gtk and kde USE flags is blocking emerge
Summary: app-office/libreoffice with global set -gtk and kde USE flags is blocking emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-03 21:41 UTC by mael
Modified: 2019-04-04 06:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mael 2019-04-03 21:41:24 UTC
hi, another useflag bogus ;-) with activated "-*" useflag

when you have the kde useflag in make.conf systemwide enabled and gtk disabled this happens when you try a standard "emerge -avDNu world":

emerge -avDNu world

These are the packages that would be merged, in order:

Calculating dependencies /

!!! Problem resolving dependencies for app-office/libreoffice from @selected
... done!

!!! The ebuild selected to satisfy "app-office/libreoffice" has unmet requirements.
- app-office/libreoffice-6.1.5.2::gentoo USE="accessibility cups dbus googledrive kde mysql odk pdfimport vlc -bluetooth -branding (-coinmp) -debug -eds (-firebird) -gstreamer -gtk -gtk2 -java -postgres -test" ABI_X86="(64)" LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_5 (-python3_7)" PYTHON_TARGETS="python2_7 python3_6 -python3_5 (-python3_7)"

  The following REQUIRED_USE flag constraints are unsatisfied:
    kde? ( gtk )

  The above constraints are a subset of the following complete expression:
    exactly-one-of ( python_single_target_python2_7 python_single_target_python3_5 python_single_target_python3_6 python_single_target_python3_7 ) python_single_target_python2_7? ( python_targets_python2_7 ) python_single_target_python3_5? ( python_targets_python3_5 ) python_single_target_python3_6? ( python_targets_python3_6 ) python_single_target_python3_7? ( python_targets_python3_7 ) bluetooth? ( dbus ) kde? ( gtk ) libreoffice_extensions_nlpsolver? ( java ) libreoffice_extensions_scripting-beanshell? ( java ) libreoffice_extensions_scripting-javascript? ( java ) libreoffice_extensions_wiki-publisher? ( java )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

kde 5 and libreoffice users dont need any gtk+ stuff at all! libreoffice runs fine under latest kde 5 WITHOUT enabled "kde" and/or "gtk" useflag!.

so please fix this by unbind the "kde" useflag from the "gtk" useflag from each other OR remove the "kde" useflag from the libreoffice ebuild because the kde useflag is needed elsewhere for true qt/kde apps with kde integration support and we dont need another per package entry in a package.use file just for libreoffice

what exactly does the enabled "kde" useflag in libreoffice actualy do?
Comment 1 Andreas Sturmlechner gentoo-dev 2019-04-03 21:47:10 UTC
Check your facts please.

In 6.1.5.2, the only sensible integration with Plasma is provided by gtk3_kde5 vcl, which only provides native filedialog for Qt5 and nothing else.

In 6.2.x you can use libreoffice[kde] without gtk.
Comment 2 mael 2019-04-04 05:22:01 UTC
oh, sorry i diddnt know that the 6.2.x tree has resolved that problem! could we fast stabilize 6.2.x then?
Comment 3 Andreas Sturmlechner gentoo-dev 2019-04-04 06:21:54 UTC
(In reply to mael from comment #2)
> oh, sorry i diddnt know that the 6.2.x tree has resolved that problem! could
> we fast stabilize 6.2.x then?

No. There is *no* problem here and there is no reason to fast stabilise. As always we will give the new release time to mature until we do that. The earliest release I would consider for that will be 6.2.3.2.
Comment 4 Andreas Sturmlechner gentoo-dev 2019-04-04 06:37:08 UTC
(In reply to mael from comment #0)
> hi, another useflag bogus ;-) with activated "-*" useflag
Consider any report with -* bogus from the start, unless there is very good evidence. REQUIRED_USE are not always correct, but in most cases there is a good reason. The libreoffice ebuild '+gtk' default USE means that no one will be hitting the condition as unsatisfied; in addition, +gtk is set by the desktop profile.

Also note that at the beginning of the 6.2 release cycle, I was almost tempted to put the REQUIRED_USE back in (forcing gtk3_kde5 vcl instead of standalone kde5 vcl) because it was not in very good shape. Thankfully it has come a long way since then, but it still needs backports [on kde5 vcl] at this time to run smoothly.

tl;dr: Tinkering with USE flags has consequences, most of which are no bugs.