Opened 15 years ago

Closed 15 years ago

#19896 closed defect (fixed)

Error running webkit-gtk 1.1.7 on Leopard

Reported by: nodamage@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: webkit-gtk

Description

Ran into the following error trying to run pywebkitgtk:

Traceback (most recent call last):
  File "demos/tabbed_browser.py", line 30, in <module>
    import webkit
ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/gtk-2.0/webkit.so, 2): Symbol not found: __ZN7WebCore15PurgeableBuffer13makePurgeableEb
  Referenced from: /opt/local/lib/libwebkit-1.0.2.dylib
  Expected in: dynamic lookup

Traced it down to the following webkit ticket: https://bugs.webkit.org/show_bug.cgi?id=23057

Applying the patch to webkit-gtk and recompiling it fixed my problem and allowed pywebkit-gtk to work successfully. I suspect other apps using webkit-gtk may suffer from the same problem.

System: OS X 10.5.7 Intel with Xcode 3.1.2. webkit-gtk installed was the latest Portfile (currently r51558).

Attaching the patch from the specified webkit ticket that I was able to apply to resolve the problem.

Attachments (1)

patch-purgable-buffer.diff (526 bytes) - added by nodamage@… 15 years ago.

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by nodamage@…

Attachment: patch-purgable-buffer.diff added

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: devans@… added
Owner: changed from macports-tickets@… to myschizobuddy@…

comment:2 Changed 15 years ago by dbevans (David B. Evans)

Owner: changed from myschizobuddy@… to devans@…
Status: newassigned

The port has been updated to version 1.10. Is the patch still needed or has it been integrated upstream?

comment:3 Changed 15 years ago by dbevans (David B. Evans)

Cc: devans@… removed

comment:4 Changed 15 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

This patch has been incorporated upstream in version 1.1.11 and later. However, these versions require unstable libsoup >= 2.27.5, so apply the patch to 1.1.10 until stable libsoup 2.28 is released.

Patch applied in r56168.

Thanks for pointing out the problem. Sorry for the delay in implementing this.

Note: See TracTickets for help on using tickets.