[Webkit-unassigned] [Bug 181695] Possible to build both libjavascriptcoregtk and libwebkit2gtk as static libs only?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 22 13:17:25 PST 2018


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

--- Comment #10 from Stefan Fröberg <sfroberg13 at yahoo.com> ---
Thank You very very much.

I followed your guide and have finally managed to build and link my test app against static versions of the libs :-)

But starting it brings one more problem:

** (test:8298): ERROR **: Unable to fork a new child process: Failed to execute child process "/usr/libexec/webkit2gtk-4.0/WebKitNetworkProcess" (No such file or directory)

So WebKit2 needs that helper binary (/usr/libexec/webkit2gtk-4.0/WebKitNetworkProcess) to start apps linked against it?


backtrace of my test app:

#0  _g_log_abort (breakpoint=1) at gmessages.c:509
#1  0x00000000035a63fa in g_log_default_handler (log_domain=log_domain at entry=0x0, log_level=log_level at entry=6, 
    message=message at entry=0x662a540 "Unable to fork a new child process: Failed to execute child process \"/usr/libexec/webkit2gtk-4.0/WebKitNetworkProcess\" (No such file or directory)", unused_data=unused_data at entry=0x0) at gmessages.c:2896
#2  0x00000000035a674d in g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR, format=<optimized out>, 
    args=args at entry=0x7fffffffd400) at gmessages.c:1297
#3  0x00000000035a68bf in g_log (log_domain=<optimized out>, log_level=<optimized out>, format=<optimized out>)
    at gmessages.c:1359
#4  0x00000000006310e2 in WebKit::ProcessLauncher::launchProcess() ()
#5  0x00000000005d7c66 in WebKit::ChildProcessProxy::connect() ()
#6  0x00000000004f43fe in WebKit::NetworkProcessProxy::create(WebKit::WebProcessPool&) ()
#7  0x00000000004b184a in WebKit::WebProcessPool::ensureNetworkProcess(WebKit::WebsiteDataStore*) [clone .part.379] ()
#8  0x00000000004b273f in WebKit::WebProcessPool::createNewWebProcess(WebKit::WebsiteDataStore&) ()
#9  0x00000000004b2dd9 in WebKit::WebProcessPool::createWebPage(WebKit::PageClient&, WTF::Ref<API::PageConfiguration>&&) ()
#10 0x000000000043d491 in webkitWebViewBaseCreateWebPage(_WebKitWebViewBase*, WTF::Ref<API::PageConfiguration>&&) ()
#11 0x0000000000567299 in webkitWebContextCreatePageForWebView(_WebKitWebContext*, _WebKitWebView*, _WebKitUserContentManager*, _WebKitWebView*) ()
#12 0x000000000041dab7 in webkitWebViewConstructed(_GObject*) ()
#13 0x0000000000dc3e80 in g_object_new_internal (class=class at entry=0x66b9620, params=params at entry=0x7fffffffdce0, 
    n_params=n_params at entry=2) at gobject.c:1823
#14 0x0000000000dc5a5d in g_object_new_valist (object_type=object_type at entry=106907488, 
    first_property_name=first_property_name at entry=0x38ead0e "is-ephemeral", var_args=var_args at entry=0x7fffffffde30)
    at gobject.c:2042
#15 0x0000000000dc5ea1 in g_object_new (object_type=106907488, first_property_name=0x38ead0e "is-ephemeral")
    at gobject.c:1626

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


More information about the webkit-unassigned mailing list