Bug 108321
Summary: | [Qt][Mac] r141037 broke the build | ||
---|---|---|---|
Product: | WebKit | Reporter: | Zoltan Arvai <zarvai> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | andersca, jturcotte, ossy, zeno |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 108140 |
Zoltan Arvai
It seems r141037 broke Qt Mountain Lion with changes in WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp.
Because at this time there was a missing header problem, I can show error message from a later build:
http://build.webkit.sed.hu/builders/x86-64%20Mountain%20Lion%20Qt%20Release%20%28WebGL%20Tester%29/builds/1220/steps/compile-webkit/logs/stdio
or
http://build.webkit.org/builders/Qt%20Mountain%20Lion%20Release/builds/8560/steps/compile-webkit/logs/stdio
/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp:63:22: error: assigning to 'dispatch_source_t' (aka 'dispatch_source_s *') from incompatible type 'std::nullptr_t'
m_deadNameSource = nullptr;
^ ~~~~~~~
and other similar errors.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Csaba Osztrogonác
full build log:
/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp:63:22: error: assigning to 'dispatch_source_t' (aka 'dispatch_source_s *') from incompatible type 'std::nullptr_t'
m_deadNameSource = nullptr;
^ ~~~~~~~
/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp:68:38: error: assigning to 'dispatch_source_t' (aka 'dispatch_source_s *') from incompatible type 'std::nullptr_t'
m_receivePortDataAvailableSource = nullptr;
^ ~~~~~~~
/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp:74:44: error: assigning to 'dispatch_source_t' (aka 'dispatch_source_s *') from incompatible type 'std::nullptr_t'
m_exceptionPortDataAvailableSource = nullptr;
^ ~~~~~~~
/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp:110:5: error: no matching function for call to 'dispatch_source_set_event_handler'
dispatch_source_set_event_handler(source, function);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/dispatch/source.h:316:1: note: candidate function not viable: no known conversion from 'const Function<void ()>' to 'dispatch_block_t' (aka 'void (^)()') for 2nd argument;
dispatch_source_set_event_handler(dispatch_source_t source,
^
/Users/admin/work/WebKit-BuildSlave/qt-mountainlion-release/build/Source/WebKit2/Platform/CoreIPC/mac/ConnectionMac.cpp:274:5: error: no matching function for call to 'dispatch_source_set_event_handler'
dispatch_source_set_event_handler(m_deadNameSource, bind(&Connection::connectionDidClose, this));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/dispatch/source.h:316:1: note: candidate function not viable: no known conversion from 'Function<typename FunctionWrapper<void (Connection::*)()>::ResultType ()>' to 'dispatch_block_t' (aka 'void (^)()') for 2nd argument;
dispatch_source_set_event_handler(dispatch_source_t source,
^
5 errors generated.
make[2]: *** [.obj/release-shared/Platform/CoreIPC/mac/ConnectionMac.o] Error 1
Zeno Albisser
*** This bug has been marked as a duplicate of bug 108318 ***