Bug 269144 - [WPE] git main of 2024-02-10 fails to build due to uninitialized variables in JSAudioWorkletNodeOptions.cpp
Summary: [WPE] git main of 2024-02-10 fails to build due to uninitialized variables in...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-10 13:14 PST by Mart Raudsepp
Modified: 2024-03-13 22:44 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp 2024-02-10 13:14:31 PST
Trying to build current git main fails as follows:

$ time Tools/Scripts/build-webkit --wpe --cmakeargs="-DUSE_SKIA=ON -DENABLE_WPE_QT_API=OFF -DENABLE_WEBXR=OFF -DENABLE_ENCRYPTED_MEDIA=OFF -DENABLE_SPEECH_SYNTHESIS=OFF -DUSE_LIBBACKTRACE=OFF"
Contents for file /home/leio/Projects/WebKit/WebKitBuild/WPE/Release/build-webkit-options.txt have changed.
Previous contents were: --cmakeargs=-DUSE_SKIA=ON -DENABLE_WPE_QT_API=OFF -DENABLE_WEBXR=OFF -DENABLE_ENCRYPTED_MEDIA=OFF -DENABLE_SPEECH_SYNTHESIS=OFF --wpe -DENABLE_EXPERIMENTAL_FEATURES=ON

New contents are: --cmakeargs=-DUSE_SKIA=ON -DENABLE_WPE_QT_API=OFF -DENABLE_WEBXR=OFF -DENABLE_ENCRYPTED_MEDIA=OFF -DENABLE_SPEECH_SYNTHESIS=OFF -DUSE_LIBBACKTRACE=OFF --wpe -DENABLE_EXPERIMENTAL_FEATURES=ON
+  cmake -DPORT="WPE" -DCMAKE_BUILD_TYPE=Release -G Ninja -DDEVELOPER_MODE=ON -DENABLE_EXPERIMENTAL_FEATURES=ON -DUSE_SKIA=ON -DENABLE_WPE_QT_API=OFF -DENABLE_WEBXR=OFF -DENABLE_ENCRYPTED_MEDIA=OFF -DENABLE_SPEECH_SYNTHESIS=OFF -DUSE_LIBBACKTRACE=OFF "/home/leio/Projects/WebKit"
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:14 (cmake_policy):
  The OLD behavior for policy CMP0116 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- The CMake build type is: Release
-- Found Perl: /usr/bin/perl (found suitable version "5.38.2", minimum required is "5.10.0") 
-- Found PerlModules: TRUE  found components: English FindBin JSON::PP 
-- Found Python: /usr/bin/python3.12 (found version "3.12.1") found components: Interpreter 
-- Found Ruby: /usr/bin/ruby (found suitable version "3.3.0", minimum required is "2.5") 
-- Enabling ccache: Couldn't find ccache program. Not enabling it.
-- Performing Test CXX_COMPILER_SUPPORTS_WERROR
-- Performing Test CXX_COMPILER_SUPPORTS_WERROR - Success
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test C_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-strict-aliasing - Success
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test C_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-exceptions - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-rtti - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare
-- Performing Test C_COMPILER_SUPPORTS_-Wno-tautological-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-tautological-compare - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test C_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test C_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test C_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test C_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wundef
-- Performing Test C_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align
-- Performing Test CXX_COMPILER_SUPPORTS_-Wcast-align - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security
-- Performing Test CXX_COMPILER_SUPPORTS_-Wformat-security - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute
-- Performing Test CXX_COMPILER_SUPPORTS_-Wmissing-format-attribute - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith
-- Performing Test CXX_COMPILER_SUPPORTS_-Wpointer-arith - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef
-- Performing Test CXX_COMPILER_SUPPORTS_-Wundef - Success
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test C_COMPILER_SUPPORTS_-Qunused-arguments - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test C_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test C_COMPILER_SUPPORTS_-Wno-parentheses-equality - Failed
-- Performing Test C_COMPILER_SUPPORTS_-Wno-misleading-indentation
-- Performing Test C_COMPILER_SUPPORTS_-Wno-misleading-indentation - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test C_COMPILER_SUPPORTS_-Wno-psabi - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments
-- Performing Test CXX_COMPILER_SUPPORTS_-Qunused-arguments - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-maybe-uninitialized - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-parentheses-equality - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-misleading-indentation
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-misleading-indentation - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-psabi - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-noexcept-type - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-expansion-to-defined
-- Performing Test C_COMPILER_SUPPORTS_-Wno-expansion-to-defined - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-expansion-to-defined
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-expansion-to-defined - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-array-bounds
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-array-bounds - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-nonnull
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-nonnull - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-overflow
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-overflow - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-overread
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-overread - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-odr
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-odr - Success
-- Performing Test C_COMPILER_SUPPORTS_-fmax-errors=20
-- Performing Test C_COMPILER_SUPPORTS_-fmax-errors=20 - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fmax-errors=20
-- Performing Test CXX_COMPILER_SUPPORTS_-fmax-errors=20 - Success
-- Performing Test C_COMPILER_SUPPORTS_-pipe
-- Performing Test C_COMPILER_SUPPORTS_-pipe - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-pipe
-- Performing Test CXX_COMPILER_SUPPORTS_-pipe - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wall
-- Performing Test C_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wextra
-- Performing Test C_COMPILER_SUPPORTS_-Wextra - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall
-- Performing Test CXX_COMPILER_SUPPORTS_-Wall - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wextra
-- Performing Test CXX_COMPILER_SUPPORTS_-Wextra - Success
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test C_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test C_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics
-- Performing Test CXX_COMPILER_SUPPORTS_-fcolor-diagnostics - Failed
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always
-- Performing Test CXX_COMPILER_SUPPORTS_-fdiagnostics-color=always - Success
-- Performing Test ATOMICS_ARE_BUILTIN
-- Performing Test ATOMICS_ARE_BUILTIN - Failed
-- Performing Test ATOMICS_REQUIRE_LIBATOMIC
-- Performing Test ATOMICS_REQUIRE_LIBATOMIC - Success
-- Performing Test STD_FILESYSTEM_IS_AVAILABLE
-- Performing Test STD_FILESYSTEM_IS_AVAILABLE - Success
-- Performing Test STD_REMOVE_CVREF_IS_AVAILABLE
-- Performing Test STD_REMOVE_CVREF_IS_AVAILABLE - Success
-- Linker variant in use: LLD 
--   Linker supports thin archives - TRUE
--   Linker supports split debug info - TRUE
--   Linker supports --gdb-index - TRUE
--   Linker supports --disable-new-dtags - TRUE
-- Archiver variant in use: BFD
--   Archiver supports thin archives - TRUE
-- Looking for features.h
-- Looking for features.h - found
-- Looking for errno.h
-- Looking for errno.h - found
-- Looking for langinfo.h
-- Looking for langinfo.h - found
-- Looking for sys/mman.h
-- Looking for sys/mman.h - found
-- Looking for pthread_np.h
-- Looking for pthread_np.h - not found
-- Looking for sys/param.h
-- Looking for sys/param.h - found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for sys/timeb.h
-- Looking for sys/timeb.h - found
-- Looking for linux/memfd.h
-- Looking for linux/memfd.h - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for localtime_r
-- Looking for localtime_r - found
-- Looking for malloc_trim
-- Looking for malloc_trim - found
-- Looking for statx
-- Looking for statx - found
-- Looking for strnstr
-- Looking for strnstr - not found
-- Looking for timegm
-- Looking for timegm - found
-- Looking for vasprintf
-- Looking for vasprintf - found
-- Looking for regexec
-- Looking for regexec - found
-- Looking for pthread_main_np
-- Looking for pthread_main_np - not found
-- Looking for MAP_ALIGNED
-- Looking for MAP_ALIGNED - not found
-- Looking for SHM_ANON
-- Looking for SHM_ANON - not found
-- Looking for timingsafe_bcmp
-- Looking for timingsafe_bcmp - not found
-- Looking for SIGTRAP
-- Looking for SIGTRAP - found
-- Performing Test HAVE_STAT_BIRTHTIME_value
-- Performing Test HAVE_STAT_BIRTHTIME_value - Failed
-- Performing Test HAVE_TM_GMTOFF_value
-- Performing Test HAVE_TM_GMTOFF_value - Success
-- Performing Test HAVE_TM_ZONE_value
-- Performing Test HAVE_TM_ZONE_value - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int128_t
-- Check size of __int128_t - done
-- Found ATK: /usr/include/atk-1.0 (found suitable version "2.50.1", minimum required is "2.16.0") 
-- Found ATKBridge: /usr/lib64/libatk-bridge-2.0.so (found version "2.50.1") 
-- Found hb-features.h
-- Found the following HarfBuzz libraries:
--  HarfBuzz (required): /usr/lib64/libharfbuzz.so
--  ICU (required): /usr/lib64/libharfbuzz-icu.so
-- Found HarfBuzz: /usr/include/harfbuzz (found suitable version "8.3.0", minimum required is "1.4.2") 
-- Found the following ICU libraries:
--   data (required): /usr/lib64/libicudata.so
--   i18n (required): /usr/lib64/libicui18n.so
--   uc (required): /usr/lib64/libicuuc.so
-- Found ICU: /usr/include (found suitable version "74.1", minimum required is "61.2") 
-- Found JPEG: /usr/lib64/libjpeg.so (found version "62") 
-- Found Epoxy: /usr/lib64/libepoxy.so (found suitable version "1.5.10", minimum required is "1.5.4") 
-- Found LibGcrypt: /usr/lib64/libgcrypt.so (found suitable version "1.10.3-unknown", minimum required is "1.7.0") 
-- Found Libtasn1: /usr/lib64/libtasn1.so  
-- Checking for module 'xkbcommon'
--   Found xkbcommon, version 1.5.0
-- Found Libxkbcommon: TRUE (Required is at least version "0.4.0") 
-- Found LibXml2: /usr/lib64/libxml2.so (found suitable version "2.11.6", minimum required is "2.8.0") 
-- Found ZLIB: /usr/lib64/libz.so (found version "1.3")  
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.40") 
-- Found SQLite3: /usr/include (found version "3.44.2") 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found Unifdef: /usr/bin/unifdef  
-- Found the following WebP libraries:
--  WebP (required): /usr/lib64/libwebp.so
--  demux (required): /usr/lib64/libwebpdemux.so
-- Found WebP: /usr/include  
-- Found WPE: /usr/lib64/libwpe-1.0.so (found version "1.14.1") 
-- Disabling ENABLE_THUNDER since ENABLE_ENCRYPTED_MEDIA is disabled.
-- Checking for module 'gobject-introspection-1.0'
--   Found gobject-introspection-1.0, version 1.78.1
-- Found GI: /usr/bin/g-ir-scanner (found version "1.78.1") 
-- Found GIDocgen: /usr/bin/gi-docgen (found version "2023.1") 
-- Found LibSoup: /usr/include/libsoup-3.0 (found suitable version "3.4.4", minimum required is "3.0.0") 
-- Found GLIB: /usr/include/glib-2.0;/usr/lib64/glib-2.0/include (found suitable version "2.78.4", minimum required is "2.70.0") 
-- Found Cairo: /usr/lib64/libcairo.so (found suitable version "1.18.0", minimum required is "1.16.0") 
-- Found Fontconfig: /usr/lib64/libfontconfig.so (found suitable version "2.14.2", minimum required is "2.13.0") 
-- Found Freetype: /usr/lib64/libfreetype.so (found suitable version "2.13.2", minimum required is "2.9.0") 
-- Found JPEGXL: /usr/lib64/libjxl.so (found suitable version "0.8.2", minimum required is "0.7.0") 
-- Found the following WOFF2 libraries:
--  WOFF2 (required): /usr/lib64/libwoff2common.so
--  dec (required): /usr/lib64/libwoff2dec.so
-- Found WOFF2: /usr/lib64/libwoff2common.so (found suitable version "1.0.2", minimum required is "1.0.2") 
-- Found LibXslt: /usr/lib64/libxslt.so (found suitable version "1.1.38", minimum required is "1.1.7") 
-- Found LibInput: /usr/lib64/libinput.so (found suitable version "1.24.0", minimum required is "1.19.0") 
-- Found Udev: /usr/lib64/libudev.so  
-- Checking for modules 'wayland-client;wayland-server;wayland-egl'
--   Found wayland-client, version 1.22.0
--   Found wayland-server, version 1.22.0
--   Found wayland-egl, version 18.1.0
-- Found Wayland: wayland-server;wayland-egl;wayland-client (Required is at least version "1.20") 
-- Checking for module 'wayland-protocols'
--   Found wayland-protocols, version 1.32
-- Found AVIF: /usr/include/avif (found suitable version "1.0.1", minimum required is "0.9.0") 
-- Found Journald: /usr/lib64/libsystemd.so (found version "254") 
-- Found LCMS2: /usr/lib64/liblcms2.so (found version "2.16") 
-- Found LibDRM: /usr/lib64/libdrm.so  
-- Found GBM: /usr/lib64/libgbm.so (found version "24.0.0-devel") 
-- Looking for gbm_bo_get_fd_for_plane
-- Looking for gbm_bo_get_fd_for_plane - found
-- Looking for gbm_bo_create_with_modifiers2
-- Looking for gbm_bo_create_with_modifiers2 - found
-- Found Libseccomp: /usr/lib64/libseccomp.so (found version "2.5.5") 
-- Found WPEBackend_fdo: /usr/include/wpe-fdo-1.0 (found suitable version "1.14.2", minimum required is "1.9.0") 
-- Checking for module 'gstreamer-1.0 >= 1.18.4'
--   Found gstreamer-1.0, version 1.22.9
-- Checking for module 'gstreamer-base-1.0 >= 1.18.4'
--   Found gstreamer-base-1.0, version 1.22.9
-- Checking for module 'gstreamer-full-1.0>=1.17.0'
--   Package 'gstreamer-full-1.0', required by 'virtual:world', not found
-- Checking for module 'gstreamer-allocators-1.0 >= 1.18.4'
--   Found gstreamer-allocators-1.0, version 1.22.9
-- Checking for module 'gstreamer-app-1.0 >= 1.18.4'
--   Found gstreamer-app-1.0, version 1.22.9
-- Checking for module 'gstreamer-audio-1.0 >= 1.18.4'
--   Found gstreamer-audio-1.0, version 1.22.9
-- Checking for module 'gstreamer-fft-1.0 >= 1.18.4'
--   Found gstreamer-fft-1.0, version 1.22.9
-- Checking for module 'gstreamer-gl-1.0 >= 1.18.4'
--   Found gstreamer-gl-1.0, version 1.22.9
-- Checking for module 'gstreamer-mpegts-1.0>=1.4.0'
--   Found gstreamer-mpegts-1.0, version 1.22.3
-- Checking for module 'gstreamer-pbutils-1.0 >= 1.18.4'
--   Found gstreamer-pbutils-1.0, version 1.22.9
-- Checking for module 'gstreamer-tag-1.0 >= 1.18.4'
--   Found gstreamer-tag-1.0, version 1.22.9
-- Checking for module 'gstreamer-video-1.0 >= 1.18.4'
--   Found gstreamer-video-1.0, version 1.22.9
-- Checking for module 'gstreamer-codecparsers-1.0 >= 1.18.4'
--   Found gstreamer-codecparsers-1.0, version 1.22.3
-- Checking for module 'gstreamer-transcoder-1.0 >= 1.18.4'
--   Found gstreamer-transcoder-1.0, version 1.22.3
-- Checking for module 'gstreamer-rtp-1.0 >= 1.18.4'
--   Found gstreamer-rtp-1.0, version 1.22.9
-- Checking for module 'gstreamer-sdp-1.0 >= 1.18.4'
--   Found gstreamer-sdp-1.0, version 1.22.9
-- Checking for module 'gstreamer-webrtc-1.0 >= 1.18.4'
--   Found gstreamer-webrtc-1.0, version 1.22.3
-- Found GStreamer: GSTREAMER_INCLUDE_DIRS;GSTREAMER_LIBRARIES;GSTREAMER_VERSION;GSTREAMER_BASE_INCLUDE_DIRS;GSTREAMER_BASE_LIBRARIES;GSTREAMER_APP_INCLUDE_DIRS;GSTREAMER_APP_LIBRARIES;GSTREAMER_PBUTILS_INCLUDE_DIRS;GSTREAMER_PBUTILS_LIBRARIES;GSTREAMER_VIDEO_INCLUDE_DIRS;GSTREAMER_VIDEO_LIBRARIES;GSTREAMER_MPEGTS_INCLUDE_DIRS;GSTREAMER_MPEGTS_LIBRARIES;GSTREAMER_TAG_INCLUDE_DIRS;GSTREAMER_TAG_LIBRARIES;GSTREAMER_GL_INCLUDE_DIRS;GSTREAMER_GL_LIBRARIES;GSTREAMER_AUDIO_INCLUDE_DIRS;GSTREAMER_AUDIO_LIBRARIES;GSTREAMER_FFT_INCLUDE_DIRS;GSTREAMER_FFT_LIBRARIES;GSTREAMER_TRANSCODER_INCLUDE_DIRS;GSTREAMER_TRANSCODER_LIBRARIES;GSTREAMER_WEBRTC_INCLUDE_DIRS;GSTREAMER_WEBRTC_LIBRARIES (Required is at least version "1.18.4") 
-- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.1.4")  
-- Found Gperf: /usr/bin/gperf (Required is at least version "3.0.1") 
-- Platform-specific CMakeLists not found: /home/leio/Projects/WebKit/Source/bmalloc/PlatformWPE.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-missing-field-initializers
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-missing-field-initializers - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-cast-align
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-cast-align - Success
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Source/WTF/wtf/PlatformWPE.cmake
-- Copying generate-unified-source-bundles.rb to: /home/leio/Projects/WebKit/WebKitBuild/WPE/Release/WTF/Scripts
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Source/JavaScriptCore/PlatformWPE.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off
-- Performing Test CXX_COMPILER_SUPPORTS_-ffp-contract=off - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-slp-vectorize
-- Performing Test CXX_COMPILER_SUPPORTS_-fno-slp-vectorize - Failed
-- Using source list file: Sources.txt
-- Using source list file: inspector/remote/SourcesGLib.txt
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Source/JavaScriptCore/shell/PlatformWPE.cmake
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Source/ThirdParty/ANGLE/PlatformWPE.cmake
-- Performing Test C_COMPILER_SUPPORTS_-w
-- Performing Test C_COMPILER_SUPPORTS_-w - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-w
-- Performing Test CXX_COMPILER_SUPPORTS_-w - Success
-- Platform-specific CMakeLists not found: /home/leio/Projects/WebKit/Source/ThirdParty/gtest/PlatformWPE.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-undef
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-undef - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-truncation
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-stringop-truncation - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-suggest-attribute=format
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-suggest-attribute=format - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-cast-align
-- Performing Test C_COMPILER_SUPPORTS_-Wno-cast-align - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-cast-function-type
-- Performing Test C_COMPILER_SUPPORTS_-Wno-cast-function-type - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-sign-compare
-- Performing Test C_COMPILER_SUPPORTS_-Wno-sign-compare - Success
-- Performing Test C_COMPILER_SUPPORTS_-Wno-unused-parameter
-- Performing Test C_COMPILER_SUPPORTS_-Wno-unused-parameter - Success
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Source/WebInspectorUI/PlatformWPE.cmake
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Source/WebCore/PAL/pal/PlatformWPE.cmake
-- Looking for shm_open
-- Looking for shm_open - found
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Source/WebCore/PlatformWPE.cmake
-- Using source list file: Sources.txt
-- Using source list file: platform/SourcesAdwaita.txt
-- Using source list file: platform/SourcesCairo.txt
-- Using source list file: platform/SourcesGCrypt.txt
-- Using source list file: platform/SourcesGStreamer.txt
-- Using source list file: platform/SourcesSoup.txt
-- Using source list file: SourcesWPE.txt
-- Using source list file: platform/SourcesGLib.txt
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Source/WebKit/PlatformWPE.cmake
-- Using source list file: Sources.txt
-- Using source list file: Platform/Sources.txt
-- Using source list file: SourcesWPE.txt
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter - Success
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Source/WebDriver/PlatformWPE.cmake
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Source/PlatformWPE.cmake
-- Found Xz: /usr/bin/xz  
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Tools/PlatformWPE.cmake
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Tools/wpe/backends/PlatformWPE.cmake
-- Found Libxkbcommon: TRUE (Required is at least version "0.4.0") 
-- Found Wayland: wayland-server;wayland-egl;wayland-client (Required is at least version "1.15") 
-- Found WPEBackend_fdo: /usr/include/wpe-fdo-1.0 (found suitable version "1.14.2", minimum required is "1.3.0") 
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Tools/TestWebKitAPI/glib/PlatformWPE.cmake
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Tools/TestRunnerShared/PlatformWPE.cmake
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Tools/ImageDiff/PlatformWPE.cmake
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Tools/WebKitTestRunner/PlatformWPE.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-dangling-else
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-dangling-else - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-sign-compare
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-sign-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-deprecated-declarations
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-deprecated-declarations - Success
-- Using platform-specific CMakeLists: /home/leio/Projects/WebKit/Tools/TestWebKitAPI/PlatformWPE.cmake
-- Platform-specific CMakeLists not found: /home/leio/Projects/WebKit/PerformanceTests/MallocBench/MallocBench/PlatformWPE.cmake
-- Platform-specific CMakeLists not found: /home/leio/Projects/WebKit/PerformanceTests/PlatformWPE.cmake
-- Enabled features:
--  ENABLE_BUBBLEWRAP_SANDBOX ..................... ON
--  ENABLE_DOCUMENTATION                            ON
--  ENABLE_ENCRYPTED_MEDIA ........................ OFF
--  ENABLE_GAMEPAD                                  ON
--  ENABLE_INTROSPECTION .......................... ON
--  ENABLE_JOURNALD_LOG                             ON
--  ENABLE_MINIBROWSER ............................ ON
--  ENABLE_PDFJS                                    ON
--  ENABLE_VIDEO .................................. ON
--  ENABLE_WEBDRIVER                                ON
--  ENABLE_WEB_AUDIO .............................. ON
--  ENABLE_WPE_1_1_API                              OFF
--  ENABLE_WPE_PLATFORM_DRM ....................... ON
--  ENABLE_WPE_PLATFORM_HEADLESS                    ON
--  ENABLE_WPE_PLATFORM_WAYLAND ................... ON
--  ENABLE_WPE_QT_API                               OFF
--  ENABLE_XSLT ................................... ON
--  USE_AVIF                                        ON
--  USE_GBM ....................................... ON
--  USE_GSTREAMER_TRANSCODER                        ON
--  USE_GSTREAMER_WEBRTC .......................... ON
--  USE_JPEGXL                                      ON
--  USE_LCMS ...................................... ON
--  USE_LIBBACKTRACE                                OFF
--  USE_LIBDRM .................................... ON
--  USE_SOUP2                                       OFF
--  USE_WESTEROS_SINK ............................. OFF
--  USE_WOFF2                                       ON
--  USE_WPEWEBKIT_PLATFORM_AMLOGIC ................ OFF
--  USE_WPEWEBKIT_PLATFORM_BCM_NEXUS                OFF
--  USE_WPEWEBKIT_PLATFORM_BROADCOM ............... OFF
--  USE_WPEWEBKIT_PLATFORM_RPI                      OFF
--  USE_WPEWEBKIT_PLATFORM_WESTEROS ............... OFF
-- Configuring done (11.6s)
-- Generating done (0.5s)
CMake Warning:
  Manually-specified variables were not used by the project:

    USE_SKIA


-- Build files have been written to: /home/leio/Projects/WebKit/WebKitBuild/WPE/Release
+  cmake --build /home/leio/Projects/WebKit/WebKitBuild/WPE/Release --config Release -- 
[0/2] Re-checking globbed directories...
[1874/7410] Generating WPEPlatformWayland-2.0.gir
/usr/include/bits/math-vector.h:30: syntax error, unexpected identifier, expecting ',' or ';' in 'typedef __Float32x4_t __f32x4_t;' at '__f32x4_t'
/usr/include/bits/math-vector.h:31: syntax error, unexpected identifier, expecting ',' or ';' in 'typedef __Float64x2_t __f64x2_t;' at '__f64x2_t'
/usr/include/bits/math-vector.h:40: syntax error, unexpected identifier, expecting ',' or ';' in '# 40 "/usr/include/bits/math-vector.h" 3 4' at '__sv_f32_t'
/usr/include/bits/math-vector.h:41: syntax error, unexpected identifier, expecting ',' or ';' in 'typedef __SVFloat64_t __sv_f64_t;' at '__sv_f64_t'
/usr/include/bits/math-vector.h:42: syntax error, unexpected identifier, expecting ',' or ';' in 'typedef __SVBool_t __sv_bool_t;' at '__sv_bool_t'
[3399/7410] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-8.cpp.o
FAILED: Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-8.cpp.o 
/usr/bin/c++ -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 -DSTATICALLY_LINKED_WITH_JavaScriptCore -DSTATICALLY_LINKED_WITH_PAL -DSTATICALLY_LINKED_WITH_WTF -DSTATICALLY_LINKED_WITH_bmalloc -DUSE_SYSTEM_EGL -I/home/leio/Projects/WebKit/WebKitBuild/WPE/Release -I/home/leio/Projects/WebKit/WebKitBuild/WPE/Release/WebCore/DerivedSources -I/home/leio/Projects/WebKit/Source/WebCore -I/home/leio/Projects/WebKit/Source/WebCore/Modules/ShapeDetection -I/home/leio/Projects/WebKit/Source/WebCore/Modules/ShapeDetection/Interfaces -I/home/leio/Projects/WebKit/Source/WebCore/Modules/WebGPU -I/home/leio/Projects/WebKit/Source/WebCore/Modules/WebGPU/InternalAPI -I/home/leio/Projects/WebKit/Source/WebCore/Modules/WebGPU/Implementation -I/home/leio/Projects/WebKit/Source/WebCore/Modules/airplay -I/home/leio/Projects/WebKit/Source/WebCore/Modules/applepay -I/home/leio/Projects/WebKit/Source/WebCore/Modules/applepay/paymentrequest -I/home/leio/Projects/WebKit/Source/WebCore/Modules/applicationmanifest -I/home/leio/Projects/WebKit/Source/WebCore/Modules/async-clipboard -I/home/leio/Projects/WebKit/Source/WebCore/Modules/audiosession -I/home/leio/Projects/WebKit/Source/WebCore/Modules/badge -I/home/leio/Projects/WebKit/Source/WebCore/Modules/beacon -I/home/leio/Projects/WebKit/Source/WebCore/Modules/cache -I/home/leio/Projects/WebKit/Source/WebCore/Modules/compression -I/home/leio/Projects/WebKit/Source/WebCore/Modules/contact-picker -I/home/leio/Projects/WebKit/Source/WebCore/Modules/cookie-consent -I/home/leio/Projects/WebKit/Source/WebCore/Modules/cookie-store -I/home/leio/Projects/WebKit/Source/WebCore/Modules/credentialmanagement -I/home/leio/Projects/WebKit/Source/WebCore/Modules/encryptedmedia -I/home/leio/Projects/WebKit/Source/WebCore/Modules/encryptedmedia/legacy -I/home/leio/Projects/WebKit/Source/WebCore/Modules/entriesapi -I/home/leio/Projects/WebKit/Source/WebCore/Modules/fetch -I/home/leio/Projects/WebKit/Source/WebCore/Modules/filesystemaccess -I/home/leio/Projects/WebKit/Source/WebCore/Modules/geolocation -I/home/leio/Projects/WebKit/Source/WebCore/Modules/highlight -I/home/leio/Projects/WebKit/Source/WebCore/Modules/indexeddb -I/home/leio/Projects/WebKit/Source/WebCore/Modules/indexeddb/client -I/home/leio/Projects/WebKit/Source/WebCore/Modules/indexeddb/server -I/home/leio/Projects/WebKit/Source/WebCore/Modules/indexeddb/shared -I/home/leio/Projects/WebKit/Source/WebCore/Modules/mediacapabilities -I/home/leio/Projects/WebKit/Source/WebCore/Modules/mediacontrols -I/home/leio/Projects/WebKit/Source/WebCore/Modules/mediarecorder -I/home/leio/Projects/WebKit/Source/WebCore/Modules/mediasession -I/home/leio/Projects/WebKit/Source/WebCore/Modules/mediasource -I/home/leio/Projects/WebKit/Source/WebCore/Modules/mediastream -I/home/leio/Projects/WebKit/Source/WebCore/Modules/model-element -I/home/leio/Projects/WebKit/Source/WebCore/Modules/model-element/dummy -I/home/leio/Projects/WebKit/Source/WebCore/Modules/navigatorcontentutils -I/home/leio/Projects/WebKit/Source/WebCore/Modules/notifications -I/home/leio/Projects/WebKit/Source/WebCore/Modules/paymentrequest -I/home/leio/Projects/WebKit/Source/WebCore/Modules/permissions -I/home/leio/Projects/WebKit/Source/WebCore/Modules/pictureinpicture -I/home/leio/Projects/WebKit/Source/WebCore/Modules/plugins -I/home/leio/Projects/WebKit/Source/WebCore/Modules/push-api -I/home/leio/Projects/WebKit/Source/WebCore/Modules/remoteplayback -I/home/leio/Projects/WebKit/Source/WebCore/Modules/reporting -I/home/leio/Projects/WebKit/Source/WebCore/Modules/screen-wake-lock -I/home/leio/Projects/WebKit/Source/WebCore/Modules/speech -I/home/leio/Projects/WebKit/Source/WebCore/Modules/storage -I/home/leio/Projects/WebKit/Source/WebCore/Modules/streams -I/home/leio/Projects/WebKit/Source/WebCore/Modules/web-locks -I/home/leio/Projects/WebKit/Source/WebCore/Modules/webaudio -I/home/leio/Projects/WebKit/Source/WebCore/Modules/webauthn -I/home/leio/Projects/WebKit/Source/WebCore/Modules/webauthn/cbor -I/home/leio/Projects/WebKit/Source/WebCore/Modules/webauthn/fido -I/home/leio/Projects/WebKit/Source/WebCore/Modules/webcodecs -I/home/leio/Projects/WebKit/Source/WebCore/Modules/webdatabase -I/home/leio/Projects/WebKit/Source/WebCore/Modules/webdriver -I/home/leio/Projects/WebKit/Source/WebCore/Modules/websockets -I/home/leio/Projects/WebKit/Source/WebCore/Modules/webtransport -I/home/leio/Projects/WebKit/Source/WebCore/Modules/webxr -I/home/leio/Projects/WebKit/Source/WebCore/accessibility -I/home/leio/Projects/WebKit/Source/WebCore/accessibility/isolatedtree -I/home/leio/Projects/WebKit/Source/WebCore/animation -I/home/leio/Projects/WebKit/Source/WebCore/bindings -I/home/leio/Projects/WebKit/Source/WebCore/bindings/js -I/home/leio/Projects/WebKit/Source/WebCore/bridge -I/home/leio/Projects/WebKit/Source/WebCore/bridge/c -I/home/leio/Projects/WebKit/Source/WebCore/bridge/jsc -I/home/leio/Projects/WebKit/Source/WebCore/contentextensions -I/home/leio/Projects/WebKit/Source/WebCore/crypto -I/home/leio/Projects/WebKit/Source/WebCore/crypto/algorithms -I/home/leio/Projects/WebKit/Source/WebCore/crypto/keys -I/home/leio/Projects/WebKit/Source/WebCore/crypto/parameters -I/home/leio/Projects/WebKit/Source/WebCore/css -I/home/leio/Projects/WebKit/Source/WebCore/css/calc -I/home/leio/Projects/WebKit/Source/WebCore/css/color -I/home/leio/Projects/WebKit/Source/WebCore/css/parser -I/home/leio/Projects/WebKit/Source/WebCore/css/query -I/home/leio/Projects/WebKit/Source/WebCore/css/typedom -I/home/leio/Projects/WebKit/Source/WebCore/css/typedom/color -I/home/leio/Projects/WebKit/Source/WebCore/css/typedom/numeric -I/home/leio/Projects/WebKit/Source/WebCore/css/typedom/transform -I/home/leio/Projects/WebKit/Source/WebCore/cssjit -I/home/leio/Projects/WebKit/Source/WebCore/dom -I/home/leio/Projects/WebKit/Source/WebCore/dom/messageports -I/home/leio/Projects/WebKit/Source/WebCore/domjit -I/home/leio/Projects/WebKit/Source/WebCore/editing -I/home/leio/Projects/WebKit/Source/WebCore/fileapi -I/home/leio/Projects/WebKit/Source/WebCore/history -I/home/leio/Projects/WebKit/Source/WebCore/html -I/home/leio/Projects/WebKit/Source/WebCore/html/canvas -I/home/leio/Projects/WebKit/Source/WebCore/html/forms -I/home/leio/Projects/WebKit/Source/WebCore/html/parser -I/home/leio/Projects/WebKit/Source/WebCore/html/shadow -I/home/leio/Projects/WebKit/Source/WebCore/html/track -I/home/leio/Projects/WebKit/Source/WebCore/inspector -I/home/leio/Projects/WebKit/Source/WebCore/inspector/agents -I/home/leio/Projects/WebKit/Source/WebCore/inspector/agents/page -I/home/leio/Projects/WebKit/Source/WebCore/inspector/agents/worker -I/home/leio/Projects/WebKit/Source/WebCore/layout -I/home/leio/Projects/WebKit/Source/WebCore/layout/formattingContexts -I/home/leio/Projects/WebKit/Source/WebCore/layout/formattingContexts/block -I/home/leio/Projects/WebKit/Source/WebCore/layout/formattingContexts/block/tablewrapper -I/home/leio/Projects/WebKit/Source/WebCore/layout/formattingContexts/flex -I/home/leio/Projects/WebKit/Source/WebCore/layout/floats -I/home/leio/Projects/WebKit/Source/WebCore/layout/formattingContexts/inline -I/home/leio/Projects/WebKit/Source/WebCore/layout/formattingContexts/inline/display -I/home/leio/Projects/WebKit/Source/WebCore/layout/formattingContexts/inline/invalidation -I/home/leio/Projects/WebKit/Source/WebCore/layout/formattingContexts/inline/ruby -I/home/leio/Projects/WebKit/Source/WebCore/layout/formattingContexts/inline/text -I/home/leio/Projects/WebKit/Source/WebCore/layout/integration -I/home/leio/Projects/WebKit/Source/WebCore/layout/integration/flex -I/home/leio/Projects/WebKit/Source/WebCore/layout/integration/inline -I/home/leio/Projects/WebKit/Source/WebCore/layout/layouttree -I/home/leio/Projects/WebKit/Source/WebCore/layout/formattingContexts/table -I/home/leio/Projects/WebKit/Source/WebCore/loader -I/home/leio/Projects/WebKit/Source/WebCore/loader/appcache -I/home/leio/Projects/WebKit/Source/WebCore/loader/archive -I/home/leio/Projects/WebKit/Source/WebCore/loader/archive/mhtml -I/home/leio/Projects/WebKit/Source/WebCore/loader/cache -I/home/leio/Projects/WebKit/Source/WebCore/loader/icon -I/home/leio/Projects/WebKit/Source/WebCore/mathml -I/home/leio/Projects/WebKit/Source/WebCore/page -I/home/leio/Projects/WebKit/Source/WebCore/page/csp -I/home/leio/Projects/WebKit/Source/WebCore/page/scrolling -I/home/leio/Projects/WebKit/Source/WebCore/page/text-extraction -I/home/leio/Projects/WebKit/Source/WebCore/platform -I/home/leio/Projects/WebKit/Source/WebCore/platform/animation -I/home/leio/Projects/WebKit/Source/WebCore/platform/audio -I/home/leio/Projects/WebKit/Source/WebCore/platform/calc -I/home/leio/Projects/WebKit/Source/WebCore/platform/encryptedmedia -I/home/leio/Projects/WebKit/Source/WebCore/platform/gamepad -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/cpu/arm -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/cpu/arm/filters -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/displaylists -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/filters -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/filters/software -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/controls -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/iso -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/opentype -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/transforms -I/home/leio/Projects/WebKit/Source/WebCore/platform/mediacapabilities -I/home/leio/Projects/WebKit/Source/WebCore/platform/mediarecorder -I/home/leio/Projects/WebKit/Source/WebCore/platform/mediastream -I/home/leio/Projects/WebKit/Source/WebCore/platform/mock -I/home/leio/Projects/WebKit/Source/WebCore/platform/mock/mediasource -I/home/leio/Projects/WebKit/Source/WebCore/platform/network -I/home/leio/Projects/WebKit/Source/WebCore/platform/sql -I/home/leio/Projects/WebKit/Source/WebCore/platform/text -I/home/leio/Projects/WebKit/Source/WebCore/platform/xr -I/home/leio/Projects/WebKit/Source/WebCore/plugins -I/home/leio/Projects/WebKit/Source/WebCore/rendering -I/home/leio/Projects/WebKit/Source/WebCore/rendering/line -I/home/leio/Projects/WebKit/Source/WebCore/rendering/mathml -I/home/leio/Projects/WebKit/Source/WebCore/rendering/shapes -I/home/leio/Projects/WebKit/Source/WebCore/rendering/style -I/home/leio/Projects/WebKit/Source/WebCore/rendering/svg -I/home/leio/Projects/WebKit/Source/WebCore/rendering/svg/legacy -I/home/leio/Projects/WebKit/Source/WebCore/rendering/updating -I/home/leio/Projects/WebKit/Source/WebCore/replay -I/home/leio/Projects/WebKit/Source/WebCore/storage -I/home/leio/Projects/WebKit/Source/WebCore/style -I/home/leio/Projects/WebKit/Source/WebCore/svg -I/home/leio/Projects/WebKit/Source/WebCore/svg/animation -I/home/leio/Projects/WebKit/Source/WebCore/svg/graphics -I/home/leio/Projects/WebKit/Source/WebCore/svg/graphics/filters -I/home/leio/Projects/WebKit/Source/WebCore/svg/properties -I/home/leio/Projects/WebKit/Source/WebCore/websockets -I/home/leio/Projects/WebKit/Source/WebCore/workers -I/home/leio/Projects/WebKit/Source/WebCore/workers/service -I/home/leio/Projects/WebKit/Source/WebCore/workers/service/background-fetch -I/home/leio/Projects/WebKit/Source/WebCore/workers/service/context -I/home/leio/Projects/WebKit/Source/WebCore/workers/service/server -I/home/leio/Projects/WebKit/Source/WebCore/workers/shared -I/home/leio/Projects/WebKit/Source/WebCore/workers/shared/context -I/home/leio/Projects/WebKit/Source/WebCore/worklets -I/home/leio/Projects/WebKit/Source/WebCore/xml -I/home/leio/Projects/WebKit/Source/WebCore/xml/parser -I/home/leio/Projects/WebKit/Source/WebCore/Modules/gamepad -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/angle -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/lcms -I/home/leio/Projects/WebKit/Source/ThirdParty/xdgmime/src -I/home/leio/Projects/WebKit/Source/WebCore/platform/adwaita -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/cairo -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/freetype -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/harfbuzz -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/harfbuzz/ng -I/home/leio/Projects/WebKit/Source/WebCore/Modules/mediastream/gstreamer -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/gstreamer -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/gstreamer/mse -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/gstreamer/eme -I/home/leio/Projects/WebKit/Source/WebCore/platform/gstreamer -I/home/leio/Projects/WebKit/Source/WebCore/platform/mediarecorder/gstreamer -I/home/leio/Projects/WebKit/Source/WebCore/platform/audio/gstreamer -I/home/leio/Projects/WebKit/Source/WebCore/platform/image-decoders -I/home/leio/Projects/WebKit/Source/WebCore/platform/image-decoders/avif -I/home/leio/Projects/WebKit/Source/WebCore/platform/image-decoders/bmp -I/home/leio/Projects/WebKit/Source/WebCore/platform/image-decoders/gif -I/home/leio/Projects/WebKit/Source/WebCore/platform/image-decoders/ico -I/home/leio/Projects/WebKit/Source/WebCore/platform/image-decoders/jpeg -I/home/leio/Projects/WebKit/Source/WebCore/platform/image-decoders/jpegxl -I/home/leio/Projects/WebKit/Source/WebCore/platform/image-decoders/png -I/home/leio/Projects/WebKit/Source/WebCore/platform/image-decoders/webp -I/home/leio/Projects/WebKit/Source/WebCore/platform/network/soup -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/texmap -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/nicosia -I/home/leio/Projects/WebKit/Source/WebCore/page/scrolling/nicosia -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/texmap/coordinated -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/nicosia/cairo -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/nicosia/texmap -I/home/leio/Projects/WebKit/Source/WebCore/accessibility/atspi -I/home/leio/Projects/WebKit/Source/WebCore/crypto/openssl -I/home/leio/Projects/WebKit/Source/WebCore/platform/audio/glib -I/home/leio/Projects/WebKit/Source/WebCore/platform/glib -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/egl -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/epoxy -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/gbm -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/opengl -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/libwpe -I/home/leio/Projects/WebKit/Source/WebCore/platform/graphics/wayland -I/home/leio/Projects/WebKit/Source/WebCore/platform/mediastream/gstreamer -I/home/leio/Projects/WebKit/Source/WebCore/platform/network/glib -I/home/leio/Projects/WebKit/Source/WebCore/platform/text/icu -I/home/leio/Projects/WebKit/Source/WebCore/platform/wpe -I/home/leio/Projects/WebKit/Source/WebCore/platform/gamepad/libwpe -I/home/leio/Projects/WebKit/WebKitBuild/WPE/Release/ANGLE/Headers -I/home/leio/Projects/WebKit/WebKitBuild/WPE/Release/JavaScriptCore/Headers -I/home/leio/Projects/WebKit/WebKitBuild/WPE/Release/JavaScriptCore/PrivateHeaders -I/home/leio/Projects/WebKit/WebKitBuild/WPE/Release/JavaScriptCoreGLib/Headers -I/home/leio/Projects/WebKit/WebKitBuild/WPE/Release/JavaScriptCoreGLib/DerivedSources -I/home/leio/Projects/WebKit/WebKitBuild/WPE/Release/WTF/Headers -I/home/leio/Projects/WebKit/WebKitBuild/WPE/Release/bmalloc/Headers -I/home/leio/Projects/WebKit/WebKitBuild/WPE/Release/PAL/Headers -isystem /usr/include/gstreamer-1.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/lib64/libffi/include -isystem /usr/include/sysprof-4 -isystem /usr/include/orc-0.4 -isystem /usr/lib64/gstreamer-1.0/include -isystem /usr/include/blkid -isystem /usr/include/libmount -isystem /usr/include/libsoup-3.0 -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/wpe-1.0 -isystem /usr/include/wpe-fdo-1.0 -isystem /usr/include/libdrm -isystem /usr/include/libxml2 -isystem /usr/include/cairo -isystem /usr/include/freetype2 -isystem /usr/include/harfbuzz -isystem /usr/include/avif -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  -fno-strict-aliasing -fno-exceptions -fno-rtti -O3 -DNDEBUG -std=c++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -pthread -DHAVE_HB_FEATURES_H -DHWY_SHARED_DEFINE -DAVIF_DLL -DWPE_ENABLE_XKB=1 -MD -MT Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-8.cpp.o -MF Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-8.cpp.o.d -o Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-8.cpp.o -c /home/leio/Projects/WebKit/WebKitBuild/WPE/Release/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-8.cpp
In file included from /home/leio/Projects/WebKit/WebKitBuild/WPE/Release/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-8.cpp:3:
/home/leio/Projects/WebKit/WebKitBuild/WPE/Release/WebCore/DerivedSources/JSAudioWorkletNodeOptions.cpp: In function ‘T WebCore::convertDictionary(JSC::JSGlobalObject&, JSC::JSValue) [with T = AudioWorkletNodeOptions]’:
/home/leio/Projects/WebKit/WebKitBuild/WPE/Release/WebCore/DerivedSources/JSAudioWorkletNodeOptions.cpp:57:29: error: ‘*(WTF::VectorBuffer<unsigned int, 0, WTF::FastMalloc>*)((char*)&result + offsetof(WebCore::AudioWorkletNodeOptions, WebCore::AudioWorkletNodeOptions::outputChannelCount.std::optional<WTF::Vector<unsigned int, 0, WTF::CrashOnOverflow, 16, WTF::FastMalloc> >::<unnamed>.std::_Optional_base<WTF::Vector<unsigned int, 0, WTF::CrashOnOverflow, 16, WTF::FastMalloc>, false, false>::<unnamed>)).WTF::VectorBuffer<unsigned int, 0, WTF::FastMalloc>::<anonymous>.WTF::VectorBufferBase<unsigned int, WTF::FastMalloc>::m_capacity’ is used uninitialized [-Werror=uninitialized]
   57 |     AudioWorkletNodeOptions result;
      |                             ^~~~~~
/home/leio/Projects/WebKit/WebKitBuild/WPE/Release/WebCore/DerivedSources/JSAudioWorkletNodeOptions.cpp:57:29: error: ‘*(WTF::VectorBuffer<unsigned int, 0, WTF::FastMalloc>*)((char*)&result + offsetof(WebCore::AudioWorkletNodeOptions, WebCore::AudioWorkletNodeOptions::outputChannelCount.std::optional<WTF::Vector<unsigned int, 0, WTF::CrashOnOverflow, 16, WTF::FastMalloc> >::<unnamed>.std::_Optional_base<WTF::Vector<unsigned int, 0, WTF::CrashOnOverflow, 16, WTF::FastMalloc>, false, false>::<unnamed>)).WTF::VectorBuffer<unsigned int, 0, WTF::FastMalloc>::<anonymous>.WTF::VectorBufferBase<unsigned int, WTF::FastMalloc>::m_size’ is used uninitialized [-Werror=uninitialized]
cc1plus: all warnings being treated as errors
[3424/7410] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/__/__/WebCore/DerivedSources/unified-sources/UnifiedSource-3a52ce78-32.cpp.o
ninja: build stopped: subcommand failed.

real	4m31,219s
user	64m23,778s
sys	2m37,509s
Comment 1 Kdwk 2024-03-13 22:44:40 PDT
I'm able to reproduce this. The issue can be fixed by changing the line to 

`AudioWorkletNodeOptions result = {};`