python / python/cpython

make regen-configure cannot be run in GH codespaces

Open
#148,812 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build infra type-bug
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Tools/build/regen-configure.sh and .devcontainer/devcontainer.json, then reproduce the failure in the Codespaces or Dev Container environment using the shown autoreconf command. Check the linked work in gh-148828 for the intended change; done means configure can be regenerated in Codespaces without the reported missing-tool failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github, python
Domain
build-system, cloud, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.