Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[BUG] devcontainer failing to compile cmake test program

オープン
#1,399 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
cmake, cpp

調査の方向性

devcontainer.json の設定から始め、レポートに示されている初期の CMake コンパイラーチェックを再現します。SCCACHE 環境変数を削除した場合の動作と比較します。devcontainer が sccache サーバーの認証情報を持たないユーザー向けに設定を完了できるか、または制限事項と回避策が明確に記録されていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

I'm planning to suggest a small change around the tbbexec and its base pool.

First I wanted to try out my idea, how it would look like, in the stdexec environment. So, I've loaded the devcontainer but the compiler failed during the first cmake step, when the compiler is checked:

[1/2] /usr/bin/sccache /usr/bin/clang++    -MD -MT CMakeFiles/cmTC_0ee0d.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_0ee0d.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_0ee0d.dir/testCXXCompiler.cxx.o -c /home/coder/stdexec/build/CMakeFiles/CMakeScratch/TryCompile-pUMJrB/testCXXCompiler.cxx
[cmake]     FAILED: CMakeFiles/cmTC_0ee0d.dir/testCXXCompiler.cxx.o 
[cmake]     /usr/bin/sccache /usr/bin/clang++    -MD -MT CMakeFiles/cmTC_0ee0d.dir/testCXXCompiler.cxx.o -MF CMakeFiles/cmTC_0ee0d.dir/testCXXCompiler.cxx.o.d -o CMakeFiles/cmTC_0ee0d.dir/testCXXCompiler.cxx.o -c /home/coder/stdexec/build/CMakeFiles/CMakeScratch/TryCompile-pUMJrB/testCXXCompiler.cxx
[cmake]     sccache: error: Server startup failed: cache storage failed to read: PermissionDenied (permanent) at stat => no valid credential found and anonymous access is not allowed
[cmake]     

The issue is around the sccache usage and authentication. I've found a similar issue with the cccl library. Thus, I've removed the SCCACHE environment variables from the devcontainer.json. It solved the issue.

I wouldn't like to suggest to create a new devcontainer setup for users who has no access to the sccache servers, rather to close this issue as a known issue and with the workarounds, to help others to find a solution.

What do you think? Do you have maybe a better solution for the issue?

主要言語
C++
スター
2.4k
フォーク
270
平均マージ
2日 17時間
マージ済み PR(30日)
37

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/stdexec のほかの issue

NVIDIA/stdexec の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。