Remote Toolchain Build Tool and Compiler Verification Fails

Hi I am working on an assignment that requires our programs build and run on my Uni's lab machines. I figured I would give the remote tool-chain a try. I am connected to one of the machines via ssh, and it can detect the cmake and gdb versions perfectly but when tries to verify the build tool, c compiler, or c++ compiler it fails. 

There are some slight oddities with the ssh connection which could be the cause, I connect to {username}@labs.cs.[uni].edu , from there it checks my ssh key (a gpg-keycard) and then performs a re-connection to {username}@(building and room)-(machine number).cs.[uni].edu where it checks the ssh key again. To make this work properly I have ForwardAgent yes and StrictHostKeyChecking no set in my root ssh_config (the user config doesn't work) for anything matching the domain pattern (you would not believe how long it took to get all that figured out). Other than that, the only weird thing about my setup is that I am using the AUR package rather than the official package from the website.

Here is the error: 

`mkdir "/tmp/cmake_check_environment15053140782116500427/_build7027111772775107311"` failed with exit code 1: stdout='', stderr='mkdir: cannot create directory '/tmp/cmake_check_environment15053140782116500427/_build7027111772775107311': No such file or directory'
com.pastdev.jsch.nio.file.UnixSshFileSystemProvider$UnixSshCommandFailedException: `mkdir "/tmp/cmake_check_environment15053140782116500427/_build7027111772775107311"` failed with exit code 1: stdout='', stderr='mkdir: cannot create directory '/tmp/cmake_check_environment15053140782116500427/_build7027111772775107311': No such file or directory'
    at com.pastdev.jsch.nio.file.UnixSshFileSystemProvider.createDirectory(UnixSshFileSystemProvider.java:185)
    at java.base/java.nio.file.Files.createDirectory(Files.java:699)
    at java.base/java.nio.file.TempFileHelper.create(TempFileHelper.java:134)
    at java.base/java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:171)
    at java.base/java.nio.file.Files.createTempDirectory(Files.java:976)
    at com.jetbrains.cidr.cpp.toolchains.CMakeBasedDevEnvironmentChecker.checkDevEnvironment(CMakeBasedDevEnvironmentChecker.kt:57)
    at com.jetbrains.cidr.cpp.toolchains.ui.CMakeToolsStateChecker.runInBackground(CMakeToolsStateChecker.kt:52)
    at com.jetbrains.cidr.cpp.toolchains.ui.CMakeToolsStateChecker.runInBackground(CMakeToolsStateChecker.kt:17)
    at com.jetbrains.cidr.cpp.toolchains.ui.ToolchainPanel$addChecker$runnable$1$run$1$backgroundFunction$1.invoke(ToolchainPanel.kt:721)
    at com.jetbrains.cidr.cpp.toolchains.ui.ToolchainPanel$addChecker$runnable$1$run$1$backgroundFunction$1.invoke(ToolchainPanel.kt:721)
    at com.jetbrains.cidr.cpp.toolchains.ui.ToolchainPanel$addChecker$runnable$1.run$lambda$2$lambda$0(ToolchainPanel.kt:722)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:660)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:735)
    at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:691)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:659)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:79)
    at com.jetbrains.cidr.cpp.toolchains.ui.ToolchainPanel$addChecker$runnable$1.run$lambda$2(ToolchainPanel.kt:722)
    at com.intellij.util.Alarm$Request.lambda$runSafely$0(Alarm.java:371)
    at com.intellij.util.concurrency.ChildContext$runAsCoroutine$1.invoke(propagation.kt:92)
    at com.intellij.util.concurrency.ChildContext$runAsCoroutine$1.invoke(propagation.kt:92)
    at com.intellij.util.concurrency.ChildContext.runAsCoroutine(propagation.kt:97)
    at com.intellij.util.concurrency.ChildContext.runAsCoroutine(propagation.kt:92)
    at com.intellij.util.Alarm$Request.lambda$runSafely$1(Alarm.java:369)
    at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:255)
    at com.intellij.util.Alarm$Request.runSafely(Alarm.java:368)
    at com.intellij.util.Alarm$Request.run(Alarm.java:356)
    at com.intellij.util.concurrency.Propagation.contextAwareCallable$lambda$2(propagation.kt:383)
    at com.intellij.concurrency.client.ClientIdPropagation.captureClientIdInCallable$lambda$5(ClientIdPropagation.kt:53)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
    at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:272)
    at com.intellij.concurrency.client.ClientIdPropagation.captureClientIdInRunnable$lambda$3(ClientIdPropagation.kt:43)
    at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:249)
    at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:30)
    at com.intellij.util.concurrency.BoundedTaskExecutor$1.executeFirstTaskAndHelpQueue(BoundedTaskExecutor.java:227)
    at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:218)
    at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:212)
    at com.intellij.concurrency.client.ClientIdPropagation.captureClientIdInRunnable$lambda$3(ClientIdPropagation.kt:43)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
    at java.base/java.lang.Thread.run(Thread.java:1583)
0

请先登录再写评论。