make regen-configure cannot be run in GH codespaces
未關閉
還沒有人認領這個 Issue。
build
infra
type-bug
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- PR 合併指標
- PR 指標待擷取
描述
While tackling https://github.com/python/cpython/issues/148810 and after modifying the configure.ac, I attempted to run the provided Tools/build/regen-configure.sh. With neither podman nor docker preinstalled with the Dev Container as specified in .devcontainer/devcontainer.json, regenerating the configure file in Codespaces is impossible.
Also, manually running autoreconf -ivf -Werror yielded the following:
autoreconf: export WARNINGS=error
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 299.
autoreconf: error: aclocal failed with exit status: 2
Linked PRs
- gh-148828
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先從 Tools/build/regen-configure.sh 和 .devcontainer/devcontainer.json 開始,然後使用所示的 autoreconf 命令在 Codespaces 或 Dev Container 環境中重現失敗。檢查 gh-148828 中連結的工作以了解預期的變更;當 configure 可以在 Codespaces 中重新產生,且不再出現所回報的缺少工具錯誤時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- docker, github, python
- 領域
- build-system, cloud, devops
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100