[Archlinux] Cannot build successfully pamac from git source because of enable_snap in src/daemon.vala
Hello.
I tried to build today pamac from git source on my Archlinux and it fails.
Here is the error log:
[23/68] Compiling Vala source ../src/c...ala ../src/daemon.vala src/pamac.vapi.
FAILED: src/25a6634@@pamac-daemon@exe/common_daemon.c src/25a6634@@pamac-daemon@exe/alpm_utils.c src/25a6634@@pamac-daemon@exe/alpm_config.c src/25a6634@@pamac-daemon@exe/daemon.c
valac -C --debug --debug --pkg posix --pkg appstream-glib --pkg libcurl --pkg polkit-gobject-1 --pkg libsoup-2.4 --pkg json-glib-1.0 --pkg posix --pkg gio-2.0 --pkg libalpm --pkg gobject-2.0 --color=always --directory src/25a6634@@pamac-daemon@exe --basedir ../src --pkg=posix --target-glib=2.38 --vapidir=/home/fred/pamac-aur-git/src/pamac/vapi ../src/common_daemon.vala ../src/alpm_utils.vala ../src/alpm_config.vala ../src/daemon.vala src/pamac.vapi
../src/daemon.vala:367.10-367.27: error: The name `enable_snap' does not exist in the context of `Pamac.Config'
if (config.enable_snap) {
^^^^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
[28/68] Compiling C object 'src/25a663...ac-tray@exe/meson-generated_tray.c.o'.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Build options: meson --prefix=/usr --sysconfdir=/etc -Denable-appindicator=true
Snap is deactivated in meson_options.txt.