Bug 274122 - Fail build with -DENABLE_WEB_AUDIO=OFF -DENABLE_VIDEO=OFF in webkit2gtk 2.44.1 (gtk3)
Summary: Fail build with -DENABLE_WEB_AUDIO=OFF -DENABLE_VIDEO=OFF in webkit2gtk 2.44....
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CMake (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-13 14:47 PDT by sL1pKn07
Modified: 2024-05-13 15:45 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sL1pKn07 2024-05-13 14:47:33 PDT
Fail build Webkit2gtk 2.44.1 if set 

    -DENABLE_WEB_AUDIO=OFF \
    -DENABLE_VIDEO=OFF \


~~~
-- The C compiler identification is GNU 14.1.1
-- The CXX compiler identification is GNU 14.1.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.3") found components: Interpreter
-- Found Ruby: /usr/bin/ruby (found suitable version "3.0.6", minimum required is "2.5")
-- Enabling ccache: Setting ccache prefix for compiler.
-- 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 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: BFD 
--   Linker supports thin archives - TRUE
--   Linker supports split debug info - TRUE
--   Linker supports --gdb-index - FALSE
--   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 Cairo: /usr/lib/libcairo.so (found suitable version "1.18.0", minimum required is "1.16.0")
-- Found Fontconfig: /usr/lib/libfontconfig.so (found suitable version "2.15.0", minimum required is "2.13.0")
-- Found Freetype: /usr/lib/libfreetype.so (found suitable version "2.13.2", minimum required is "2.9.0")
-- Found LibGcrypt: /usr/lib/libgcrypt.so (found suitable version "1.10.3-unknown", minimum required is "1.7.0")
-- Found Libtasn1: /usr/lib/libtasn1.so
-- Found hb-features.h
-- Found the following HarfBuzz libraries:
--  HarfBuzz (required): /usr/lib/libharfbuzz.so
--  ICU (required): /usr/lib/libharfbuzz-icu.so
-- Found HarfBuzz: /usr/include/harfbuzz (found suitable version "8.4.0", minimum required is "1.4.2")
-- Found the following ICU libraries:
--   data (required): /usr/lib/libicudata.so
--   i18n (required): /usr/lib/libicui18n.so
--   uc (required): /usr/lib/libicuuc.so
-- Found ICU: /usr/include (found suitable version "74.2", minimum required is "61.2")
-- Found JPEG: /usr/lib/libjpeg.so (found version "80")
-- Found Epoxy: /usr/lib/libepoxy.so (found suitable version "1.5.10", minimum required is "1.5.4")
-- Found LibXml2: /usr/lib/libxml2.so (found suitable version "2.12.6", minimum required is "2.8.0")
-- Found ZLIB: /usr/lib/libz.so (found version "1.3.1")
-- Found PNG: /usr/lib/libpng.so (found version "1.6.43")
-- Found SQLite3: /usr/include (found version "3.45.3")
-- 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/lib/libwebp.so
--  demux (required): /usr/lib/libwebpdemux.so
-- Found WebP: /usr/include
-- Checking for module 'atspi-2'
--   Found atspi-2, version 2.52.0
-- Found ATSPI: /usr/include/at-spi-2.0;/usr/include/dbus-1.0;/usr/lib/dbus-1.0/include;/usr/include;/usr/include/glib-2.0;/usr/lib/glib-2.0/include;/usr/include/libmount;/usr/include/blkid;/usr/include/sysprof-6 (Required is at least version "2.5.3")
-- Disabling ENABLE_MEDIA_SOURCE since ENABLE_VIDEO is disabled.
-- Disabling ENABLE_MEDIA_STREAM since ENABLE_VIDEO is disabled.
-- Disabling ENABLE_MODERN_MEDIA_CONTROLS since ENABLE_VIDEO is disabled.
-- Disabling ENABLE_VIDEO_USES_ELEMENT_FULLSCREEN since ENABLE_VIDEO is disabled.
-- Disabling USE_GSTREAMER_WEBRTC since ENABLE_WEB_RTC is disabled.
-- Disabling ENABLE_MEDIA_CONTROLS_CONTEXT_MENUS since ENABLE_MODERN_MEDIA_CONTROLS is disabled.
-- Disabling ENABLE_MEDIA_RECORDER since ENABLE_MEDIA_STREAM is disabled.
-- Disabling USE_GSTREAMER_TRANSCODER since ENABLE_MEDIA_RECORDER is disabled.
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.41
-- Checking for module 'gtk+-unix-print-3.0'
--   Found gtk+-unix-print-3.0, version 3.24.41
-- Found GTK: 3.24.41 (Required is at least version "3.22.0")
-- Found LibSoup: /usr/include/libsoup-2.4 (found suitable version "2.74.3", minimum required is "2.54.0")
-- Found GLIB: /usr/include/glib-2.0;/usr/lib/glib-2.0/include (found suitable version "2.80.2", minimum required is "2.56.4")
-- Found Manette: /usr/include/libmanette (found suitable version "0.2.7", minimum required is "0.2.4")
-- Found LibXslt: /usr/lib/libxslt.so (found suitable version "1.1.39", minimum required is "1.1.7")
-- Checking for module 'libsecret-1'
--   Found libsecret-1, version 0.21.4
-- Found Libsecret: /usr/include/libsecret-1;/usr/include/glib-2.0;/usr/lib/glib-2.0/include;/usr/include/gio-unix-2.0;/usr/include;/usr/include/libmount;/usr/include/blkid;/usr/include/sysprof-6;/usr/include/tss2
-- Checking for module 'gobject-introspection-1.0'
--   Found gobject-introspection-1.0, version 1.80.1
-- Found GI: /usr/bin/g-ir-scanner (found version "1.80.1")
-- Found GIDocgen: /usr/bin/gi-docgen (found version "2023.3")
-- Found LibDRM: /usr/include/libdrm (found version "2.4.120")
-- Found GBM: /usr/lib/libgbm.so (found version "24.0.7-arch1.3")
-- 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
-- Checking for module 'enchant-2'
--   Found enchant-2, version 2.7.3
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- 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.36
-- Found JPEGXL: /usr/lib/libjxl.so (found suitable version "0.10.2", minimum required is "0.7.0")
-- Found Hyphen: /usr/include
-- Found the following WOFF2 libraries:
--  WOFF2 (required): /usr/lib/libwoff2common.so
--  dec (required): /usr/lib/libwoff2dec.so
-- Found WOFF2: /usr/lib/libwoff2common.so (found suitable version "1.0.2", minimum required is "1.0.2")
-- Found Journald: /usr/lib/libsystemd.so (found version "255")
-- Found LCMS2: /usr/lib/liblcms2.so (found version "2.16")
-- Found Libseccomp: /usr/lib/libseccomp.so (found version "2.5.5")
-- Found Gperf: /usr/bin/gperf (Required is at least version "3.0.1")
-- Platform-specific CMakeLists not found: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/bmalloc/PlatformGTK.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: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/WTF/wtf/PlatformGTK.cmake
-- Copying generate-unified-source-bundles.rb to: /tmp/makepkg/webkit2gtk/src/build/WTF/Scripts
-- Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/JavaScriptCore/PlatformGTK.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: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/JavaScriptCore/shell/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/ThirdParty/ANGLE/PlatformGTK.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
-- 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: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/WebInspectorUI/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/WebCore/PAL/pal/PlatformGTK.cmake
-- Looking for shm_open
-- Looking for shm_open - found
-- Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/WebCore/PlatformGTK.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/SourcesSoup.txt
-- Using source list file: SourcesGTK.txt
-- Using source list file: platform/SourcesGLib.txt
-- Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/WebKit/PlatformGTK.cmake
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter
-- Performing Test CXX_COMPILER_SUPPORTS_-Wno-unused-parameter - Success
-- Using source list file: Sources.txt
-- Using source list file: Platform/Sources.txt
-- Using source list file: SourcesGTK.txt
-- Using source list file: SourcesGTKDeprecated.txt
-- Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/WebDriver/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/PlatformGTK.cmake
-- Found Gettext: /usr/bin/msgmerge (found version "0.22.5")
-- Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Tools/PlatformGTK.cmake
-- Enabled features:
--  ENABLE_BUBBLEWRAP_SANDBOX ..................... ON
--  ENABLE_DOCUMENTATION                            ON
--  ENABLE_DRAG_SUPPORT ........................... ON
--  ENABLE_GAMEPAD                                  ON
--  ENABLE_INTROSPECTION .......................... ON
--  ENABLE_JOURNALD_LOG                             ON
--  ENABLE_MINIBROWSER ............................ ON
--  ENABLE_PDFJS                                    ON
--  ENABLE_QUARTZ_TARGET .......................... OFF
--  ENABLE_SPELLCHECK                               ON
--  ENABLE_TOUCH_EVENTS ........................... ON
--  ENABLE_VIDEO                                    OFF
--  ENABLE_WAYLAND_TARGET ......................... ON
--  ENABLE_WEBDRIVER                                ON
--  ENABLE_WEB_AUDIO .............................. OFF
--  ENABLE_X11_TARGET                               ON
--  USE_AVIF ...................................... OFF
--  USE_GBM                                         ON
--  USE_GSTREAMER_TRANSCODER ...................... OFF
--  USE_GSTREAMER_WEBRTC                            OFF
--  USE_GTK4 ...................................... OFF
--  USE_JPEGXL                                      ON
--  USE_LCMS ...................................... ON
--  USE_LIBBACKTRACE                                OFF
--  USE_LIBDRM .................................... ON
--  USE_LIBHYPHEN                                   ON
--  USE_LIBSECRET ................................. ON
--  USE_SOUP2                                       ON
--  USE_WOFF2 ..................................... ON
-- Configuring done (20.9s)
-- Generating done (1.1s)
-- Build files have been written to: /tmp/makepkg/webkit2gtk/src/build
~~~

~~~
 cmake -S "webkitgtk-${pkgver}" -B build \
    -DPORT=GTK \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
    -DCMAKE_INSTALL_LIBEXECDIR=lib \
    -DCMAKE_SKIP_RPATH=ON \
    -DUSE_SOUP2=ON \
    -DUSE_GTK4=OFF \
    -DUSE_LIBBACKTRACE=OFF \
    -DUSE_AVIF=OFF \
    -DENABLE_VIDEO=OFF\
    -DENABLE_WEB_AUDIO=OFF \
    -DUSE_GSTREAMER_FULL=OFF \
    -DUSE_GSTREAMER_GL=OFF \
    -DUSE_GSTREAMER_MPEGTS=OFF \
    -DUSE_GSTREAMER_NATIVE_AUDIO=OFF \
    -DUSE_GSTREAMER_NATIVE_VIDEO=OFF \
    -DUSE_GSTREAMER_TEXT_SINK=OFF \
    -DENABLE_DOCUMENTATION=ON \
    -DENABLE_MINIBROWSER=ON \
    -DPYTHON_EXECUTABLE=/usr/bin/python \
~~~

cmake 3.29.3
gcc 14.1.1

greetings
Comment 1 sL1pKn07 2024-05-13 14:53:03 PDT
ups. missing fail log

~~~
[ 39%] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/FormatConverter.cpp.o
In file included from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/WebCore/platform/graphics/FormatConverter.h:32,
                 from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/WebCore/platform/graphics/FormatConverter.cpp:32:
/tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/WebCore/platform/graphics/GraphicsContextGL.h:1619:20: error: 'VideoFrame' was not declared in this scope
 1619 |     virtual RefPtr<VideoFrame> surfaceBufferToVideoFrame(SurfaceBuffer) = 0;
      |                    ^~~~~~~~~~
/tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/WebCore/platform/graphics/GraphicsContextGL.h:1619:30: error: template argument 1 is invalid
 1619 |     virtual RefPtr<VideoFrame> surfaceBufferToVideoFrame(SurfaceBuffer) = 0;
      |                              ^
/tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/WebCore/platform/graphics/GraphicsContextGL.h:1619:30: error: template argument 2 is invalid
/tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.1/Source/WebCore/platform/graphics/GraphicsContextGL.h:1619:30: error: template argument 3 is invalid
make[2]: *** [Source/WebCore/CMakeFiles/WebCore.dir/build.make:1159: Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/FormatConverter.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1370: Source/WebCore/CMakeFiles/WebCore.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
~~~

greetings
Comment 2 sL1pKn07 2024-05-13 15:45:40 PDT
ok

fixed with

    -DENABLE_WEB_AUDIO=OFF \
    -DENABLE_WEB_CODECS=OFF \

sorry the noise

greetings