Opened 12 years ago

Closed 12 years ago

#38203 closed defect (fixed)

webkit-gtk +quartz 1.10.2 fix Symbol not found: __ZN7WebCore18WidgetBackingStore6createEP10_GtkWidgetRKNS_7IntSizeE

Reported by: elelay (Eric Le Lay) Owned by: elelay (Eric Le Lay)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: quartz, haspatch Cc: dbevans (David B. Evans), jeremyhu (Jeremy Huddleston Sequoia), cooljeanius (Eric Gallager)
Port: webkit-gtk

Description

webkit-gtk +quartz was building fine, but I had this error when using py27-webkit-gtk and midori. I've run port destroot again and launched the demo program GtkLauncher: it had the same problem. Here is the error:

Process:         GtkLauncher [79092]
Path:            /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-1.10.2/Programs/.libs/GtkLauncher
Identifier:      GtkLauncher
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  bash [79089]

Date/Time:       2013-02-12 07:30:40.928 +0100
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Dyld Error Message:
  Symbol not found: __ZN7WebCore18WidgetBackingStore6createEP10_GtkWidgetRKNS_7IntSizeE
  Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_webkit-gtk/webkit-gtk/work/webkitgtk-1.10.2/.libs/libwebkitgtk-1.0.0.dylib
  Expected in: flat namespace

I've managed to fix it by adding a previously excluded WebCore/platform/cairo/WidgetBackingStoreCairo.cpp to the build, which implemented the missing method.

Please find the patch attached.

Attachments (1)

fix.diff (1.2 KB) - added by elelay (Eric Le Lay) 12 years ago.
diff against r103431

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by elelay (Eric Le Lay)

Attachment: fix.diff added

diff against r103431

comment:1 Changed 12 years ago by elelay (Eric Le Lay)

Keywords: haspatch added

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

Owner: changed from jeremyhu@… to elelay@…

Feel free to commit, but please add a comment referring to this ticket and an upstream bug report about the issue.

comment:3 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: jeremyhu@… added

Cc Me!

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

Cc: egall@… added

Cc Me!

comment:5 in reply to:  2 Changed 12 years ago by elelay (Eric Le Lay)

Replying to jeremyhu@…:

Feel free to commit, but please add a comment referring to this ticket and an upstream bug report about the issue.

done in r103757 :-) upstream bug is https://bugs.webkit.org/show_bug.cgi?id=111598

comment:6 Changed 12 years ago by elelay (Eric Le Lay)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.