GNOME Bugzilla – Bug 750489
gtk settings c910 warning unexpected annotation element type command
Last modified: 2015-06-14 16:27:11 UTC
MacOS 10.6.8 MBP trying to install Zathura via Homebrew gtk_3 is a dependency. File downloads and runs ./configure however in the make install fails as below. Please help! ➜ ~ brew install gtk+3 ==> Downloading https://download.gnome.org/sources/gtk+/3.16/gtk+-3.16.3.tar.xz Already downloaded: /Library/Caches/Homebrew/gtk+3-3.16.3.tar.xz ==> ./configure --prefix=/usr/local/Cellar/gtk+3/3.16.3 --disable-glibtest --enable-i ==> make install gtksettings.c:910: Warning: Gtk: unexpected annotation: element-type Command '['/private/tmp/gtk+320150606-32486-ck37id/gtk+-3.16.3/gtk/tmp-introspectnU8t8x/Gtk-3.0', '--introspect-dump=/private/tmp/gtk+320150606-32486-ck37id/gtk+-3.16.3/gtk/tmp-introspectnU8t8x/functions.txt,/private/tmp/gtk+320150606-32486-ck37id/gtk+-3.16.3/gtk/tmp-introspectnU8t8x/dump.xml']' returned non-zero exit status -11 make[2]: *** [Gtk-3.0.gir] Error 1 make[1]: *** [install] Error 2 make: *** [install-recursive] Error 1
Shouldn't you have sent this bug to gtk+ instead of gtkmm? Unless you explain why you think it belongs to gtkmm, or transfer it to gtk+ yourself, I'll transfer it soon.
Your version of gobject-introspection is likely too old. Could you please update to gobject-introspection 1.44, and retry? Does it give you the same error message?
Actuall, no: it's an annotation error in GTK+.
Created attachment 305061 [details] [review] settings: Fix the type annotation for color-hash The (element-type) annotation cannot be used with properties that return container types like GHashTable; we need to use the (type) annotation.
Attachment 305061 [details] pushed as 8b06900 - settings: Fix the type annotation for color-hash
*** Bug 750912 has been marked as a duplicate of this bug. ***