WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
258769
Intermittent parallel build failures related to GIR file
https://bugs.webkit.org/show_bug.cgi?id=258769
Summary
Intermittent parallel build failures related to GIR file
Jan Palus
Reported
2023-07-01 07:41:39 PDT
Created
attachment 466892
[details]
Patch Sometimes build fails with errors like: [100%] Generating WPEWebKit-1.0.typelib cd /tmp/B.0d8_p500/BUILD/wpewebkit-2.38.6/build-soup2/Source/WebKit && /usr/bin/g-ir-compiler --includedir=/tmp/B.0d8_p500/BUILD/wpewebkit-2.38.6/build-soup2 --output=/tmp/B.0d8_p500/BUILD/wp ewebkit-2.38.6/build-soup2/WPEWebKit-1.0.typelib /tmp/B.0d8_p500/BUILD/wpewebkit-2.38.6/build-soup2/WPEWebKit-1.0.gir error parsing file /tmp/B.0d8_p500/BUILD/wpewebkit-2.38.6/build-soup2/WPEWebKit-1.0.gir: Error on line 1 char 1: Document was empty or contained only whitespace (see attached log) While most recent occurrence of this issue is related to WPEWebKit, the same behavior was observed for "normal" WebKit as well. Mechanism in question is exactly the same in both. The reason for the errors are multiple commands generating same GIR file executed in parallel. See attached patch for more details and fix. Feel free to use it or not. Unfortunately it was not possible to create pull request as the baroque `git-webkit setup` script has hard dependency on keyring which I unfortunately cannot satisfy.
Attachments
Patch
(2.90 KB, patch)
2023-07-01 07:41 PDT
,
Jan Palus
no flags
Details
Formatted Diff
Diff
Log
(58.64 KB, text/x-log)
2023-07-01 07:42 PDT
,
Jan Palus
no flags
Details
Patch for non parallel build
(1.66 KB, patch)
2023-07-10 00:02 PDT
,
Jan Palus
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jan Palus
Comment 1
2023-07-01 07:42:04 PDT
Created
attachment 466893
[details]
Log
Radar WebKit Bug Importer
Comment 2
2023-07-08 07:42:14 PDT
<
rdar://problem/111953858
>
Jan Palus
Comment 3
2023-07-10 00:02:51 PDT
Created
attachment 466996
[details]
Patch for non parallel build Follow up patch for issue found and fixed by Jakub Bogusz with non parallel build.
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