WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
303645
[Tools][WPE][GTK][SDK] Build webkit in a common directory at /sdk/webkit when using the SDK
https://bugs.webkit.org/show_bug.cgi?id=303645
Summary
[Tools][WPE][GTK][SDK] Build webkit in a common directory at /sdk/webkit when...
Carlos Alberto Lopez Perez
Reported
2025-12-05 11:05:48 PST
Since we moved out of flatpak SDK we miss the feature that it had of building webkit in /app/webkit, as that allowed reusing remote caches (ccache, sccache) when developers or bots have the webkit checkout in different directories very easy I tried a workaround for ccache at
bug 301003
but that ended causing issues with GDB and the paths to the source files. Also for sccache that workaround is not possible, sccache does not have the ccache feature of CCACHE_BASEDIR. See
https://github.com/mozilla/sccache/issues/35
So the idea here is the following: 1. When using the SDK <
https://github.com/Igalia/webkit-container-sdk
> create a symlink from /sdk/webkit to the current directory. 2. When building webkit create a private mount namespace that bind mounts /sdk/webkit to the current webkit source directory and that is private to the process building, so there can be multiple webkit builds (for eample a user that builds webkit at the same time from different dirs), each one with its own private /sdk/webkit mount without interfering between them. Later in the SDK we would need support for recreating the symlink without using build-webkit for use cases like doing tests in a directory different than the build one without having to trigger build-webkit again so it does that.
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Alberto Lopez Perez
Comment 1
2025-12-05 11:21:39 PST
Pull request:
https://github.com/WebKit/WebKit/pull/54941
EWS
Comment 2
2025-12-18 05:31:35 PST
Committed
304672@main
(6511e21704cb): <
https://commits.webkit.org/304672@main
> Reviewed commits have been landed. Closing PR #54941 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-12-18 05:32:15 PST
<
rdar://problem/166784579
>
Fujii Hironori
Comment 4
2025-12-25 05:35:04 PST
test-webkitperl is failing after
304672@main
.
https://build.webkit.org/#/builders/40/builds/24297
> Cannot find jsc, try with --release or specify with --jsc <path>. > # Failed test 'test262 test failed, ignore expectations (new failures: 2)' > # at Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl line 142. > # got: '0' > # expected: '2' > Cannot find jsc, try with --release or specify with --jsc <path>.
Fujii Hironori
Comment 5
2026-01-04 16:08:19 PST
(In reply to Fujii Hironori from
comment #4
)
> test-webkitperl is failing after
304672@main
.
bug#304614
is the ticket.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug