WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 241713
REGRESSION(
r295496
): [MacOS] Build terminates with CodeSign error
https://bugs.webkit.org/show_bug.cgi?id=241713
Summary
REGRESSION(r295496): [MacOS] Build terminates with CodeSign error
Diego Pino
Reported
2022-06-17 06:35:06 PDT
Since
r295496
, I'm getting the following error while building WebKit for MacOS: ``` usr/bin/codesign --force --sign - --timestamp\=none --preserve-metadata\=identifier,entitlements,flags --generate-entitlement-der /Users/playwright/webkit/WebKitBuild/Release/InjectedBundleTestWebKitAPI.bundle/Contents/Resources/WebKit.framework /Users/playwright/webkit/WebKitBuild/Release/InjectedBundleTestWebKitAPI.bundle/Contents/Resources/WebKit.framework: replacing existing signature /Users/playwright/webkit/WebKitBuild/Release/InjectedBundleTestWebKitAPI.bundle/Contents/Resources/WebKit.framework: unsealed contents… ``` The command I'm using to build is: ``` $ ./Tools/Scripts/build-webkit --release --touch-events --orientation-events ``` Environment is macOS v12.3.1, building with XCode13.2. Builds work if I build using the new --no-use-workspace flag though.
Attachments
Add attachment
proposed patch, testcase, etc.
Elliott Williams
Comment 1
2022-06-17 10:37:17 PDT
Is build-webkit (without --no-use-workspace) failing reliably in this way? I've seen this before, but it's always been fixed by a rebuild, suggesting some build-time race condition.
Diego Pino
Comment 2
2022-06-17 14:38:20 PDT
I forgot to mention it always fails on a clean build. Once it has failed, a second attempt to build finishes successfully.
Elliott Williams
Comment 3
2022-06-17 15:48:10 PDT
(In reply to Diego Pino from
comment #2
)
> I forgot to mention it always fails on a clean build. Once it has failed, a > second attempt to build finishes successfully.
Nice. I'll look into this and see if I can reproduce the problem.
Elliott Williams
Comment 4
2022-06-22 15:50:37 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/1699
Elliott Williams
Comment 5
2022-06-22 15:51:05 PDT
Looks like a simple misconfiguration in one the "Product Dependencies" phases. I'm able to reproduce the problem and fix it with this change.
EWS
Comment 6
2022-06-22 16:34:44 PDT
Committed
r295755
(
251760@main
): <
https://commits.webkit.org/251760@main
> Reviewed commits have been landed. Closing PR #1699 and removing active labels.
Radar WebKit Bug Importer
Comment 7
2022-06-22 16:35:13 PDT
<
rdar://problem/95732878
>
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