[webkit-dev] Mac build issue (appearing only locally)
Balazs Kelemen
kbalazs at webkit.org
Wed Oct 24 06:13:29 PDT 2012
Hi!
I did build the Apple Mac port two times in the past few days to try
something and both times I faced with a strange build issue that does
not appear on the bots. I had to apply this patch, which just move some
functions before their use in WKView.mm to be able to finish my build:
https://gist.github.com/3913811 <https://gist.github.com/3913811> I am
using Lion with clang 3.0 (tags/Apple/clang-211.10.1) and I passed
--makeargs="-j12" to build-webkit. Do you have an idea what can be the
problem?
Thanks!
kbalazs
P.S.: here is the build error:
Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1875:5:{1875:5-1875:80}:
error: instance method '-_wk_windowDidBecomeKey:' not found (return type
defaults to 'id') [-Werror,3]
ADD_OBSERVER(_wk_windowDidBecomeKey,
NSWindowDidBecomeKeyNotification, nil);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1872:57:
note: instantiated from:
usingBlock:^(NSNotification *notification){ [self
selectorName:notification]; }] \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1876:5:{1876:5-1876:109}:
error: instance method '-_wk_windowDidChangeBackingProperties:' not
found (return type defaults to 'id') [-Werror,3]
ADD_OBSERVER(_wk_windowDidChangeBackingProperties,
windowDidChangeBackingPropertiesNotification, window);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1872:57:
note: instantiated from:
usingBlock:^(NSNotification *notification){ [self
selectorName:notification]; }] \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1877:5:{1877:5-1877:89}:
error: instance method '-_wk_windowDidChangeScreen:' not found (return
type defaults to 'id') [-Werror,3]
ADD_OBSERVER(_wk_windowDidChangeScreen,
NSWindowDidChangeScreenNotification, window);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1872:57:
note: instantiated from:
usingBlock:^(NSNotification *notification){ [self
selectorName:notification]; }] \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1878:5:{1878:5-1878:91}:
error: instance method '-_wk_windowDidDeminiaturize:' not found (return
type defaults to 'id') [-Werror,3]
ADD_OBSERVER(_wk_windowDidDeminiaturize,
NSWindowDidDeminiaturizeNotification, window);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1872:57:
note: instantiated from:
usingBlock:^(NSNotification *notification){ [self
selectorName:notification]; }] \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1879:5:{1879:5-1879:87}:
error: instance method '-_wk_windowDidMiniaturize:' not found (return
type defaults to 'id') [-Werror,3]
ADD_OBSERVER(_wk_windowDidMiniaturize,
NSWindowDidMiniaturizeNotification, window);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1872:57:
note: instantiated from:
usingBlock:^(NSNotification *notification){ [self
selectorName:notification]; }] \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1880:5:{1880:5-1880:73}:
error: instance method '-_wk_windowDidMove:' not found (return type
defaults to 'id') [-Werror,3]
ADD_OBSERVER(_wk_windowDidMove, NSWindowDidMoveNotification, window);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1872:57:
note: instantiated from:
usingBlock:^(NSNotification *notification){ [self
selectorName:notification]; }] \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1881:5:{1881:5-1881:91}:
error: instance method '-_wk_windowDidOrderOffScreen:' not found (return
type defaults to 'id') [-Werror,3]
ADD_OBSERVER(_wk_windowDidOrderOffScreen,
windowDidOrderOffScreenNotification, window);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1872:57:
note: instantiated from:
usingBlock:^(NSNotification *notification){ [self
selectorName:notification]; }] \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1882:5:{1882:5-1882:89}:
error: instance method '-_wk_windowDidOrderOnScreen:' not found (return
type defaults to 'id') [-Werror,3]
ADD_OBSERVER(_wk_windowDidOrderOnScreen,
windowDidBecomeVisibleNotification, window);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1872:57:
note: instantiated from:
usingBlock:^(NSNotification *notification){ [self
selectorName:notification]; }] \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1883:5:{1883:5-1883:80}:
error: instance method '-_wk_windowDidResignKey:' not found (return type
defaults to 'id') [-Werror,3]
ADD_OBSERVER(_wk_windowDidResignKey,
NSWindowDidResignKeyNotification, nil);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1872:57:
note: instantiated from:
usingBlock:^(NSNotification *notification){ [self
selectorName:notification]; }] \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1884:5:{1884:5-1884:77}:
error: instance method '-_wk_windowDidResize:' not found (return type
defaults to 'id') [-Werror,3]
ADD_OBSERVER(_wk_windowDidResize, NSWindowDidResizeNotification,
window);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/balazs/WebKitGit/Source/WebKit2/UIProcess/API/mac/WKView.mm:1872:57:
note: instantiated from:
usingBlock:^(NSNotification *notification){ [self
selectorName:notification]; }] \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 errors generated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20121024/825d7cdc/attachment.html>
More information about the webkit-dev
mailing list