Solaris support is broken on 1.29.2
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
The settings-file lock logic in rustup fails on Solaris now that lock() was removed from the Rust standard library (rust-lang/rust#157509). Start by finding where the settings.toml file lock is taken and study the Cargo workaround in rust-lang/cargo#17110 for an alternative locking approach. 'Done' means rustup installs successfully on Solaris 11.4 as in the linked libc CI run, verified by reproducing the installer flow there. Needs platform/file-locking familiarity, so better for someone with Solaris or systems-rust experience than a true first issue.
索引モデルが issue の本文から書いたものです。
説明
Verification
- I searched for recent similar issues at https://github.com/rust-lang/rustup/issues?q=is%3Aissue and found no duplicates.
- I am on the latest version of Rustup according to https://github.com/rust-lang/rustup/tags and am still able to reproduce my issue.
Problem
Rustup v1.29.2 is broken atm, like:
+ curl --proto '=https' --tlsv1.2 -sSf --retry 5 https://sh.rustup.rs/
info: downloading installer
error: could not write settings file: '/root/.rustup/settings.toml': lock() not supported
Full CI log: https://github.com/rust-lang/libc/actions/runs/40071179099/job/120805372981
This is because https://github.com/rust-lang/rust/pull/157509 removed lock().
Steps
- run rustup on Solaris
Possible Solution(s)
We need to implement alternative way.
Prior art on Cargo: https://github.com/rust-lang/cargo/pull/17110
Notes
No response
Rustup version
v1.29.2
Installed toolchains
No info as it was caught on CI but it should happen on all the toolchains anyway.
OS version
Solaris 11.4-gcc
- 主要言語
- Rust
- スター
- 7.1k
- フォーク
- 1.1k
- 平均マージ
- 16時間 28分
- マージ済み PR(30日)
- 36
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
rust-lang/rustup のほかの issue
-
enhancement O-shell
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
release
難易度 4/5 1〜2日 初心者へのやさしさ 20/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 54/100
rust-lang/rustup#5151 · コメント 7 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
rust-lang/rustup#5149 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Wrong completions when using the `+toolchain` syntax対応中かも @14elias が 3 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
rust-lang/rustup#5144 · コメント 2 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
rust-lang/rustup の issue をすべて見る
似ている issue
-
area:io kernel-paused needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
bherbruck/solvecraft#7854 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
transit-audio/transit#159 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
HakanSeven12/OpenCADStudio#2257 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: low ui
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
storytold/photocraft#9884 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
triage: new type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
Jagalite/superseedr#376 ·
メンテナーはふだん 1 日以内に返信