<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello</p>
    <p>I pushed your change, I will test it a bit and upload it in
      Debian once it is ok!</p>
    <p>The workaround when packages aren't available is to use the " |
      hello " trick. The resolver will pick "hello" as package instead
      of failing on the unavailable package</p>
    <p>I have an ugly script to quickly verify all the options of clang
      & co</p>
    <p><a class="moz-txt-link-freetext" href="https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/blob/12/debian/qualify-clang.sh">https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/blob/12/debian/qualify-clang.sh</a></p>
    <p>clangd is tested</p>
    <p><a class="moz-txt-link-freetext" href="https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/blob/12/debian/qualify-clang.sh#L119">https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/-/blob/12/debian/qualify-clang.sh#L119</a></p>
    <p>is there a way to do the same with GRPC support?</p>
    <p>I am also testing clangd in</p>
    <p><a class="moz-txt-link-freetext" href="https://github.com/opencollab/llvm-toolchain-integration-test-suite/blob/main/tests/test_clangd.txt">https://github.com/opencollab/llvm-toolchain-integration-test-suite/blob/main/tests/test_clangd.txt</a></p>
    <p>Cheers,<br>
    </p>
    <p>S</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 29/01/2022 à 03:47, Sam McCall a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+sYUsLLvw5kaAS3OAUaTfzSM6nbyb2f_v+hpmd7nEXMix-4yA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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"
            moz-do-not-send="true" class="moz-txt-link-freetext">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" moz-do-not-send="true"
                    class="moz-txt-link-freetext">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" moz-do-not-send="true"
                    class="moz-txt-link-freetext">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" moz-do-not-send="true"
                    class="moz-txt-link-freetext">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"
                    moz-do-not-send="true">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>
    </blockquote>
  </body>
</html>