Bug 184643

Summary: [WPE] Build and link against latest WPEBackend and WPEBackend-fdo
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, commit-queue, ews-watchlist, mcatanzaro, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 178894    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Patch
none
Archive of layout-test-results from ews123 for ios-simulator-wk2
none
Patch none

Zan Dobersek
Reported 2018-04-16 00:00:53 PDT
[WPE] Build and link against versioned WPEBackend
Attachments
Patch (4.14 KB, patch)
2018-04-16 00:01 PDT, Zan Dobersek
no flags
Patch (19.70 KB, patch)
2018-04-24 22:47 PDT, Michael Catanzaro
no flags
Patch (20.06 KB, patch)
2018-04-25 06:47 PDT, Michael Catanzaro
no flags
Patch (19.98 KB, patch)
2018-04-25 06:59 PDT, Michael Catanzaro
no flags
Patch (19.94 KB, patch)
2018-04-25 07:23 PDT, Michael Catanzaro
no flags
Patch (19.94 KB, patch)
2018-04-25 07:41 PDT, Michael Catanzaro
no flags
Patch (19.94 KB, patch)
2018-04-25 08:29 PDT, Michael Catanzaro
no flags
Archive of layout-test-results from ews123 for ios-simulator-wk2 (2.20 MB, application/zip)
2018-04-25 13:26 PDT, EWS Watchlist
no flags
Patch (20.26 KB, patch)
2018-04-25 14:28 PDT, Michael Catanzaro
no flags
Zan Dobersek
Comment 1 2018-04-16 00:01:35 PDT
Zan Dobersek
Comment 2 2018-04-16 00:02:32 PDT
Comment on attachment 337990 [details] Patch I could wait for WPEBackend-fdo to also become versioned, and do all this in one go.
Michael Catanzaro
Comment 3 2018-04-16 07:43:56 PDT
That was my plan, but this is fine too. I got backlogged with other work, will try to care for WPEBackend-fdo soon.
Michael Catanzaro
Comment 4 2018-04-24 22:47:38 PDT
Michael Catanzaro
Comment 5 2018-04-24 22:48:59 PDT
Notes: * I left export_linux_dmabuf unimplemented in HeadlessViewBackend, which is probably bad. No clue how to handle that. * I'll update the JHBuild moduleset again before landing.
Michael Catanzaro
Comment 6 2018-04-25 06:28:22 PDT
Hm, I forgot to update dyz.
Michael Catanzaro
Comment 7 2018-04-25 06:47:58 PDT
Michael Catanzaro
Comment 8 2018-04-25 06:48:25 PDT
(In reply to Michael Catanzaro from comment #7) > Created attachment 338727 [details] > Patch This should fix dyz. I'm still expecting EWS to fail, though: this will probably need a clean build.
Michael Catanzaro
Comment 9 2018-04-25 06:59:05 PDT
Michael Catanzaro
Comment 10 2018-04-25 07:22:48 PDT
(In reply to Michael Catanzaro from comment #5) > Notes: > > * I left export_linux_dmabuf unimplemented in HeadlessViewBackend, which is > probably bad. No clue how to handle that. Reverted the WPEBackend-fdo commits that added this API > * I'll update the JHBuild moduleset again before landing. Done (no longer uses my fork of WebPlatformForEmbedded/WPEBackend repo)
Michael Catanzaro
Comment 11 2018-04-25 07:23:02 PDT
Michael Catanzaro
Comment 12 2018-04-25 07:41:23 PDT
Michael Catanzaro
Comment 13 2018-04-25 08:29:55 PDT
Zan Dobersek
Comment 14 2018-04-25 11:44:05 PDT
(In reply to Michael Catanzaro from comment #13) > Created attachment 338738 [details] > Patch Still doesn't complete a clean build: In file included from /home/zan/Work/webkit/git/Tools/WebKitTestRunner/wpe/EventSenderProxyWPE.cpp:29:0: ../../Tools/wpe/HeadlessViewBackend/HeadlessViewBackend.h:35:21: fatal error: wpe/fdo.h: No such file or directory #include <wpe/fdo.h> ^ compilation terminated. Does `find_package(WPEBackend-fdo REQUIRED)` have to be called separately in Tools/WebKitTestRunner/PlatformWPE.cmake?
Michael Catanzaro
Comment 15 2018-04-25 12:13:00 PDT
Did you try 'rm -rf WebKitBuild/' before you started? (In reply to Zan Dobersek from comment #14) > Does `find_package(WPEBackend-fdo REQUIRED)` have to be called separately in > Tools/WebKitTestRunner/PlatformWPE.cmake? No, once in OptionsWPE.cmake is enough. I suspect you just need a clean build.
Michael Catanzaro
Comment 16 2018-04-25 13:24:53 PDT
Let me try testing a release build; I've only checked a debug build so far.
EWS Watchlist
Comment 17 2018-04-25 13:26:37 PDT
Comment on attachment 338738 [details] Patch Attachment 338738 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/7456112 New failing tests: compositing/debug-borders-dynamic.html
EWS Watchlist
Comment 18 2018-04-25 13:26:38 PDT
Created attachment 338780 [details] Archive of layout-test-results from ews123 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews123 Port: ios-simulator-wk2 Platform: Mac OS X 10.13.4
Michael Catanzaro
Comment 19 2018-04-25 14:07:34 PDT
OK, I actually get the same error in a release build.
Michael Catanzaro
Comment 20 2018-04-25 14:12:42 PDT
(In reply to Zan Dobersek from comment #14) > Does `find_package(WPEBackend-fdo REQUIRED)` have to be called separately in > Tools/WebKitTestRunner/PlatformWPE.cmake? And I missed that these were testing-only dependencies....
Michael Catanzaro
Comment 21 2018-04-25 14:26:43 PDT
(In reply to Zan Dobersek from comment #14) > Does `find_package(WPEBackend-fdo REQUIRED)` have to be called separately in > Tools/WebKitTestRunner/PlatformWPE.cmake? You were right, that's all that's required.
Michael Catanzaro
Comment 22 2018-04-25 14:28:06 PDT
Michael Catanzaro
Comment 23 2018-04-25 15:29:53 PDT
EWS failure is expected, Adrian will restart the WPE EWS after this lands.
WebKit Commit Bot
Comment 24 2018-04-25 23:40:09 PDT
Comment on attachment 338794 [details] Patch Clearing flags on attachment: 338794 Committed r231042: <https://trac.webkit.org/changeset/231042>
WebKit Commit Bot
Comment 25 2018-04-25 23:40:11 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 26 2018-04-25 23:41:20 PDT
Note You need to log in before you can comment on or make changes to this bug.