Public bug reported:

make returns:

unity-protocol.vapi:242.4-242.43: warning: DBus methods are recommended to 
throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
                        public abstract async void set_view_type (uint 
view_type) throws GLib.IOError;
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-launcher.vala:61.5-61.42: warning: DBus methods are recommended to throw 
at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
    public HashTable<string,Variant> query ()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-scope-channel.vala:312.33-312.50: error: Argument 7: Cannot convert from 
`void Unity.Internal.ScopeChannel.OwnerWatcher.owner_changed 
(GLib.DBusConnection, string, string, string, string, GLib.Variant)' to `void 
GLib.DBusSignalCallback (GLib.DBusConnection, string?, string, string, string, 
GLib.Variant)'
          DBusSignalFlags.NONE, this.owner_changed);
                                ^^^^^^^^^^^^^^^^^^
unity-scope-channel.vala:269.9-269.52: warning: Access to possible `null'. 
Perform a check or use an unsafe cast.
        (transfer_model as DiffModel).commit_changes ();
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-synchronizer.vala:93.5-93.18: warning: `GLib.HashTable.add' has been 
deprecated since vala-0.26. Use GenericSet.add
unity-aggregator-scope-private.vala:434.7-434.28: warning: `GLib.HashTable.add' 
has been deprecated since vala-0.26. Use GenericSet.add
unity-aggregator-scope-private.vala:606.7-606.72: warning: Access to possible 
`null'. Perform a check or use an unsafe cast.
      (category_merger as CategoryMergerByField).map_subscope_categories 
(scope_id, proxy.categories_model);
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-aggregator-scope-private.vala:1308.7-1308.66: warning: Access to possible 
`null'. Perform a check or use an unsafe cast.
      (category_merger as CategoryMergerByScope).add_scope_mapping (owner, 
scope_id);
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-aggregator-scope-private.vala:1352.7-1352.66: warning: Access to possible 
`null'. Perform a check or use an unsafe cast.
      (category_merger as CategoryMergerByScope).add_scope_mapping (owner, 
master_scope_id);
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-scope-loader.vala:41.49-41.69: warning: `GLib.ModuleFlags.BIND_LAZY' has 
been deprecated since vala-0.46. Use LAZY
unity-sound-menu-mpris.vala:475.5-475.27: warning: DBus methods are recommended 
to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
    public async void raise() throws IOError{
    ^^^^^^^^^^^^^^^^^^^^^^^
unity-sound-menu-mpris.vala:580.5-580.32: warning: DBus methods are recommended 
to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
    public async void play_pause() throws IOError
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-sound-menu-mpris.vala:585.5-585.26: warning: DBus methods are recommended 
to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
    public async void next() throws IOError
    ^^^^^^^^^^^^^^^^^^^^^^
unity-sound-menu-mpris.vala:590.5-590.30: warning: DBus methods are recommended 
to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
    public async void previous() throws IOError
    ^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-sound-menu-mpris.vala:709.5-709.39: warning: DBus methods are recommended 
to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
    public async void activate_playlist (ObjectPath playlist_id) throws IOError
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-sound-menu-mpris.vala:714.5-714.48: warning: DBus methods are recommended 
to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
    public async PlaylistDetails[] get_playlists (uint32 index,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-sound-menu-mpris.vala:407.5-407.55: warning: DBus methods are recommended 
to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
    public abstract async void EnableTrackSpecificItems (ObjectPath 
object_path, string desktop_id) throws IOError;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unity-sound-menu-mpris.vala:408.5-408.56: warning: DBus methods are recommended 
to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
    public abstract async void EnablePlayerSpecificItems (ObjectPath 
object_path, string desktop_id) throws IOError;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 22 warning(s)
make[2]: *** [Makefile:1391: libunity_la_vala.stamp] Error 1
make[2]: Leaving directory '/home/jose/tmp/libunity/src'
make[1]: *** [Makefile:573: all-recursive] Error 1
make[1]: Leaving directory '/home/jose/tmp/libunity'
make: *** [Makefile:477: all] Error 2

Distro: Arch Linux

Related: https://aur.archlinux.org/packages/libunity/

** Affects: libunity (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1908051

Title:
  error: Argument 7: Cannot convert from `void
  Unity.Internal.ScopeChannel.OwnerWatcher.owner_changed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libunity/+bug/1908051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to