Bug 108321 - [Qt][Mac] r141037 broke the build
Summary: [Qt][Mac] r141037 broke the build
Status: RESOLVED DUPLICATE of bug 108318
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 108140
  Show dependency treegraph
 
Reported: 2013-01-30 03:36 PST by Zoltan Arvai
Modified: 2013-01-30 04:42 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltan Arvai 2013-01-30 03:36:24 PST
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.
Comment 1 Csaba Osztrogonác 2013-01-30 03:51:05 PST
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
Comment 2 Zeno Albisser 2013-01-30 04:42:07 PST

*** This bug has been marked as a duplicate of bug 108318 ***