Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 830189

Summary: dev-python/PyQt5-5.15.4-r1: REQUIRED_USE flag constraints are unsatisfied
Product: Gentoo/Alt Reporter: Fabian Leimgruber <fabio.leimgruber>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge log
portageq envvar USE

Description Fabian Leimgruber 2021-12-28 20:36:11 UTC
Created attachment 760686 [details]
emerge log

Running `emerge -av jupyter` on Ubuntu 20.04 errors while solving dependencies, see attached log.

Relevant lines are:

The following REQUIRED_USE flag constraints are unsatisfied:
    printsupport? ( widgets ) svg? ( widgets )
Comment 1 Fabian Groffen gentoo-dev 2022-01-07 19:06:10 UTC
Hmmm, this "error" is just about informing you that printsupport or svg needs widgets.

did you enable printsupport or svg yourself by chance?  The ebuild doesn't seem to force it.
Comment 2 Fabian Leimgruber 2022-01-08 10:00:38 UTC
> did you enable printsupport or svg yourself by chance?  The ebuild doesn't seem to force it.

No, the only change I made is creating a file etc/portage/package.use/emacs with the content

    app-editors/emacs harfbuzz json libxml2 dynamic-loading

From reading the log, USE changes are done automatically AFAICS:

    The following USE changes are necessary to proceed:
     (see "package.use" in the portage(5) man page for more details)
    # required by dev-python/pyzmq-22.1.0::gentoo[-test]
    # required by dev-python/ipyparallel-7.1.0::gentoo[-test]
    # required by dev-python/ipython-7.29.0::gentoo[smp]
    # required by dev-python/qtconsole-5.1.1::gentoo
    # required by dev-python/jupyter-1.0.0-r3::gentoo
    # required by jupyter (argument)
    >=net-libs/zeromq-4.3.4-r1 drafts
    # required by dev-python/qtconsole-5.1.1::gentoo
    # required by dev-python/jupyter-1.0.0-r3::gentoo
    # required by jupyter (argument)
    >=dev-python/QtPy-1.11.2 svg gui printsupport
    # required by dev-python/QtPy-1.11.2::gentoo
    # required by dev-python/qtconsole-5.1.1::gentoo
    # required by dev-python/jupyter-1.0.0-r3::gentoo
    # required by jupyter (argument)
    >=dev-python/PyQt5-5.15.4-r1 gui svg printsupport

    Would you like to add these changes to your config files? [Yes/No]
Comment 3 Fabian Groffen gentoo-dev 2022-01-08 11:46:18 UTC
can you paste the output of q -ev USE?
Comment 4 Fabian Leimgruber 2022-01-08 11:49:14 UTC
q -ev USE

does not print anything.
Comment 5 Fabian Groffen gentoo-dev 2022-01-08 11:59:34 UTC
hmmm, that's very curious

portageq envvar USE then?
Comment 6 Fabian Leimgruber 2022-01-08 12:39:20 UTC
Created attachment 761608 [details]
portageq envvar USE
Comment 7 Fabian Leimgruber 2022-01-08 12:39:47 UTC
> portageq envvar USE then?

Please see new attachment.