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
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