Bug 205616

Summary: Build (unified) failure after adding source files to support media in GPU process
Product: WebKit Reporter: Peng Liu <peng.liu6>
Component: MediaAssignee: Peng Liu <peng.liu6>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, commit-queue, darin, dino, eric.carlson, ews-watchlist, glenn, hta, jer.noble, philipj, sergio, tommyw, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 13   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
[WIP] Fix GTK and WPE build failures
none
WIP patch
none
Patch
none
Patch
none
Rebased patch none

Peng Liu
Reported 2019-12-28 04:18:36 PST
The Mac OS SDK includes a definition of "Fixed", and the project has WebCore::Fixed. They conflict due to the unified build when we try to add some new CPP files.
Attachments
Patch (11.35 KB, patch)
2020-01-03 17:28 PST, Peng Liu
no flags
[WIP] Fix GTK and WPE build failures (11.84 KB, patch)
2020-01-03 21:02 PST, Peng Liu
no flags
WIP patch (13.24 KB, patch)
2020-01-03 22:42 PST, Peng Liu
no flags
Patch (13.28 KB, patch)
2020-01-03 22:52 PST, Peng Liu
no flags
Patch (13.25 KB, patch)
2020-01-04 22:25 PST, Peng Liu
no flags
Rebased patch (14.55 KB, patch)
2020-01-06 11:32 PST, Peng Liu
no flags
Peng Liu
Comment 1 2020-01-03 17:28:23 PST
Eric Carlson
Comment 2 2020-01-03 18:42:18 PST
Comment on attachment 386734 [details] Patch r=me once the bots are happy
Peng Liu
Comment 3 2020-01-03 21:02:26 PST
Created attachment 386751 [details] [WIP] Fix GTK and WPE build failures
Peng Liu
Comment 4 2020-01-03 22:42:44 PST
Created attachment 386756 [details] WIP patch
Peng Liu
Comment 5 2020-01-03 22:52:51 PST
Radar WebKit Bug Importer
Comment 6 2020-01-03 22:53:19 PST
Darin Adler
Comment 7 2020-01-04 20:35:45 PST
Comment on attachment 386757 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=386757&action=review I don’t understand why we are removing the header and source files from the project file. > Source/WebCore/Modules/mediastream/UserMediaClient.h:44 > +class Document; We sort these alphabetically, so this should be up above Page.
Peng Liu
Comment 8 2020-01-04 22:11:33 PST
(In reply to Darin Adler from comment #7) > Comment on attachment 386757 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=386757&action=review > > I don’t understand why we are removing the header and source files from the > project file. Because we are adding them to the unified build. They are still included in the project file (the updated project file still has references to them), but they are not included in the build process directly. > > > Source/WebCore/Modules/mediastream/UserMediaClient.h:44 > > +class Document; > > We sort these alphabetically, so this should be up above Page. Fixed.
Peng Liu
Comment 9 2020-01-04 22:25:59 PST
WebKit Commit Bot
Comment 10 2020-01-06 10:34:07 PST
Comment on attachment 386782 [details] Patch Rejecting attachment 386782 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'apply-attachment', '--no-update', '--non-interactive', 386782, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Logging in as commit-queue@webkit.org... Fetching: https://bugs.webkit.org/attachment.cgi?id=386782&action=edit Fetching: https://bugs.webkit.org/show_bug.cgi?id=205616&ctype=xml&excludefield=attachmentdata Processing 1 patch from 1 bug. Processing patch 386782 from bug 205616. Fetching: https://bugs.webkit.org/attachment.cgi?id=386782 Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Dean Jackson']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Parsed 6 diffs from patch file(s). patching file Source/WebCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebKit/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/WebCore/Modules/mediastream/UserMediaClient.h patching file Source/WebKit/Sources.txt Hunk #2 FAILED at 508. 1 out of 2 hunks FAILED -- saving rejects to file Source/WebKit/Sources.txt.rej patching file Source/WebKit/SourcesGTK.txt patching file Source/WebKit/WebKit.xcodeproj/project.pbxproj Hunk #1 succeeded at 99 (offset 2 lines). Hunk #2 succeeded at 406 (offset 2 lines). Hunk #3 succeeded at 10087 (offset 8 lines). Hunk #4 FAILED at 10247. Hunk #5 succeeded at 11865 (offset 9 lines). Hunk #6 FAILED at 11921. 2 out of 6 hunks FAILED -- saving rejects to file Source/WebKit/WebKit.xcodeproj/project.pbxproj.rej Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Dean Jackson']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: https://webkit-queues.webkit.org/results/13300141
Peng Liu
Comment 11 2020-01-06 11:32:44 PST
Created attachment 386871 [details] Rebased patch
WebKit Commit Bot
Comment 12 2020-01-06 15:48:38 PST
The commit-queue encountered the following flaky tests while processing attachment 386871 [details]: transitions/default-timing-function.html bug 138901 (authors: dino@apple.com and graouts@apple.com) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 13 2020-01-06 15:49:28 PST
Comment on attachment 386871 [details] Rebased patch Clearing flags on attachment: 386871 Committed r254093: <https://trac.webkit.org/changeset/254093>
WebKit Commit Bot
Comment 14 2020-01-06 15:49:30 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.