Problem with installing the python-tree-sitter-language-pack

Hi,
I am trying to install Aider, but the installation always fails when trying to install the python-tree-sitter-language-pack.

It always fails at a different repo - here php as an example. But it failed also vue, javascript, r, … and so on

 stderr: 'Cloning into '/var/tmp/pamac-build-wurstkopf/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/vendor/php'...

fatal: unable to access 'https://github.com/tree-sitter/tree-sitter-php/': Recv failure: Connection reset by peer

I tried to install it directly with pamac and yay. Always the same. Apparently github always fails at one of the dozens of repos that are being cloned.

Any ideas? Thanks in advance!

What is the name of the package?
In AUR are a few with that name in it.
https://aur.archlinux.org/packages?O=0&K=aider

aider-chat is the package I want to install, but it fails while installing the requirements. Specifically the python-tree-sitter-language-pack.

The end goal is to get aidermacs running :slight_smile:

That is the one I chose and currently am trying to build using yay to try and replicate the issue.

It is a pristine and fully updated VM (Xfce4) - just installed base-devel and yay after having to update archlinux-keyring as the only out of date package using pacman -Syu

Compilation is running and something with python-tree-sitter in the name already passed …

is not listed in the list of dependencies :man_shrugging:

You are either rate-limited by GitHub, your DNS gives you a wrong IP, or you are in a country where access to GitHub is restricted.

Germany and vodafone - never had any issues with github

I am running the install again and log the output - one moment

sorry had to splice in the error by hand - it took a second.

The command I ran:

pamac install aider-chat | tee aider-chat_install.log

The result:

Warning: aider-chat is only available from AUR
Preparing...
Cloning aider-chat build files...
Generating aider-chat information...
Checking aider-chat dependencies...
Cloning python-grep-ast build files...
Generating python-grep-ast information...
Checking python-grep-ast dependencies...
Cloning python-mixpanel build files...
Generating python-mixpanel information...
Checking python-mixpanel dependencies...
Cloning python-pydub build files...
Generating python-pydub information...
Checking python-pydub dependencies...
Cloning python-sounddevice build files...
Generating python-sounddevice information...
Checking python-sounddevice dependencies...
Cloning python-tree-sitter-language-pack build files...
Generating python-tree-sitter-language-pack information...
Checking python-tree-sitter-language-pack dependencies...

[... checking for so many dependencies that I had to shorten it for posting]

Checking r-vroom dependencies...
Checking r-ash dependencies...
Checking r-locfit dependencies...
Checking r-fnn dependencies...
Checking r-multicool dependencies...
Checking r-plot3d dependencies...
Checking r-warp dependencies...
Checking r-diagram dependencies...
Checking r-lava dependencies...
Checking r-cvst dependencies...
Checking r-permute dependencies...
Checking r-futile.logger dependencies...
Checking android-x86-64-xcb-proto dependencies...
Checking android-x86-64-libxdmcp dependencies...
Checking android-x86-64-libxau dependencies...
Checking android-x86-xcb-proto dependencies...
Checking android-x86-libxdmcp dependencies...
Checking android-x86-libxau dependencies...
Checking r-squarem dependencies...
Checking r-futile.options dependencies...
Checking r-lambda.r dependencies...
Checking r-formatr dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (6):
  python-mixpanel                   4.10.1-1    AUR
  python-pydub                      0.25.1-6    AUR
  python-tree-sitter-language-pack  0.9.0-1     AUR
  python-grep-ast                   0.9.0-1     AUR
  python-sounddevice                0.5.2-1     AUR
  aider-chat                        0.85.0-1    AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] e[1me[32m==>e[me[1m Making package: python-mixpanel 4.10.1-1 (Do 10 Jul 2025 10:21:02 CEST)e[m
e[1me[32m==>e[me[1m Checking runtime dependencies...e[m
e[1me[32m==>e[me[1m Checking buildtime dependencies...e[m
e[1me[32m==>e[me[1m Retrieving sources...e[m
e[1me[34m  ->e[me[1m Found mixpanel-python-4.10.1.tar.gze[m
e[1me[32m==>e[me[1m Validating source files with sha512sums...e[m
e[1me[32m==>e[me[1m Removing existing $srcdir/ directory...e[m
e[1me[32m==>e[me[1m Extracting sources...e[m
e[1me[34m  ->e[me[1m Extracting mixpanel-python-4.10.1.tar.gz with bsdtare[m
e[1me[32m==>e[me[1m Starting build()...e[m
* Getting build dependencies for wheel...
running egg_info
creating mixpanel.egg-info
writing mixpanel.egg-info/PKG-INFO
writing dependency_links to mixpanel.egg-info/dependency_links.txt
writing requirements to mixpanel.egg-info/requires.txt
writing top-level names to mixpanel.egg-info/top_level.txt
writing manifest file 'mixpanel.egg-info/SOURCES.txt'
reading manifest file 'mixpanel.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'mixpanel.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib/mixpanel
copying mixpanel/__init__.py -> build/lib/mixpanel
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/mixpanel
copying build/lib/mixpanel/__init__.py -> build/bdist.linux-x86_64/wheel/./mixpanel
running install_egg_info
running egg_info
writing mixpanel.egg-info/PKG-INFO
writing dependency_links to mixpanel.egg-info/dependency_links.txt
writing requirements to mixpanel.egg-info/requires.txt
writing top-level names to mixpanel.egg-info/top_level.txt
reading manifest file 'mixpanel.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'mixpanel.egg-info/SOURCES.txt'
Copying mixpanel.egg-info to build/bdist.linux-x86_64/wheel/./mixpanel-4.10.1-py3.13.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/mixpanel-4.10.1.dist-info/WHEEL
creating '/var/tmp/pamac-build-wurstkopf/python-mixpanel/src/mixpanel-python-4.10.1/dist/.tmp-47qkzo8c/mixpanel-4.10.1-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'mixpanel/__init__.py'
adding 'mixpanel-4.10.1.dist-info/licenses/LICENSE.txt'
adding 'mixpanel-4.10.1.dist-info/METADATA'
adding 'mixpanel-4.10.1.dist-info/WHEEL'
adding 'mixpanel-4.10.1.dist-info/top_level.txt'
adding 'mixpanel-4.10.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built mixpanel-4.10.1-py2.py3-none-any.whl
e[1me[32m==>e[me[1m Entering fakeroot environment...e[m
e[1me[32m==>e[me[1m Starting package()...e[m
e[1me[32m==>e[me[1m Tidying install...e[m
e[1me[34m  ->e[me[1m Removing libtool files...e[m
e[1me[34m  ->e[me[1m Purging unwanted files...e[m
e[1me[34m  ->e[me[1m Removing static library files...e[m
e[1me[34m  ->e[me[1m Stripping unneeded symbols from binaries and libraries...e[m
e[1me[34m  ->e[me[1m Compressing man and info pages...e[m
e[1me[32m==>e[me[1m Checking for packaging issues...e[m
e[1me[32m==>e[me[1m Creating package "python-mixpanel"...e[m
e[1me[34m  ->e[me[1m Generating .PKGINFO file...e[m
e[1me[34m  ->e[me[1m Generating .BUILDINFO file...e[m
e[1me[34m  ->e[me[1m Generating .MTREE file...e[m
e[1me[34m  ->e[me[1m Compressing package...e[m
e[1me[32m==>e[me[1m Leaving fakeroot environment.e[m
e[1me[32m==>e[me[1m Finished making: python-mixpanel 4.10.1-1 (Do 10 Jul 2025 10:21:06 CEST)e[m
e[1me[32m==>e[me[1m Cleaning up...e[m
e[1me[32m==>e[me[1m Making package: python-pydub 0.25.1-6 (Do 10 Jul 2025 10:21:08 CEST)e[m
e[1me[32m==>e[me[1m Checking runtime dependencies...e[m
e[1me[32m==>e[me[1m Checking buildtime dependencies...e[m
e[1me[32m==>e[me[1m Retrieving sources...e[m
e[1me[34m  ->e[me[1m Found pydub-0.25.1.tar.gze[m
e[1me[34m  ->e[me[1m Found removewarnings.patche[m
e[1me[32m==>e[me[1m Validating source files with sha512sums...e[m
e[1me[32m==>e[me[1m Removing existing $srcdir/ directory...e[m
e[1me[32m==>e[me[1m Extracting sources...e[m
e[1me[34m  ->e[me[1m Extracting pydub-0.25.1.tar.gz with bsdtare[m
e[1me[32m==>e[me[1m Starting prepare()...e[m
patching file pydub/utils.py
e[1me[32m==>e[me[1m Starting build()...e[m
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib/pydub
copying pydub/scipy_effects.py -> build/lib/pydub
copying pydub/generators.py -> build/lib/pydub
copying pydub/playback.py -> build/lib/pydub
copying pydub/audio_segment.py -> build/lib/pydub
copying pydub/effects.py -> build/lib/pydub
copying pydub/silence.py -> build/lib/pydub
copying pydub/utils.py -> build/lib/pydub
copying pydub/__init__.py -> build/lib/pydub
copying pydub/exceptions.py -> build/lib/pydub
copying pydub/logging_utils.py -> build/lib/pydub
copying pydub/pyaudioop.py -> build/lib/pydub
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/pydub
copying build/lib/pydub/scipy_effects.py -> build/bdist.linux-x86_64/wheel/./pydub
copying build/lib/pydub/generators.py -> build/bdist.linux-x86_64/wheel/./pydub
copying build/lib/pydub/playback.py -> build/bdist.linux-x86_64/wheel/./pydub
copying build/lib/pydub/audio_segment.py -> build/bdist.linux-x86_64/wheel/./pydub
copying build/lib/pydub/effects.py -> build/bdist.linux-x86_64/wheel/./pydub
copying build/lib/pydub/silence.py -> build/bdist.linux-x86_64/wheel/./pydub
copying build/lib/pydub/utils.py -> build/bdist.linux-x86_64/wheel/./pydub
copying build/lib/pydub/__init__.py -> build/bdist.linux-x86_64/wheel/./pydub
copying build/lib/pydub/exceptions.py -> build/bdist.linux-x86_64/wheel/./pydub
copying build/lib/pydub/logging_utils.py -> build/bdist.linux-x86_64/wheel/./pydub
copying build/lib/pydub/pyaudioop.py -> build/bdist.linux-x86_64/wheel/./pydub
running install_egg_info
running egg_info
creating pydub.egg-info
writing pydub.egg-info/PKG-INFO
writing dependency_links to pydub.egg-info/dependency_links.txt
writing top-level names to pydub.egg-info/top_level.txt
writing manifest file 'pydub.egg-info/SOURCES.txt'
reading manifest file 'pydub.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'AUTHORS'
writing manifest file 'pydub.egg-info/SOURCES.txt'
Copying pydub.egg-info to build/bdist.linux-x86_64/wheel/./pydub-0.25.1-py3.13.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/pydub-0.25.1.dist-info/WHEEL
creating '/var/tmp/pamac-build-wurstkopf/python-pydub/src/pydub-0.25.1/dist/.tmp-v7utmpgx/pydub-0.25.1-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'pydub/__init__.py'
adding 'pydub/audio_segment.py'
adding 'pydub/effects.py'
adding 'pydub/exceptions.py'
adding 'pydub/generators.py'
adding 'pydub/logging_utils.py'
adding 'pydub/playback.py'
adding 'pydub/pyaudioop.py'
adding 'pydub/scipy_effects.py'
adding 'pydub/silence.py'
adding 'pydub/utils.py'
adding 'pydub-0.25.1.dist-info/licenses/AUTHORS'
adding 'pydub-0.25.1.dist-info/licenses/LICENSE'
adding 'pydub-0.25.1.dist-info/METADATA'
adding 'pydub-0.25.1.dist-info/WHEEL'
adding 'pydub-0.25.1.dist-info/top_level.txt'
adding 'pydub-0.25.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built pydub-0.25.1-py2.py3-none-any.whl
e[1me[32m==>e[me[1m Entering fakeroot environment...e[m
e[1me[32m==>e[me[1m Starting package()...e[m
e[1me[32m==>e[me[1m Tidying install...e[m
e[1me[34m  ->e[me[1m Removing libtool files...e[m
e[1me[34m  ->e[me[1m Purging unwanted files...e[m
e[1me[34m  ->e[me[1m Removing static library files...e[m
e[1me[34m  ->e[me[1m Stripping unneeded symbols from binaries and libraries...e[m
e[1me[34m  ->e[me[1m Compressing man and info pages...e[m
e[1me[32m==>e[me[1m Checking for packaging issues...e[m
e[1me[32m==>e[me[1m Creating package "python-pydub"...e[m
e[1me[34m  ->e[me[1m Generating .PKGINFO file...e[m
e[1me[34m  ->e[me[1m Generating .BUILDINFO file...e[m
e[1me[34m  ->e[me[1m Generating .MTREE file...e[m
e[1me[34m  ->e[me[1m Compressing package...e[m
e[1me[32m==>e[me[1m Leaving fakeroot environment.e[m
e[1me[32m==>e[me[1m Finished making: python-pydub 0.25.1-6 (Do 10 Jul 2025 10:21:11 CEST)e[m
e[1me[32m==>e[me[1m Cleaning up...e[m
e[1me[32m==>e[me[1m Making package: python-tree-sitter-language-pack 0.9.0-1 (Do 10 Jul 2025 10:21:13 CEST)e[m
e[1me[32m==>e[me[1m Checking runtime dependencies...e[m
e[1me[32m==>e[me[1m Checking buildtime dependencies...e[m
e[1me[32m==>e[me[1m Retrieving sources...e[m
e[1me[34m  ->e[me[1m Found tree-sitter-language-pack-0.9.0.tar.gze[m
e[1me[32m==>e[me[1m Validating source files with sha512sums...e[m
e[1me[32m==>e[me[1m Removing existing $srcdir/ directory...e[m
e[1me[32m==>e[me[1m Extracting sources...e[m
e[1me[34m  ->e[me[1m Extracting tree-sitter-language-pack-0.9.0.tar.gz with bsdtare[m
e[1me[32m==>e[me[1m Starting prepare()...e[m
parsers directory already exists, removing
Loading language definitions
Cloning https://github.com/Rileran/tree-sitter-actionscript
Cloning https://github.com/briot/tree-sitter-ada
Cloning https://github.com/tree-sitter/tree-sitter-agda
Cloning https://github.com/aheber/tree-sitter-sfapex
Cloning https://github.com/ObserverOfTime/tree-sitter-arduino
Cloning https://github.com/rush-rs/tree-sitter-asm
Cloning https://github.com/virchau13/tree-sitter-astro
Cloning https://github.com/tree-sitter/tree-sitter-bash
Cloning https://github.com/polarmutex/tree-sitter-beancount
Cloning https://github.com/latex-lsp/tree-sitter-bibtex
Cloning https://github.com/tree-sitter-grammars/tree-sitter-bicep
Cloning https://github.com/tree-sitter-grammars/tree-sitter-bitbake
Cloning https://github.com/tree-sitter/tree-sitter-c
Cloning https://github.com/tree-sitter-grammars/tree-sitter-cairo
Cloning https://github.com/tree-sitter-grammars/tree-sitter-capnp
Cloning https://github.com/tree-sitter-grammars/tree-sitter-chatito
Cloning https://github.com/xlittlerag/tree-sitter-clarity
Cloning https://github.com/sogaiu/tree-sitter-clojure
Cloning https://github.com/uyha/tree-sitter-cmake
Cloning https://github.com/stsewd/tree-sitter-comment
Cloning https://github.com/theHamsta/tree-sitter-commonlisp
Cloning https://github.com/tree-sitter-grammars/tree-sitter-cpon
Cloning https://github.com/tree-sitter/tree-sitter-cpp
Cloning https://github.com/tree-sitter/tree-sitter-css
Cloning https://github.com/amaanq/tree-sitter-csv
Cloning https://github.com/tree-sitter-grammars/tree-sitter-cuda
Cloning https://github.com/gdamore/tree-sitter-d
Cloning https://github.com/UserNobody14/tree-sitter-dart
Cloning https://github.com/camdencheek/tree-sitter-dockerfile
Cloning https://github.com/tree-sitter-grammars/tree-sitter-doxygen
Cloning https://github.com/tree-sitter-grammars/tree-sitter-xml
Cloning https://github.com/Wilfred/tree-sitter-elisp
Cloning https://github.com/elixir-lang/tree-sitter-elixir
Cloning https://github.com/razzeee/tree-sitter-elm
Cloning https://github.com/WhatsApp/tree-sitter-erlang
Cloning https://github.com/TravonteD/tree-sitter-fennel
Cloning https://github.com/tree-sitter-grammars/tree-sitter-firrtl
Cloning https://github.com/ram02z/tree-sitter-fish
Cloning https://github.com/stadelmanma/tree-sitter-fortran
Cloning https://github.com/tree-sitter-grammars/tree-sitter-func
Cloning https://github.com/PrestonKnopp/tree-sitter-gdscript
Cloning https://github.com/ObserverOfTime/tree-sitter-gitattributes
Cloning https://github.com/gbprod/tree-sitter-gitcommit
Cloning https://github.com/shunsambongi/tree-sitter-gitignore
Cloning https://github.com/gleam-lang/tree-sitter-gleam
Cloning https://github.com/theHamsta/tree-sitter-glsl
Cloning https://github.com/tree-sitter-grammars/tree-sitter-gn
Cloning https://github.com/tree-sitter/tree-sitter-go
Cloning https://github.com/camdencheek/tree-sitter-go-mod
Cloning https://github.com/tree-sitter-grammars/tree-sitter-go-sum
Cloning https://github.com/bkegley/tree-sitter-graphql
Cloning https://github.com/Decodetalkers/tree-sitter-groovy
Cloning https://github.com/tree-sitter-grammars/tree-sitter-gstlaunch
Cloning https://github.com/slackhq/tree-sitter-hack
Cloning https://github.com/tree-sitter-grammars/tree-sitter-hare
Cloning https://github.com/tree-sitter/tree-sitter-haskell
Cloning https://github.com/vantreeseba/tree-sitter-haxe
Cloning https://github.com/MichaHoffmann/tree-sitter-hcl
Cloning https://github.com/phoenixframework/tree-sitter-heex
Cloning https://github.com/theHamsta/tree-sitter-hlsl
Cloning https://github.com/tree-sitter/tree-sitter-html
Cloning https://github.com/tree-sitter-grammars/tree-sitter-hyprlang
Cloning https://github.com/justinmk/tree-sitter-ini
Cloning https://github.com/tree-sitter-grammars/tree-sitter-ispc
Cloning https://github.com/GrayJack/tree-sitter-janet
Cloning https://github.com/tree-sitter/tree-sitter-java
Cloning https://github.com/tree-sitter/tree-sitter-javascript
Cloning https://github.com/tree-sitter/tree-sitter-jsdoc
Cloning https://github.com/tree-sitter/tree-sitter-json
Cloning https://github.com/sourcegraph/tree-sitter-jsonnet
Cloning https://github.com/tree-sitter/tree-sitter-julia
Cloning https://github.com/tree-sitter-grammars/tree-sitter-kconfig
Cloning https://github.com/tree-sitter-grammars/tree-sitter-kdl
Cloning https://github.com/fwcd/tree-sitter-kotlin
Cloning https://github.com/latex-lsp/tree-sitter-latex
Cloning https://github.com/tree-sitter-grammars/tree-sitter-linkerscript
Cloning https://github.com/benwilliamgraham/tree-sitter-llvm
Cloning https://github.com/MunifTanjim/tree-sitter-lua
Cloning https://github.com/tree-sitter-grammars/tree-sitter-luadoc
Cloning https://github.com/tree-sitter-grammars/tree-sitter-luap
Cloning https://github.com/tree-sitter-grammars/tree-sitter-luau
Cloning https://github.com/krn-robin/tree-sitter-magik
Cloning https://github.com/alemuller/tree-sitter-make
Cloning https://github.com/tree-sitter-grammars/tree-sitter-markdown
Cloning https://github.com/tree-sitter-grammars/tree-sitter-markdown
Cloning https://github.com/acristoffers/tree-sitter-matlab
Cloning https://github.com/monaqa/tree-sitter-mermaid
Cloning https://github.com/Decodetalkers/tree-sitter-meson
Cloning https://github.com/Norgate-AV/tree-sitter-netlinx
Cloning https://github.com/alaviss/tree-sitter-nim
Cloning https://github.com/alemuller/tree-sitter-ninja
Cloning https://github.com/nix-community/tree-sitter-nix
Cloning https://github.com/tree-sitter-grammars/tree-sitter-nqc
Cloning https://github.com/tree-sitter-grammars/tree-sitter-objc
Cloning https://github.com/tree-sitter/tree-sitter-ocaml
Cloning https://github.com/tree-sitter/tree-sitter-ocaml
Cloning https://github.com/tree-sitter-grammars/tree-sitter-odin
Cloning https://github.com/milisims/tree-sitter-org
Cloning https://github.com/Isopod/tree-sitter-pascal
Cloning https://github.com/tree-sitter-grammars/tree-sitter-pem
Cloning https://github.com/tree-sitter-perl/tree-sitter-perl
Cloning https://github.com/rolandwalker/tree-sitter-pgn
Cloning https://github.com/tree-sitter/tree-sitter-php
Cloning https://github.com/tree-sitter-grammars/tree-sitter-po
Cloning https://github.com/tree-sitter-grammars/tree-sitter-pony
Cloning https://github.com/airbus-cert/tree-sitter-powershell
Cloning https://github.com/tree-sitter-grammars/tree-sitter-printf
Cloning https://github.com/LumaKernel/tree-sitter-prisma
Cloning https://github.com/tree-sitter-grammars/tree-sitter-properties
Cloning https://github.com/coder3101/tree-sitter-proto
Cloning https://github.com/amaanq/tree-sitter-csv
Cloning https://github.com/tree-sitter-grammars/tree-sitter-puppet
Cloning https://github.com/postsolar/tree-sitter-purescript
Cloning https://github.com/tree-sitter-grammars/tree-sitter-pymanifest
Cloning https://github.com/tree-sitter/tree-sitter-python
Cloning https://github.com/tree-sitter-grammars/tree-sitter-qmldir
Cloning https://github.com/yuja/tree-sitter-qmljs
Cloning https://github.com/tree-sitter-grammars/tree-sitter-query
Cloning https://github.com/r-lib/tree-sitter-r
Cloning https://github.com/6cdh/tree-sitter-racket
Cloning https://github.com/tree-sitter-grammars/tree-sitter-re2c
Cloning https://github.com/tree-sitter-grammars/tree-sitter-readline
Cloning https://github.com/FallenAngel97/tree-sitter-rego
Cloning https://github.com/tree-sitter-grammars/tree-sitter-requirements
Cloning https://github.com/tree-sitter-grammars/tree-sitter-ron
Cloning https://github.com/stsewd/tree-sitter-rst
Cloning https://github.com/tree-sitter/tree-sitter-ruby
Cloning https://github.com/tree-sitter/tree-sitter-rust
Cloning https://github.com/tree-sitter/tree-sitter-scala
Cloning https://github.com/6cdh/tree-sitter-scheme
Cloning https://github.com/tree-sitter-grammars/tree-sitter-scss
Cloning https://github.com/tree-sitter-grammars/tree-sitter-smali
Cloning https://github.com/indoorvivants/tree-sitter-smithy
Cloning https://github.com/JoranHonig/tree-sitter-solidity
Cloning https://github.com/GordianDziwis/tree-sitter-sparql
Cloning https://github.com/DerekStride/tree-sitter-sql
Cloning https://github.com/tree-sitter-grammars/tree-sitter-squirrel
Cloning https://github.com/tree-sitter-grammars/tree-sitter-starlark
Cloning https://github.com/Himujjal/tree-sitter-svelte
Cloning https://github.com/alex-pinkus/tree-sitter-swift
Cloning https://github.com/Flakebi/tree-sitter-tablegen
Cloning https://github.com/lewis6991/tree-sitter-tcl
Cloning https://github.com/tree-sitter-grammars/tree-sitter-hcl
Cloning https://github.com/tree-sitter-grammars/tree-sitter-test
Cloning https://github.com/tree-sitter-grammars/tree-sitter-thrift
Cloning https://github.com/tree-sitter-grammars/tree-sitter-toml
Cloning https://github.com/amaanq/tree-sitter-csv
Cloning https://github.com/tree-sitter/tree-sitter-typescript
Cloning https://github.com/gbprod/tree-sitter-twig
Cloning https://github.com/tree-sitter/tree-sitter-typescript
Cloning https://github.com/uben0/tree-sitter-typst
Cloning https://github.com/tree-sitter-grammars/tree-sitter-udev
Cloning https://github.com/tree-sitter-grammars/tree-sitter-ungrammar
Cloning https://github.com/tree-sitter-grammars/tree-sitter-uxntal
Cloning https://github.com/nedpals/tree-sitter-v
Cloning https://github.com/tree-sitter/tree-sitter-verilog
Cloning https://github.com/alemuller/tree-sitter-vhdl
Cloning https://github.com/tree-sitter-grammars/tree-sitter-vim
Cloning https://github.com/tree-sitter-grammars/tree-sitter-vue
Cloning https://github.com/szebniok/tree-sitter-wgsl
Cloning https://github.com/tree-sitter-grammars/tree-sitter-xcompose
Cloning https://github.com/tree-sitter-grammars/tree-sitter-xml
Cloning https://github.com/tree-sitter-grammars/tree-sitter-yuck
Cloning https://github.com/maxxnino/tree-sitter-zig
Cloned https://github.com/rush-rs/tree-sitter-asm successfully
Cloned https://github.com/amaanq/tree-sitter-csv successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-cpon successfully
Cloned https://github.com/latex-lsp/tree-sitter-bibtex successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-chatito successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-doxygen successfully
Cloned https://github.com/virchau13/tree-sitter-astro successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-func successfully
Cloned https://github.com/xlittlerag/tree-sitter-clarity successfully
Cloned https://github.com/Wilfred/tree-sitter-elisp successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-bicep successfully
Cloned https://github.com/ObserverOfTime/tree-sitter-gitattributes successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-capnp successfully
Cloned https://github.com/camdencheek/tree-sitter-dockerfile successfully
Cloned https://github.com/shunsambongi/tree-sitter-gitignore successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-go-sum successfully
Cloned https://github.com/camdencheek/tree-sitter-go-mod successfully
Cloned https://github.com/uyha/tree-sitter-cmake successfully
Cloned https://github.com/bkegley/tree-sitter-graphql successfully
Cloned https://github.com/stsewd/tree-sitter-comment successfully
Cloned https://github.com/tree-sitter/tree-sitter-css successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-gstlaunch successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-cairo successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-xml successfully
Cloned https://github.com/Decodetalkers/tree-sitter-groovy successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-hare successfully
Cloned https://github.com/Rileran/tree-sitter-actionscript successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-firrtl successfully
Cloned https://github.com/polarmutex/tree-sitter-beancount successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-gn successfully
Cloned https://github.com/justinmk/tree-sitter-ini successfully
Cloned https://github.com/phoenixframework/tree-sitter-heex successfully
Cloned https://github.com/ram02z/tree-sitter-fish successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-hyprlang successfully
Cloned https://github.com/tree-sitter/tree-sitter-html successfully
Cloned https://github.com/TravonteD/tree-sitter-fennel successfully
Cloned https://github.com/tree-sitter/tree-sitter-jsdoc successfully
Cloned https://github.com/tree-sitter/tree-sitter-json successfully
Cloned https://github.com/sourcegraph/tree-sitter-jsonnet successfully
Cloned https://github.com/GrayJack/tree-sitter-janet successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-kconfig successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-bitbake successfully
Cloned https://github.com/gbprod/tree-sitter-gitcommit successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-ispc successfully
Cloned https://github.com/WhatsApp/tree-sitter-erlang successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-kdl successfully
Cloned https://github.com/MichaHoffmann/tree-sitter-hcl successfully
Cloned https://github.com/PrestonKnopp/tree-sitter-gdscript successfully
Cloned https://github.com/vantreeseba/tree-sitter-haxe successfully
Cloned https://github.com/benwilliamgraham/tree-sitter-llvm successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-luadoc successfully
Cloned https://github.com/theHamsta/tree-sitter-glsl successfully
Cloned https://github.com/gleam-lang/tree-sitter-gleam successfully
Cloned https://github.com/MunifTanjim/tree-sitter-lua successfully
Cloned https://github.com/sogaiu/tree-sitter-clojure successfully
Cloned https://github.com/tree-sitter/tree-sitter-bash successfully
Cloned https://github.com/ObserverOfTime/tree-sitter-arduino successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-nqc successfully
Cloned https://github.com/aheber/tree-sitter-sfapex successfully
Cloned https://github.com/elixir-lang/tree-sitter-elixir successfully
Cloned https://github.com/nix-community/tree-sitter-nix successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-luau successfully
Cloned https://github.com/tree-sitter/tree-sitter-agda successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-luap successfully
Cloned https://github.com/briot/tree-sitter-ada successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-po successfully
Cloned https://github.com/acristoffers/tree-sitter-matlab successfully
Cloned https://github.com/alemuller/tree-sitter-ninja successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-pem successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-linkerscript successfully
Cloned https://github.com/Decodetalkers/tree-sitter-meson successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-properties successfully
Cloned https://github.com/slackhq/tree-sitter-hack successfully
Cloned https://github.com/milisims/tree-sitter-org successfully
Cloned https://github.com/coder3101/tree-sitter-proto successfully
Cloned https://github.com/Isopod/tree-sitter-pascal successfully
Cloned https://github.com/theHamsta/tree-sitter-hlsl successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-printf successfully
Cloned https://github.com/LumaKernel/tree-sitter-prisma successfully
Cloned https://github.com/airbus-cert/tree-sitter-powershell successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-pony successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-qmldir successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-objc successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-pymanifest successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-puppet successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-query successfully
Cloned https://github.com/alemuller/tree-sitter-make successfully
Cloned https://github.com/theHamsta/tree-sitter-commonlisp successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-readline successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-requirements successfully
Cloned https://github.com/amaanq/tree-sitter-csv successfully
Cloned https://github.com/tree-sitter-grammars/tree-sitter-re2c successfully
Traceback (most recent call last):
  File "/var/tmp/pamac-build-wurstkopf/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/scripts/clone_vendors.py", line 71, in clone_repository
    repo = await run_sync(partial(Repo.clone_from, **kwargs))  # type: ignore[arg-type]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/anyio/to_thread.py", line 56, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
    return await future
           ^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 967, in run
    result = context.run(func, *args)
  File "/usr/lib/python3.13/site-packages/git/repo/base.py", line 1541, in clone_from
    return cls._clone(
           ~~~~~~~~~~^
        git,
        ^^^^
    ...<7 lines>...
        **kwargs,
        ^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/git/repo/base.py", line 1412, in _clone
    finalize_process(proc, stderr=stderr)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/git/util.py", line 504, in finalize_process
    proc.wait(**kwargs)
    ~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/git/cmd.py", line 834, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --branch=split_parser -- https://github.com/tree-sitter-grammars/tree-sitter-markdown /var/tmp/pamac-build-wurstkopf/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/vendor/markdown_inline
  stderr: 'Cloning into '/var/tmp/pamac-build-wurstkopf/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/vendor/markdown_inline'...
fatal: unable to access 'https://github.com/tree-sitter-grammars/tree-sitter-markdown/': TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/var/tmp/pamac-build-wurstkopf/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/scripts/clone_vendors.py", line 205, in <module>
    asyncio.run(main())
    ~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.13/asyncio/runners.py", line 195, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/asyncio/base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/var/tmp/pamac-build-wurstkopf/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/scripts/clone_vendors.py", line 182, in main
    await asyncio.gather(
    ...<7 lines>...
    )
  File "/var/tmp/pamac-build-wurstkopf/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/scripts/clone_vendors.py", line 162, in process_repo
    await clone_repository(
    ...<4 lines>...
    )
  File "/var/tmp/pamac-build-wurstkopf/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/scripts/clone_vendors.py", line 77, in clone_repository
    raise RuntimeError(f"failed to clone repo {repo_url} error: {e}") from e
RuntimeError: failed to clone repo https://github.com/tree-sitter-grammars/tree-sitter-markdown error: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --branch=split_parser -- https://github.com/tree-sitter-grammars/tree-sitter-markdown /var/tmp/pamac-build-wurstkopf/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/vendor/markdown_inline
  stderr: 'Cloning into '/var/tmp/pamac-build-wurstkopf/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/vendor/markdown_inline'...
fatal: unable to access 'https://github.com/tree-sitter-grammars/tree-sitter-markdown/': TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
'
==> ERROR: A failure occurred in prepare().
    Aborting...


Building python-mixpanel...

Building python-pydub...

Building python-tree-sitter-language-pack...

I used yay instead of pamac.

yay -S aider-chat

keeps hanging at some check while building python-mcp

yay -S python-tree-sitter-language-pack

fails with this:

the last lines of output
Traceback (most recent call last):
  File "/home/jo/.cache/yay/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/scripts/clone_vendors.py", line 71, in clone_repository
    repo = await run_sync(partial(Repo.clone_from, **kwargs))  # type: ignore[arg-type]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/anyio/to_thread.py", line 56, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        func, args, abandon_on_cancel=abandon_on_cancel, limiter=limiter
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 2470, in run_sync_in_worker_thread
    return await future
           ^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 967, in run
    result = context.run(func, *args)
  File "/usr/lib/python3.13/site-packages/git/repo/base.py", line 1541, in clone_from
    return cls._clone(
           ~~~~~~~~~~^
        git,
        ^^^^
    ...<7 lines>...
        **kwargs,
        ^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.13/site-packages/git/repo/base.py", line 1412, in _clone
    finalize_process(proc, stderr=stderr)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/git/util.py", line 504, in finalize_process
    proc.wait(**kwargs)
    ~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/git/cmd.py", line 834, in wait
    raise GitCommandError(remove_password_if_present(self.args), status, errstr)
git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --branch=split_parser -- https://github.com/tree-sitter-grammars/tree-sitter-markdown /home/jo/.cache/yay/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/vendor/markdown
  stderr: 'Cloning into '/home/jo/.cache/yay/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/vendor/markdown'...
POST git-upload-pack (406 bytes)
POST git-upload-pack (gzip 1373 to 727 bytes)
error: inflate: data stream error (incorrect data check)
fatal: serious inflate inconsistency
fatal: fetch-pack: invalid index-pack output
'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/jo/.cache/yay/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/scripts/clone_vendors.py", line 205, in <module>
    asyncio.run(main())
    ~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.13/asyncio/runners.py", line 195, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/lib/python3.13/asyncio/base_events.py", line 719, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/home/jo/.cache/yay/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/scripts/clone_vendors.py", line 182, in main
    await asyncio.gather(
    ...<7 lines>...
    )
  File "/home/jo/.cache/yay/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/scripts/clone_vendors.py", line 162, in process_repo
    await clone_repository(
    ...<4 lines>...
    )
  File "/home/jo/.cache/yay/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/scripts/clone_vendors.py", line 77, in clone_repository
    raise RuntimeError(f"failed to clone repo {repo_url} error: {e}") from e
RuntimeError: failed to clone repo https://github.com/tree-sitter-grammars/tree-sitter-markdown error: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --branch=split_parser -- https://github.com/tree-sitter-grammars/tree-sitter-markdown /home/jo/.cache/yay/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/vendor/markdown
  stderr: 'Cloning into '/home/jo/.cache/yay/python-tree-sitter-language-pack/src/tree-sitter-language-pack-0.9.0/vendor/markdown'...
POST git-upload-pack (406 bytes)
POST git-upload-pack (gzip 1373 to 727 bytes)
error: inflate: data stream error (incorrect data check)
fatal: serious inflate inconsistency
fatal: fetch-pack: invalid index-pack output
'
==> FEHLER: Ein Fehler geschah in prepare().
    Breche ab...
 -> Fehler beim Erstellen: python-tree-sitter-language-pack-exit status 4
 -> Die folgenden Pakete konnten nicht installiert werden. Ein manueller Eingriff ist erforderlich:
python-tree-sitter-language-pack - exit status 4
[jo@je-standardpc ~]$

… something failed to download?
I don’t know.

Perhaps try to build with makepkg each package separately.

My VM runs on an older machine with only 4 GB of RAM assigned + 4 GB swap - but this does not appear to be the cause.

Thanks for your input!

Firstly, is this approach advisable? I am not to sure about deviating from the recommended package management on Manjaro. And, secondly, will it not run into the same problem when cloning all the github repos during the built?

Actually, even though the AUR is not officially supported in Manjaro, the recommended way of installing anything from the AUR is to inspect the PKGBUILD file first, and to then use makepkg to build and install the software.

The problem is with the cloning, or at least, with the cloning of one of the repositories by an AUR helper. So if push comes to shove, you can even use a web browser for downloading the source code if the cloning via git does not work.

2 Likes

Yes, it is.
It is in fact the only truly recommended way to use anything from AUR.

I do not know that - it is likely though.
Some github sources appear to be inaccessible or faulty … from what I can glean from the (included above) error message when trying to build.

And: the AUR expects to find a system with packages equivalent to what is an Arch Linux system - Manjaro stable branch is often not adequate.

2 Likes

Alright - I will give it a try this evening and report how it went :slight_smile: