While attempting to build some gnome related software, one of the dependencies,
webkit-1.0.2-1.2.7-4 failed to build with following errors:
> ./JavaScriptCore/wtf/FastMalloc.h:231:1: warning: replacement function
> 'operator delete[]' cannot be declared 'inline'
> [-Winline-new-delete]
> WTF_PRIVATE_INLINE void operator delete[](void* p, const std::nothrow_t&)
> throw() { fastFree(p); }
> ^
> ./JavaScriptCore/wtf/FastMalloc.h:200:47: note: expanded from macro
> 'WTF_PRIVATE_INLINE'
> #define WTF_PRIVATE_INLINE __private_extern__ inline
> __attribute__((always_inline))
> ^
> In file included from WebCore/css/CSSComputedStyleDeclaration.cpp:24:
> ./WebCore/css/CSSComputedStyleDeclaration.h:36:52: error: friend declaration
> specifying a default argument must be a definition
> friend PassRefPtr<CSSComputedStyleDeclaration>
> computedStyle(PassRefPtr<Node>, bool allowVisitedStyle = false);
> ^
> ./WebCore/css/CSSComputedStyleDeclaration.h:76:48: error: friend declaration
> specifying a default argument must be the only
> declaration
> inline PassRefPtr<CSSComputedStyleDeclaration> computedStyle(PassRefPtr<Node>
> node, bool allowVisitedStyle)
> ^
> ./WebCore/css/CSSComputedStyleDeclaration.h:36:52: note: previous declaration
> is here
> friend PassRefPtr<CSSComputedStyleDeclaration>
> computedStyle(PassRefPtr<Node>, bool allowVisitedStyle = false);
> ^
> ./WebCore/css/CSSComputedStyleDeclaration.h:78:25: error: calling a private
> constructor of class
> 'WebCore::CSSComputedStyleDeclaration'
> return adoptRef(new CSSComputedStyleDeclaration(node, allowVisitedStyle));
> ^
> ./WebCore/css/CSSComputedStyleDeclaration.h:63:5: note: declared private here
> CSSComputedStyleDeclaration(PassRefPtr<Node>, bool allowVisitedStyle);
> ^
> In file included from WebCore/css/CSSComputedStyleDeclaration.cpp:30:
> In file included from ./WebCore/css/CSSPrimitiveValueMappings.h:38:
> In file included from ./WebCore/rendering/style/SVGRenderStyleDefs.h:34:
> ./WebCore/rendering/style/ShadowData.h:37:1: warning: 'ShadowData' defined as
> a struct here but previously declared as a class
> [-Wmismatched-tags]
> struct ShadowData : FastAllocBase {
> ^
> ./WebCore/css/CSSComputedStyleDeclaration.h:30:1: note: did you mean struct
> here?
> class ShadowData;
> ^~~~~
> struct
> WebCore/css/CSSComputedStyleDeclaration.cpp:634:17: warning: comparison of
> constant 117 with expression of type
> 'WebCore::EFillRepeat' is always false
> [-Wtautological-constant-out-of-range-compare]
> if (xRepeat == CSSValueRepeat && yRepeat == CSSValueNoRepeat)
> ~~~~~~~ ^ ~~~~~~~~~~~~~~
> WebCore/css/CSSComputedStyleDeclaration.cpp:634:46: warning: comparison of
> constant 120 with expression of type
> 'WebCore::EFillRepeat' is always false
> [-Wtautological-constant-out-of-range-compare]
> if (xRepeat == CSSValueRepeat && yRepeat == CSSValueNoRepeat)
> ~~~~~~~ ^ ~~~~~~~~~~~~~~~~
> WebCore/css/CSSComputedStyleDeclaration.cpp:636:17: warning: comparison of
> constant 120 with expression of type
> 'WebCore::EFillRepeat' is always false
> [-Wtautological-constant-out-of-range-compare]
> if (xRepeat == CSSValueNoRepeat && yRepeat == CSSValueRepeat)
> ~~~~~~~ ^ ~~~~~~~~~~~~~~~~
> WebCore/css/CSSComputedStyleDeclaration.cpp:636:48: warning: comparison of
> constant 117 with expression of type
> 'WebCore::EFillRepeat' is always false
> [-Wtautological-constant-out-of-range-compare]
> if (xRepeat == CSSValueNoRepeat && yRepeat == CSSValueRepeat)
> ~~~~~~~ ^ ~~~~~~~~~~~~~~
> 13 warnings and 3 errors generated.
> make[1]: *** [WebCore/css/libwebkit_1_0_la-CSSComputedStyleDeclaration.lo]
> Error 1
> make[1]: Leaving directory
> `/sw/src/fink.build/webkit-1.0.2-1.2.7-4/webkit-1.2.7'
> make: *** [all] Error 2
> make: Leaving directory `/sw/src/fink.build/webkit-1.0.2-1.2.7-4/webkit-1.2.7'
> ### execution of /tmp/fink.8EZzA failed, exit code 2
> ### execution of /tmp/fink.D9_Ck failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-webkit-1.0.2-1.2.7-4
> (Reading database ... 170308 files and directories currently installed.)
> Removing fink-buildlock-webkit-1.0.2-1.2.7-4 ...
> Failed: phase compiling: webkit-1.0.2-1.2.7-4 failed
I don’t know if this might be related to the infamous March 10 command line
tools update or not. There was no binary package that I could find for webkit.
I have used the binary repository for other packages which would not build. I
attempted to build it again by itself, but there was no change. Any help would
be appreciated. Thank you. I am copying to the maintainer.
My kit consists of:
Package manager version: 0.36.3.1
Distribution version: selfupdate-rsync Wed Mar 19 22:33:56 2014, 10.9, x86_64
Trees: local/main stable/main
Xcode.app: 5.1
Xcode command-line tools: 5.1.0.0.1.1393561416
webkit-1.0.2-1.2.7-4 is set to build with only one job.
Gary K Olson
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users