Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e6a82ffd56ea63de141d789fad6a2e8594273d5e
      
https://github.com/WebKit/WebKit/commit/e6a82ffd56ea63de141d789fad6a2e8594273d5e
  Author: Brianna Fan <[email protected]>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M Tools/CISupport/Shared/steps.py
    M Tools/CISupport/Shared/steps_unittest.py
    M Tools/CISupport/build-webkit-org/steps.py
    M Tools/CISupport/build-webkit-org/steps_unittest.py

  Log Message:
  -----------
  [Safer-CPP] WebKit build failing with 
SwiftDriver/InterModuleDependencyOracle.swift:178: Fatal error: Attempting to 
reset scanner cache with no scanner instance
rdar://170263380
https://bugs.webkit.org/show_bug.cgi?id=307708

Reviewed by Ryan Haddad.

Copying over the toolchain using `cp -r` did not preserve symlinks. This meant 
that the path to lib_InternalSwiftScan.dylib
was incorrect, which results in the incompatibility error and Xcode crashing.

We can replace `cp -r` with `cp -a` as a fix.

Also, make some drive-by fixes (moving cleanup commands to BuildSwift).

* Tools/CISupport/Shared/steps.py:
(InstallSwiftToolchain.run):
* Tools/CISupport/Shared/steps_unittest.py:
(TestInstallSwiftToolchain.test_success):
(TestInstallSwiftToolchain.test_failure):
* Tools/CISupport/build-webkit-org/steps.py:
(BuildSwift.run):
* Tools/CISupport/build-webkit-org/steps_unittest.py:

Canonical link: https://commits.webkit.org/307406@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to