On 17/07/25 09:05, Aryan Karamtoth wrote:
Ok I fixed those apt errors and got as far as initially running sbuild but then I encountered some issues with dh_auto_cleanHi 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$ sbuilddpkg-buildpackage: info: source package tree-sitter-verilog dpkg-buildpackage: info: source version 1.0.3-1 dpkg-buildpackage: info: source distribution unstabledpkg-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 cleanupI'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.How do I proceed from here? I'm using Debian 13 trixie RC2 btw. [1] https://github.com/tree-sitter/tree-sitter-verilog [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109316 [3] https://salsa.debian.org/tree-sitter-team/tree-sitter-verilog [4] https://salsa.debian.org/tree-sitter-team/tree-sitter-asm [5] https://salsa.debian.org/tree-sitter-team/tree-sitter-lua
dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean dh_auto_clean --buildsystem=rustdh_auto_clean: error: Failed to resolve crate "tree-sitter-verilog-0.24.0" in cargo metadata for virtual library package "librust-tree-sitter-verilog-dev".
make: *** [debian/rules:9: clean] Error 25dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
Any advice on this? You can check my work on salsa [1] [1] https://salsa.debian.org/tree-sitter-team/tree-sitter-verilog -- Regards, Aryan Karamtoth Debian Contributor IRC: SpaciousCoder78 GPG Fingerprint: 7A7D 9308 2BD1 9BAF A83B 7E34 FE90 07B8 ED64 0421
Attachment:
OpenPGP_0xFE9007B8ED640421.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature