Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#42010 closed defect (fixed)

webkit-gtk @2.2.3_1+quartz+video: linking fails with "duplicate symbols for architecture x86_64"

Reported by: ensafi (Alex (Eskandar) Ensafi) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: dbevans (David B. Evans), cooljeanius (Eric Gallager), marc@…, Balandat@…
Port: webkit-gtk

Description

I get many duplicate symbols related to WebCore when building the "quartz" variant of webkitgtk 2.2.3, specifically webkit-gtk-2.2.3_1+quartz+video.darwin_13.x86_64.tbz2. I am using Xcode 5 with Apple LLVM version 5.0 (clang-500.2.79) command-line tools installed under OS X Mavericks 10.9.1.

Attachments (3)

main.log (48.2 MB) - added by ensafi (Alex (Eskandar) Ensafi) 11 years ago.
Build log
main.2.log (48.4 MB) - added by ensafi (Alex (Eskandar) Ensafi) 11 years ago.
marc-webkit-gtk-main.log (48.3 MB) - added by marc@… 11 years ago.

Change History (15)

Changed 11 years ago by ensafi (Alex (Eskandar) Ensafi)

Attachment: main.log added

Build log

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: devans@… added
Owner: changed from macports-tickets@… to jeremyhu@…
Priority: HighNormal
Summary: webkit-gtk: Duplicate Symbolswebkit-gtk @2.2.3_1+quartz+video: linking fails with "duplicate symbols for architecture x86_64"

As per the ticket guidelines, please do not set the Priority field to “High”.

comment:2 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Is this still an issue with the webkit-gtk-devel port?

comment:3 Changed 11 years ago by ensafi (Alex (Eskandar) Ensafi)

Unfortunately, I'm still seeing duplicate symbols. I deleted everything under my build directory and started from scratch. The resulting build log is attached.

Changed 11 years ago by ensafi (Alex (Eskandar) Ensafi)

Attachment: main.2.log added

comment:4 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:5 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

https://bugs.webkit.org/show_bug.cgi?id=126821

Potential fix in r115803, please test and report back.

comment:6 Changed 11 years ago by marc@…

same problem, even with the patch applied.

# port info webkit-gtk
webkit-gtk @2.2.3_1 (www, gnome)

:info:build clang: warning: argument unused during compilation: '-pthread'
:info:build duplicate symbol __ZN7WebCore13PluginPackage15determineQuirksERKN3WTF6StringE in:
:info:build     ./.libs/libWebCore.a(libWebCore_la-P)
:info:build ld: 1 duplicate symbol for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[1]: *** [libwebkitgtk-1.0.la] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-2.2.3'

comment:7 Changed 11 years ago by marc@…

Cc: marc@… added

Cc Me!

comment:8 Changed 11 years ago by Balandat@…

Cc: Balandat@… added

Cc Me!

comment:9 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

marc, please attach your full build log from clean.

Changed 11 years ago by marc@…

Attachment: marc-webkit-gtk-main.log added

comment:10 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

Ok, that last symbol is resolved with r115980 (bringing that patch back in). I'll submit the same change with webkit-gtk-devel along with the 2.3.4 version bump.

comment:11 Changed 11 years ago by marc@…

That fixes it for me. Thanks.

comment:12 Changed 11 years ago by Balandat@…

yep, same here. Thanks!

Note: See TracTickets for help on using tickets.