Cannot upgrade from AUR because of git: no tracking information for the current branch

Error downloading anki: There is no tracking information for the current branch.
    Please specify which branch you want to merge with.
    See git-pull(1) for details

    git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream develop origin/<branch>
          context: exit status 1

Same happened with any other package from AUR

I found this post and some other similar ones on the Internet but I’m not sure of how to do it.

That project doesn’t have a develop branch. You should switch to an existing one.

¿How exactly do I do that? Sorry to ask, but I just don’t know. I tried git pull https://github.com/ankitects/anki main but didn’t seem to worked

Please post the full update log here with proper formatting.

❯ git pull https://github.com/ankitects/anki main                                             
remote: Enumerating objects: 24, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 24 (delta 1), reused 2 (delta 1), pack-reused 0
Desempaquetando objetos: 100% (24/24), 24.20 KiB | 550.00 KiB/s, listo.
Desde https://github.com/ankitects/anki
 * branch                main       -> FETCH_HEAD
Actualizando 2bbd1fca2..9dcceff4a
Fast-forward
 proto/anki/config.proto            |  2 ++
 proto/anki/scheduler.proto         |  6 ++++++
 pylib/anki/scheduler/base.py       |  5 ++++-
 qt/aqt/operations/scheduling.py    | 33 ++++++++++++++++++++-------------
 rslib/src/backend/config.rs        |  2 ++
 rslib/src/backend/scheduler/mod.rs |  4 ++++
 rslib/src/config/bool.rs           |  2 ++
 rslib/src/scheduler/new.rs         | 14 +++++++++++++-
 8 files changed, 53 insertions(+), 15 deletions(-)
❯ yay -S --noconfirm anki
:: Buscando conflictos...
:: Buscando conflictos internos...
[Aur:1]  anki-2.1.54-1

  1 anki                             (Instalado) (Archivos de compilación existen)
==> ¿Paquetes a limpiar antes de compilar?
==> [N]inguno [A]Todos [Ab]ortar [I]nstalados [No]Instalados o (1 2 3, 1-3, ^4)
==> 
:: (0/1) PKGBUILD Descargado : anki
 -> error descargando anki: No hay información de rastreo para la rama actual.
Por favor especifica a qué rama quieres rebasar.
Ver git-pull(1) para detalles.

    git pull <remoto> <rama>

Si deseas configurar la información de rastreo para esta rama, puedes hacerlo con:

    git branch --set-upstream-to=origin/<rama> master 
         context: exit status 1

The last part is Spanish for what I said in the first post.

EDIT: not sure if I should use git branch --set-upstream-to=https://github.com/ankitects/anki

There’s no need to clone the source repo, the anki package does not use a git source. Doing so is also unrelated to installing AUR packages with an AUR Helper.

Remove ~/.cache/yay/anki/ and try yay -S anki again.

When running terminal commands for posting here, please prefix the command with LC_ALL=C to create output in English; i.e.,

LC_ALL=C yay -S anki

I wonder how did you install other stuff… :stuck_out_tongue:

Reinstall some stuff:

pacman -Syu yay git base-devel

Try doing it manually, aka “the Arch way”:

sudo pacman -Syu --needed base-devel git
git clone https://aur.archlinux.org/anki.git
cd anki
makepkg -srcif

Do you override the default branch name for Git projects?

git config --get init.defaultBranch

That’s a good question.

@moshpirit What does your ~/.gitconfig look like?

So, I’ve done everything you said, nothing seemed to work. I’ll leave the error about “The Arch way” below. This is my ~/.girconfig:

[filter "lfs"]
	smudge = git-lfs smudge -- %f
	process = git-lfs filter-process
	required = true
	clean = git-lfs clean -- %f
[user]
	name = moshpirit
	email = 7888062+moshpirit@users.noreply.github.com

	[alias]
    set-upstream = \
       !git branch \
           --set-upstream-to=origin/`git symbolic-ref --short HEAD`

This [alias] last part was included recently to fix the issue, but it didn’t work.

❯ sudo pacman -Syu --needed base-devel git
git clone https://aur.archlinux.org/anki.git
cd anki
❯ LC_ALL=C  makepkg -srcif

==> Making package: anki 2.1.54-1 (Fri Jul  8 19:49:28 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found anki-2.1.54.tar.gz
  -> Found no-update.patch
  -> Found inc_qt_timeout.patch
==> Validating source files with sha256sums...
    anki-2.1.54.tar.gz ... Passed
    no-update.patch ... Passed
    inc_qt_timeout.patch ... Passed
==> Extracting sources...
  -> Extracting anki-2.1.54.tar.gz with bsdtar
==> Starting prepare()...
patching file qt/aqt/update.py
patching file python/pyqt/defs.bzl
==> Removing existing $pkgdir/ directory...
==> Starting build()...
####################
Beginning compilation... This step is known to be prone to failure by the anki devs.
If the build is failing retry the installation. This usually fixes the problem.
A too slow internet connection can also hinder the dependency fetching process because of hardcoded timeouts in bazel.
If the problem persists consider removing data in ~/.cache/bazel and your AUR manager cache (~/.cache/paru/clone/anki for paru) and retry again.
####################
INFO: Analyzed target //:wheels (51 packages loaded, 1797 targets configured).
INFO: Found 1 target...
ERROR: /home/alberto/anki/src/anki-2.1.54/pylib/anki/BUILD.bazel:111:9: Action pylib/anki/backend_pb2.py failed: (Exit 1): protoc_wrapper failed: error executing command bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc_wrapper external/protoc_bin_linux_x86_64/bin/protoc bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc-gen-mypy bazel-out/k8-opt/bin/pylib/anki ... (remaining 19 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
Traceback (most recent call last):
  File "/home/alberto/.cache/bazel/_bazel_alberto/d3fddbd3e0507fa0d386cc46ea52243b/sandbox/linux-sandbox/467/execroot/ankidesktop/bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc_wrapper.runfiles/ankidesktop/pylib/tools/protoc_wrapper.py", line 23, in <module>
    subprocess.run(
  File "/home/alberto/.cache/bazel/_bazel_alberto/d3fddbd3e0507fa0d386cc46ea52243b/external/python/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['external/protoc_bin_linux_x86_64/bin/protoc', '--plugin=protoc-gen-mypy=bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc-gen-mypy', '--python_out=bazel-out/k8-opt/bin/pylib', '--mypy_out=bazel-out/k8-opt/bin/pylib', '-Iproto/', '-Iexternal/ankidesktop/proto/', 'proto/anki/backend.proto', 'proto/anki/card_rendering.proto', 'proto/anki/cards.proto', 'proto/anki/collection.proto', 'proto/anki/config.proto', 'proto/anki/deckconfig.proto', 'proto/anki/decks.proto', 'proto/anki/generic.proto', 'proto/anki/i18n.proto', 'proto/anki/import_export.proto', 'proto/anki/links.proto', 'proto/anki/media.proto', 'proto/anki/notes.proto', 'proto/anki/notetypes.proto', 'proto/anki/scheduler.proto', 'proto/anki/search.proto', 'proto/anki/stats.proto', 'proto/anki/sync.proto', 'proto/anki/tags.proto']' returned non-zero exit status 1.
Target //:wheels failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/alberto/anki/src/anki-2.1.54/pylib/anki/BUILD.bazel:61:9 Building wheel failed: (Exit 1): protoc_wrapper failed: error executing command bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc_wrapper external/protoc_bin_linux_x86_64/bin/protoc bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc-gen-mypy bazel-out/k8-opt/bin/pylib/anki ... (remaining 19 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
INFO: Elapsed time: 6,365s, Critical Path: 1,25s
INFO: 8 processes: 7 internal, 1 linux-sandbox.
FAILED: Build did NOT complete successfully
==> ERROR: A failure occurred in build().
    Aborting...

Yes, please edit your post and replace the output.

done! :slight_smile:

See the note in the PKGBULD:

    # build requires java 11 to work, does not compile with java 17
    export JAVA_HOME="/usr/lib/jvm/java-11-openjdk"
    echo "####################
Beginning compilation... This step is known to be prone to failure by the anki devs.
If the build is failing retry the installation. This usually fixes the problem.
A too slow internet connection can also hinder the dependency fetching process because of hardcoded timeouts in bazel.
If the problem persists consider removing data in ~/.cache/bazel and your AUR manager cache (~/.cache/paru/clone/anki for paru) and retry again.
####################"

Thanks! My internet connection seems to be working great, so I cleared cache sudo rm -r ~/.cache/bazel/* and, since I don’t have any ~/.cache/paru/ folder, I reinstalled anki again, but I got a similar situation:

❯ LC_ALL=C  yay -S --noconfirm anki
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  anki-2.1.54-1

  1 anki                             (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (1/0): anki
  1 anki                             (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: anki
==> Making package: anki 2.1.54-1 (Fri Jul  8 20:04:44 2022)
==> Retrieving sources...
  -> Found anki-2.1.54.tar.gz
  -> Found no-update.patch
  -> Found inc_qt_timeout.patch
==> Validating source files with sha256sums...
    anki-2.1.54.tar.gz ... Passed
    no-update.patch ... Passed
    inc_qt_timeout.patch ... Passed
==> Making package: anki 2.1.54-1 (Fri Jul  8 20:04:45 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found anki-2.1.54.tar.gz
  -> Found no-update.patch
  -> Found inc_qt_timeout.patch
==> Validating source files with sha256sums...
    anki-2.1.54.tar.gz ... Passed
    no-update.patch ... Passed
    inc_qt_timeout.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting anki-2.1.54.tar.gz with bsdtar
==> Starting prepare()...
patching file qt/aqt/update.py
patching file python/pyqt/defs.bzl
==> Sources are ready.
==> Making package: anki 2.1.54-1 (Fri Jul  8 20:04:52 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
####################
Beginning compilation... This step is known to be prone to failure by the anki devs.
If the build is failing retry the installation. This usually fixes the problem.
A too slow internet connection can also hinder the dependency fetching process because of hardcoded timeouts in bazel.
If the problem persists consider removing data in ~/.cache/bazel and your AUR manager cache (~/.cache/paru/clone/anki for paru) and retry again.
####################
Starting local Bazel server and connecting to it...
INFO: Analyzed target //:wheels (725 packages loaded, 31095 targets configured).
INFO: Found 1 target...
INFO: From Running Cargo build script blake3:
Build Script Warning: The C compiler "/usr/bin/gcc" does not support -mavx512f and -mavx512vl.
INFO: From Running Cargo build script libsqlite3_sys:
Build Script Warning: sqlite3/sqlite3.c: In function 'sqlite3Fts5IndexQuery':
Build Script Warning: sqlite3/sqlite3.c:228444:18: warning: 'memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
Build Script Warning: 228444 |     if( nToken ) memcpy(&buf.p[1], pToken, nToken);
Build Script Warning:        |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: /home/alberto/.cache/yay/anki/src/anki-2.1.54/pylib/anki/BUILD.bazel:111:9: Action pylib/anki/backend_pb2.py failed: (Exit 1): protoc_wrapper failed: error executing command bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc_wrapper external/protoc_bin_linux_x86_64/bin/protoc bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc-gen-mypy bazel-out/k8-opt/bin/pylib/anki ... (remaining 19 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
Traceback (most recent call last):
  File "/home/alberto/.cache/bazel/_bazel_alberto/51557261229cb48effd845d2e04366c6/sandbox/linux-sandbox/453/execroot/ankidesktop/bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc_wrapper.runfiles/ankidesktop/pylib/tools/protoc_wrapper.py", line 23, in <module>
    subprocess.run(
  File "/home/alberto/.cache/bazel/_bazel_alberto/51557261229cb48effd845d2e04366c6/external/python/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['external/protoc_bin_linux_x86_64/bin/protoc', '--plugin=protoc-gen-mypy=bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc-gen-mypy', '--python_out=bazel-out/k8-opt/bin/pylib', '--mypy_out=bazel-out/k8-opt/bin/pylib', '-Iproto/', '-Iexternal/ankidesktop/proto/', 'proto/anki/backend.proto', 'proto/anki/card_rendering.proto', 'proto/anki/cards.proto', 'proto/anki/collection.proto', 'proto/anki/config.proto', 'proto/anki/deckconfig.proto', 'proto/anki/decks.proto', 'proto/anki/generic.proto', 'proto/anki/i18n.proto', 'proto/anki/import_export.proto', 'proto/anki/links.proto', 'proto/anki/media.proto', 'proto/anki/notes.proto', 'proto/anki/notetypes.proto', 'proto/anki/scheduler.proto', 'proto/anki/search.proto', 'proto/anki/stats.proto', 'proto/anki/sync.proto', 'proto/anki/tags.proto']' returned non-zero exit status 1.
Target //:wheels failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/alberto/.cache/yay/anki/src/anki-2.1.54/pylib/anki/BUILD.bazel:61:9 Building wheel failed: (Exit 1): protoc_wrapper failed: error executing command bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc_wrapper external/protoc_bin_linux_x86_64/bin/protoc bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc-gen-mypy bazel-out/k8-opt/bin/pylib/anki ... (remaining 19 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
INFO: Elapsed time: 642.500s, Critical Path: 439.14s
INFO: 713 processes: 263 internal, 450 linux-sandbox.
FAILED: Build did NOT complete successfully
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: anki

Do you have jre11-openjdk installed?

NEVER use sudo in your Home directory.

…you would remove the anki folder from ~/.cache/yay/ or the /anki/src/ directory when using makepkg.

Yes, it’s installed

oh, didn’t know it was that dangerous to use at ~. Thought that the big deal happened on / but noted!

done!

❯ LC_ALL=C  yay -S --noconfirm anki
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  anki-2.1.54-1

:: (1/1) Downloaded PKGBUILD: anki
  1 anki                             (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: anki
==> Making package: anki 2.1.54-1 (Sun Jul 10 16:44:22 2022)
==> Retrieving sources...
  -> Downloading anki-2.1.54.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2163k    0 2163k    0     0  1267k      0 --:--:--  0:00:01 --:--:-- 3394k
  -> Found no-update.patch
  -> Found inc_qt_timeout.patch
==> Validating source files with sha256sums...
    anki-2.1.54.tar.gz ... Passed
    no-update.patch ... Passed
    inc_qt_timeout.patch ... Passed
==> Making package: anki 2.1.54-1 (Sun Jul 10 16:44:25 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found anki-2.1.54.tar.gz
  -> Found no-update.patch
  -> Found inc_qt_timeout.patch
==> Validating source files with sha256sums...
    anki-2.1.54.tar.gz ... Passed
    no-update.patch ... Passed
    inc_qt_timeout.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting anki-2.1.54.tar.gz with bsdtar
==> Starting prepare()...
patching file qt/aqt/update.py
patching file python/pyqt/defs.bzl
==> Sources are ready.
==> Making package: anki 2.1.54-1 (Sun Jul 10 16:44:26 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
####################
Beginning compilation... This step is known to be prone to failure by the anki devs.
If the build is failing retry the installation. This usually fixes the problem.
A too slow internet connection can also hinder the dependency fetching process because of hardcoded timeouts in bazel.
If the problem persists consider removing data in ~/.cache/bazel and your AUR manager cache (~/.cache/paru/clone/anki for paru) and retry again.
####################
Starting local Bazel server and connecting to it...
INFO: Analyzed target //:wheels (725 packages loaded, 31095 targets configured).
INFO: Found 1 target...
ERROR: /home/alberto/.cache/yay/anki/src/anki-2.1.54/pylib/anki/BUILD.bazel:111:9: Action pylib/anki/backend_pb2.py failed: (Exit 1): protoc_wrapper failed: error executing command bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc_wrapper external/protoc_bin_linux_x86_64/bin/protoc bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc-gen-mypy bazel-out/k8-opt/bin/pylib/anki ... (remaining 19 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
Traceback (most recent call last):
  File "/home/alberto/.cache/bazel/_bazel_alberto/51557261229cb48effd845d2e04366c6/sandbox/linux-sandbox/3/execroot/ankidesktop/bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc_wrapper.runfiles/ankidesktop/pylib/tools/protoc_wrapper.py", line 23, in <module>
    subprocess.run(
  File "/home/alberto/.cache/bazel/_bazel_alberto/51557261229cb48effd845d2e04366c6/external/python/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['external/protoc_bin_linux_x86_64/bin/protoc', '--plugin=protoc-gen-mypy=bazel-out/k8-opt-exec-2B5CBBC6/bin/pylib/tools/protoc-gen-mypy', '--python_out=bazel-out/k8-opt/bin/pylib', '--mypy_out=bazel-out/k8-opt/bin/pylib', '-Iproto/', '-Iexternal/ankidesktop/proto/', 'proto/anki/backend.proto', 'proto/anki/card_rendering.proto', 'proto/anki/cards.proto', 'proto/anki/collection.proto', 'proto/anki/config.proto', 'proto/anki/deckconfig.proto', 'proto/anki/decks.proto', 'proto/anki/generic.proto', 'proto/anki/i18n.proto', 'proto/anki/import_export.proto', 'proto/anki/links.proto', 'proto/anki/media.proto', 'proto/anki/notes.proto', 'proto/anki/notetypes.proto', 'proto/anki/scheduler.proto', 'proto/anki/search.proto', 'proto/anki/stats.proto', 'proto/anki/sync.proto', 'proto/anki/tags.proto']' returned non-zero exit status 1.
ERROR: /home/alberto/.cache/yay/anki/src/anki-2.1.54/pylib/anki/BUILD.bazel:111:9: Action pylib/anki/backend_pb2.py [for host] failed: (Exit 1): protoc_wrapper failed: error executing command bazel-out/host/bin/pylib/tools/protoc_wrapper external/protoc_bin_linux_x86_64/bin/protoc bazel-out/host/bin/pylib/tools/protoc-gen-mypy bazel-out/host/bin/pylib/anki proto/anki/backend.proto ... (remaining 18 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
Traceback (most recent call last):
  File "/home/alberto/.cache/bazel/_bazel_alberto/51557261229cb48effd845d2e04366c6/sandbox/linux-sandbox/2/execroot/ankidesktop/bazel-out/host/bin/pylib/tools/protoc_wrapper.runfiles/ankidesktop/pylib/tools/protoc_wrapper.py", line 23, in <module>
    subprocess.run(
  File "/home/alberto/.cache/bazel/_bazel_alberto/51557261229cb48effd845d2e04366c6/external/python/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['external/protoc_bin_linux_x86_64/bin/protoc', '--plugin=protoc-gen-mypy=bazel-out/host/bin/pylib/tools/protoc-gen-mypy', '--python_out=bazel-out/host/bin/pylib', '--mypy_out=bazel-out/host/bin/pylib', '-Iproto/', '-Iexternal/ankidesktop/proto/', 'proto/anki/backend.proto', 'proto/anki/card_rendering.proto', 'proto/anki/cards.proto', 'proto/anki/collection.proto', 'proto/anki/config.proto', 'proto/anki/deckconfig.proto', 'proto/anki/decks.proto', 'proto/anki/generic.proto', 'proto/anki/i18n.proto', 'proto/anki/import_export.proto', 'proto/anki/links.proto', 'proto/anki/media.proto', 'proto/anki/notes.proto', 'proto/anki/notetypes.proto', 'proto/anki/scheduler.proto', 'proto/anki/search.proto', 'proto/anki/stats.proto', 'proto/anki/sync.proto', 'proto/anki/tags.proto']' returned non-zero exit status 1.
----------------
Note: The failure of target //pylib/tools:protoc_wrapper (with exit code 1) may have been caused by the fact that it is running under Python 3 instead of Python 2. Examine the error to determine if that appears to be the problem. Since this target is built in the host configuration, the only way to change its version is to set --host_force_python=PY2, which affects the entire build.

If this error started occurring in Bazel 0.27 and later, it may be because the Python toolchain now enforces that targets analyzed as PY2 and PY3 run under a Python 2 and Python 3 interpreter, respectively. See https://github.com/bazelbuild/bazel/issues/7899 for more information.
----------------
Target //:wheels failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/alberto/.cache/yay/anki/src/anki-2.1.54/pylib/anki/_backend/BUILD.bazel:7:10 Middleman _middlemen/pylib_Sanki_S_Ubackend_Sgenbackend-runfiles failed: (Exit 1): protoc_wrapper failed: error executing command bazel-out/host/bin/pylib/tools/protoc_wrapper external/protoc_bin_linux_x86_64/bin/protoc bazel-out/host/bin/pylib/tools/protoc-gen-mypy bazel-out/host/bin/pylib/anki proto/anki/backend.proto ... (remaining 18 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
INFO: Elapsed time: 55.364s, Critical Path: 2.85s
INFO: 4 processes: 4 internal.
FAILED: Build did NOT complete successfully
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: anki

Try building in a clean chroot with manjaro-chrootbuild:

sudo pacman -Syu manjaro-chrootbuild
git clone https://aur.archlinux.org/anki.git
sudo chrootbuild -b stable -cp anki

I did it and it installed a newer version of anki, but seems like still not the newest from AUR. Here is part of the update (because some of it was lost due to not enabling infinite lines in the terminal, but I basically copied/pasted the code you shared above):

               wayland-1.20.0-2  x264-3:0.164.r3081.19856cc-2  x265-3.5-3  xcb-proto-1.15.2-1  xcb-util-0.4.0-4
               xcb-util-cursor-0.1.3-4  xcb-util-image-0.4.0-4  xcb-util-keysyms-0.4.0-4  xcb-util-renderutil-0.3.9-4
               xcb-util-wm-0.4.1-4  xdg-utils-1.1.3+21+g1a58bc2-1  xkeyboard-config-2.36-2.1  xorg-xprop-1.2.5-1
               xorg-xset-1.2.4-3  xorgproto-2022.1-1  xvidcore-1.3.7-2  zimg-3.0.4-1  python-beautifulsoup4-4.10.0-1
               python-decorator-5.1.1-1  python-distro-1.7.0-1  python-flask-2.1.2-1  python-flask-cors-3.0.10-3
               python-jsonschema-3.2.0-6  python-markdown-3.3.7-1  python-orjson-3.7.3-1  python-protobuf-21.1-1
               python-pyaudio-0.2.11-8  python-pyqt6-webengine-6.3.1-1  python-pysocks-1.7.1-7  python-requests-2.27.1-1
               python-send2trash-1.8.0-3  python-waitress-2.1.2-1  python-wheel-0.37.1-1

Total Download Size:    29.68 MiB
Total Installed Size:  975.56 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 gnu-free-fonts-20120503-8-any                     3.2 MiB  1800 KiB/s 00:02 [###########################################] 100%
 x265-3.5-3-x86_64                              1727.2 KiB  3.16 MiB/s 00:01 [###########################################] 100%
 rav1e-0.4.1-2-x86_64                           1380.3 KiB  3.00 MiB/s 00:00 [###########################################] 100%
 libsamplerate-0.2.2-1-x86_64                   1366.3 KiB  2.38 MiB/s 00:01 [###########################################] 100%
 v4l-utils-1.22.1-1-x86_64                      1304.7 KiB  3.19 MiB/s 00:00 [###########################################] 100%
 libvpx-1.11.0-2-x86_64                         1190.9 KiB  3.36 MiB/s 00:00 [###########################################] 100%
 libxcb-1.15-1-x86_64                            998.9 KiB  1885 KiB/s 00:01 [###########################################] 100%
 openjpeg2-2.5.0-1-x86_64                        924.0 KiB  3.92 MiB/s 00:00 [###########################################] 100%
 cairo-1.17.6-2-x86_64                           755.7 KiB  2.70 MiB/s 00:00 [###########################################] 100%
 x264-3:0.164.r3081.19856cc-2-x86_64             754.6 KiB  3.29 MiB/s 00:00 [###########################################] 100%
 shared-mime-info-2.0+144+g13695c7-1-x86_64      601.4 KiB  3.32 MiB/s 00:00 [###########################################] 100%
 cryptsetup-2.4.3-2-x86_64                       585.5 KiB  3.57 MiB/s 00:00 [###########################################] 100%
 dav1d-1.0.0-1-x86_64                            565.1 KiB  3.61 MiB/s 00:00 [###########################################] 100%
 libxt-1.2.1-1-x86_64                            535.5 KiB  2.38 MiB/s 00:00 [###########################################] 100%
 gdk-pixbuf2-2.42.8-1-x86_64                     517.2 KiB  3.37 MiB/s 00:00 [###########################################] 100%
 freetype2-2.12.1-1-x86_64                       498.4 KiB  3.10 MiB/s 00:00 [###########################################] 100%
 jack2-1.9.21-1-x86_64                           473.3 KiB  2.61 MiB/s 00:00 [###########################################] 100%
 libjpeg-turbo-2.1.3-2-x86_64                    453.4 KiB  2.89 MiB/s 00:00 [###########################################] 100%
 avahi-0.8+22+gfd482a7-3-x86_64                  433.7 KiB  3.03 MiB/s 00:00 [###########################################] 100%
 iptables-1:1.8.8-1-x86_64                       428.4 KiB  1314 KiB/s 00:00 [###########################################] 100%
 vmaf-2.3.1-1-x86_64                             410.5 KiB  2.95 MiB/s 00:00 [###########################################] 100%
 libnl-3.6.0-3-x86_64                            406.6 KiB  2.84 MiB/s 00:00 [###########################################] 100%
 libxslt-1.1.35-1-x86_64                         401.5 KiB  2.35 MiB/s 00:00 [###########################################] 100%
 pango-1:1.50.7-1-x86_64                         398.4 KiB  2.05 MiB/s 00:00 [###########################################] 100%
 fontconfig-2:2.14.0-1-x86_64                    360.9 KiB  2.65 MiB/s 00:00 [###########################################] 100%
 libglvnd-1.4.0-2-x86_64                         352.1 KiB  2.46 MiB/s 00:00 [###########################################] 100%
 libwebp-1.2.2-1-x86_64                          337.4 KiB  2.75 MiB/s 00:00 [###########################################] 100%
 python-werkzeug-2.1.2-1-any                     329.0 KiB  2.40 MiB/s 00:00 [###########################################] 100%
 l-smash-2.14.5-2-x86_64                         313.7 KiB  1998 KiB/s 00:00 [###########################################] 100%
 libvorbis-1.3.7-3-x86_64                        312.3 KiB  2002 KiB/s 00:00 [###########################################] 100%
 dbus-1.14.0-1-x86_64                            305.3 KiB  1582 KiB/s 00:00 [###########################################] 100%
 libsndfile-1.1.0-2-x86_64                       303.2 KiB  2.41 MiB/s 00:00 [###########################################] 100%
 flac-1.3.4-2-x86_64                             291.9 KiB  1758 KiB/s 00:00 [###########################################] 100%
 libtheora-1.1.1-5-x86_64                        276.8 KiB  2.53 MiB/s 00:00 [###########################################] 100%
 libpcap-1.10.1-2-x86_64                         276.7 KiB  2.33 MiB/s 00:00 [###########################################] 100%
 lame-3.100-3-x86_64                             271.6 KiB  1848 KiB/s 00:00 [###########################################] 100%
 opus-1.3.1-3-x86_64                             248.7 KiB  1382 KiB/s 00:00 [###########################################] 100%
 libpng-1.6.37-3-x86_64                          245.9 KiB  2.00 MiB/s 00:00 [###########################################] 100%
 xorgproto-2022.1-1-any                          240.5 KiB  1636 KiB/s 00:00 [###########################################] 100%
 xvidcore-1.3.7-2-x86_64                         217.6 KiB  2.13 MiB/s 00:00 [###########################################] 100%
 lcms2-2.13.1-1-x86_64                           212.2 KiB  2.23 MiB/s 00:00 [###########################################] 100%
 libogg-1.3.5-1-x86_64                           199.2 KiB  1811 KiB/s 00:00 [###########################################] 100%
 libssh-0.9.6-1-x86_64                           193.5 KiB  1413 KiB/s 00:00 [###########################################] 100%
 libva-2.14.0-1-x86_64                           184.7 KiB  2.00 MiB/s 00:00 [###########################################] 100%
 libthai-0.1.29-1-x86_64                         176.9 KiB  1966 KiB/s 00:00 [###########################################] 100%
 libmodplug-0.8.9.0-3-x86_64                     166.7 KiB  1217 KiB/s 00:00 [###########################################] 100%
 python-beautifulsoup4-4.10.0-1-any              165.2 KiB  1990 KiB/s 00:00 [###########################################] 100%
 python-click-8.1.3-1-any                        154.8 KiB  1548 KiB/s 00:00 [###########################################] 100%
 python-pyparsing-3.0.9-1-any                    152.6 KiB  1816 KiB/s 00:00 [###########################################] 100%
 libxi-1.8-1-x86_64                              150.9 KiB   811 KiB/s 00:00 [###########################################] 100%
 opencore-amr-0.1.5-5-x86_64                     145.9 KiB   282 KiB/s 00:01 [###########################################] 100%
 wayland-1.20.0-2-x86_64                         134.4 KiB  1446 KiB/s 00:00 [###########################################] 100%
 lm_sensors-1:3.6.0.r41.g31d1f125-1-x86_64       134.4 KiB  1445 KiB/s 00:00 [###########################################] 100%
 python-flask-2.1.2-1-any                        133.6 KiB  1336 KiB/s 00:00 [###########################################] 100%
 python-markdown-3.3.7-1-any                     132.3 KiB  1654 KiB/s 00:00 [###########################################] 100%
 libsoxr-0.1.3-2-x86_64                          126.6 KiB  1407 KiB/s 00:00 [###########################################] 100%
 libomxil-bellagio-0.9.3-3-x86_64                123.0 KiB  1414 KiB/s 00:00 [###########################################] 100%
 kmod-29-3-x86_64                                116.8 KiB  1517 KiB/s 00:00 [###########################################] 100%
 libunwind-1.6.2-1-x86_64                        111.8 KiB  1118 KiB/s 00:00 [###########################################] 100%
 libedit-20210910_3.1-1-x86_64                   110.0 KiB  1100 KiB/s 00:00 [###########################################] 100%
 portaudio-1:19.7.0-1-x86_64                     103.5 KiB  1478 KiB/s 00:00 [###########################################] 100%
 python-jsonschema-3.2.0-6-any                   101.0 KiB  1312 KiB/s 00:00 [###########################################] 100%
 tslib-1.22-1-x86_64                             100.0 KiB  1352 KiB/s 00:00 [###########################################] 100%
 python-pyrsistent-0.18.1-1-x86_64                92.4 KiB   924 KiB/s 00:00 [###########################################] 100%
 python-attrs-21.4.0-1-any                        87.4 KiB  1093 KiB/s 00:00 [###########################################] 100%
 lzo-2.10-3-x86_64                                82.5 KiB  1072 KiB/s 00:00 [###########################################] 100%
 md4c-0.4.8-1-x86_64                              81.4 KiB   981 KiB/s 00:00 [###########################################] 100%
 giflib-5.2.1-2-x86_64                            73.7 KiB  1010 KiB/s 00:00 [###########################################] 100%
 libusb-1.0.26-1-x86_64                           70.9 KiB   958 KiB/s 00:00 [###########################################] 100%
 popt-1.18-3-x86_64                               70.6 KiB   954 KiB/s 00:00 [###########################################] 100%
 python-soupsieve-2.3.1-1-any                     69.1 KiB   822 KiB/s 00:00 [###########################################] 100%
 libvdpau-1.5-1-x86_64                            63.3 KiB   944 KiB/s 00:00 [###########################################] 100%
 libevdev-1.12.1-1-x86_64                         62.8 KiB   826 KiB/s 00:00 [###########################################] 100%
 python-packaging-21.3-1-any                      60.2 KiB   297 KiB/s 00:00 [###########################################] 100%
 double-conversion-3.2.0-1-x86_64                 55.5 KiB   731 KiB/s 00:00 [###########################################] 100%
 vid.stab-1.1-3-x86_64                            50.7 KiB   724 KiB/s 00:00 [###########################################] 100%
 libnetfilter_conntrack-1.0.9-1-x86_64            49.0 KiB   590 KiB/s 00:00 [###########################################] 100%
 libxft-2.3.4-1-x86_64                            48.4 KiB   722 KiB/s 00:00 [###########################################] 100%
 libraw1394-2.1.2-3-x86_64                        47.7 KiB   682 KiB/s 00:00 [###########################################] 100%
 python-wheel-0.37.1-1-any                        46.0 KiB   460 KiB/s 00:00 [###########################################] 100%
 libgudev-237-2-x86_64                            44.6 KiB   665 KiB/s 00:00 [###########################################] 100%
 libb2-0.98.1-2-x86_64                            43.9 KiB   731 KiB/s 00:00 [###########################################] 100%
 fribidi-1.0.12-1-x86_64                          41.9 KiB   699 KiB/s 00:00 [###########################################] 100%
 gsm-1.0.19-1-x86_64                              37.3 KiB   444 KiB/s 00:00 [###########################################] 100%
 python-importlib-metadata-4.8.1-3-any            33.0 KiB   471 KiB/s 00:00 [###########################################] 100%
 libiec61883-1.2.0-6-x86_64                       32.9 KiB   549 KiB/s 00:00 [###########################################] 100%
 libavc1394-0.5.4-4-x86_64                        32.6 KiB   509 KiB/s 00:00 [###########################################] 100%
 argon2-20190702-4-x86_64                         32.4 KiB   421 KiB/s 00:00 [###########################################] 100%
 libxcursor-1.2.1-1-x86_64                        31.9 KiB   319 KiB/s 00:00 [###########################################] 100%
 python-distro-1.7.0-1-any                        31.1 KiB   486 KiB/s 00:00 [###########################################] 100%
 sysfsutils-2.1.1-1-x86_64                        28.6 KiB   476 KiB/s 00:00 [###########################################] 100%
 minizip-1:1.2.12-2-x86_64                        27.1 KiB   451 KiB/s 00:00 [###########################################] 100%
 python-pysocks-1.7.1-7-any                       27.0 KiB   422 KiB/s 00:00 [###########################################] 100%
 python-pyaudio-0.2.11-8-x86_64                   26.8 KiB   399 KiB/s 00:00 [###########################################] 100%
 snappy-1.1.9-2-x86_64                            26.5 KiB   305 KiB/s 00:00 [###########################################] 100%
 xorg-xprop-1.2.5-1-x86_64                        26.3 KiB   239 KiB/s 00:00 [###########################################] 100%
 libdatrie-0.2.13-1-x86_64                        25.8 KiB   391 KiB/s 00:00 [###########################################] 100%
 python-send2trash-1.8.0-3-any                    25.3 KiB   422 KiB/s 00:00 [###########################################] 100%
 python-itsdangerous-2.1.2-2-any                  24.9 KiB   240 KiB/s 00:00 [###########################################] 100%
 python-six-1.16.0-5-any                          23.2 KiB   369 KiB/s 00:00 [###########################################] 100%
 python-tomli-2.0.1-1-any                         22.6 KiB  51.3 KiB/s 00:00 [###########################################] 100%
 python-flask-cors-3.0.10-3-any                   20.4 KiB   176 KiB/s 00:00 [###########################################] 100%
 libdaemon-0.14-5-x86_64                          19.2 KiB   179 KiB/s 00:00 [###########################################] 100%
 python-markupsafe-2.1.1-1-x86_64                 18.6 KiB   159 KiB/s 00:00 [###########################################] 100%
 libnfnetlink-1.0.2-1-x86_64                      17.1 KiB   103 KiB/s 00:00 [###########################################] 100%
 libasyncns-1:0.8+r3+g68cd5af-1-x86_64            16.9 KiB   140 KiB/s 00:00 [###########################################] 100%
 python-decorator-5.1.1-1-any                     16.1 KiB   146 KiB/s 00:00 [###########################################] 100%
 python-appdirs-1.4.4-6-any                       15.0 KiB   264 KiB/s 00:00 [###########################################] 100%
 libxfixes-6.0.0-1-x86_64                         13.7 KiB   214 KiB/s 00:00 [###########################################] 100%
 python-ordered-set-4.0.2-6-any                   13.6 KiB   227 KiB/s 00:00 [###########################################] 100%
 alsa-topology-conf-1.2.5.1-1-any                 13.5 KiB   214 KiB/s 00:00 [###########################################] 100%
 libmnl-1.0.5-1-x86_64                            11.2 KiB   178 KiB/s 00:00 [###########################################] 100%
 hicolor-icon-theme-0.17-2-any                    10.2 KiB   183 KiB/s 00:00 [###########################################] 100%
 python-jaraco.context-4.1.1-2-any                 8.8 KiB   106 KiB/s 00:00 [###########################################] 100%
 Total (114/114)                                  29.7 MiB  1165 KiB/s 00:26 [###########################################] 100%
(211/211) checking keys in keyring                                           [###########################################] 100%
(211/211) checking package integrity                                         [###########################################] 100%
(211/211) loading package files                                              [###########################################] 100%
(211/211) checking for file conflicts                                        [###########################################] 100%
(211/211) checking available disk space                                      [###########################################] 100%
:: Processing package changes...
(  1/211) installing libnsl                                                  [###########################################] 100%
(  2/211) installing python                                                  [###########################################] 100%
Optional dependencies for python
    python-setuptools [pending]
    python-pip
    sqlite [installed]
    mpdecimal: for decimal
    xz: for lzma [installed]
    tk: for tkinter
(  3/211) installing python-soupsieve                                        [###########################################] 100%
(  4/211) installing python-beautifulsoup4                                   [###########################################] 100%
Optional dependencies for python-beautifulsoup4
    python-chardet: to autodetect character encodings [pending]
    python-lxml: alternative HTML parser
    python-html5lib: alternative HTML parser
(  5/211) installing python-urllib3                                          [###########################################] 100%
Optional dependencies for python-urllib3
    python-pysocks: SOCKS support [pending]
    python-brotli: Brotli support
    python-pyopenssl: security support
    python-idna: security support [pending]
(  6/211) installing python-chardet                                          [###########################################] 100%
(  7/211) installing python-idna                                             [###########################################] 100%
(  8/211) installing python-requests                                         [###########################################] 100%
Optional dependencies for python-requests
    python-pysocks: SOCKS proxy support [pending]
(  9/211) installing python-pyparsing                                        [###########################################] 100%
Optional dependencies for python-pyparsing
    python-railroad-diagrams: for generating Railroad Diagrams
    python-jinja: for generating Railroad Diagrams [pending]
( 10/211) installing python-packaging                                        [###########################################] 100%
( 11/211) installing python-wheel                                            [###########################################] 100%
Optional dependencies for python-wheel
    python-keyring: for wheel.signatures
    python-xdg: for wheel.signatures
( 12/211) installing python-pysocks                                          [###########################################] 100%
( 13/211) installing python-decorator                                        [###########################################] 100%
( 14/211) installing python-six                                              [###########################################] 100%
( 15/211) installing protobuf                                                [###########################################] 100%
( 16/211) installing python-protobuf                                         [###########################################] 100%
( 17/211) installing python-orjson                                           [###########################################] 100%
( 18/211) installing python-appdirs                                          [###########################################] 100%
( 19/211) installing python-more-itertools                                   [###########################################] 100%
( 20/211) installing python-jaraco.functools                                 [###########################################] 100%
( 21/211) installing python-jaraco.context                                   [###########################################] 100%
( 22/211) installing python-jaraco.text                                      [###########################################] 100%
( 23/211) installing python-nspektr                                          [###########################################] 100%
( 24/211) installing python-ordered-set                                      [###########################################] 100%
( 25/211) installing python-tomli                                            [###########################################] 100%
( 26/211) installing python-trove-classifiers                                [###########################################] 100%
( 27/211) installing python-validate-pyproject                               [###########################################] 100%
( 28/211) installing python-setuptools                                       [###########################################] 100%
( 29/211) installing python-distro                                           [###########################################] 100%
( 30/211) installing python-send2trash                                       [###########################################] 100%
( 31/211) installing python-zipp                                             [###########################################] 100%
( 32/211) installing python-importlib-metadata                               [###########################################] 100%
( 33/211) installing python-markdown                                         [###########################################] 100%
( 34/211) installing python-attrs                                            [###########################################] 100%
( 35/211) installing python-pyrsistent                                       [###########################################] 100%
( 36/211) installing python-jsonschema                                       [###########################################] 100%
( 37/211) installing alsa-topology-conf                                      [###########################################] 100%
( 38/211) installing alsa-ucm-conf                                           [###########################################] 100%
( 39/211) installing alsa-lib                                                [###########################################] 100%
( 40/211) installing opus                                                    [###########################################] 100%
( 41/211) installing dbus                                                    [###########################################] 100%
( 42/211) installing libsamplerate                                           [###########################################] 100%
( 43/211) installing jack2                                                   [###########################################] 100%
Optional dependencies for jack2
    a2jmidid: for ALSA MIDI to JACK MIDI bridging
    libffado: for firewire support using FFADO
    jack-example-tools: for official JACK example-clients and tools
    jack2-dbus: for dbus integration
    jack2-docs: for developer documentation
    realtime-privileges: for realtime privileges
( 44/211) installing portaudio                                               [###########################################] 100%
( 45/211) installing python-pyaudio                                          [###########################################] 100%
( 46/211) installing python-werkzeug                                         [###########################################] 100%
( 47/211) installing python-markupsafe                                       [###########################################] 100%
( 48/211) installing python-jinja                                            [###########################################] 100%
Optional dependencies for python-jinja
    python-babel: for i18n support
( 49/211) installing python-itsdangerous                                     [###########################################] 100%
( 50/211) installing python-click                                            [###########################################] 100%
( 51/211) installing python-flask                                            [###########################################] 100%
Optional dependencies for python-flask
    python-asgiref: async functions and views
    python-dotenv: loading env vars from files
( 52/211) installing python-flask-cors                                       [###########################################] 100%
( 53/211) installing python-waitress                                         [###########################################] 100%
( 54/211) installing libjpeg-turbo                                           [###########################################] 100%
Optional dependencies for libjpeg-turbo
    java-runtime>11: for TurboJPEG Java wrapper
( 55/211) installing xcb-proto                                               [###########################################] 100%
( 56/211) installing libxdmcp                                                [###########################################] 100%
( 57/211) installing libxau                                                  [###########################################] 100%
( 58/211) installing libxcb                                                  [###########################################] 100%
( 59/211) installing xcb-util-keysyms                                        [###########################################] 100%
( 60/211) installing xcb-util-renderutil                                     [###########################################] 100%
( 61/211) installing xcb-util                                                [###########################################] 100%
( 62/211) installing xcb-util-image                                          [###########################################] 100%
( 63/211) installing xcb-util-cursor                                         [###########################################] 100%
( 64/211) installing xorgproto                                               [###########################################] 100%
( 65/211) installing libx11                                                  [###########################################] 100%
( 66/211) installing libxext                                                 [###########################################] 100%
( 67/211) installing libpciaccess                                            [###########################################] 100%
( 68/211) installing libdrm                                                  [###########################################] 100%
( 69/211) installing wayland                                                 [###########################################] 100%
( 70/211) installing libxxf86vm                                              [###########################################] 100%
( 71/211) installing libxfixes                                               [###########################################] 100%
( 72/211) installing libxdamage                                              [###########################################] 100%
( 73/211) installing libxshmfence                                            [###########################################] 100%
( 74/211) installing libomxil-bellagio                                       [###########################################] 100%
( 75/211) installing libunwind                                               [###########################################] 100%
( 76/211) installing libedit                                                 [###########################################] 100%
( 77/211) installing llvm-libs                                               [###########################################] 100%
( 78/211) installing lm_sensors                                              [###########################################] 100%
Optional dependencies for lm_sensors
    rrdtool: for logging with sensord
    perl: for sensor detection and configuration convert [installed]
( 79/211) installing vulkan-icd-loader                                       [###########################################] 100%
Optional dependencies for vulkan-icd-loader
    vulkan-driver: packaged vulkan driver
( 80/211) installing mesa                                                    [###########################################] 100%
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
    mesa-vdpau: for accelerated video playback
    libva-mesa-driver: for accelerated video playback
( 81/211) installing libglvnd                                                [###########################################] 100%
( 82/211) installing libpng                                                  [###########################################] 100%
( 83/211) installing graphite                                                [###########################################] 100%
( 84/211) installing harfbuzz                                                [###########################################] 100%
Optional dependencies for harfbuzz
    cairo: hb-view program [pending]
    chafa: hb-view program
( 85/211) installing freetype2                                               [###########################################] 100%
( 86/211) installing fontconfig                                              [###########################################] 100%
Creating fontconfig configuration...
Rebuilding fontconfig cache...
( 87/211) installing libice                                                  [###########################################] 100%
( 88/211) installing libsm                                                   [###########################################] 100%
( 89/211) installing libxt                                                   [###########################################] 100%
( 90/211) installing libxmu                                                  [###########################################] 100%
( 91/211) installing xorg-xset                                               [###########################################] 100%
( 92/211) installing xorg-xprop                                              [###########################################] 100%
( 93/211) installing xdg-utils                                               [###########################################] 100%
Optional dependencies for xdg-utils
    kde-cli-tools: for KDE Plasma5 support in xdg-open
    exo: for Xfce support in xdg-open
    pcmanfm: for LXDE support in xdg-open
    perl-file-mimeinfo: for generic support in xdg-open
    perl-net-dbus: Perl extension to dbus used in xdg-screensaver
    perl-x11-protocol: Perl X11 protocol used in xdg-screensaver
( 94/211) installing shared-mime-info                                        [###########################################] 100%
( 95/211) installing xcb-util-wm                                             [###########################################] 100%
( 96/211) installing libxrender                                              [###########################################] 100%
( 97/211) installing libxi                                                   [###########################################] 100%
( 98/211) installing vulkan-headers                                          [###########################################] 100%
( 99/211) installing tslib                                                   [###########################################] 100%
(100/211) installing mtdev                                                   [###########################################] 100%
(101/211) installing device-mapper                                           [###########################################] 100%
(102/211) installing popt                                                    [###########################################] 100%
(103/211) installing argon2                                                  [###########################################] 100%
(104/211) installing cryptsetup                                              [###########################################] 100%
(105/211) installing libmnl                                                  [###########################################] 100%
(106/211) installing libnftnl                                                [###########################################] 100%
(107/211) installing libnl                                                   [###########################################] 100%
(108/211) installing libpcap                                                 [###########################################] 100%
(109/211) installing libnfnetlink                                            [###########################################] 100%
(110/211) installing libnetfilter_conntrack                                  [###########################################] 100%
(111/211) installing iptables                                                [###########################################] 100%
(112/211) installing kbd                                                     [###########################################] 100%
(113/211) installing kmod                                                    [###########################################] 100%
(114/211) installing hwdata                                                  [###########################################] 100%
(115/211) installing systemd                                                 [###########################################] 100%
Initializing machine ID from random generator.
Creating group 'nobody' with GID 65534.
Creating group 'adm' with GID 999.
Creating group 'wheel' with GID 998.
Creating group 'utmp' with GID 997.
Creating group 'audio' with GID 996.
Creating group 'disk' with GID 995.
Creating group 'input' with GID 994.
Creating group 'kmem' with GID 993.
Creating group 'kvm' with GID 992.
Creating group 'lp' with GID 991.
Creating group 'optical' with GID 990.
Creating group 'render' with GID 989.
Creating group 'sgx' with GID 988.
Creating group 'storage' with GID 987.
Creating group 'tty' with GID 5.
Creating group 'uucp' with GID 986.
Creating group 'video' with GID 985.
Creating group 'users' with GID 984.
Creating group 'sys' with GID 3.
Creating group 'mem' with GID 8.
Creating group 'ftp' with GID 11.
Creating group 'mail' with GID 12.
Creating group 'log' with GID 19.
Creating group 'smmsp' with GID 25.
Creating group 'proc' with GID 26.
Creating group 'games' with GID 50.
Creating group 'lock' with GID 54.
Creating group 'network' with GID 90.
Creating group 'floppy' with GID 94.
Creating group 'scanner' with GID 96.
Creating group 'power' with GID 98.
Creating group 'systemd-journal' with GID 983.
Creating group 'rfkill' with GID 982.
Creating user 'nobody' (Nobody) with UID 65534 and GID 65534.
Creating group 'dbus' with GID 81.
Creating user 'dbus' (System Message Bus) with UID 81 and GID 81.
Creating group 'bin' with GID 1.
Creating user 'bin' (n/a) with UID 1 and GID 1.
Creating group 'daemon' with GID 2.
Creating user 'daemon' (n/a) with UID 2 and GID 2.
Creating user 'mail' (n/a) with UID 8 and GID 12.
Creating user 'ftp' (n/a) with UID 14 and GID 11.
Creating group 'http' with GID 33.
Creating user 'http' (n/a) with UID 33 and GID 33.
Creating group 'systemd-coredump' with GID 981.
Creating user 'systemd-coredump' (systemd Core Dumper) with UID 981 and GID 981.
Creating group 'systemd-network' with GID 980.
Creating user 'systemd-network' (systemd Network Management) with UID 980 and GID 980.
Creating group 'systemd-oom' with GID 979.
Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 979 and GID 979.
Creating group 'systemd-journal-remote' with GID 978.
Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 978 and GID 978.
Creating group 'systemd-resolve' with GID 977.
Creating user 'systemd-resolve' (systemd Resolver) with UID 977 and GID 977.
Creating group 'systemd-timesync' with GID 976.
Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 976 and GID 976.
Creating group 'tss' with GID 975.
Creating user 'tss' (tss user for tpm2) with UID 975 and GID 975.
Creating group 'uuidd' with GID 68.
Creating user 'uuidd' (n/a) with UID 68 and GID 68.
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target.
Optional dependencies for systemd
    libmicrohttpd: remote journald capabilities
    quota-tools: kernel-level quota management
    systemd-sysvcompat: symlink package to provide sysvinit binaries
    polkit: allow administration as unprivileged user
    curl: machinectl pull-tar and pull-raw [installed]
    libfido2: unlocking LUKS2 volumes with FIDO2 token
    tpm2-tss: unlocking LUKS2 volumes with TPM2 [installed]
(116/211) installing libevdev                                                [###########################################] 100%
(117/211) installing libgudev                                                [###########################################] 100%
(118/211) installing libwacom                                                [###########################################] 100%
Optional dependencies for libwacom
    python-libevdev: for libwacom-show-stylus
(119/211) installing libinput                                                [###########################################] 100%
Optional dependencies for libinput
    gtk4: libinput debug-gui
    python-pyudev: libinput measure
    python-libevdev: libinput measure
(120/211) installing xkeyboard-config                                        [###########################################] 100%
(121/211) installing libxkbcommon                                            [###########################################] 100%
Optional dependencies for libxkbcommon
    libxkbcommon-x11: xkbcli interactive-x11 [pending]
    wayland: xkbcli interactive-wayland [installed]
(122/211) installing libxkbcommon-x11                                        [###########################################] 100%
(123/211) installing duktape                                                 [###########################################] 100%
(124/211) installing libproxy                                                [###########################################] 100%
Optional dependencies for libproxy
    networkmanager: NetworkManager configuration module
    perl: Perl bindings [installed]
    python: Python 3.x bindings [installed]
    libproxy-webkit: PAC proxy support (via WebKit)
(125/211) installing libtiff                                                 [###########################################] 100%
Optional dependencies for libtiff
    freeglut: for using tiffgt
(126/211) installing libdaemon                                               [###########################################] 100%
(127/211) installing avahi                                                   [###########################################] 100%
Optional dependencies for avahi
    gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc
    qt5-base: qt5 bindings
    libevent: libevent bindings [installed]
    nss-mdns: NSS support for mDNS
    python-twisted: avahi-bookmarks
    python-gobject: avahi-bookmarks, avahi-discover
    python-dbus: avahi-bookmarks, avahi-discover
(128/211) installing libusb                                                  [###########################################] 100%
(129/211) installing libcups                                                 [###########################################] 100%
(130/211) installing double-conversion                                       [###########################################] 100%
(131/211) installing libb2                                                   [###########################################] 100%
(132/211) installing md4c                                                    [###########################################] 100%
(133/211) installing qt6-translations                                        [###########################################] 100%
(134/211) installing qt6-base                                                [###########################################] 100%
Optional dependencies for qt6-base
    qt6-wayland: to run Qt6 applications in a Wayland session
    postgresql-libs: PostgreSQL driver
    mariadb-libs: MariaDB driver
    unixodbc: ODBC driver
    libfbclient: Firebird/iBase driver
    freetds: MS SQL driver
    gtk3: GTK platform plugin
    perl: for syncqt [installed]
(135/211) installing qt6-declarative                                         [###########################################] 100%
Optional dependencies for qt6-declarative
    qt6-languageserver: for qmlls
(136/211) installing qt6-webchannel                                          [###########################################] 100%
(137/211) installing qt6-positioning                                         [###########################################] 100%
Optional dependencies for qt6-positioning
    qt6-declarative: QML bindings [installed]
    qt6-serialport: NMEA plugin
(138/211) installing libxcomposite                                           [###########################################] 100%
(139/211) installing libxrandr                                               [###########################################] 100%
(140/211) installing libxkbfile                                              [###########################################] 100%
(141/211) installing snappy                                                  [###########################################] 100%
(142/211) installing nspr                                                    [###########################################] 100%
(143/211) installing nss                                                     [###########################################] 100%
(144/211) installing libxslt                                                 [###########################################] 100%
Optional dependencies for libxslt
    python: Python bindings [installed]
(145/211) installing minizip                                                 [###########################################] 100%
(146/211) installing aom                                                     [###########################################] 100%
(147/211) installing fribidi                                                 [###########################################] 100%
(148/211) installing gsm                                                     [###########################################] 100%
(149/211) installing lame                                                    [###########################################] 100%
(150/211) installing libass                                                  [###########################################] 100%
(151/211) installing libraw1394                                              [###########################################] 100%
(152/211) installing libavc1394                                              [###########################################] 100%
(153/211) installing libbluray                                               [###########################################] 100%
Optional dependencies for libbluray
    java-runtime: BD-J library
(154/211) installing dav1d                                                   [###########################################] 100%
Optional dependencies for dav1d
    dav1d-doc: HTML documentation
(155/211) installing libiec61883                                             [###########################################] 100%
(156/211) installing libmfx                                                  [###########################################] 100%
(157/211) installing libmodplug                                              [###########################################] 100%
(158/211) installing libasyncns                                              [###########################################] 100%
(159/211) installing libogg                                                  [###########################################] 100%
(160/211) installing speexdsp                                                [###########################################] 100%
(161/211) installing speex                                                   [###########################################] 100%
(162/211) installing flac                                                    [###########################################] 100%
(163/211) installing libvorbis                                               [###########################################] 100%
(164/211) installing libsndfile                                              [###########################################] 100%
Optional dependencies for libsndfile
    alsa-lib: for sndfile-play [installed]
(165/211) installing libpulse                                                [###########################################] 100%
Optional dependencies for libpulse
    glib2: mainloop integration [installed]
(166/211) installing rav1e                                                   [###########################################] 100%
(167/211) installing lzo                                                     [###########################################] 100%
(168/211) installing pixman                                                  [###########################################] 100%
(169/211) installing cairo                                                   [###########################################] 100%
(170/211) installing gdk-pixbuf2                                             [###########################################] 100%
Optional dependencies for gdk-pixbuf2
    libwmf: Load .wmf and .apm
    libopenraw: Load .dng, .cr2, .crw, .nef, .orf, .pef, .arw, .erf, .mrw, and .raf
    libavif: Load .avif
    libheif: Load .heif, .heic, and .avif
    libjxl: Load .jxl
    librsvg: Load .svg, .svgz, and .svg.gz [pending]
    webp-pixbuf-loader: Load .webp
(171/211) installing libdatrie                                               [###########################################] 100%
(172/211) installing libthai                                                 [###########################################] 100%
(173/211) installing libxft                                                  [###########################################] 100%
(174/211) installing pango                                                   [###########################################] 100%
(175/211) installing librsvg                                                 [###########################################] 100%
(176/211) installing libsoxr                                                 [###########################################] 100%
(177/211) installing libssh                                                  [###########################################] 100%
(178/211) installing libtheora                                               [###########################################] 100%
(179/211) installing libva                                                   [###########################################] 100%
Optional dependencies for libva
    intel-media-driver: backend for Intel GPUs (>= Broadwell)
    libva-vdpau-driver: backend for Nvidia and AMD GPUs
    libva-intel-driver: backend for Intel GPUs (<= Haswell)
(180/211) installing libvdpau                                                [###########################################] 100%
(181/211) installing vid.stab                                                [###########################################] 100%
(182/211) installing libvpx                                                  [###########################################] 100%
(183/211) installing giflib                                                  [###########################################] 100%
(184/211) installing libwebp                                                 [###########################################] 100%
Optional dependencies for libwebp
    freeglut: vwebp viewer
(185/211) installing l-smash                                                 [###########################################] 100%
(186/211) installing x264                                                    [###########################################] 100%
(187/211) installing x265                                                    [###########################################] 100%
(188/211) installing libxv                                                   [###########################################] 100%
(189/211) installing xvidcore                                                [###########################################] 100%
(190/211) installing zimg                                                    [###########################################] 100%
(191/211) installing opencore-amr                                            [###########################################] 100%
(192/211) installing lcms2                                                   [###########################################] 100%
(193/211) installing openjpeg2                                               [###########################################] 100%
(194/211) installing libxcursor                                              [###########################################] 100%
Optional dependencies for libxcursor
    gnome-themes-standard: fallback icon theme
(195/211) installing hidapi                                                  [###########################################] 100%
Optional dependencies for hidapi
    libusb: for the libusb backend -- hidapi-libusb.so [installed]
    libudev.so: for the hidraw backend -- hidapi-hidraw.so [installed]
(196/211) installing sdl2                                                    [###########################################] 100%
Optional dependencies for sdl2
    alsa-lib: ALSA audio driver [installed]
    libpulse: PulseAudio audio driver [installed]
    jack: JACK audio driver [installed]
    pipewire: PipeWire audio driver
    libdecor: Wayland client decorations
(197/211) installing srt                                                     [###########################################] 100%
(198/211) installing svt-av1                                                 [###########################################] 100%
(199/211) installing hicolor-icon-theme                                      [###########################################] 100%
(200/211) installing sysfsutils                                              [###########################################] 100%
(201/211) installing v4l-utils                                               [###########################################] 100%
Optional dependencies for v4l-utils
    qt5-base: for qv4l2
    alsa-lib: for qv4l2 [installed]
(202/211) installing vmaf                                                    [###########################################] 100%
(203/211) installing ffmpeg                                                  [###########################################] 100%
Optional dependencies for ffmpeg
    avisynthplus: AviSynthPlus support
    intel-media-sdk: Intel QuickSync support
    ladspa: LADSPA filters
    nvidia-utils: Nvidia NVDEC/NVENC support
(204/211) installing re2                                                     [###########################################] 100%
(205/211) installing libxtst                                                 [###########################################] 100%
(206/211) installing gnu-free-fonts                                          [###########################################] 100%
(207/211) installing pciutils                                                [###########################################] 100%
(208/211) installing qt6-webengine                                           [###########################################] 100%
Optional dependencies for qt6-webengine
    pipewire: WebRTC desktop sharing under Wayland
(209/211) installing python-pyqt6-sip                                        [###########################################] 100%
(210/211) installing python-pyqt6                                            [###########################################] 100%
Optional dependencies for python-pyqt6
    qt6-tools: QtHelp, QtDesigner bindings
    qt6-svg: QtSvg bindings
    qt6-declarative: QtQml bindings, qmlplugin [installed]
    qt6-quick3d: QtQuick3D bindings
    qt6-connectivity: QtBluetooth, QtNfc bindings
    qt6-multimedia: QtMultimedia bindings
    qt6-positioning: QtPositioning bindings [installed]
    qt6-remoteobjects: QtRemoteObjects bindings
    qt6-sensors: QtSensors bindings
    qt6-serialport: QtSerialPort bindings
    qt6-webchannel: QtWebChannel bindings [installed]
    qt6-websockets: QtWebSockets bindings
    dbus-python: for python-dbus mainloop support
(211/211) installing python-pyqt6-webengine                                  [###########################################] 100%
:: Running post-transaction hooks...
( 1/14) Creating system user accounts...
Creating group 'avahi' with GID 974.
Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 974 and GID 974.
( 2/14) Updating journal message catalog...
( 3/14) Reloading system manager configuration...
  Skipped: Running in chroot.
( 4/14) Updating udev hardware database...
( 5/14) Applying kernel sysctl settings...
  Skipped: Running in chroot.
( 6/14) Creating temporary files...
( 7/14) Reloading device manager configuration...
  Skipped: Running in chroot.
( 8/14) Arming ConditionNeedsUpdate...
( 9/14) Updating the MIME type database...
(10/14) Updating fontconfig configuration...
(11/14) Reloading system bus configuration...
  Skipped: Running in chroot.
(12/14) Warn about old perl modules
(13/14) Updating fontconfig cache...
(14/14) Probing GDK-Pixbuf loader modules...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (35) compiler-rt-13.0.1-1  java-environment-common-3-3  java-runtime-common-3-3  jdk11-openjdk-11.0.15.u10-2
              jre11-openjdk-11.0.15.u10-2  jre11-openjdk-headless-11.0.15.u10-2  libnet-1:1.1.6-1  perl-error-0.17029-4
              perl-mailtools-2.21-6  perl-timedate-2.33-4  python-cachecontrol-1:0.12.6-4  python-cffi-1.15.0-3
              python-colorama-0.4.4-6  python-contextlib2-21.6.0-1  python-cryptography-37.0.2-1  python-distlib-0.3.4-1
              python-html5lib-1.1-11  python-msgpack-1.0.3-1  python-pep517-0.12.0-4  python-ply-3.11-10
              python-progress-1.6-5  python-pycparser-2.21-3  python-pyopenssl-22.0.0-1  python-resolvelib-0.5.5-4
              python-retrying-1.3.3-13  python-toml-0.10.2-7  python-webencodings-0.5.1-9  unzip-6.0-18  xxhash-0.8.1-2
              zip-3.0-10  bazel-5.2.0-1  clang-13.0.1-2  git-2.37.0-1  python-pip-21.0-1  rsync-3.2.4-1

Total Download Size:    39.87 MiB
Total Installed Size:  647.34 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 clang-13.0.1-2-x86_64                            34.6 MiB  1912 KiB/s 00:19 [###########################################] 100%
 compiler-rt-13.0.1-1-x86_64                       2.9 MiB  3.96 MiB/s 00:01 [###########################################] 100%
 python-pip-21.0-1-any                           415.7 KiB  2.78 MiB/s 00:00 [###########################################] 100%
 rsync-3.2.4-1-x86_64                            320.7 KiB  2.09 MiB/s 00:00 [###########################################] 100%
 python-cffi-1.15.0-3-x86_64                     227.4 KiB  2013 KiB/s 00:00 [###########################################] 100%
 python-html5lib-1.1-11-any                      211.5 KiB  1855 KiB/s 00:00 [###########################################] 100%
 python-pycparser-2.21-3-any                     194.3 KiB  1461 KiB/s 00:00 [###########################################] 100%
 python-distlib-0.3.4-1-any                      183.2 KiB  1621 KiB/s 00:00 [###########################################] 100%
 zip-3.0-10-x86_64                               166.4 KiB  1555 KiB/s 00:00 [###########################################] 100%
 unzip-6.0-18-x86_64                             141.6 KiB  1115 KiB/s 00:00 [###########################################] 100%
 libnet-1:1.1.6-1-x86_64                          96.3 KiB  1251 KiB/s 00:00 [###########################################] 100%
 python-pyopenssl-22.0.0-1-any                    86.2 KiB  1181 KiB/s 00:00 [###########################################] 100%
 xxhash-0.8.1-2-x86_64                            80.2 KiB   686 KiB/s 00:00 [###########################################] 100%
 python-ply-3.11-10-any                           77.1 KiB  1101 KiB/s 00:00 [###########################################] 100%
 python-msgpack-1.0.3-1-x86_64                    73.7 KiB   995 KiB/s 00:00 [###########################################] 100%
 python-toml-0.10.2-7-any                         34.0 KiB   515 KiB/s 00:00 [###########################################] 100%
 python-pep517-0.12.0-4-any                       32.0 KiB   533 KiB/s 00:00 [###########################################] 100%
 python-cachecontrol-1:0.12.6-4-any               30.3 KiB   452 KiB/s 00:00 [###########################################] 100%
 python-colorama-0.4.4-6-any                      24.8 KiB   394 KiB/s 00:00 [###########################################] 100%
 python-resolvelib-0.5.5-4-any                    23.6 KiB   236 KiB/s 00:00 [###########################################] 100%
 python-webencodings-0.5.1-9-any                  19.3 KiB   251 KiB/s 00:00 [###########################################] 100%
 python-progress-1.6-5-any                        13.9 KiB   221 KiB/s 00:00 [###########################################] 100%
 python-retrying-1.3.3-13-any                     10.8 KiB   155 KiB/s 00:00 [###########################################] 100%
 java-runtime-common-3-3-any                       4.9 KiB  87.0 KiB/s 00:00 [###########################################] 100%
 java-environment-common-3-3-any                   2.5 KiB  43.7 KiB/s 00:00 [###########################################] 100%
 Total (25/25)                                    39.9 MiB  1758 KiB/s 00:23 [###########################################] 100%
(35/35) checking keys in keyring                                             [###########################################] 100%
(35/35) checking package integrity                                           [###########################################] 100%
(35/35) loading package files                                                [###########################################] 100%
(35/35) checking for file conflicts                                          [###########################################] 100%
(35/35) checking available disk space                                        [###########################################] 100%
:: Processing package changes...
( 1/35) installing xxhash                                                    [###########################################] 100%
( 2/35) installing rsync                                                     [###########################################] 100%
( 3/35) installing perl-error                                                [###########################################] 100%
( 4/35) installing perl-timedate                                             [###########################################] 100%
( 5/35) installing perl-mailtools                                            [###########################################] 100%
( 6/35) installing git                                                       [###########################################] 100%
Optional dependencies for git
    tk: gitk and git gui
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
( 7/35) installing java-runtime-common                                       [###########################################] 100%
For the complete set of Java binaries to be available in your PATH,
you need to re-login or source /etc/profile.d/jre.sh
Please note that this package does not support forcing JAVA_HOME as former package java-common did
( 8/35) installing libnet                                                    [###########################################] 100%
( 9/35) installing jre11-openjdk-headless                                    [###########################################] 100%
Optional dependencies for jre11-openjdk-headless
    java-rhino: for some JavaScript support
(10/35) installing jre11-openjdk                                             [###########################################] 100%
when you use a non-reparenting window manager,
set _JAVA_AWT_WM_NONREPARENTING=1 in /etc/profile.d/jre.sh
Optional dependencies for jre11-openjdk
    alsa-lib: for basic sound support [installed]
    gtk2: for the Gtk+ 2 look and feel - desktop usage
    gtk3: for the Gtk+ 3 look and feel - desktop usage
(11/35) installing java-environment-common                                   [###########################################] 100%
(12/35) installing jdk11-openjdk                                             [###########################################] 100%
(13/35) installing zip                                                       [###########################################] 100%
(14/35) installing unzip                                                     [###########################################] 100%
(15/35) installing bazel                                                     [###########################################] 100%
(16/35) installing compiler-rt                                               [###########################################] 100%
(17/35) installing clang                                                     [###########################################] 100%
Optional dependencies for clang
    openmp: OpenMP support in clang with -fopenmp
    python: for scan-view and git-clang-format [installed]
    llvm: referenced by some clang headers
(18/35) installing python-msgpack                                            [###########################################] 100%
(19/35) installing python-cachecontrol                                       [###########################################] 100%
Optional dependencies for python-cachecontrol
    python-lockfile: for the FileCache
(20/35) installing python-colorama                                           [###########################################] 100%
(21/35) installing python-contextlib2                                        [###########################################] 100%
(22/35) installing python-distlib                                            [###########################################] 100%
(23/35) installing python-webencodings                                       [###########################################] 100%
(24/35) installing python-html5lib                                           [###########################################] 100%
Optional dependencies for python-html5lib
    python-lxml: lxml treebuilder
    python-genshi: genshi treewalker
(25/35) installing python-pep517                                             [###########################################] 100%
(26/35) installing python-progress                                           [###########################################] 100%
(27/35) installing python-retrying                                           [###########################################] 100%
(28/35) installing python-resolvelib                                         [###########################################] 100%
(29/35) installing python-toml                                               [###########################################] 100%
(30/35) installing python-ply                                                [###########################################] 100%
(31/35) installing python-pycparser                                          [###########################################] 100%
(32/35) installing python-cffi                                               [###########################################] 100%
(33/35) installing python-cryptography                                       [###########################################] 100%
(34/35) installing python-pyopenssl                                          [###########################################] 100%
(35/35) installing python-pip                                                [###########################################] 100%
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'git' with GID 973.
Creating user 'git' (git daemon user) with UID 973 and GID 973.
(2/4) Reloading system manager configuration...
  Skipped: Running in chroot.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Warn about old perl modules
==> Retrieving sources...
  -> Downloading anki-2.1.54.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 2163k    0 2163k    0     0  1283k      0 --:--:--  0:00:01 --:--:-- 2670k
  -> Found no-update.patch
  -> Found inc_qt_timeout.patch
==> Validating source files with sha256sums...
    anki-2.1.54.tar.gz ... Passed
    no-update.patch ... Passed
    inc_qt_timeout.patch ... Passed
==> Extracting sources...
  -> Extracting anki-2.1.54.tar.gz with bsdtar
==> Starting prepare()...
patching file qt/aqt/update.py
patching file python/pyqt/defs.bzl
==> Starting build()...
####################
Beginning compilation... This step is known to be prone to failure by the anki devs.
If the build is failing retry the installation. This usually fixes the problem.
A too slow internet connection can also hinder the dependency fetching process because of hardcoded timeouts in bazel.
If the problem persists consider removing data in ~/.cache/bazel and your AUR manager cache (~/.cache/paru/clone/anki for paru) and retry again.
####################
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
INFO: Analyzed target //:wheels (725 packages loaded, 31095 targets configured).
INFO: Found 1 target...
INFO: From Running Cargo build script blake3:
Build Script Warning: The C compiler "/usr/bin/gcc" does not support -mavx512f and -mavx512vl.
INFO: From Running Cargo build script libsqlite3_sys:
Build Script Warning: sqlite3/sqlite3.c: In function 'sqlite3Fts5IndexQuery':
Build Script Warning: sqlite3/sqlite3.c:228444:18: warning: 'memcpy' specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
Build Script Warning: 228444 |     if( nToken ) memcpy(&buf.p[1], pToken, nToken);
Build Script Warning:        |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Target //:wheels up-to-date:
  .bazel/bin/wheels.tar
INFO: Elapsed time: 1205.786s, Critical Path: 369.41s
INFO: 1329 processes: 519 internal, 782 processwrapper-sandbox, 28 worker.
INFO: Build completed successfully, 1329 total actions
==> Entering fakeroot environment...
==> Starting package()...
Processing ./.bazel/out/k8-opt/bin/qt/aqt/aqt-2.1.54-py3-none-any.whl
Processing ./.bazel/out/k8-opt/bin/pylib/anki/anki-2.1.54-cp39-abi3-manylinux_2_28_x86_64.whl
Installing collected packages: aqt, anki
  WARNING: The script anki is installed in '/build/anki/pkg/anki/usr/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed anki-2.1.54 aqt-2.1.54
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "anki"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: anki 2.1.54-1 (Sun 10 Jul 2022 11:43:38 PM UTC)
      Cleaning up.

After installing the packages that you recommended me, I tried to check if that was the version of Anki I was trying to install:

❯ anki -v
Anki 2.1.49
❯ LC_ALL=C  yay -S --noconfirm anki
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  anki-2.1.54-1

  1 anki                             (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (1/0): anki
  1 anki                             (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: anki
==> Making package: anki 2.1.54-1 (Mon Jul 11 11:02:52 2022)
==> Retrieving sources...
  -> Found anki-2.1.54.tar.gz
  -> Found no-update.patch
  -> Found inc_qt_timeout.patch
==> Validating source files with sha256sums...
    anki-2.1.54.tar.gz ... Passed
    no-update.patch ... Passed
    inc_qt_timeout.patch ... Passed
==> Making package: anki 2.1.54-1 (Mon Jul 11 11:02:53 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found anki-2.1.54.tar.gz
  -> Found no-update.patch
  -> Found inc_qt_timeout.patch
==> Validating source files with sha256sums...
    anki-2.1.54.tar.gz ... Passed
    no-update.patch ... Passed
    inc_qt_timeout.patch ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting anki-2.1.54.tar.gz with bsdtar
==> Starting prepare()...
patching file qt/aqt/update.py
patching file python/pyqt/defs.bzl
==> Sources are ready.
==> Making package: anki 2.1.54-1 (Mon Jul 11 11:02:55 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
####################
Beginning compilation... This step is known to be prone to failure by the anki devs.
If the build is failing retry the installation. This usually fixes the problem.
A too slow internet connection can also hinder the dependency fetching process because of hardcoded timeouts in bazel.
If the problem persists consider removing data in ~/.cache/bazel and your AUR manager cache (~/.cache/paru/clone/anki for paru) and retry again.
####################
Starting local Bazel server and connecting to it...
INFO: Analyzed target //:wheels (725 packages loaded, 31095 targets configured).
INFO: Found 1 target...
ERROR: /home/alberto/.cache/yay/anki/src/anki-2.1.54/pylib/anki/BUILD.bazel:111:9: Action pylib/anki/backend_pb2.py [for host] failed: (Exit 1): protoc_wrapper failed: error executing command bazel-out/host/bin/pylib/tools/protoc_wrapper external/protoc_bin_linux_x86_64/bin/protoc bazel-out/host/bin/pylib/tools/protoc-gen-mypy bazel-out/host/bin/pylib/anki proto/anki/backend.proto ... (remaining 18 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
Traceback (most recent call last):
  File "/home/alberto/.cache/bazel/_bazel_alberto/51557261229cb48effd845d2e04366c6/sandbox/linux-sandbox/175/execroot/ankidesktop/bazel-out/host/bin/pylib/tools/protoc_wrapper.runfiles/ankidesktop/pylib/tools/protoc_wrapper.py", line 23, in <module>
    subprocess.run(
  File "/home/alberto/.cache/bazel/_bazel_alberto/51557261229cb48effd845d2e04366c6/external/python/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['external/protoc_bin_linux_x86_64/bin/protoc', '--plugin=protoc-gen-mypy=bazel-out/host/bin/pylib/tools/protoc-gen-mypy', '--python_out=bazel-out/host/bin/pylib', '--mypy_out=bazel-out/host/bin/pylib', '-Iproto/', '-Iexternal/ankidesktop/proto/', 'proto/anki/backend.proto', 'proto/anki/card_rendering.proto', 'proto/anki/cards.proto', 'proto/anki/collection.proto', 'proto/anki/config.proto', 'proto/anki/deckconfig.proto', 'proto/anki/decks.proto', 'proto/anki/generic.proto', 'proto/anki/i18n.proto', 'proto/anki/import_export.proto', 'proto/anki/links.proto', 'proto/anki/media.proto', 'proto/anki/notes.proto', 'proto/anki/notetypes.proto', 'proto/anki/scheduler.proto', 'proto/anki/search.proto', 'proto/anki/stats.proto', 'proto/anki/sync.proto', 'proto/anki/tags.proto']' returned non-zero exit status 1.
----------------
Note: The failure of target //pylib/tools:protoc_wrapper (with exit code 1) may have been caused by the fact that it is running under Python 3 instead of Python 2. Examine the error to determine if that appears to be the problem. Since this target is built in the host configuration, the only way to change its version is to set --host_force_python=PY2, which affects the entire build.

If this error started occurring in Bazel 0.27 and later, it may be because the Python toolchain now enforces that targets analyzed as PY2 and PY3 run under a Python 2 and Python 3 interpreter, respectively. See https://github.com/bazelbuild/bazel/issues/7899 for more information.
----------------
Target //:wheels failed to build
Use --verbose_failures to see the command lines of failed build steps.
ERROR: /home/alberto/.cache/yay/anki/src/anki-2.1.54/pylib/anki/_backend/BUILD.bazel:7:10 Middleman _middlemen/pylib_Sanki_S_Ubackend_Sgenbackend-runfiles failed: (Exit 1): protoc_wrapper failed: error executing command bazel-out/host/bin/pylib/tools/protoc_wrapper external/protoc_bin_linux_x86_64/bin/protoc bazel-out/host/bin/pylib/tools/protoc-gen-mypy bazel-out/host/bin/pylib/anki proto/anki/backend.proto ... (remaining 18 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
INFO: Elapsed time: 142.633s, Critical Path: 91.92s
INFO: 289 processes: 118 internal, 165 linux-sandbox, 6 worker.
FAILED: Build did NOT complete successfully
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: anki

That is the latest version.

That’s not an issue with the AUR package, it’s using the 2.1.54 release source.

You can always install anki-bin which is the binary release.