Bug 237887

Summary: REGRESSION(r291270 ): gst_video_format_info_component dependency breaks Ubuntu LTS build
Product: WebKit Reporter: Diego Pino <dpino>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: alex, bugs-noreply, zdobersek
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=237886

Description Diego Pino 2022-03-15 06:15:25 PDT
Ubuntu LTS build bot is broken after r291270.

https://build.webkit.org/#/builders/68/builds/12052/steps/8/logs/stdio

/bin/g++-9 -DBUILDING_GTK__=1 -DBUILDING_WEBKIT -DBUILDING_WITH_CMAKE=1 -DBUILDING_WebCore -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_PAL -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -I. -IWebCore/DerivedSources ../../Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
../../Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: In lambda function:
../../Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:3102:21: error: there are no arguments to ‘gst_video_format_info_component’ that depend on a template parameter, so a declaration of ‘gst_video_format_info_component’ must be available [-fpermissive]
 3102 |                     gst_video_format_info_component(videoInfo.finfo, i, comp);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Ubuntu LTS build bot uses `jhbuild-minimal.modules` module set. Function `gst_video_format_info_component` is available since GStreamer 1.18. Ubuntu LTS uses GStreamer 1.16 (libgstreamer-plugins-base1.0-dev v1.16.2-4) from system's libraries.

If there is no way to work around this issue, a possible solution might be to add `libgstreamer-plugins-base` as a dependency to the minimal moduleset.
Comment 1 Alejandro G. Castro 2022-03-15 11:41:24 PDT

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