Skip to content

[media-kit] media-video/obs-studio-29.1.3 doesn't compile with QT 6.10.1 #717

Description

@geaaru
 # USE="-browser -fdk -lua alsa jack lua_single_target_luajit pipewire pulseaudio python python_single_target_python3_9 qt6 speex ssl truetype v4l vlc wayland websocket" emerge -j ${JOBS} --nodeps media-video/obs-studio
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-video/obs-studio-29.1.3::media-kit
>>> Failed to emerge media-video/obs-studio-29.1.3, Log file:
>>>  '/var/tmp/portage/media-video/obs-studio-29.1.3/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.47, 0.19, 0.07
 * Package:    media-video/obs-studio-29.1.3
 * Repository: media-kit
 * USE:        alsa amd64 elibc_glibc jack kernel_linux lua_single_target_luajit pipewire pulseaudio python python_single_target_python3_9 python_targets_python3_9 qt6 speex ssl truetype userland_GNU v4l vlc wayland websocket
 * FEATURES:   preserve-libs userpriv
 * Using python3.9 to build
>>> Unpacking source...
>>> Unpacking obs-studio-29.1.3.tar.gz to /var/tmp/portage/media-video/obs-studio-29.1.3/work
>>> Unpacking obs-browser-594115a27d40f0916e55db97cb61f7c7130cbe28.tar.gz to /var/tmp/portage/media-video/obs-studio-29.1.3/work
>>> Unpacking qr-8518684c0f33d004fa93971be2c6a8eca3167d1e.tar.gz to /var/tmp/portage/media-video/obs-studio-29.1.3/work
>>> Unpacking obs-websocket-6fd18a7ef1ecb149e8444154af1daab61d4241a9.tar.gz to /var/tmp/portage/media-video/obs-studio-29.1.3/work
>>> Source unpacked in /var/tmp/portage/media-video/obs-studio-29.1.3/work
>>> Preparing source in /var/tmp/portage/media-video/obs-studio-29.1.3/work/obs-studio-29.1.3 ...
 * Working in BUILD_DIR: "/var/tmp/portage/media-video/obs-studio-29.1.3/work/obs-studio-29.1.3_build"
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/obs-studio-29.1.3/work/obs-studio-29.1.3 ...
 * Working in BUILD_DIR: "/var/tmp/portage/media-video/obs-studio-29.1.3/work/obs-studio-29.1.3_build"
cmake -C /var/tmp/portage/media-video/obs-studio-29.1.3/work/obs-studio-29.1.3_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCALM_DEPRECATION=ON -DCCACHE_SUPPORT=OFF -DENABLE_ALSA=yes -DENABLE_AJA=OFF -DENABLE_BROWSER=no -DENABLE_DECKLINK=no -DENABLE_FREETYPE=yes -DENABLE_JACK=yes -DENABLE_LIBFDK=no -DENABLE_NEW_MPEGTS_OUTPUT=OFF -DENABLE_PIPEWIRE=yes -DENABLE_PULSEAUDIO=yes -DENABLE_RTMPS=ON -DENABLE_SPEEXDSP=yes -DENABLE_V4L2=yes -DENABLE_VLC=yes -DENABLE_VST=ON -DENABLE_WAYLAND=yes -DENABLE_WEBSOCKET=yes -DOBS_MULTIARCH_SUFFIX=64 -DQT_VERSION=6 -DUNIX_STRUCTURE=1 -DOBS_VERSION_OVERRIDE=29.1.3 -DENABLE_SCRIPTING_LUA=no -DENABLE_SCRIPTING_PYTHON=yes -DENABLE_SCRIPTING=ON -DENABLE_WHATSNEW=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-video/obs-studio-29.1.3/work/obs-studio-29.1.3_build/gentoo_toolchain.cmake  /var/tmp/portage/media-video/obs-studio-29.1.3/work/obs-studio-29.1.3
CMake Warning:
  Ignoring empty string ("") provided on the command line.


loading initial cache file /var/tmp/portage/media-video/obs-studio-29.1.3/work/obs-studio-29.1.3_build/gentoo_common_config.cmake
-- OBS:  Application Version: 29.1.3 - Build Number: 1
-- The C compiler identification is GNU 12.3.0
-- The CXX compiler identification is GNU 12.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-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/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found FFmpeg: /usr/lib64/../lib64/libavcodec.so (found version "#define LIBAVCODEC_VERSION_MINOR  11;#define LIBAVCODEC_VERSION_MICRO 100.11.100") found components: avcodec avdevice avutil avformat
-- Found CURL: /usr/lib64/libcurl.so (found version "8.12.1")
-- OBS:  DISABLED   Luajit support
-- Found Python: /var/tmp/portage/media-video/obs-studio-29.1.3/temp/python3.9/bin/python3 (found version "3.9.25") found components: Interpreter Development Development.Module Development.Embed
-- Found SWIG: /usr/bin/swig (found suitable version "4.4.1", minimum required is "3")
-- OBS:  ENABLED    obspython
-- OBS:  obs-scripting -> Python 3.9.25 found.
CMake Warning (dev) at deps/obs-scripting/cmake/legacy.cmake:120 (add_custom_command):
  The following keywords are not supported when using
  add_custom_command(OUTPUT): PRE_BUILD.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  cmake/Modules/ObsHelpers.cmake:519 (include)
  deps/obs-scripting/CMakeLists.txt:3 (legacy_check)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- OBS:  Using system Jansson library.
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "2.2.0")
-- XCB[XCB]: Found component XCB
-- Found XCB: /usr/lib64/libxcb.so  found components: XCB
-- Found X11_XCB: /usr/lib64/libX11-xcb.so
-- Found OpenGL: /usr/lib64/libOpenGL.so  found components: EGL
-- Found Wayland: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so;/usr/lib64/libwayland-egl.so;/usr/lib64/libwayland-cursor.so
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found FFmpeg: /usr/lib64/libavformat.so (found version "#define LIBAVFORMAT_VERSION_MINOR   3;#define LIBAVFORMAT_VERSION_MICRO 100.3.100") found components: avformat avutil swscale swresample avcodec
-- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1")
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- OBS:  Qt version: 6
-- Found LibUUID: /usr/lib64/libuuid.so
-- OBS:  -> PulseAudio found - audio monitoring enabled
-- Checking for modules 'gio-2.0;gio-unix-2.0'
--   Found gio-2.0, version 2.86.2
--   Found gio-unix-2.0, version 2.86.2
-- Found Gio: /usr/lib64/libgio-2.0.so
-- Found Wayland: /usr/lib64/libwayland-client.so;/usr/lib64/libwayland-server.so;/usr/lib64/libwayland-egl.so;/usr/lib64/libwayland-cursor.so  found components: Client
-- Found Xkbcommon: /usr/lib64/libxkbcommon.so
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- XCB[XCB]: Found component XCB
-- XCB[XFIXES]: Found component XFIXES
-- XCB[RANDR]: Found component RANDR
-- XCB[SHM]: Found component SHM
-- XCB[XINERAMA]: Found component XINERAMA
-- XCB[COMPOSITE]: Found component COMPOSITE
-- Found XCB: /usr/lib64/libxcb.so;/usr/lib64/libxcb-xfixes.so;/usr/lib64/libxcb-randr.so;/usr/lib64/libxcb-shm.so;/usr/lib64/libxcb-xinerama.so;/usr/lib64/libxcb-composite.so  found components: XCB XFIXES RANDR SHM XINERAMA COMPOSITE
-- OBS:  ENABLED    linux-capture
-- OBS:  ENABLED    linux-pulseaudio
-- Found Libv4l2: /usr/lib64/libv4l2.so
-- Found FFmpeg: /usr/lib64/libavcodec.so (found version "#define LIBAVCODEC_VERSION_MINOR  11;#define LIBAVCODEC_VERSION_MICRO 100.11.100") found components: avcodec avutil avformat
-- Found Udev: /usr/lib64/libudev.so
-- OBS:  ENABLED    linux-v4l2
-- Checking for module 'jack'
--   Found jack, version 1.9.17
-- Found jack: /usr/lib64/libjack.so
-- OBS:  ENABLED    linux-jack
-- Found ALSA: /usr/lib64/libasound.so (found version "1.2.11")
-- OBS:  ENABLED    linux-alsa
-- Found PipeWire: /usr/lib64/libpipewire-0.3.so (found suitable version "1.5.84", minimum required is "0.3.33")
-- OBS:  ENABLED    linux-pipewire
-- OBS:  DISABLED   decklink
-- Found LibVLC: /usr/include/vlc
-- OBS:  ENABLED    vlc-video
-- OBS:  DISABLED   sndio
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- Found WrapOpenGL: TRUE
-- Found WrapVulkanHeaders: /usr/include
-- OBS:    -        obs-vst uses bundled VST headers
-- OBS:  ENABLED    obs-vst
-- OBS:  DISABLED   obs-browser
CMake Warning at plugins/obs-browser/cmake/legacy.cmake:8 (message):
  Browser source support is not enabled by default - please switch
  ENABLE_BROWSER to ON and specify CEF_ROOT_DIR to enable this functionality.
Call Stack (most recent call first):
  cmake/Modules/ObsHelpers.cmake:519 (include)
  plugins/obs-browser/CMakeLists.txt:3 (legacy_check)


-- Found nlohmann_json: /usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found suitable version "3.11.3", minimum required is "3")
-- Found Websocketpp: /usr/include (found suitable version "0.8.2", minimum required is "0.8")
-- Found Asio: /usr/include (found suitable version "1.28.1", minimum required is "1.12.1")
-- OBS:  ENABLED    obs-websocket
-- OBS:  ENABLED    image-source
-- Found Libx264: /usr/lib64/../lib64/libx264.so
-- OBS:  ENABLED    obs-x264
-- OBS:  DISABLED   obs-libfdk
-- Found FFmpeg: /usr/lib64/libavcodec.so (found version "#define LIBAVCODEC_VERSION_MINOR  11;#define LIBAVCODEC_VERSION_MICRO 100.11.100") found components: avcodec avfilter avdevice avutil swscale avformat swresample
-- Found FFmpeg: /usr/lib64/libavcodec.so (found version "#define LIBAVCODEC_VERSION_MINOR  11;#define LIBAVCODEC_VERSION_MICRO 100.11.100") found components: avcodec avutil avformat
-- Checking for module 'libva'
--   Found libva, version 1.23.0
-- Checking for module 'libva-drm'
--   Found libva-drm, version 1.23.0
-- Found Libva: /usr/include
-- Checking for module 'libpci'
--   Found libpci, version 3.13.0
-- Found Libpci: /usr/lib64/libpci.so
-- OBS:  ENABLED    obs-ffmpeg
-- Found MbedTLS: /usr/sbin/../lib64/libmbedtls.so;/usr/sbin/../lib64/libmbedcrypto.so;/usr/sbin/../lib64/libmbedx509.so
CMake Deprecation Warning at cmake/Modules/ObsHelpers.cmake:419 (message):
  OBS: The feature enabled by 'FTL_FOUND' is deprecated and will soon be
  removed from OBS.
Call Stack (most recent call first):
  cmake/Modules/DeprecationHelpers.cmake:177 (obs_status)
  /usr/share/cmake/Modules/FindPkgConfig.cmake:9223372036854775807 (__deprecated_feature)
  /usr/share/cmake/Modules/FindPkgConfig.cmake:870 (if)
  plugins/obs-outputs/cmake/legacy.cmake:111 (pkg_check_modules)
  cmake/Modules/ObsHelpers.cmake:519 (include)
  plugins/obs-outputs/CMakeLists.txt:3 (legacy_check)


-- OBS:  ENABLED    obs-outputs
-- Found Libspeexdsp: /usr/sbin/../lib64/libspeexdsp.so
-- OBS:  obs-filters -> using bundled RNNoise library
-- OBS:  DISABLED   NVIDIA Audio FX support
-- OBS:  DISABLED   NVIDIA Video FX support
-- OBS:  ENABLED    obs-filters
-- OBS:  ENABLED    obs-transitions
-- OBS:  ENABLED    rtmp-services
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.14.1")
-- Found Fontconfig: /usr/lib64/libfontconfig.so (found version "2.17.1")
-- OBS:  ENABLED    text-freetype2
-- OBS:  DISABLED   aja
-- OBS:  ENABLED    frontend-tools
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -mtune=generic -O2 -pipe
C++             -mtune=generic -O2 -pipe
Linker flags:
Executable      -Wl,-O1 -Wl,--sort-common -Wl,--as-needed
Module          -Wl,-O1 -Wl,--sort-common -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--sort-common -Wl,--as-needed

-- Configuring done (11.7s)
CMake Error at UI/cmake/legacy.cmake:451 (target_link_libraries):
  Target "obs" links to:

    Qt::GuiPrivate

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  cmake/Modules/ObsHelpers.cmake:519 (include)
  UI/CMakeLists.txt:3 (legacy_check)


CMake Error at UI/frontend-plugins/frontend-tools/cmake/legacy.cmake:53 (target_link_libraries):
  Target "frontend-tools" links to:

    Qt::GuiPrivate

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  cmake/Modules/ObsHelpers.cmake:519 (include)
  UI/frontend-plugins/frontend-tools/CMakeLists.txt:3 (legacy_check)


-- Generating done (0.6s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
 * ERROR: media-video/obs-studio-29.1.3::media-kit failed (configure phase):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions