Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10417

[media-kit] Latest media-video/obs-studio-28.0.0 autogen version is broken

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical (Application) Critical (Application)
    • None
    • None
    • None
    • obs-studio currently can't merge and the template is in need of updates.

      During a recent ego sync and system update, a new autogenned version of media-video/obs-studio-28.0.0 became available. I tried installing it.

      It appears the default USE Flags don't work and  obs-studio now requires vlc:

       

      CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
        Could NOT find LibVLC (missing: VLC_INCLUDE_DIR)
      Call Stack (most recent call first):
        /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
        cmake/Modules/FindLibVLC.cmake:47 (find_package_handle_standard_args)
        plugins/vlc-video/CMakeLists.txt:13 (find_package)
      
      -- Configuring incomplete, errors occurred!
      See also "/var/tmp/portage/media-video/obs-studio-28.0.0/work/obs-studio-28.0.0_build/CMakeFiles/CMakeOutput.log".
      See also "/var/tmp/portage/media-video/obs-studio-28.0.0/work/obs-studio-28.0.0_build/CMakeFiles/CMakeError.log".
       * ERROR: media-video/obs-studio-28.0.0::media-kit failed (configure phase):
       *   cmake failed
       *
       * Call stack:
       *     ebuild.sh, line   93:  Called src_configure
       *   environment, line 3460:  Called cmake-utils_src_configure
       *   environment, line 1528:  Called die
       * The specific snippet of code:
       *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
      

      Upon enabled the vlc Flag and recompiling a new CMake configure error occurred:

       

      CMake Error at cmake/Modules/ObsHelpers.cmake:446 (message):
        OBS: obs-browser submodule not available.
      Call Stack (most recent call first):
        plugins/CMakeLists.txt:11 (obs_status)
        plugins/CMakeLists.txt:64 (check_obs_browser)
      
      -- Configuring incomplete, errors occurred!
      See also "/var/tmp/portage/media-video/obs-studio-28.0.0/work/obs-studio-28.0.0_build/CMakeFiles/CMakeOutput.log".
      See also "/var/tmp/portage/media-video/obs-studio-28.0.0/work/obs-studio-28.0.0_build/CMakeFiles/CMakeError.log".
       * ERROR: media-video/obs-studio-28.0.0::media-kit failed (configure phase):
       *   cmake failed
       *
       * Call stack:
       *     ebuild.sh, line   93:  Called src_configure
       *   environment, line 3460:  Called cmake-utils_src_configure
       *   environment, line 1528:  Called die
       * The specific snippet of code:
       *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
      

      Upon enabled the browser USE Flag a third CMake configure error occurred:

       

      CMake Error at cmake/Modules/ObsHelpers.cmake:446 (message):
        OBS: obs-websocket submodule not available.
      Call Stack (most recent call first):
        plugins/CMakeLists.txt:88 (obs_status)
      
      -- Configuring incomplete, errors occurred!
      See also "/var/tmp/portage/media-video/obs-studio-28.0.0/work/obs-studio-28.0.0_build/CMakeFiles/CMakeOutput.log".
      See also "/var/tmp/portage/media-video/obs-studio-28.0.0/work/obs-studio-28.0.0_build/CMakeFiles/CMakeError.log".
       * ERROR: media-video/obs-studio-28.0.0::media-kit failed (configure phase):
       *   cmake failed
       *
       * Call stack:
       *     ebuild.sh, line   93:  Called src_configure
       *   environment, line 3460:  Called cmake-utils_src_configure
       *   environment, line 1528:  Called die
       * The specific snippet of code:
       *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
      

      So it appears vlc and browser USE flags are now required OR the ebuild template we are using is incompatible with some breaking upstream CMake changes in obs-studio version 28.0.0.

      More research will be needed to confirm what from upstream has broken Funtoo's obs-studio ebuild template.

       

            adbosco adbosco
            siris siris
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: