build error
when I try to build libpamac i encountered the following error
Directory already configured.
Just run your build command (e.g. ninja) and Meson will regenerate as necessary.
If ninja fails, run "ninja reconfigure" or "meson setup --reconfigure"
to force Meson to regenerate.
If build failures persist, run "meson setup --wipe" to rebuild from scratch
using the same options as passed when configuring the build.
To change option values, run "meson configure" instead.
[0/1] Regenerating build files.
The Meson build system
Version: 1.0.0
Source dir: /home/ahmed/libpamac-full/src/libpamac
Build dir: /home/ahmed/libpamac-full/src/libpamac/builddir
Build type: native build
Project name: libpamac
Project version: 11.4.1
C compiler for the host machine: cc (gcc 12.2.0 "cc (GCC) 12.2.0")
C linker for the host machine: cc ld.bfd 2.39.0
Vala compiler for the host machine: valac (valac 0.56.3)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Dependency gobject-2.0 found: YES 2.74.4 (cached)
Dependency gio-2.0 found: YES 2.74.4 (cached)
Dependency gthread-2.0 found: YES 2.74.4 (cached)
Dependency libalpm found: YES 13.0.2 (cached)
Dependency json-glib-1.0 found: YES 1.6.6 (cached)
Dependency libsoup-3.0 found: YES 3.2.2 (cached)
Dependency polkit-gobject-1 found: YES 122 (cached)
Dependency appstream-glib found: YES 0.8.2 (cached)
Dependency gmodule-2.0 found: YES 2.74.4 (cached)
Library posix found: YES
Library m found: YES
Dependency snapd-glib found: YES 1.64 (cached)
Dependency flatpak found: YES 1.15.1 (cached)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Configuring org.manjaro.pamac.daemon.service using configuration
Configuring pamac-daemon.service using configuration
Configuring pamac-cleancache.service using configuration
Program pacman-mirrors found: YES (/usr/bin/pacman-mirrors)
Build targets in project: 102
libpamac 11.4.1
User defined options
buildtype : release
prefix : /usr
sysconfdir : /etc
enable-flatpak: true
enable-snap : true
Found ninja-1.11.1 at /usr/bin/ninja
Cleaning... 0 files.
[4/137] Compiling Vala source ../src/snap_interface.vala ../src/snap_plugin.vala ../src/package.vala
FAILED: src/libpamac-snap.so.11.4.p/snap_interface.c src/libpamac-snap.so.11.4.p/snap_plugin.c src/libpamac-snap.so.11.4.p/package.c src/pamac-snap.h src/pamac-snap.vapi
valac -C --pkg gmodule-2.0 --pkg snapd-glib --pkg gio-2.0 --color=always --directory src/libpamac-snap.so.11.4.p --basedir ../src --library pamac-snap --header src/pamac-snap.h --vapi ../pamac-snap.vapi --pkg=posix --target-glib=2.38 --vapidir=/home/ahmed/libpamac-full/src/libpamac/vapi ../src/snap_interface.vala ../src/snap_plugin.vala ../src/package.vala
../src/snap_plugin.vala:606.5-606.23: error: The name `remove2_sync' does not exist in the context of `Snapd.Client' (snapd-glib)
606 | client.remove2_sync (Snapd.RemoveFlags.NONE, name, progress_callback, cancellable);
| ^~~~~~~~~~~~~~~~~~~
Compilation failed: 1 error(s), 0 warning(s)
[9/137] Compiling C object src/libpamac.so.11.4.p/meson-generated_alpm_package.c.o
ninja: build stopped: subcommand failed.