@Chocobo1 Hey, the reason the build fails is that with this commit 2 years ago they removed the generated tree-sitter-latex.h entirely. However, they forgot to remove this line in the Makefile which tries to install the now removed file. Removing that line works.
I've used this patch to the PKGBUILD to remove the problematic line from the Makefile. You can also re-enable the tests, they will run fine like that.
I have also opened a PR upstream with this fix, see here
Edit: Oh btw, tree-sitter-latex-git kept working because their PKGBUILD doesn't use make install but rather installs individual files itself. But that way it avoided running into this particular issue. Either way, make install with the problematic line removed is a preferable solution.
Pinned Comments
Chocobo1 commented on 2025-03-22 08:26 (UTC)
Seems upstream messed it up. It is better to report it to them: https://github.com/latex-lsp/tree-sitter-latex/issues