Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932512 - libsdl2 with wayland requires gles2
Summary: libsdl2 with wayland requires gles2
Status: RESOLVED DUPLICATE of bug 932515
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 929992
  Show dependency tree
 
Reported: 2024-05-22 21:42 UTC by Ian Kumlien
Modified: 2024-05-23 17:18 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 Ian Kumlien 2024-05-22 21:42:42 UTC
Even with the latest available version you get this:

!!! The ebuild selected to satisfy "media-libs/libsdl2" has unmet requirements.
- media-libs/libsdl2-2.30.3::gentoo USE="X dbus haptic joystick libsamplerate opengl pipewire pulseaudio sound threads udev video vulkan wayland -alsa (-aqua) (-custom-cflags) -doc -fcitx4 -gles1 -gles2 -ibus -jack -kms -nas -oss -sndio -static-libs -test -xscreensaver" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="mmx sse sse2 sse3 -3dnow"

  The following REQUIRED_USE flag constraints are unsatisfied:
    wayland? ( gles2 )


The removal of mesas gles* flags causes all kinds of problems:
emerge -v =media-libs/mesa-24.1.0

 * IMPORTANT: 101 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!
Dependency resolution took 29.35 s (backtrack: 3/20).

[ebuild     U ~] media-libs/mesa-24.1.0::gentoo [24.0.7::gentoo] USE="X d3d9 llvm lm-sensors opencl (opengl) proprietary-codecs vaapi vdpau vulkan wayland xa zstd -debug -osmesa (-selinux) -test -unwind -valgrind -vulkan-overlay (-zink) (-gles1%*) (-gles2%*)" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="17 -15 -16" VIDEO_CARDS="radeonsi -d3d12 (-freedreno) -intel -lavapipe (-lima) -nouveau (-nvk) (-panfrost) -r300 -r600 -radeon (-v3d) (-vc4) -virgl (-vivante) -vmware" 28 739 KiB

Total: 1 package (1 upgrade), Size of downloads: 28 739 KiB

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

media-libs/mesa:0

  (media-libs/mesa-24.1.0:0/0::gentoo, ebuild scheduled for merge) USE="X d3d9 llvm lm-sensors opencl (opengl) proprietary-codecs vaapi vdpau vulkan wayland xa zstd -debug -osmesa (-selinux) -test -unwind -valgrind -vulkan-overlay (-zink)" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="17 -15 -16" VIDEO_CARDS="radeonsi -d3d12 (-freedreno) -intel -lavapipe (-lima) -nouveau (-nvk) (-panfrost) -r300 -r600 -radeon (-v3d) (-vc4) -virgl (-vivante) -vmware" pulled in by
    =media-libs/mesa-24.1.0 (Argument)

  (media-libs/mesa-24.0.7:0/0::gentoo, installed) USE="X d3d9 gles1 gles2 llvm lm-sensors opencl (opengl) proprietary-codecs vaapi vdpau vulkan wayland xa zstd -debug -osmesa (-selinux) -test -unwind -valgrind -vulkan-overlay (-zink)" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="17 -15 -16" VIDEO_CARDS="radeonsi -d3d12 (-freedreno) -intel -lavapipe (-lima) -nouveau (-panfrost) -r300 -r600 -radeon (-v3d) (-vc4) -virgl (-vivante) -vmware" pulled in by
    >=media-libs/mesa-9.0[egl(+)?,gbm(+)?,gles2?,wayland?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (media-libs/gst-plugins-base-1.22.11:1.0/1.0::gentoo, installed) USE="X alsa egl gbm introspection nls ogg opengl orc pango theora vorbis wayland -gles2 -ivorbis -test" ABI_X86="32 (64) (-x32)"
                                          ^^^^^^                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
    media-libs/mesa[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?,egl(+),gles2?,wayland?,X?] required by (x11-apps/mesa-progs-8.5.0:0/0::gentoo, installed) USE="X gles2 userland_GNU wayland" ABI_X86="(64) -32 (-x32)"
                                                                                                                                                            ^^^^^^                                                                                                                                                                                                                                                                                                                  
    media-libs/mesa[gles2?,egl(+)?,X?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (media-plugins/gst-plugins-vaapi-1.22.11:1.0/1.0::gentoo, installed) USE="X drm egl nls opengl wayland -gles2 -test" ABI_X86="(64) -32 (-x32)"
                    ^^^^^^
Comment 1 Greg Kubaryk 2024-05-23 01:18:37 UTC
I can't really figure out what you're trying to report here. media-libs/libsdl2[wayland] requires gles2, and portage is correctly telling you that.
Comment 2 Larry the Git Cow gentoo-dev 2024-05-23 13:31:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecf2c28739a234d72d95b44a709e706434b8314e

commit ecf2c28739a234d72d95b44a709e706434b8314e
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-05-23 13:29:21 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-05-23 13:30:56 +0000

    Revert "profiles: Remove outdated mask"
    
    This reverts commit c89941d77dfd679fc7b46d881b0bc4f4685a5a60.
    
    Reverse dependencies of media-libs/mesa need to be updated to handle the
    removal of IUSE=gles2.
    
    Bug: https://bugs.gentoo.org/932512
    Bug: https://bugs.gentoo.org/932515
    Bug: https://bugs.gentoo.org/929992
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 3 Matt Turner gentoo-dev 2024-05-23 17:18:36 UTC

*** This bug has been marked as a duplicate of bug 932515 ***