GNOME Bugzilla – Bug 669852
Folks master not building
Last modified: 2012-02-11 12:07:19 UTC
Compilation fails with: make[3]: Entering directory `/home/chandni/src/GIT/gnome/folks/backends/key-file' VALAC key_file_la_vala.stamp kf-persona-store.vala:453.51-453.63: error: Argument 1: Cannot convert from `string' to `uint8[]' yield this.file.replace_contents_async (key_file_data, ^^^^^^^^^^^^^ Compilation failed: 1 error(s), 0 warning(s) I see that glib's vapi defines replace_contents_async as : public async bool replace_contents_async ([CCode (array_length_cname = "length", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] contents, string? etag, bool make_backup, GLib.FileCreateFlags flags, GLib.Cancellable? cancellable = null, out string new_etag) throws GLib.Error; though the function's definition describes "contents" as const char * So, does that mean this is unresolvable until vapi is corrected or can this be solved at folks level?
Looks like you’re building folks with Vala 0.15/master, but folks only supports Vala 0.14 at the moment. You need to either downgrade Vala to its 0.14 branch, or apply Travis’ branch from bug #668415 to port folks to Vala 0.15. *** This bug has been marked as a duplicate of bug 668415 ***