emacs-tree-sitter/tree-sitter-langs

Loading failing for `tree-sitter-langs`

meain opened this issue · 8 comments

meain commented

Loading tree-sitter-langs fails as of now with an error like below, this is because the release is having some issues. I am looking into what might be going on, but documenting it here in case someone else runs into this issue. You can switch to an older version to fix this, 388dcbb is a good commit.

tree-sitter-langs: Installing grammar bundle v0.12.10 (was v0.10.2)
Contacting host: github.com:443
Wrote /home/meain/dev/src/tree-sitter-langs/bin/tree-sitter-grammars.x86_64-unknown-linux-gnu.v0.12.10.tar.gz
[tree-sitter-langs] Running (tar -xvzf tree-sitter-grammars.x86_64-unknown-linux-gnu.v0.12.10.tar.gz) in /home/meain/dev/src/tree-sitter-langs/bin/
Configuring package avy...done
Configuring package scroll-on-drag...done

gzip: stdin: not in gzip format
/nix/store/l1qk6wapdkzj4q1dfiqv5vw479bsy0sw-gnutar-1.34/bin/tar: Child returned status 1
/nix/store/l1qk6wapdkzj4q1dfiqv5vw479bsy0sw-gnutar-1.34/bin/tar: Error is not recoverable: exiting now

Error running timer ‘require’: (error "Eager macro-expansion failure: (error \"Error calling (tar -xvzf tree-sitter-grammars.x86_64-unknown-linux-gnu.v0.12.10.tar.gz), exit code is 2\")")
meain commented

The release seems to be failing as the signature for package-build--package changed from what cask is using as of now

There are breaking changes, see melpa/package-build#68

Allow me to bring up another alternative Eask (I'm the author of this tool), it's very similar to Cask but with better cross-platform capability.

Hope it's worth mentioning. 😅

meain commented

I have pushed a "fix" for this at ubolonton/cask#3 . Eask look interesting, but I kinda don't wanna touch the CI if we can avoid it.

Hi @ubolonton ! Could you push a patch version to Melpa stable or even any commit so that we have a new version on Melpa unstable? Still can´t enable this here as it breaks on the tar command as listed above.

Thanks for your work on this!

meain commented

Hey @victorolinasc , sorry about it still being broken. The CI still fails on Perl grammar. Have to resolve this before we can make a release out.
#159

ooops! Thanks @meain :)

meain commented

@victorolinasc A new release is now out and it should be back to working.