<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>271893</bug_id>
          
          <creation_ts>2024-03-29 10:22:38 -0700</creation_ts>
          <short_desc>Fail build with -DENABLE_WEB_AUDIO=OFF -DENABLE_VIDEO=OFF in webkit2gtk 2.44.0 (gtk3)</short_desc>
          <delta_ts>2024-05-13 16:00:09 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Local Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="sL1pKn07">sl1pkn07</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2024758</commentid>
    <comment_count>0</comment_count>
    <who name="sL1pKn07">sl1pkn07</who>
    <bug_when>2024-03-29 10:22:38 -0700</bug_when>
    <thetext>Fail build Webkit2gtk 2.34.1 if set 

    -DENABLE_WEB_AUDIO=OFF \
    -DENABLE_VIDEO=OFF \


~~~
[ 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.0/Source/WebCore/platform/graphics/FormatConverter.h:32,
                 from /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.0/Source/WebCore/platform/graphics/FormatConverter.cpp:32:
/tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.0/Source/WebCore/platform/graphics/GraphicsContextGL.h:1619:20: error: &apos;VideoFrame&apos; was not declared in this scope
 1619 |     virtual RefPtr&lt;VideoFrame&gt; surfaceBufferToVideoFrame(SurfaceBuffer) = 0;
      |                    ^~~~~~~~~~
/tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.0/Source/WebCore/platform/graphics/GraphicsContextGL.h:1619:30: error: template argument 1 is invalid
 1619 |     virtual RefPtr&lt;VideoFrame&gt; surfaceBufferToVideoFrame(SurfaceBuffer) = 0;
      |                              ^
/tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.0/Source/WebCore/platform/graphics/GraphicsContextGL.h:1619:30: error: template argument 2 is invalid
/tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.0/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
~~~
and more extense log if do &apos;-j40&apos; (my num of cpu threads)

cmake status:

~~~
-- 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 &quot;5.38.2&quot;, minimum required is &quot;5.10.0&quot;)
-- Found PerlModules: TRUE  found components: English FindBin JSON::PP
-- Found Python: /usr/bin/python3.11 (found version &quot;3.11.8&quot;) found components: Interpreter
-- Found Ruby: /usr/bin/ruby (found suitable version &quot;3.0.6&quot;, minimum required is &quot;2.5&quot;)
-- 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 &quot;1.18.0&quot;, minimum required is &quot;1.16.0&quot;)
-- Found Fontconfig: /usr/lib/libfontconfig.so (found suitable version &quot;2.15.0&quot;, minimum required is &quot;2.13.0&quot;)
-- Found Freetype: /usr/lib/libfreetype.so (found suitable version &quot;2.13.2&quot;, minimum required is &quot;2.9.0&quot;)
-- Found LibGcrypt: /usr/lib/libgcrypt.so (found suitable version &quot;1.10.3-unknown&quot;, minimum required is &quot;1.7.0&quot;)
-- 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 &quot;8.3.1&quot;, minimum required is &quot;1.4.2&quot;)
-- 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 &quot;74.2&quot;, minimum required is &quot;61.2&quot;)
-- Found JPEG: /usr/lib/libjpeg.so (found version &quot;80&quot;)
-- Found Epoxy: /usr/lib/libepoxy.so (found suitable version &quot;1.5.10&quot;, minimum required is &quot;1.5.4&quot;)
-- Found LibXml2: /usr/lib/libxml2.so (found suitable version &quot;2.12.6&quot;, minimum required is &quot;2.8.0&quot;)
-- Found ZLIB: /usr/lib/libz.so (found version &quot;1.3.1&quot;)
-- Found PNG: /usr/lib/libpng.so (found version &quot;1.6.43&quot;)
-- Found SQLite3: /usr/include (found version &quot;3.45.2&quot;)
-- 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 &apos;atspi-2&apos;
--   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 &quot;2.5.3&quot;)
-- 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 &apos;gtk+-3.0&apos;
--   Found gtk+-3.0, version 3.24.41
-- Checking for module &apos;gtk+-unix-print-3.0&apos;
--   Found gtk+-unix-print-3.0, version 3.24.41
-- Found GTK: 3.24.41 (Required is at least version &quot;3.22.0&quot;)
-- Found LibSoup: /usr/include/libsoup-2.4 (found suitable version &quot;2.74.3&quot;, minimum required is &quot;2.54.0&quot;)
-- Found GLIB: /usr/include/glib-2.0;/usr/lib/glib-2.0/include (found suitable version &quot;2.80.0&quot;, minimum required is &quot;2.56.4&quot;)
-- Found Manette: /usr/include/libmanette (found suitable version &quot;0.2.7&quot;, minimum required is &quot;0.2.4&quot;)
-- Found LibXslt: /usr/lib/libxslt.so (found suitable version &quot;1.1.39&quot;, minimum required is &quot;1.1.7&quot;)
-- Checking for module &apos;libsecret-1&apos;
--   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 &apos;gobject-introspection-1.0&apos;
--   Found gobject-introspection-1.0, version 1.80.0
-- Found GI: /usr/bin/g-ir-scanner (found version &quot;1.80.0&quot;)
-- Found GIDocgen: /usr/bin/gi-docgen (found version &quot;2023.3&quot;)
-- Found LibDRM: /usr/lib/libdrm.so
-- Found GBM: /usr/lib/libgbm.so (found version &quot;24.0.4-arch1.1&quot;)
-- 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 &apos;enchant-2&apos;
--   Found enchant-2, version 2.6.5
-- 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 &apos;wayland-client;wayland-server;wayland-egl&apos;
--   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 &quot;1.20&quot;)
-- Checking for module &apos;wayland-protocols&apos;
--   Found wayland-protocols, version 1.34
-- Found JPEGXL: /usr/lib/libjxl.so (found suitable version &quot;0.10.2&quot;, minimum required is &quot;0.7.0&quot;)
-- 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 &quot;1.0.2&quot;, minimum required is &quot;1.0.2&quot;)
-- Found Journald: /usr/lib/libsystemd.so (found version &quot;255&quot;)
-- Found LCMS2: /usr/lib/liblcms2.so (found version &quot;2.16&quot;)
-- Found Libseccomp: /usr/lib/libseccomp.so (found version &quot;2.5.5&quot;)
-- Found Gperf: /usr/bin/gperf (Required is at least version &quot;3.0.1&quot;)
-- Platform-specific CMakeLists not found: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.0/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.0/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.0/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.0/Source/JavaScriptCore/shell/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.0/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.0/Source/WebInspectorUI/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.0/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.0/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.0/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.0/Source/WebDriver/PlatformGTK.cmake
-- Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.0/Source/PlatformGTK.cmake
-- Found Gettext: /usr/bin/msgmerge (found version &quot;0.22.4&quot;)
-- Using platform-specific CMakeLists: /tmp/makepkg/webkit2gtk/src/webkitgtk-2.44.0/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 (21.0s)

-- Build files have been written to: /tmp/makepkg/webkit2gtk/src/build
~~~

~~~
 cmake -S &quot;webkitgtk-${pkgver}&quot; -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_GLES2=ON \
    -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.0
gcc 13.2.1

greetings</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2024805</commentid>
    <comment_count>1</comment_count>
    <who name="sL1pKn07">sl1pkn07</who>
    <bug_when>2024-03-29 13:25:16 -0700</bug_when>
    <thetext>ups. typo in the comment first line. is 2.44.0, not 2.34.1

greetings</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2035120</commentid>
    <comment_count>2</comment_count>
    <who name="sL1pKn07">sl1pkn07</who>
    <bug_when>2024-05-13 16:00:09 -0700</bug_when>
    <thetext>fixed with

    -DENABLE_WEB_AUDIO=OFF \
    -DENABLE_WEB_CODECS=OFF \

sorry the noise

greetings</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>