<?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>315451</bug_id>
          
          <creation_ts>2026-05-24 00:07:44 -0700</creation_ts>
          <short_desc>[GTK][WPE] Bump wkdev-sdk to a Swift-enabled version</short_desc>
          <delta_ts>2026-05-29 07:55:32 -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>WPE WebKit</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>315728</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikolas Zimmermann">zimmermann</reporter>
          <assigned_to name="Nikolas Zimmermann">zimmermann</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>commit-queue</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2213630</commentid>
    <comment_count>0</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2026-05-24 00:07:44 -0700</bug_when>
    <thetext>.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2213631</commentid>
    <comment_count>1</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2026-05-24 00:09:15 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/65559</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2215029</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-05-27 11:11:50 -0700</bug_when>
    <thetext>Committed 313985@main (cb4071b9f2f0): &lt;https://commits.webkit.org/313985@main&gt;

Reviewed commits have been landed. Closing PR #65559 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2215205</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2026-05-27 22:22:25 -0700</bug_when>
    <thetext>Re-opened since this is blocked by bug 315728</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2215664</commentid>
    <comment_count>4</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2026-05-29 03:30:16 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/66014</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2215676</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-05-29 05:10:42 -0700</bug_when>
    <thetext>Committed 314133@main (ec528c8f3066): &lt;https://commits.webkit.org/314133@main&gt;

Reviewed commits have been landed. Closing PR #66014 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2215698</commentid>
    <comment_count>6</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2026-05-29 07:18:21 -0700</bug_when>
    <thetext>This broke my  build. 

OpenSource/Tools/Scripts/swift/swiftc-wrapper.sh: line 66: syntax error near unexpected token `)&apos;
ninja: build stopped: subcommand failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2215699</commentid>
    <comment_count>7</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2026-05-29 07:21:47 -0700</bug_when>
    <thetext>apparently this fixes it (but I have no idea if it&apos;s the correct change)

diff --git a/Tools/Scripts/swift/swiftc-wrapper.sh b/Tools/Scripts/swift/swiftc-wrapper.sh
index d6997f826792..b64fa3f977c0 100755
--- a/Tools/Scripts/swift/swiftc-wrapper.sh
+++ b/Tools/Scripts/swift/swiftc-wrapper.sh
@@ -59,6 +59,7 @@ for arg in &quot;$@&quot;; do
         &quot;-include&quot;) skip_next=1 ;;
         &quot;-fuse-ld=&quot;*)
             args+=(&quot;-Xcc&quot; &quot;$arg&quot;)
+            ;;
         # swiftc does not understand clang-specific include flags like
         # -isystem / -iquote / -idirafter; wrap them (and their following
         # path argument) as -Xcc so they reach the Clang importer instead</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2215713</commentid>
    <comment_count>8</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2026-05-29 07:49:21 -0700</bug_when>
    <thetext>Sorry, will fix ASAP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2215716</commentid>
    <comment_count>9</comment_count>
    <who name="alan">zalan</who>
    <bug_when>2026-05-29 07:55:32 -0700</bug_when>
    <thetext>thank you.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>