Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648348 - media-libs/clutter-gtk: must depend on gtk+[wayland] flag only when enabled
Summary: media-libs/clutter-gtk: must depend on gtk+[wayland] flag only when enabled
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-21 09:10 UTC by Nikita Zlobin
Modified: 2018-02-21 10:06 UTC (History)
1 user (show)

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 Nikita Zlobin 2018-02-21 09:10:38 UTC
I got case, where some app requires gtk+[wayland] just to compile (of course, it might get option to disable wayland someday).

But anyway, i now have to enable wayland for gtk+:3. But on attempt to rebuild with new use i get conflict:

Calculating dependencies... done!
[ebuild  N     ] dev-libs/wayland-protocols-1.11::gentoo  116 KiB
[ebuild   R    ] media-libs/mesa-17.2.8::gentoo  USE="classic dri3 egl gallium gbm gles2 llvm nptl pic vaapi vulkan wayland* xa xvmc -bindist -d3d9 -debug -gles1 -opencl -openmax -osmesa -pax_kernel (-selinux) -unwind -valgrind -vdpau" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="i965 (-freedreno) -i915 (-imx) -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl (-vivante) -vmware" 0 KiB
[ebuild   R   ~] x11-libs/gtk+-3.22.19:3::elementary  USE="X cups introspection ubuntu wayland* xinerama (-aqua) -broadway -cloudprint -colord -examples {-test} -vim-syntax" ABI_X86="(64) -32 (-x32)" 0 KiB

Total: 3 packages (1 new, 2 reinstalls), Size of downloads: 116 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

x11-libs/gtk+:3

  (x11-libs/gtk+-3.22.19:3/3::elementary, ebuild scheduled for merge) pulled in by
    x11-libs/gtk+:3 (Argument)

  (x11-libs/gtk+-3.22.19:3/3::elementary, installed) pulled in by
    >=x11-libs/gtk+-3.21.0:3[X=,introspection?,wayland=] required by (media-libs/clutter-gtk-1.8.4:1.0/1.0::gentoo, installed)

Would not it better depend on 'wayland?' instead if 'wayland=' ?
Comment 1 Mart Raudsepp gentoo-dev 2018-02-21 09:20:29 UTC
I'm not sure of the fineprint there offhand. Things need to match up between clutter, clutter-gtk and clutter-gst or something; not sure if that's needed for gtk+. Gilles?
Comment 2 Nikita Zlobin 2018-02-21 10:06:35 UTC
Yep, i self doubt in this... just thought, that if something may be built without, then why not...

Is not reason for existing deps is that gtk, built with both x/wayland, might be launched in wayland session, and if it also need clutter/gst, it is going to be in trouble. If so, i'm unlikely insisting on fixing this bug :)