[Webkit-unassigned] [Bug 279910] New: Used gst_video_dma_drm_fourcc_to_format , a function introduced in GStreamer 1.24

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 18 11:11:52 PDT 2024


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

            Bug ID: 279910
           Summary: Used gst_video_dma_drm_fourcc_to_format , a function
                    introduced in GStreamer 1.24
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CMake
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tusooa at kazv.moe

The function gst_video_dma_drm_fourcc_to_format is introduced in GStreamer 1.24 ( https://gstreamer.freedesktop.org/documentation/video/video-info-dma-drm.html?gi-language=c ), but the find_package only requires GStreamer 1.18.4 .

Building with the following configuration:

CC=/usr/lib/ccache/bin/cc CXX=/usr/lib/ccache/bin/c++ cmake -DPORT=WPE -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja -DUSE_LIBBACKTRACE=OFF -DUSE_SYSTEM_SYSPROF_CAPTURE=NO -DUSE_QT6=ON ..

It gives the following error:

```
[1182/4538] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp.o
FAILED: Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp.o 
/usr/bin/ccache /usr/bin/c++ -DBITMAP_TEXTURE_POOL_MAX_SIZE_IN_MB=80 -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBUILDING_WPE__=1 -DBUILDING_WebCore -DBWRAP_EXECUTABLE=\"/usr/bin/bwrap\" -DDBUS_PROXY_EXECUTABLE=\"/usr/bin/xdg-dbus-proxy\" -DGETTEXT_PACKAGE=\"WPE\" -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 -DSK_ASSUME_GL=0 -DSK_ASSUME_GL_ES=1 -DSK_ASSUME_WEBGL=0 -DSK_DISABLE_LEGACY_GL_MAKE_NATIVE_INTERFACE -DSK_DISABLE_LEGACY_IMAGE_READBUFFER -DSK_DISABLE_LEGACY_INIT_DECODERS -DSK_DISABLE_LEGACY_PNG_WRITEBUFFER -DSK_DISABLE_TRACING -DSK_DISABLE_WEBGL_INTERFACE -DSK_ENABLE_PRECOMPILE -DSK_R32_SHIFT=16 -DSK_RELEASE -DSTATICALLY_LINKED_WITH_JavaScriptCore -DSTATICALLY_LINKED_WITH_PAL -DSTATICALLY_LINKED_WITH_WTF -DSTATICALLY_LINKED_WITH_bmalloc -DUSE_SYSTEM_EGL -I/home/user/Code/WebKit/build -I/home/user/Code/WebKit/build/WebCore/DerivedSources -I/home/user/Code/WebKit/Source/WebCore -I/home/user/Code/WebKit/Source/WebCore/Modules/ShapeDetection -I/home/user/Code/WebKit/Source/WebCore/Modules/ShapeDetection/Interfaces -I/home/user/Code/WebKit/Source/WebCore/Modules/WebGPU -I/home/user/Code/WebKit/Source/WebCore/Modules/WebGPU/InternalAPI -I/home/user/Code/WebKit/Source/WebCore/Modules/WebGPU/Implementation -I/home/user/Code/WebKit/Source/WebCore/Modules/airplay -I/home/user/Code/WebKit/Source/WebCore/Modules/applepay -I/home/user/Code/WebKit/Source/WebCore/Modules/applepay/paymentrequest -I/home/user/Code/WebKit/Source/WebCore/Modules/applicationmanifest -I/home/user/Code/WebKit/Source/WebCore/Modules/async-clipboard -I/home/user/Code/WebKit/Source/WebCore/Modules/audiosession -I/home/user/Code/WebKit/Source/WebCore/Modules/badge -I/home/user/Code/WebKit/Source/WebCore/Modules/beacon -I/home/user/Code/WebKit/Source/WebCore/Modules/cache -I/home/user/Code/WebKit/Source/WebCore/Modules/compression -I/home/user/Code/WebKit/Source/WebCore/Modules/contact-picker -I/home/user/Code/WebKit/Source/WebCore/Modules/cookie-consent -I/home/user/Code/WebKit/Source/WebCore/Modules/cookie-store -I/home/user/Code/WebKit/Source/WebCore/Modules/credentialmanagement -I/home/user/Code/WebKit/Source/WebCore/Modules/encryptedmedia -I/home/user/Code/WebKit/Source/WebCore/Modules/encryptedmedia/legacy -I/home/user/Code/WebKit/Source/WebCore/Modules/entriesapi -I/home/user/Code/WebKit/Source/WebCore/Modules/fetch -I/home/user/Code/WebKit/Source/WebCore/Modules/filesystemaccess -I/home/user/Code/WebKit/Source/WebCore/Modules/geolocation -I/home/user/Code/WebKit/Source/WebCore/Modules/highlight -I/home/user/Code/WebKit/Source/WebCore/Modules/identity -I/home/user/Code/WebKit/Source/WebCore/Modules/indexeddb -I/home/user/Code/WebKit/Source/WebCore/Modules/indexeddb/client -I/home/user/Code/WebKit/Source/WebCore/Modules/indexeddb/server -I/home/user/Code/WebKit/Source/WebCore/Modules/indexeddb/shared -I/home/user/Code/WebKit/Source/WebCore/Modules/mediacapabilities -I/home/user/Code/WebKit/Source/WebCore/Modules/mediacontrols -I/home/user/Code/WebKit/Source/WebCore/Modules/mediarecorder -I/home/user/Code/WebKit/Source/WebCore/Modules/mediasession -I/home/user/Code/WebKit/Source/WebCore/Modules/mediasource -I/home/user/Code/WebKit/Source/WebCore/Modules/mediastream -I/home/user/Code/WebKit/Source/WebCore/Modules/model-element -I/home/user/Code/WebKit/Source/WebCore/Modules/model-element/dummy -I/home/user/Code/WebKit/Source/WebCore/Modules/navigatorcontentutils -I/home/user/Code/WebKit/Source/WebCore/Modules/notifications -I/home/user/Code/WebKit/Source/WebCore/Modules/paymentrequest -I/home/user/Code/WebKit/Source/WebCore/Modules/permissions -I/home/user/Code/WebKit/Source/WebCore/Modules/pictureinpicture -I/home/user/Code/WebKit/Source/WebCore/Modules/plugins -I/home/user/Code/WebKit/Source/WebCore/Modules/push-api -I/home/user/Code/WebKit/Source/WebCore/Modules/remoteplayback -I/home/user/Code/WebKit/Source/WebCore/Modules/reporting -I/home/user/Code/WebKit/Source/WebCore/Modules/screen-wake-lock -I/home/user/Code/WebKit/Source/WebCore/Modules/speech -I/home/user/Code/WebKit/Source/WebCore/Modules/storage -I/home/user/Code/WebKit/Source/WebCore/Modules/streams -I/home/user/Code/WebKit/Source/WebCore/Modules/web-locks -I/home/user/Code/WebKit/Source/WebCore/Modules/webaudio -I/home/user/Code/WebKit/Source/WebCore/Modules/webauthn -I/home/user/Code/WebKit/Source/WebCore/Modules/webauthn/cbor -I/home/user/Code/WebKit/Source/WebCore/Modules/webauthn/fido -I/home/user/Code/WebKit/Source/WebCore/Modules/webcodecs -I/home/user/Code/WebKit/Source/WebCore/Modules/webdatabase -I/home/user/Code/WebKit/Source/WebCore/Modules/webdriver -I/home/user/Code/WebKit/Source/WebCore/Modules/websockets -I/home/user/Code/WebKit/Source/WebCore/Modules/webtransport -I/home/user/Code/WebKit/Source/WebCore/Modules/webxr -I/home/user/Code/WebKit/Source/WebCore/accessibility -I/home/user/Code/WebKit/Source/WebCore/accessibility/isolatedtree -I/home/user/Code/WebKit/Source/WebCore/animation -I/home/user/Code/WebKit/Source/WebCore/bindings -I/home/user/Code/WebKit/Source/WebCore/bindings/js -I/home/user/Code/WebKit/Source/WebCore/bridge -I/home/user/Code/WebKit/Source/WebCore/bridge/c -I/home/user/Code/WebKit/Source/WebCore/bridge/jsc -I/home/user/Code/WebKit/Source/WebCore/contentextensions -I/home/user/Code/WebKit/Source/WebCore/crypto -I/home/user/Code/WebKit/Source/WebCore/crypto/algorithms -I/home/user/Code/WebKit/Source/WebCore/crypto/keys -I/home/user/Code/WebKit/Source/WebCore/crypto/parameters -I/home/user/Code/WebKit/Source/WebCore/css -I/home/user/Code/WebKit/Source/WebCore/css/calc -I/home/user/Code/WebKit/Source/WebCore/css/color -I/home/user/Code/WebKit/Source/WebCore/css/parser -I/home/user/Code/WebKit/Source/WebCore/css/query -I/home/user/Code/WebKit/Source/WebCore/css/typedom -I/home/user/Code/WebKit/Source/WebCore/css/typedom/color -I/home/user/Code/WebKit/Source/WebCore/css/typedom/numeric -I/home/user/Code/WebKit/Source/WebCore/css/typedom/transform -I/home/user/Code/WebKit/Source/WebCore/cssjit -I/home/user/Code/WebKit/Source/WebCore/dom -I/home/user/Code/WebKit/Source/WebCore/dom/messageports -I/home/user/Code/WebKit/Source/WebCore/domjit -I/home/user/Code/WebKit/Source/WebCore/editing -I/home/user/Code/WebKit/Source/WebCore/fileapi -I/home/user/Code/WebKit/Source/WebCore/history -I/home/user/Code/WebKit/Source/WebCore/html -I/home/user/Code/WebKit/Source/WebCore/html/canvas -I/home/user/Code/WebKit/Source/WebCore/html/forms -I/home/user/Code/WebKit/Source/WebCore/html/parser -I/home/user/Code/WebKit/Source/WebCore/html/shadow -I/home/user/Code/WebKit/Source/WebCore/html/track -I/home/user/Code/WebKit/Source/WebCore/inspector -I/home/user/Code/WebKit/Source/WebCore/inspector/agents -I/home/user/Code/WebKit/Source/WebCore/inspector/agents/page -I/home/user/Code/WebKit/Source/WebCore/inspector/agents/worker -I/home/user/Code/WebKit/Source/WebCore/layout -I/home/user/Code/WebKit/Source/WebCore/layout/formattingContexts -I/home/user/Code/WebKit/Source/WebCore/layout/formattingContexts/block -I/home/user/Code/WebKit/Source/WebCore/layout/formattingContexts/block/tablewrapper -I/home/user/Code/WebKit/Source/WebCore/layout/formattingContexts/flex -I/home/user/Code/WebKit/Source/WebCore/layout/floats -I/home/user/Code/WebKit/Source/WebCore/layout/formattingContexts/inline -I/home/user/Code/WebKit/Source/WebCore/layout/formattingContexts/inline/display -I/home/user/Code/WebKit/Source/WebCore/layout/formattingContexts/inline/invalidation -I/home/user/Code/WebKit/Source/WebCore/layout/formattingContexts/inline/ruby -I/home/user/Code/WebKit/Source/WebCore/layout/formattingContexts/inline/text -I/home/user/Code/WebKit/Source/WebCore/layout/integration -I/home/user/Code/WebKit/Source/WebCore/layout/integration/flex -I/home/user/Code/WebKit/Source/WebCore/layout/integration/inline -I/home/user/Code/WebKit/Source/WebCore/layout/layouttree -I/home/user/Code/WebKit/Source/WebCore/layout/formattingContexts/table -I/home/user/Code/WebKit/Source/WebCore/loader
-I/home/user/Code/WebKit/Source/WebCore/loader/appcache -I/home/user/Code/WebKit/Source/WebCore/loader/archive -I/home/user/Code/WebKit/Source/WebCore/loader/archive/mhtml -I/home/user/Code/WebKit/Source/WebCore/loader/cache -I/home/user/Code/WebKit/Source/WebCore/loader/icon -I/home/user/Code/WebKit/Source/WebCore/mathml -I/home/user/Code/WebKit/Source/WebCore/page -I/home/user/Code/WebKit/Source/WebCore/page/csp -I/home/user/Code/WebKit/Source/WebCore/page/scrolling -I/home/user/Code/WebKit/Source/WebCore/page/text-extraction -I/home/user/Code/WebKit/Source/WebCore/platform -I/home/user/Code/WebKit/Source/WebCore/platform/animation -I/home/user/Code/WebKit/Source/WebCore/platform/audio -I/home/user/Code/WebKit/Source/WebCore/platform/calc -I/home/user/Code/WebKit/Source/WebCore/platform/encryptedmedia -I/home/user/Code/WebKit/Source/WebCore/platform/gamepad -I/home/user/Code/WebKit/Source/WebCore/platform/graphics -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/cpu/arm -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/cpu/arm/filters -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/displaylists -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/filters -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/filters/software -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/controls -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/iso -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/opentype -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/transforms -I/home/user/Code/WebKit/Source/WebCore/platform/mediacapabilities -I/home/user/Code/WebKit/Source/WebCore/platform/mediarecorder -I/home/user/Code/WebKit/Source/WebCore/platform/mediastream -I/home/user/Code/WebKit/Source/WebCore/platform/mock -I/home/user/Code/WebKit/Source/WebCore/platform/mock/mediasource -I/home/user/Code/WebKit/Source/WebCore/platform/network -I/home/user/Code/WebKit/Source/WebCore/platform/sql -I/home/user/Code/WebKit/Source/WebCore/platform/text -I/home/user/Code/WebKit/Source/WebCore/platform/xr -I/home/user/Code/WebKit/Source/WebCore/plugins -I/home/user/Code/WebKit/Source/WebCore/rendering -I/home/user/Code/WebKit/Source/WebCore/rendering/line -I/home/user/Code/WebKit/Source/WebCore/rendering/mathml -I/home/user/Code/WebKit/Source/WebCore/rendering/shapes -I/home/user/Code/WebKit/Source/WebCore/rendering/style -I/home/user/Code/WebKit/Source/WebCore/rendering/svg -I/home/user/Code/WebKit/Source/WebCore/rendering/svg/legacy -I/home/user/Code/WebKit/Source/WebCore/rendering/updating -I/home/user/Code/WebKit/Source/WebCore/replay -I/home/user/Code/WebKit/Source/WebCore/storage -I/home/user/Code/WebKit/Source/WebCore/style -I/home/user/Code/WebKit/Source/WebCore/svg -I/home/user/Code/WebKit/Source/WebCore/svg/animation -I/home/user/Code/WebKit/Source/WebCore/svg/graphics -I/home/user/Code/WebKit/Source/WebCore/svg/graphics/filters -I/home/user/Code/WebKit/Source/WebCore/svg/properties -I/home/user/Code/WebKit/Source/WebCore/websockets -I/home/user/Code/WebKit/Source/WebCore/workers -I/home/user/Code/WebKit/Source/WebCore/workers/service -I/home/user/Code/WebKit/Source/WebCore/workers/service/background-fetch -I/home/user/Code/WebKit/Source/WebCore/workers/service/context -I/home/user/Code/WebKit/Source/WebCore/workers/service/server -I/home/user/Code/WebKit/Source/WebCore/workers/shared -I/home/user/Code/WebKit/Source/WebCore/workers/shared/context -I/home/user/Code/WebKit/Source/WebCore/worklets -I/home/user/Code/WebKit/Source/WebCore/xml -I/home/user/Code/WebKit/Source/WebCore/xml/parser -I/home/user/Code/WebKit/Source/WebCore/Modules/gamepad -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/angle -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/lcms -I/home/user/Code/WebKit/Source/ThirdParty/xdgmime/src -I/home/user/Code/WebKit/Source/WebCore/platform/adwaita -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/adwaita -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/harfbuzz -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/filters/skia -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/skia -I/home/user/Code/WebKit/Source/WebCore/Modules/mediastream/gstreamer -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/gstreamer -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/gstreamer/mse -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/gstreamer/eme -I/home/user/Code/WebKit/Source/WebCore/platform/gstreamer -I/home/user/Code/WebKit/Source/WebCore/platform/mediarecorder/gstreamer -I/home/user/Code/WebKit/Source/WebCore/platform/audio/gstreamer -I/home/user/Code/WebKit/Source/WebCore/platform/image-decoders -I/home/user/Code/WebKit/Source/WebCore/platform/image-decoders/avif -I/home/user/Code/WebKit/Source/WebCore/platform/image-decoders/bmp -I/home/user/Code/WebKit/Source/WebCore/platform/image-decoders/gif -I/home/user/Code/WebKit/Source/WebCore/platform/image-decoders/ico -I/home/user/Code/WebKit/Source/WebCore/platform/image-decoders/jpeg -I/home/user/Code/WebKit/Source/WebCore/platform/image-decoders/jpegxl -I/home/user/Code/WebKit/Source/WebCore/platform/image-decoders/png -I/home/user/Code/WebKit/Source/WebCore/platform/image-decoders/webp -I/home/user/Code/WebKit/Source/WebCore/platform/network/soup -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/texmap -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/texmap/coordinated -I/home/user/Code/WebKit/Source/WebCore/page/scrolling/nicosia -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/nicosia -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/nicosia/texmap -I/home/user/Code/WebKit/Source/WebCore/accessibility/atspi -I/home/user/Code/WebKit/Source/WebCore/crypto/openssl -I/home/user/Code/WebKit/Source/WebCore/platform/audio/glib -I/home/user/Code/WebKit/Source/WebCore/platform/glib -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/egl -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/epoxy -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/gbm -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/opengl -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/libwpe -I/home/user/Code/WebKit/Source/WebCore/platform/graphics/wayland -I/home/user/Code/WebKit/Source/WebCore/platform/mediastream/gstreamer -I/home/user/Code/WebKit/Source/WebCore/platform/network/glib -I/home/user/Code/WebKit/Source/WebCore/platform/text/icu -I/home/user/Code/WebKit/Source/WebCore/platform/wpe -I/home/user/Code/WebKit/Source/WebCore/platform/gamepad/libwpe -I/home/user/Code/WebKit/build/ANGLE/Headers -I/home/user/Code/WebKit/Source/ThirdParty/skia -I/home/user/Code/WebKit/build/Skia/Headers -I/home/user/Code/WebKit/build/JavaScriptCore/Headers -I/home/user/Code/WebKit/build/JavaScriptCore/PrivateHeaders -I/home/user/Code/WebKit/build/JavaScriptCoreGLib/Headers -I/home/user/Code/WebKit/build/JavaScriptCoreGLib/DerivedSources -I/home/user/Code/WebKit/build/WTF/Headers -I/home/user/Code/WebKit/Source/ThirdParty/libsysprof-capture -I/home/user/Code/WebKit/build/bmalloc/Headers -I/home/user/Code/WebKit/build/PAL/Headers -isystem /usr/include/gstreamer-1.0 -isystem /usr/lib64/libffi/include -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/orc-0.4 -isystem /usr/lib64/gstreamer-1.0/include -isystem /usr/include/libsoup-3.0 -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/libxml2 -isystem /usr/include/harfbuzz -isystem /usr/include/avif -isystem /usr/include/wpe-1.0 -isystem /usr/include/libdrm -isystem /usr/include/elogind -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security
-Wcast-align -Wno-tautological-compare -fasynchronous-unwind-tables -fno-strict-aliasing -fno-exceptions -fno-rtti -fcoroutines -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++23 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_HB_FEATURES_H -DHWY_SHARED_DEFINE -DAVIF_DLL -DWPE_ENABLE_XKB=1 -MD -MT Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp.o -MF Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp.o.d -o Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp.o -c /home/user/Code/WebKit/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp
/home/user/Code/WebKit/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp: In function ‘WTF::GRefPtr<_GstCaps> buildDMABufCaps()’:
/home/user/Code/WebKit/Source/WebCore/platform/graphics/gstreamer/GLVideoSinkGStreamer.cpp:129:63: error: ‘gst_video_dma_drm_fourcc_to_format’ was not declared in this scope
  129 |         g_value_set_string(&value, gst_video_format_to_string(gst_video_dma_drm_fourcc_to_format(format.fourcc)));
      |                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[1195/4538] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-53.cpp.o
```

-- 
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/026ff79d/attachment-0001.htm>


More information about the webkit-unassigned mailing list