WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
273402
<unknown>:: Warning: WebKit2: (Signal)create-web-view: return value: Unresolved type: 'WebKitWebView'
https://bugs.webkit.org/show_bug.cgi?id=273402
Summary
<unknown>:: Warning: WebKit2: (Signal)create-web-view: return value: Unresolv...
niveditha.rau
Reported
2024-04-29 07:56:36 PDT
Post the changes that landed in
https://github.com/WebKit/WebKit/commit/da67032774ee7d7d35ad2746bb374d2f1ef2fc0d
, I am getting the following build error while attempting to build webkitgtk 2.44.1 on Solaris with -DPORT=GTK and -DUSE_GTK4=OFF (previous versions also exhibit the same problem - the last successful build was 2.38.6 - which doesn't have the GTK3/4 split when GI is enabled) <unknown>:: Warning: WebKit2: (Signal)create-web-view: return value: Unresolved type: 'WebKitWebView' <unknown>:: Fatal: WebKit2: warnings configured as fatal <unknown>:: Fatal: WebKit2: warnings configured as fatalmake[3]: *** [Source/WebKit/CMakeFiles/typelib-WebKit2.dir/build.make:244: WebKit2-4.0.gir] Error 1 make[2]: *** [CMakeFiles/Makefile2:1644: Source/WebKit/CMakeFiles/typelib-WebKit2.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 98%] Generating WebKit2WebExtension-4.0.typelib [ 98%] Built target typelib-WebKit2WebExtension [ 98%] Linking CXX shared module ../../lib/libwebkit2gtkinjectedbundle.so [ 98%] Built target webkit2gtkinjectedbundle make[1]: *** [Makefile:156: all] Error 2
Attachments
Add attachment
proposed patch, testcase, etc.
Patrick Griffis
Comment 1
2024-04-29 08:14:28 PDT
I guess the problematic one is: /** * WebKitAutomationSession::create-web-view: * @session: a #WebKitAutomationSession * * Returns: (transfer none): a #WebKitWebView widget. */ I guess it's unique but doesn't seem wrong. What is your version of `gobject-introspection`?
niveditha.rau
Comment 2
2024-04-29 08:38:46 PDT
I am using gobject-introspection version 1.76.1
Michael Catanzaro
Comment 3
2024-04-29 10:29:49 PDT
Well it's real good that we made these warnings fatal, because broken signal return type is pretty bad. But I do not know why it doesn't work.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug