node_repositories in WORKSPACE missing linux_ppc64le and linux_s390x entries for Node.js 18.20.8

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

メンテナーはふだん 1 日以内に返信

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
92/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
node.js

調査の方向性

WORKSPACE ファイルを開き、Node.js 18.20.8 の既存の node_repositories エントリを調べてから、指定されたファイル名、プレフィックス、SHA256 値を公式の SHASUMS256.txt と照合します。linux_ppc64le と linux_s390x が rules_nodejs 5.8.1 で解決され、報告されていた Bazel プラットフォームエラーが発生しなくなれば完了です。

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

説明

Body:

## Summary

TensorBoard 2.21.0 manually specifies Node.js 18.20.8 binary SHAs via `node_repositories()` in the WORKSPACE file, but only includes entries for five platforms: `darwin_arm64`, `darwin_amd64`, `linux_arm64`, `linux_amd64`, and `windows_amd64`.

The `linux_ppc64le` and `linux_s390x` entries are missing, even though Node.js 18.20.8 publishes official binaries for both at https://nodejs.org/dist/v18.20.8/.

## Error

Building TensorBoard 2.21.0 from source on ppc64le (or s390x) with Bazel fails:

ERROR: No nodejs is available for linux_ppc64le at version 18.20.8


## Suggested Fix

Add the missing entries to `node_repositories` in the WORKSPACE:

```python
"18.20.8-linux_ppc64le": ("node-v18.20.8-linux-ppc64le.tar.xz", "node-v18.20.8-linux-ppc64le", "57fde85b5f8e6b3c5d45e48a82dbd28f1d2dde816b0da2b5fc250c1a63ea49e6"),
"18.20.8-linux_s390x": ("node-v18.20.8-linux-s390x.tar.xz", "node-v18.20.8-linux-s390x", "35c81e08d26e25598e47dc4d1755f6bc0be802457a2f5bf775ead2ffccb73e89"),

SHA256 checksums from official SHASUMS256.txt.

Context

  • rules_nodejs added ppc64le/s390x support in bazelbuild/rules_nodejs#3574 (Oct 2022)
  • TensorBoard 2.20.0 used rules_nodejs 5.7.x which had built-in Node.js tables including these platforms
  • TensorBoard 2.21.0 switched to 5.8.1 with a manual node_repositories dict that inadvertently dropped ppc64le/s390x

Environment

  • TensorBoard: 2.21.0
  • Bazel: 7.6.1
  • Platform: linux_ppc64le (also affects linux_s390x)
  • rules_nodejs: 5.8.1
主要言語
TypeScript
スター
7.2k
フォーク
1.7k
平均マージ
1日 13時間
マージ済み PR(30日)
3

環境構築

はじめの一歩

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

tensorflow/tensorboard のほかの issue

tensorflow/tensorboard の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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