<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/57213>57213</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Main fails to build on   `export called with target "clangdRemoteIndex" which requires target`
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            build-problem
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          sylvestre
      </td>
    </tr>
</table>

<pre>
    with stage2

```

-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
CMake Error: install(EXPORT "ClangTargets" ...) includes target "clangdRemoteIndex" which requires target "clangdRemoteIndexProto" that is not in any export set.
CMake Error: install(EXPORT "ClangTargets" ...) includes target "clangdRemoteIndex" which requires target "clangdRemoteIndexServiceProto" that is not in any export set.
CMake Error: install(EXPORT "ClangTargets" ...) includes target "clangdRemoteMarshalling" which requires target "clangdRemoteIndexProto" that is not in any export set.
CMake Error in /build/llvm-toolchain-snapshot-16~++20220818071835+ed342d9d2989/clang/cmake/modules/CMakeLists.txt:
  export called with target "clangdRemoteIndex" which requires target
  "clangdRemoteIndexProto" that is not in any export set.


CMake Error in /build/llvm-toolchain-snapshot-16~++20220818071835+ed342d9d2989/clang/cmake/modules/CMakeLists.txt:
  export called with target "clangdRemoteIndex" which requires target
  "clangdRemoteIndexServiceProto" that is not in any export set.


CMake Error in /build/llvm-toolchain-snapshot-16~++20220818071835+ed342d9d2989/clang/cmake/modules/CMakeLists.txt:
  export called with target "clangdRemoteMarshalling" which requires target
  "clangdRemoteIndexProto" that is not in any export set.


```

Full log:
https://llvm-jenkins.debian.net/job/llvm-toolchain-bullseye-binaries/architecture=amd64,distribution=bullseye,label=amd64/297/consoleFull

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzlll1vmzAUhn8N3FhBYAKBCy6yfGjTWrVqo2m7qox9Am6Nndmmbf79DrTJOm2aqu5D1SYhLNvHr9_z-JikNmJf3UnfEudZAzSIl0E8f3zn8ePzZHAyIedgt8Z2UjdkA86Tt_MPq6vLzWq-_HS1ODlbvH9-JMEg13MOzh0XLYzeyqa3wyphNDxMLE7ZDZCVtcYG6ZxIjX6VCmix-nh-drEhAaULxXSzYbYB77BLoigKaImhXPUCHPHj1BDJh0hxAZ3x8E4LuB_C71rJW2Lhcy_tz6PPrfFmWOJb5ol0RBtsNGF6T-B-Z6wnDnz0-oxfgr2VHF6H_1NmXYtSeM5_B_8QE9B13UslsFXqtpt4YxRvmdQTp9nOtcZPkjyYrQL6Bh8aUxoXSRHPkiLNcABEOqWiFLQsSpQYrQ1th5tg2xnRK0AG63HbE-m8i_y9R3APbsjBIMfEQZDx5r3keA9yv8zn6fs_ZPWSG_FPIHvO7fsjRfbDX5V1rxRRpjlm0nq_c0OPrg8sr0Hf4NcnElBLpiON_uj62tTfs65RzcEeJrXUzMqRGLO8lR647y0E6ZJ1Ip8GdCGQoZV176XROHxYGQzftBrU18g1LWfDURjtjILB74PREKokz_EU03hahqJKRZmWLPTSK6hO0Q3ZMqmQqCFjZRCjCRLN499V3Hkc9lZV3wJrUK6vI266RzoHSDtrrhECdqVz_Ugmm9EkDdtqypM0L0ugWTFLyhnnMU9zXpTZNkuSuk7CkYirggxrl47JDHK1AlSnQbYMZXWs6AJViyjNEzFNpumW03xWQhFMY-gQRzR4iYxtQluNtuq-cTipxoo-TjLnZKMBxi1Rn_W-NbZye3WL_yYshGMO1ZjAF21v2b4">