Bug 220494

Summary: [GStreamer] Build failure with gst-build: Missing gst/audio/audio.h
Product: WebKit Reporter: Lauro Moura <lmoura>
Component: Tools / TestsAssignee: Lauro Moura <lmoura>
Status: RESOLVED FIXED    
Severity: Normal CC: annulen, ews-watchlist, gyuyoung.kim, pnormand, ryuan.choi, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Lauro Moura 2021-01-08 19:07:40 PST
Steps to reproduce:

* Clone gst-build (e.g. ~/gst-build)
* Build it
* Enable its variables (e.g invoking ~/gst-build/gst-env.py to open a new shell)
* Build WebKit

The build will fail with the following error:

In file included from DerivedSources/ForwardingHeaders/WebCore/GStreamerCommon.h:25,
                 from DerivedSources/ForwardingHeaders/WebCore/SharedBuffer.h:52,
                 from ../Source/WebKit/Platform/IPC/Decoder.h:33,
                 from ../Source/WebKit/Shared/WebPreferencesStore.h:28,
                 from ../Source/WebKit/UIProcess/WebPreferences.h:32,
                 from ../Source/WebKit/UIProcess/API/glib/WebKitSettingsPrivate.h:31,
                 from ../Tools/TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp:24:
DerivedSources/ForwardingHeaders/WebCore/GUniquePtrGStreamer.h:24:10: fatal error: gst/audio/audio.h: No such file or directory
   24 | #include <gst/audio/audio.h>
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
Comment 1 Lauro Moura 2021-01-08 19:15:28 PST
Created attachment 417328 [details]
Patch
Comment 2 EWS 2021-01-09 04:01:54 PST
Committed r271346: <https://trac.webkit.org/changeset/271346>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 417328 [details].
Comment 3 Radar WebKit Bug Importer 2021-01-09 04:02:16 PST
<rdar://problem/72962015>