CMake build using v0.1.86 fails: abseil pin ce2e0bc is broken ("Target "absl_strings" links to itself")

オープン 初心者向け
#306 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cmake, cpp
領域
build-system

調査の方向性

abseil のコミットは third_party/abseil_cpp/workspace.bzl で固定されており、変更すべきはこのファイルです。固定されているコミット ce2e0bc が abseil の修正 d21659a5af より前であることを確認し、そのうえで固定先を、この修正と同じかそれより後のコミットに更新してください。v0.1.86 をまっさらな状態から CMake で構成したときに、"absl_strings links to itself" エラーなしで generate の段階を通過すれば完了です。

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

説明

The CMake (FetchContent / bazel_to_cmake) build of tensorstore v0.1.86 is failing for me at the CMake generate step. Observed with CMake 4.4.4 / MSVC (VS2026) / Ninja Multi-Config on Windows.

The abseil-cpp commit pinned in third_party/abseil_cpp/workspace.bzl comes from a time where abseil's own CMake build was broken. tensorstore master currently pins the same commit, so it is affected too.

The abseil issue is https://github.com/abseil/abseil-cpp/issues/2091 . Abseil fixed this upstream on 2026-07-01 in commit d21659a5af ("Fix CMake target absl_strings so that it does not link to itself").

Since this is fixed in abseil, perhaps tensorstore could just pin a commit after the fix went in.

主要言語
C++
スター
1.6k
フォーク
150
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

google/tensorstore のほかの issue

google/tensorstore の issue をすべて見る

似ている issue

C++ の issue をもっと見る

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

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