Reported at https://trac.macports.org/ticket/36786 Building webkit-gtk with gtk-2 / quartz fails due to: duplicate symbol WebCore::PluginPackage::determineQuirks(WTF::String const&) in: ./.libs/libWebCore.a(libWebCore_la-PluginPackage.o) ./.libs/libWebCore.a(libWebCore_la-PluginPackageNone.o) ld: 1 duplicate symbol for architecture x86_64 The full build log is available in the downstream macports ticket.
This is also happening on webkit-efl build: CMakeFiles/webcore_efl.dir/plugins/PluginPackageNone.cpp.o: In function `WebCore::PluginPackage::determineQuirks(WTF::String const&)': PluginPackageNone.cpp:(.text._ZN7WebCore13PluginPackage15determineQuirksERKN3WTF6StringE+0x0): multiple definition of `WebCore::PluginPackage::determineQuirks(WTF::String const&)' CMakeFiles/webcore_efl.dir/plugins/PluginPackage.cpp.o:PluginPackage.cpp:(.text._ZN7WebCore13PluginPackage15determineQuirksERKN3WTF6StringE+0x0): first defined here
Note: I am building webkit-efl in x86_64 environment with --no-netscape-plugin-api feature flag set.
Note #2: Removing the --no-netscape-plugin-api resolved the issue.
This should be solved by my patch on https://bugs.webkit.org/show_bug.cgi?id=126821.
*** This bug has been marked as a duplicate of bug 126821 ***