Package Details: tree-sitter-cli-git 0.22.2.r22.g78b6067a-1

Git Clone URL: https://aur.archlinux.org/tree-sitter-cli-git.git (read-only, click to copy)
Package Base: tree-sitter-cli-git
Description: CLI tool for developing, testing, and using Tree-sitter parsers
Upstream URL: https://tree-sitter.github.io/tree-sitter/
Licenses: MIT
Conflicts: tree-sitter-cli
Provides: tree-sitter-cli
Submitter: Chocobo1
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 0
Popularity: 0.000000
First Submitted: 2024-01-28 08:11 (UTC)
Last Updated: 2024-04-02 12:01 (UTC)

Dependencies (3)

Required by (33)

Sources (1)

Latest Comments

Chocobo1 commented on 2024-04-02 12:04 (UTC)

hey Chocobo1 cool that you reached back out so quickly, thanks!

You're welcome.

i posted the build log to https://0x0.st/XzwF.log

I see. I adopted your suggestion of disabling lto.

lotta commented on 2024-04-02 09:29 (UTC) (edited on 2024-04-02 09:30 (UTC) by lotta)

hey Chocobo1 cool that you reached back out so quickly, thanks!

What was the error?

i posted the build log to https://0x0.st/XzwF.log

i got this cc failing to link error saying that basically all symbols in libtree-sitter where missing. when inspecting the shared object with gdb they were all present though. i then wrote a PKGBUILD passing the the -l /usr/lib/libtree-sitter.so to cargo install. and later also building the library and cli in the same PKGBUILD to rule out that some build artifacts where missing (and the cli build was somehow broken and referncing something local). the only other place that i knew to be able to explain the diff of 'i can build it but it fails inside the pkgbuild' was the makepkg.conf and that was the fix.

best regards

Chocobo1 commented on 2024-04-01 04:25 (UTC)

i ran into issues with this having lto set in my options. an easy fix is to just add options=(!lto) in the PKGBUILD maybe it would also be nice to add to this PKGBUILD for everyone.

What was the error?

lotta commented on 2024-03-31 22:55 (UTC)

i ran into issues with this having lto set in my options. an easy fix is to just add options=(!lto) in the PKGBUILD maybe it would also be nice to add to this PKGBUILD for everyone.