The ftbfs bugs caused by vala and a new gobject-introspection can easily be fixed (at least in most cases) by switching to valac-0.20 which just got its way into unstable. I just fixed bug #707378 this way by switching the build dependency accordingly.
Unfortunately in the case of valatoys it's not that simple. Switching to valac 0.20 (debdiff attached) results in the following.

valac-0.20 --disable-version-header -C -H afrodite.h --library afrodite-0.12 --vapidir ../vapi --vapi afrodite-0.12.vapi --pkg gio-2.0 --pkg config --pkg libvala-0.20 --pkg utils --basedir ../afrodite astmerger.vala astdumper.vala parser.vala parseresult.vala symbol.vala symbolresolver.vala datatype.vala voidtype.vala sourcereference.vala sourcefile.vala codedom.vala utils.vala completionengine.vala ellipsistype.vala queryoptions.vala queryresult.vala resultitem.vala constants.vala sourceitem.vala sourcefile.vala:58.58-58.90: warning: GLib.FILE_ATTRIBUTE_TIME_MODIFIED has been deprecated since vala-0.16. Use FileAttribute.TIME_MODIFIED sourcefile.vala:58.100-58.137: warning: GLib.FILE_ATTRIBUTE_TIME_MODIFIED_USEC has been deprecated since vala-0.16. Use FileAttribute.TIME_MODIFIED_USEC sourcefile.vala:59.5-59.46: error: 1 extra arguments for `GLib.TimeVal GLib.FileInfo.get_modification_time ()'
                               info.get_modification_time (out new_value);
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
astmerger.vala:292.18-292.46: error: The name `first_line' does not exist in the context of `Vala.SourceReference?'
                               first_line = s.source_reference.first_line;
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
astmerger.vala:293.20-293.50: error: The name `first_column' does not exist in the context of `Vala.SourceReference?' first_column = s.source_reference.first_column; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:295.18-295.45: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' last_line = s.source_reference.last_line; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:297.20-297.49: error: The name `last_column' does not exist in the context of `Vala.SourceReference?' last_column = s.source_reference.last_column; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:354.17-354.49: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' last_line = m.body.source_reference.last_line; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

astmerger.vala:354.17-354.49: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' last_line = m.body.source_reference.last_line; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:403.17-403.49: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' last_line = m.body.source_reference.last_line; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:453.17-453.49: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' last_line = m.body.source_reference.last_line; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:480.17-480.49: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' last_line = m.body.source_reference.last_line; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:650.18-650.48: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' last_line = body.source_reference.last_line; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:654.58-654.88: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' if (body != null && body.source_reference != null && body.source_reference.last_line > last_line) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:655.18-655.48: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' last_line = body.source_reference.last_line; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:659.51-659.90: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' if (p.initializer.source_reference != null && p.initializer.source_reference.last_line > last_line) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:660.18-660.57: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' last_line = p.initializer.source_reference.last_line; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:1128.17-1128.47: error: The name `last_line' does not exist in the context of `Vala.SourceReference?'
                               last_line = body.source_reference.last_line;
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
astmerger.vala:785.39-785.66: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' if (b.source_reference != null && b.source_reference.last_line > _current_sr.last_line) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ astmerger.vala:786.30-786.57: error: The name `last_line' does not exist in the context of `Vala.SourceReference?' _current_sr.last_line = b.source_reference.last_line; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ parseresult.vala:29.3-29.35: warning: Afrodite.ParseResult.warnings hides inherited field `Vala.Report.warnings'. Use the `new' keyword if hiding was intentional public Vala.List<string> warnings = new Vala.ArrayList<string> ();
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
parseresult.vala:30.3-30.33: warning: Afrodite.ParseResult.errors hides inherited field `Vala.Report.errors'. Use the `new' keyword if hiding was intentional public Vala.List<string> errors = new Vala.ArrayList<string> ();
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
completionengine.vala:61.30-61.34: warning: GLib.Mutex has been deprecated since glib-2.32. Use Mutex (with --target-glib=2.32)
completionengine.vala:241.6-241.29: error: too many type arguments
                                       _parser_thread.join<int> ();
                                       ^^^^^^^^^^^^^^^^^^^^^^^^
completionengine.vala:243.22-243.44: warning: GLib.Thread.create_full has been deprecated since 2.32. Use new Thread<T> ()
Compilation failed: 18 error(s), 6 warning(s)


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to