Errors with Clion Remote Compile

Please provide

  • Operating system:
    Windows 10 (Host with IDE)
    Oracle Linux Server release 8.10 (Remote build)
  • SonarLint plugin version:
    10.11.1.79663
  • Programming language you’re coding in:
    C++
  • Is connected mode used:
    • Yes

When analyzing a file it reports “No analysis done” and there are several errors in the Log:

[2024-10-11T12:01:05.636] [SonarLint Server RPC request executor] ERROR sonarlint - Cannot access blame info for dragen3
java.lang.IllegalStateException: GitRepo is a bare repository

[2024-10-11T12:01:05.679] [sonarlint-analysis-engine] ERROR sonarlint - Error executing sensor: ‘CFamily’
java.lang.IllegalStateException: java.io.IOException: Cannot run program “C:\opt\gcc\gcc-11.2.0\bin\g++” (in directory “C:\projects\dragen3\cmake-build-release.”): CreateProcess error=2, The system cannot find the file specified

[2024-10-11T12:01:05.738] [sonarlint-analysis-engine] ERROR org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task
java.util.concurrent.CompletionException: org.sonarsource.sonarlint.core.serverconnection.storage.StorageException: Failed to read file: C:\Users\eroller\AppData\Local\JetBrains\CLion2023.2\sonarlint\storage\494c4d4e20536f6e617271756265\projects\636f6d2e696c6d6e3a64726167656e\project_branches.pb

Hi,

This is, unfortunately, a known issue. And - again unfortunately - only one of the two tickets we created for this have been fixed.

 
Ann