[archlinux]git revision be8d6abf cannot be build. It is broken in cli.vala
Hello.
I tried to build pamac-aur from git source this morning, and I got this error:
../src/cli.vala:1070.58-1070.74: error: The name
get_version' does not exist in the context of Pamac'
Full error log:
Found ninja-1.10.2 at /usr/bin/ninja
[8/52] Compiling Vala source ../src/ve...c/transaction-cli.vala ../src/cli.vala
FAILED: src/pamac.p/version.c src/pamac.p/transaction-cli.c src/pamac.p/cli.c
valac -C --pkg pamac --pkg gio-2.0 --color=always --directory src/pamac.p --basedir ../src --pkg=posix --target-glib=2.38 --vapidir=/home/fred/pamac-aur-git/src/pamac/vapi --pkg=linux ../src/version.vala ../src/transaction-cli.vala ../src/cli.vala
../src/cli.vala:1070.58-1070.74: error: The name `get_version' does not exist in the context of `Pamac'
stdout.printf ("Pamac %s - libpamac %s\n", VERSION, Pamac.get_version ());
^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
[9/52] Compiling Vala source ../src/tray.vala ../src/tray-gtk.vala
../src/tray-gtk.vala:23.3-23.28: warning: `Gtk.StatusIcon' has been deprecated since 3.14
../src/tray-gtk.vala:26.22-26.35: warning: `Gtk.StatusIcon' has been deprecated since 3.14
Compilation succeeded - 2 warning(s)
[13/52] Generating data/doc/pamac.8 manpage with a custom command
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
meson: 0.60.1 ; vala: 0.54.3