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

Bug 923030

Summary: media-libs/gst-plugins-base-1.22.11 - ../.../meson.build: ERROR: Problem encountered: Impossible situation requested: Cannot use GLX without the OpenGL
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: GStreamer package maintainers <gstreamer>
Status: RESOLVED FIXED    
Severity: normal CC: bugs, correabuscar+gentoo_bugs, erikdenstore+gbugs, eschwartz, reagentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
media-libs:gst-plugins-base-1.22.3:20240127-135855.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-01-27 14:18:17 UTC
Has header "GLES3/gl3ext.h" with dependency glesv2: YES 
Run-time dependency egl found: YES 1.5
Has header "EGL/egl.h" with dependency egl: YES 
Has header "EGL/eglext.h" with dependency egl: YES 
Has header "libdrm/drm_fourcc.h" : YES 

../gst-plugins-base-1.22.3/gst-libs/gst/gl/meson.build:655:4: ERROR: Problem encountered: Impossible situation requested: Cannot use GLX without the OpenGL library

A full log can be found at /var/tmp/portage/media-libs/gst-plugins-base-1.22.3/work/gst-plugins-base-1.22.3-abi_x86_64.amd64/meson-logs/meson-log.txt

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-20240124-092003

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.6 linux/amd64

  HEAD of ::gentoo
commit 87e7e6c0b581f1c48368e83ad991b13f21b768d3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 27 13:03:15 2024 +0000

    2024-01-27 13:03:15 UTC

emerge -qpvO media-libs/gst-plugins-base
[ebuild  N    ] media-libs/gst-plugins-base-1.22.3  USE="X egl gles2 introspection nls ogg orc vorbis -alsa -gbm -ivorbis -opengl -pango -test -theora -wayland"
Comment 1 Toralf Förster gentoo-dev 2024-01-27 14:18:18 UTC
Created attachment 883286 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-27 14:18:19 UTC
Created attachment 883287 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-01-27 14:18:20 UTC
Created attachment 883288 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-27 14:18:21 UTC
Created attachment 883289 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-27 14:18:22 UTC
Created attachment 883290 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-27 14:18:23 UTC
Created attachment 883291 [details]
media-libs:gst-plugins-base-1.22.3:20240127-135855.log
Comment 7 Toralf Förster gentoo-dev 2024-01-27 14:18:24 UTC
Created attachment 883292 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-27 14:18:25 UTC
Created attachment 883293 [details]
temp.tar.xz
Comment 9 Agostino Sarubbo gentoo-dev 2024-04-02 07:05:51 UTC
ci has reproduced this issue with version 1.22.11 - Updating summary.
Comment 10 Larry the Git Cow gentoo-dev 2024-04-03 20:04:50 UTC
The bug has been closed via the following commit(s):

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

commit 822cde312a67beb79e3f86ba4493b440517baa40
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2024-04-03 20:01:18 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2024-04-03 20:01:18 +0000

    media-libs/gst-plugins-base: fix build with USE="X gles2 -opengl"
    
    .. by disabling GLX gl_platform in that case. GL functions via EGL/GLES2 then,
    including on xorg-server.
    
    Closes: https://bugs.gentoo.org/923030
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 media-libs/gst-plugins-base/gst-plugins-base-1.22.11.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)