Package: librust-tree-sitter-dev
Version: 0.22.6-8
User: [email protected]
Usertags: cross-satisfiability
Control: affects -1 + src:hx src:sdml src:tree-sitter-c src:tree-sitter-lua 
src:tree-sitter-markdown src:tree-sitter-query src:tree-sitter-sdml 
src:tree-sitter-vim src:tree-sitter-vimdoc src:turtlefmt

The affected packages cannot be cross built from source, because they 
have unsatisfied cross Build-Depends. Since rustc is a multitarget 
compiler, they all depend on the build architecture rust compiler in one 
way or another. librust-tree-sitter-dev has a dependency on "rustc". 
This implicitly refers to the host architecture compiler. In a cross 
compilation setting, we're unable to execute that and in all of the 
cases at hand, it poses an unresolvable conflict with the build 
architecture compiler.

I'm not sure why there is a rustc dependency here. It is versioned, so 
maybe the version is the important part. Generally though rust crates do 
not depend on a compiler much like C libraries do not depend on a C 
compiler. For instance, the rust compiler package may be named rustc-web 
as is happening in some suites. We also don't impose a minimum gccrs 
version. Can we drop the compiler dependency?  Failing that, can we turn 
it into Breaks: rustc (<< 1.65)? Failing that, can we annotate it with 
:any?

Thanks for considering

Helmut

Reply via email to