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

Bug 923805

Summary: media-video/obs-studio-30.0.2 fails to configure: Could NOT find OpenGL (missing: OPENGL_glx_LIBRARY)
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Chiitoo <chiitoo>
Status: RESOLVED FIXED    
Severity: normal CC: chiitoo, matoro_gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 918404    
Attachments: build.log and emerge --info

Description matoro archtester 2024-02-05 03:06:38 UTC
Per discussion on IRC, this shouldn't be virtual/opengl but rather media-libs/libglvnd[X] possibly plus some other stuff?

-- OBS:  Application Version: 30.0.2 - Build Number: 1
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find OpenGL (missing: OPENGL_glx_LIBRARY)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindOpenGL.cmake:545 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  deps/glad/CMakeLists.txt:3 (find_package)


-- Configuring incomplete, errors occurred!

Reproducible: Always
Comment 1 matoro archtester 2024-02-05 03:07:32 UTC
Created attachment 884251 [details]
build.log and emerge --info
Comment 2 Chiitoo gentoo-dev 2024-04-02 19:52:04 UTC
(In reply to matoro from comment #0)
> Per discussion on IRC, this shouldn't be virtual/opengl but rather
> media-libs/libglvnd[X] possibly plus some other stuff?

Guessing that 'virtual/opengl' was meant to be 'media-libs/libglvnd'?  :]

But yeah, definitely seems [X] should be added.

Can't really think of any other stuff at this time though.

Thanks!
Comment 3 Larry the Git Cow gentoo-dev 2024-04-04 19:44:01 UTC
The bug has been closed via the following commit(s):

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

commit 3557fa0afc8d1dd8af01f346aa73dd1ffc267e0a
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2024-04-01 21:24:39 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2024-04-04 19:42:52 +0000

    media-video/obs-studio: add version 30.1.1
    
    Add 'NATIVE_NVENC' (9999 only) CMake switch controlled via
    USE="nvenc", which was automagically enabled otherwise,
    leading into configure errors if ffmpeg was not built with
    nvenc support.
    
    Also add USE="X" on the 'media-libs/libglvnd' dependency.
    
    Also also use 'filter-lto' to filter LTO issues when USE="wayland"
    for the time being.
    
    Closes: https://bugs.gentoo.org/867250
    Closes: https://bugs.gentoo.org/923805
    Closes: https://bugs.gentoo.org/927964
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>

 media-video/obs-studio/Manifest                 |   1 +
 media-video/obs-studio/obs-studio-30.1.1.ebuild | 269 ++++++++++++++++++++++++
 media-video/obs-studio/obs-studio-9999.ebuild   |   8 +-
 3 files changed, 277 insertions(+), 1 deletion(-)