<?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>314391</bug_id>
          
          <creation_ts>2026-05-08 04:31:22 -0700</creation_ts>
          <short_desc>REGRESSION(312858@main): Breaks the build with GCC 12 due to missing &lt;format&gt; header</short_desc>
          <delta_ts>2026-05-08 10:12:38 -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>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>314410</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Claudio Saavedra">csaavedra</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ccarley2</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2208947</commentid>
    <comment_count>0</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2026-05-08 04:31:22 -0700</bug_when>
    <thetext>We need to support GCC 12 still for some months https://docs.webkit.org/Ports/WebKitGTK%20and%20WPE%20WebKit/DependenciesPolicy.html

[8/77] Building CXX object Tools/TestWebKitAPI/CMakeFiles/TestWTF.dir/Tests/WTF/FormattedLogging.cpp.o
FAILED: Tools/TestWebKitAPI/CMakeFiles/TestWTF.dir/Tests/WTF/FormattedLogging.cpp.o 
/usr/bin/ccache /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_TestWTF -DBUILDING_WEBKIT=1 -DBUILDING_WITH_CMAKE=1 -DBWRAP_EXECUTABLE=\&quot;/usr/bin/bwrap\&quot; -DDBUS_PROXY_EXECUTABLE=\&quot;/usr/bin/xdg-dbus-proxy\&quot; -DGETTEXT_PACKAGE=\&quot;WebKitGTK-6.0\&quot; -DGTEST_CREATE_SHARED_LIBRARY=1 -DGTEST_HAS_PTHREAD=1 -DGTEST_HAS_RTTI=0 -DHAVE_CONFIG_H=1 -DJSC_GLIB_API_ENABLED -DPAS_BMALLOC=1 -DSTATICALLY_LINKED_WITH_WTF -DSTATICALLY_LINKED_WITH_bmalloc -D_GLIBCXX_ASSERTIONS=1 -I/home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/WebKitBuild/GTK/Release -I/home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/Tools/TestWebKitAPI -I/home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/Source/ThirdParty/gtest/include -I/home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/WebKitBuild/GTK/Release/WTF/Headers -I/home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/WebKitBuild/GTK/Release/bmalloc/Headers -I/home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/WebKitBuild/GTK/Release/bmalloc/PrivateHeaders -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/libmount -isystem /usr/include/blkid -isystem /usr/include/sysprof-4 -fdiagnostics-color=always -Wextra -Wall -pipe -fmax-errors=20 -Wno-dangling-pointer -Wno-invalid-offsetof -Wno-odr -Wno-stringop-overread -Wno-stringop-overflow -Wno-nonnull -Wno-array-bounds -Wno-expansion-to-defined -Wno-noexcept-type -fno-unswitch-loops -Wno-subobject-linkage -Wno-psabi -Wno-misleading-indentation -Wno-maybe-uninitialized -Wundef -Wpointer-arith -Wmissing-format-attribute -Wformat-security -Wcast-align -Wno-tautological-compare -fasynchronous-unwind-tables -fdebug-types-section -fno-omit-frame-pointer -fno-strict-aliasing -fno-exceptions -fno-rtti -fcoroutines -ffunction-sections -fdata-sections -O3 -DNDEBUG -fPIE -fvisibility=hidden -Wno-dangling-else -Wno-sign-compare -Wno-undef -Wno-unused-parameter -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -std=c++23 -MD -MT Tools/TestWebKitAPI/CMakeFiles/TestWTF.dir/Tests/WTF/FormattedLogging.cpp.o -MF Tools/TestWebKitAPI/CMakeFiles/TestWTF.dir/Tests/WTF/FormattedLogging.cpp.o.d -o Tools/TestWebKitAPI/CMakeFiles/TestWTF.dir/Tests/WTF/FormattedLogging.cpp.o -c /home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/Tools/TestWebKitAPI/Tests/WTF/FormattedLogging.cpp
In file included from /home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/Tools/TestWebKitAPI/Tests/WTF/FormattedLogging.cpp:27:
/home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/WebKitBuild/GTK/Release/WTF/Headers/wtf/FormattedLogging.h:29:10: fatal error: format: No such file or directory
   29 | #include &lt;format&gt;
      |          ^~~~~~~~
compilation terminated.
[9/77] cd /home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/WebKitBuild/GTK/Release/Source/WebKit &amp;&amp; /usr/bin/perl /home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/Source/WebKit/Scripts/generate-forwarding-headers.pl --include-path /home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/Source/WebKit --output /home/buildbot/worker/GTK-Linux-64-bit-Release-Debian-12-Build/build/WebKitBuild/GTK/Release/DerivedSources/ForwardingHeaders --platform gtk --platform soup
[10/77] Generating DeveloperTools/compile_commands.json
[11/77] Linking CXX executable bin/TestWebKitAPI/TestWebCore
ninja: build stopped: subcommand failed.
program finished with exit code 1
elapsedTime=24.996124</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2208949</commentid>
    <comment_count>1</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2026-05-08 04:35:19 -0700</bug_when>
    <thetext>See https://build.webkit.org/#/builders/46/builds/64704</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2209042</commentid>
    <comment_count>2</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2026-05-08 10:12:38 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 314410 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>