[Webkit-unassigned] [Bug 152183] New: [GTK][Mac] gobject-introspection uses wrong shared-library path

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 11 12:03:16 PST 2015


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

            Bug ID: 152183
           Summary: [GTK][Mac] gobject-introspection uses wrong
                    shared-library path
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Mac OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Tom.Schoonjans at me.com
                CC: bugs-noreply at webkitgtk.org

Hi,

I am the maintainer of the webkitgtk formula for Homebrew. I noticed today that the gobject-introspection typelib files provided by webkitgtk do not work.

I discovered this while running a simple test with gjs, which imports the Webkit2 typelib and results in the following run-time error:

** (gjs:89955): WARNING **: Failed to load shared library '/tmp/webkitgtk20151211-60021-ktyz48/webkitgtk-2.10.4/lib/libwebkit2gtk-4.0.37.dylib' referenced by the typelib: dlopen(/tmp/webkitgtk20151211-60021-ktyz48/webkitgtk-2.10.4/lib/libwebkit2gtk-4.0.37.dylib, 9): image not found

Clearly what happened here is that the build path was used by g-ir-scanner instead of the installation prefix. I confirmed this by inspecting both gir and typelib files

An extract from WebKit2-4.0.gir:

  <namespace name="WebKit2"
             version="4.0"
             shared-library="/tmp/webkitgtk20151211-60021-ktyz48/webkitgtk-2.10.4/lib/libwebkit2gtk-4.0.37.dylib,/tmp/webkitgtk20151211-60021-ktyz48/webkitgtk-2.10.4/lib/libjavascriptcoregtk-4.0.18.dylib"
             c:identifier-prefixes="WebKit"
             c:symbol-prefixes="webkit">

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151211/d1020ed4/attachment.html>


More information about the webkit-unassigned mailing list