| Summary: | [CMake][WK2] reference to undefined symbol `IPC::messageReplyArgumentDescriptions(IPC::MessageName)' since r268431 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Fujii Hironori <Hironori.Fujii> | ||||||||
| Component: | Tools / Tests | Assignee: | Fujii Hironori <Hironori.Fujii> | ||||||||
| Status: | RESOLVED DUPLICATE | ||||||||||
| Severity: | Normal | CC: | annulen, darin, eric.carlson, ews-watchlist, glenn, gyuyoung.kim, jer.noble, philipj, rniwa, ryuan.choi, sergio | ||||||||
| Priority: | P2 | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=230075 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Fujii Hironori
2020-10-13 17:17:02 PDT
MessageArgumentDescriptions.cpp is included only in SourcesCocoa.txt. Should I disable ENABLE_IPC_TESTING_API for non cocoa ports? Created attachment 411287 [details]
WIP patch
This WIP patch can't compile.
> WebKit\DerivedSources\MessageArgumentDescriptions.cpp(366): fatal error C1083: Cannot open include file: 'WebCore/CAAudioStreamDescription.h': No such file or directory
Weird. How come EWS didn't catch this? Is this downstream PlayStation build that we don't have EWS for? It's not strange. ENABLE_IPC_TESTING_API is enabled only in debug build. And, WinCairo and PlayStation ports don't have Debug EWS builders. Created attachment 411295 [details]
WIP patch
GTK Debug also failed. https://build.webkit.org/builders/GTK-Linux-64-bit-Debug-Build/builds/36047 It's strange that WPE Debug doesn't fail. Created attachment 411300 [details]
Patch
Comment on attachment 411300 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411300&action=review > Source/WebKit/GPUProcess/webrtc/RemoteAudioMediaStreamTrackRenderer.messages.in:33 > +#if PLATFORM(COCOA) We already have PLATFORM(COCOA) above. Revert? > Source/WebKit/GPUProcess/webrtc/RemoteMediaRecorder.messages.in:27 > +#if PLATFORM(COCOA) Ditto. > Source/WebKit/GPUProcess/webrtc/RemoteMediaRecorderManager.h:64 > +#if ENABLE(MEDIA_STREAM) We already check ENABLE(MEDIA_STREAM) above. Revert? > Source/WebKit/GPUProcess/webrtc/RemoteMediaRecorderManager.messages.in:27 > +#if ENABLE(MEDIA_STREAM) Ditto. Comment on attachment 411300 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411300&action=review >> Source/WebKit/GPUProcess/webrtc/RemoteAudioMediaStreamTrackRenderer.messages.in:33 >> +#if PLATFORM(COCOA) > > We already have PLATFORM(COCOA) above. Revert? These extra conditions are needed because parameter.condition was None for CAAudioStreamDescription. attachment#411295 [details] is another approach of fixing parameter.condition to include master_condition. If you prefer the approach, I'm going to take it. However, it will take more time for me to take the approach, I'd like to land this patch or revert your r268431 before that. Comment on attachment 411300 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411300&action=review >>> Source/WebKit/GPUProcess/webrtc/RemoteAudioMediaStreamTrackRenderer.messages.in:33 >>> +#if PLATFORM(COCOA) >> >> We already have PLATFORM(COCOA) above. Revert? > > These extra conditions are needed because parameter.condition was None for CAAudioStreamDescription. > attachment#411295 [details] is another approach of fixing parameter.condition to include master_condition. > If you prefer the approach, I'm going to take it. > However, it will take more time for me to take the approach, I'd like to land this patch or revert your r268431 before that. Sorry, don’t understand that. This whole file is already wrapped in #if PLATFORM(COCOA). Adding another #if should have no effect. Please don’t add it. Comment on attachment 411300 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411300&action=review >>>> Source/WebKit/GPUProcess/webrtc/RemoteAudioMediaStreamTrackRenderer.messages.in:33 >>>> +#if PLATFORM(COCOA) >>> >>> We already have PLATFORM(COCOA) above. Revert? >> >> These extra conditions are needed because parameter.condition was None for CAAudioStreamDescription. >> attachment#411295 [details] is another approach of fixing parameter.condition to include master_condition. >> If you prefer the approach, I'm going to take it. >> However, it will take more time for me to take the approach, I'd like to land this patch or revert your r268431 before that. > > Sorry, don’t understand that. > > This whole file is already wrapped in #if PLATFORM(COCOA). Adding another #if should have no effect. Please don’t add it. Oh, I get it now. Yes, we do prefer fixing the script as the longer term solution. If this is a workaround for a problem in the script, please add a comment saying so. Yup, The patch looks too hacky. And, I don't understand the scripts. r268486 reverted the offending changes. *** This bug has been marked as a duplicate of bug 217565 *** |