Re: Need help with packaging tree-sitter-verilog
On Thu, 17 Jul 2025 05:35, Aryan Karamtoth <aryankmmiv@outlook.com> wrote:
Hi James and Matthias,
I'm currently working on packaging tree-sitter-verilog [1] into debian
(ITP [2]) as one of my other ITPs needs it as a dependency.
I have created a salsa repo [3] in the tree-sitter namespace on Salsa
and I have the initial packaging done but I'm encountering some errors.
I used tree-sitter-asm [4] and tree-sitter-lua[5] as a reference for
writing my debian folder files.
I'm using sbuild to build my package and I'm encountering the following
errors:
aryan@aryan:~/Documents/tree sitter verilog
deb/tree-sitter-verilog-1.0.3$ sbuild
dpkg-buildpackage: info: source package tree-sitter-verilog
dpkg-buildpackage: info: source version 1.0.3-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Aryan Karamtoth
<aryankmmiv@outlook.com>
dpkg-checkbuilddeps: error: unmet build dependencies:
librust-tree-sitter-language-0.1+default-dev
librust-tree-sitter-0.25+default-dev (>= 0.25.0-~~) tree-sitter-cli (>=
0.25)
dpkg-buildpackage: error: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: hint: satisfy build dependencies with your package
manager frontend
E: Failed to clean source directory /home/aryan/Documents/tree sitter
verilog deb/tree-sitter-verilog-1.0.3 (/home/aryan/Documents/tree sitter
verilog deb/tree-sitter-verilog_1.0.3-1.dsc)
I: use sbuild --no-clean-source to skip the cleanup
I've tried downloading them from apt but apt cannot find
librust-tree-sitter-language and librust-tree-sitter. tree-sitter-cli
does install but its not the version that the package needs.
Hi,
no need to CC me or James as we are both subscribed to the list.
For above error use sbuild --no-clean-source or set it in your config:
https://codeberg.org/werdahias/graffe/src/branch/main/.config/sbuild/config.pl#L5
This just tells sbuild you are starting from a clean builddirectory.
best,
werdahias
Reply to: