This message error appears during the installation
Just tried to git clone with the aur package and after the makepkg -si this error appears ./ninja: line 18: /home/lust/Documents/Apps: No such file or directory
==> ERROR: A failure occurred in build().
[lust@PC anki]$ makepkg -si
==> Making package: anki 25.02-1 (dom 09 mar 2025 19:52:26)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found anki-25.02.tar.gz
-> Found anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.tar.gz
-> Found anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.tar.gz
-> Found no-update.patch
-> Found strip-formatter-deps.patch
-> Found strip-type-checking-deps.patch
-> Found strip-python-pip-system-certs.patch
==> Validating source files with sha256sums...
anki-25.02.tar.gz ... Passed
anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.tar.gz ... Passed
anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.tar.gz ... Passed
no-update.patch ... Passed
strip-formatter-deps.patch ... Passed
strip-type-checking-deps.patch ... Passed
strip-python-pip-system-certs.patch ... Passed
==> Extracting sources...
-> Extracting anki-25.02.tar.gz with bsdtar
-> Extracting anki-core-i18n-0fe0162f4a18e8ef2fbac1d9a33af8e38cf7260e.tar.gz with bsdtar
-> Extracting anki-desktop-ftl-17216b03db7249600542e388bd4ea124478400e5.tar.gz with bsdtar
==> Starting prepare()...
patching file qt/aqt/update.py
patching file pylib/tools/hookslib.py
Hunk #1 succeeded at 209 (offset 1 line).
patching file build/configure/src/python.rs
Hunk #1 succeeded at 101 (offset 14 lines).
Hunk #2 succeeded at 119 with fuzz 1 (offset 14 lines).
patching file qt/aqt/__init__.py
Hunk #1 succeeded at 9 with fuzz 2 (offset 3 lines).
yarn install v1.22.22
info No lockfile found.
[1/4] Resolving packages...
warning fabric > jsdom > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
warning fabric > jsdom > data-urls > abab@2.0.6: Use your platform's native atob() and btoa() methods instead
warning fabric > jsdom > w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
warning fabric > jsdom > domexception@4.0.0: Use your platform's native DOMException instead
warning Resolution field "cookie@0.7.0" is incompatible with requested version "cookie@^0.6.0"
warning eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
warning eslint > @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
warning eslint > @humanwhocodes/config-array > @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
warning eslint > file-entry-cache > flat-cache > rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
warning eslint > file-entry-cache > flat-cache > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
warning eslint > file-entry-cache > flat-cache > rimraf > glob > inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
warning license-checker-rseidelsohn > read-installed-packages > read-package-json@6.0.4: This package is no longer supported. Please use @npmcli/package-json instead.
warning svelte-check > svelte-preprocess > sorcery > sander > rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
warning svelte-check > svelte-preprocess > sorcery > sander > rimraf > glob@7.2.3: Glob versions prior to v9 are no longer supported
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning Workspaces can only be enabled in private projects.
[4/4] Building fresh packages...
warning Ignored scripts due to flag.
success Saved lockfile.
Done in 57.16s.
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Finished `release` profile [optimized] target(s) in 0.13s
./ninja: line 18: /home/lust/Documents/Apps: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...