3 | | * When building [http://git.dronelabs.com/ethos/about/ Ethos 1.0] and [http://live.gnome.org/JsonGlib JSON-GLib 1.0] with new version of [http://developer.gnome.org/glib/stable/ GLib 2.0] version (happened with 2.30.0) an error '''unknown type name ‘G_CONST_RETURN’''' might be encountered. It happens because the G_CONST_RETURN has been deprecated and removed in the new version. Simple workaround according to [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650226 this] site is to rename all occurences of ‘G_CONST_RETURN’ to 'const'. |
| 3 | == Ethos not building == |
| 4 | When building [http://git.dronelabs.com/ethos/about/ Ethos 1.0] and [http://live.gnome.org/JsonGlib JSON-GLib 1.0] with new version of [http://developer.gnome.org/glib/stable/ GLib 2.0] version (happened with 2.30.0) an error '''unknown type name ‘G_CONST_RETURN’''' might be encountered. It happens because the G_CONST_RETURN has been deprecated and removed in the new version. Simple workaround according to [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650226 this] site is to rename all occurences of ‘G_CONST_RETURN’ to 'const'. |
| 5 | |
| 6 | You can easily fix this by applying [raw-attachment:0001-Replace-G_CONST_RETURN-with-const.patch this] patch using |
| 7 | {{{ |
| 8 | git am 0001-Replace-G_CONST_RETURN-with-const.patch |
| 9 | }}} |
| 10 | in the root directory of Ethos. |