Fail `lock_shared() not supported` on termux
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by reproducing the failure with rustup toolchain list in Termux after rustup self update; the issue gives the error and the settings file contents but names no source file or test. Trace how rustup reads ~/.rustup/settings.toml and handles shared file locks on Termux, then identify or add coverage for that path. Done when toolchain listing no longer fails with lock_shared() not supported.
索引モデルが issue の本文から書いたものです。
説明
$ rustup -h
rustup 1.25.2 (17db695f1 2023-02-01)
The Rust toolchain installer
USAGE:
rustup [FLAGS] [+toolchain] <SUBCOMMAND>
FLAGS:
-v, --verbose Enable verbose output
-q, --quiet Disable progress output
-h, --help Prints help information
-V, --version Prints version information
ARGS:
<+toolchain> release channel (e.g. +stable) or custom toolchain to set override
SUBCOMMANDS:
show Show the active and installed toolchains or profiles
update Update Rust toolchains and rustup
check Check for updates to Rust toolchains and rustup
default Set the default toolchain
toolchain Modify or query the installed toolchains
target Modify a toolchain's supported targets
component Modify a toolchain's installed components
override Modify directory toolchain overrides
run Run a command with an environment configured for a given toolchain
which Display which binary will be run for a given command
doc Open the documentation for the current toolchain
man View the man page for a given command
self Modify the rustup installation
set Alter rustup settings
completions Generate tab-completion scripts for your shell
help Prints this message or the help of the given subcommand(s)
DISCUSSION:
Rustup installs The Rust Programming Language from the official
release channels, enabling you to easily switch between stable,
beta, and nightly compilers and keep them updated. It makes
cross-compiling simpler with binary builds of the standard library
for common platforms.
If you are new to Rust consider running `rustup doc --book` to
learn Rust.
$ rustup toolchain list
no installed toolchains
$ which rustup
/data/data/com.termux/files/home/.cargo/bin/rustup
$ rustup self update
info: checking for self-updates
info: downloading self-update
rustup updated - 1.29.1 (from 1.25.2)
$ rustup toolchain list
error: could not read settings file: '/data/data/com.termux/files/home/.rustup/settings.toml': lock_shared() not supported
$ vi ~/.rustup/
settings.toml tmp/ update-hashes/
$ vi ~/.rustup/settings.toml
$ cat ~/.rustup/settings.toml
profile = "default"
version = "12"
[overrides]
$
@rustbot label +bug
- 主要言語
- 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 日以内に返信
-
Solaris support is broken on 1.29.2対応中かも @ChrisDenton が 2 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
rust-lang/rustup#5164 · コメント 2 件 ·
メンテナーはふだん 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 日以内に返信