[Webkit-unassigned] [Bug 279874] New: [2.46.0][gstreamer] Build error with GST_DISABLE_GST_DEBUG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 18 00:38:54 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279874

            Bug ID: 279874
           Summary: [2.46.0][gstreamer] Build error with
                    GST_DISABLE_GST_DEBUG
           Product: WebKit
           Version: WebKit Local Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: xry111 at xry111.site

When gstreamer is built with -D gst_debug=false, GST_DISABLE_GST_DEBUG is defined and webkitgtk-2.46.0 FTBFS with:

In file included from /home/xry111/sources/12.3/webkitgtk-2.46.0/b/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-53.cpp:3:
/home/xry111/sources/12.3/webkitgtk-2.46.0/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: In member function ‘virtual GstDebugCategory* WebCore::MediaLogObserver::debugCategory() const’:
/home/xry111/sources/12.3/webkitgtk-2.46.0/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:147:16: error: ‘webkit_media_player_debug’ was not declared in this scope
  147 |         return webkit_media_player_debug;
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~

because GST_DEBUG_CATEGORY(webkit_media_player_debug) is expanded to a dummy:

#define GST_DEBUG_CATEGORY(var)             void _gst_debug_dummy_##var (void)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240918/1f9b34df/attachment.htm>


More information about the webkit-unassigned mailing list