[Webkit-unassigned] [Bug 258769] New: Intermittent parallel build failures related to GIR file

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 1 07:41:39 PDT 2023


            Bug ID: 258769
           Summary: Intermittent parallel build failures related to GIR
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CMake
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jpalus at fastmail.com

Created attachment 466892

  --> https://bugs.webkit.org/attachment.cgi?id=466892&action=review


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.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230701/ba47f231/attachment-0001.htm>

More information about the webkit-unassigned mailing list