<div dir="ltr">Here's a patch against `snapshot` that works for me. (Unfortunately I can't log into salsa - my account needs to be approved by someone).<div><br></div><div>It builds with GRPC support if the available version is acceptable (the one I tested with - we've seen bugs with old library versions).</div><div>The resulting clangd packages have the right dependencies, and it doesn't add any dependencies to clang/other packages.</div><div><br></div><div>The main problem is that due to Build-Depends if there's no grpc++-dev package at all available (unusual arch or old distro?) then it will fail to build entirely. Ideally we'd just build without remote index instead, but I don't know the right way to set Build-Depends to achieve that.</div><div><br></div><div>What do I do next :-)<br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 27, 2022 at 11:09 PM Sam McCall <<a href="mailto:sammccall@google.com">sammccall@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 27 Jan 2022, 18:48 Sylvestre Ledru, <<a href="mailto:sylvestre@mozilla.com" rel="noreferrer" target="_blank">sylvestre@mozilla.com</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> I'm happy to work on this any way I can, but don't know Debian packaging and I'd need some pointers on where to start. Alternatively I can provide any info you need.<br>
><br>
Packaging can be found here:<br>
<a href="https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/tree/12/debian" rel="noreferrer noreferrer noreferrer" target="_blank">https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/tree/12/debian</a><br>
<br>
<a href="https://apt.llvm.org/building-pkgs.php" rel="noreferrer noreferrer noreferrer" target="_blank">https://apt.llvm.org/building-pkgs.php</a><br>
should be more or less up to update :)<br>
<br>
Should be easy for the most recent versions of Debian & Ubuntu.<br></blockquote></div></div><div dir="auto">Thanks, let me give it a try!</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The main issue would be for old version of Debian & Ubuntu with these<br>
new deps (mostly impacts <a href="http://apt.llvm.org" rel="noreferrer noreferrer noreferrer" target="_blank">apt.llvm.org</a> for old distro but this can be<br>
disabled )<br></blockquote></div></div><div dir="auto">Right, my main worry is I'll make some naive assumptions and break some configuration I'm not aware of. If I manage to send a merge request, it should be treated skeptically!</div><div dir="auto"><br></div><div dir="auto">I guess it helps somewhat that grpc is stuck on the same version back to bullseye :-)</div><div dir="auto"><br></div><div dir="auto">Cheers, Sam</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
</blockquote></div></div></div>
</blockquote></div>