[Touch-packages] [Bug 1908051] Re: error: Argument 7: Cannot convert from `void Unity.Internal.ScopeChannel.OwnerWatcher.owner_changed

2021-02-14 Thread Launchpad Bug Tracker
[Expired for libunity (Ubuntu) because there has been no activity for 60
days.]

** Changed in: libunity (Ubuntu)
   Status: Incomplete => Expired

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

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

Status in libunity package in Ubuntu:
  Expired

Bug description:
  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 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 

[Touch-packages] [Bug 1908051] Re: error: Argument 7: Cannot convert from `void Unity.Internal.ScopeChannel.OwnerWatcher.owner_changed

2020-12-16 Thread Jose Riha
Steps to reproduce:

1. download and extract 
https://launchpad.net/ubuntu/+archive/primary/+files/libunity_7.1.4+19.04.20190319.orig.tar.gz
2. get and apply patch 
https://launchpadlibrarian.net/443817430/0001-Fix-FTB-with-recent-vala-requiring-non-public-abstra.patch
3. run NOCONFIGURE=1 ./autogen.sh
4. run ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var 
--disable-static
5. run make

Expected output:

libunity is compiled successfully

Actual output:

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)'
..
..
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

Other information

Arch Linux 64bit, current
vala 0.50.2-1
gobject-introspection 1.66.1-3
gnome-common 3.18.0-4

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

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

Status in libunity package in Ubuntu:
  Incomplete

Bug description:
  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 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 

[Touch-packages] [Bug 1908051] Re: error: Argument 7: Cannot convert from `void Unity.Internal.ScopeChannel.OwnerWatcher.owner_changed

2020-12-15 Thread Sebastien Bacher
you should at least specify the valac version you are using

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

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

Status in libunity package in Ubuntu:
  Incomplete

Bug description:
  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 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;
  

[Touch-packages] [Bug 1908051] Re: error: Argument 7: Cannot convert from `void Unity.Internal.ScopeChannel.OwnerWatcher.owner_changed

2020-12-15 Thread Sebastien Bacher
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Unfortunately, we cannot work on this bug because your
description didn't include enough information. You may find it helpful
to read "How to report bugs effectively"
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful
if you would then provide a more complete description of the problem.

We have instructions on debugging some types of problems at
http://wiki.ubuntu.com/DebuggingProcedures.

At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the 
problem.
2. The behavior you expected.
3. The behavior you actually encountered (in as much detail as possible).

Please also ensure that you include the release and flavour of Ubuntu
that you are using.

Thank you!

** Changed in: libunity (Ubuntu)
   Status: New => Incomplete

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

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

Status in libunity package in Ubuntu:
  Incomplete

Bug description:
  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 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