Skip to content

Replace container images to packages from cpython-devcontainers #124612

Activity

  1. self-assigned this
    on Sep 26, 2024
  2. added 3 commits that reference this issue on Sep 26, 2024
  3. added a commit that references this issue on Oct 9, 2024
  4. moved this from Todo to Done in Sprinton Oct 9, 2024
  5. added a commit that references this issue on Oct 9, 2024
  6. efimov-mikhail commented on Oct 11, 2024

    @efimov-mikhail
    Member

    @corona10, FYI:

    I can't use ``regen-configure.sh``` script "as-is":

    -> % Tools/build/regen-configure.sh
    + IMAGE=ghcr.io/python/autoconf:2024.10.06.11200919239
    + AUTORECONF='autoreconf -ivf -Werror'
    + WORK_DIR=/src
    +++ dirname Tools/build/regen-configure.sh
    ++ cd Tools/build/../..
    ++ pwd
    + abs_srcdir=/home/mikhail.efimov/projects/cpython
    + podman --version
    + docker --version
    + RUNTIME=docker
    + PATH_OPT=
    + command -v selinuxenabled
    + selinuxenabled
    + docker run --rm -v /home/mikhail.efimov/projects/cpython:/src ghcr.io/python/autoconf:2024.10.06.11200919239
    Rebuilding configure script using /usr/local/bin/autoconf: This script requires a shell more modern than all
    autoreconf: export WARNINGS=error
    autoreconf: Entering directory '.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force 
    autoreconf: configure.ac: tracing
    autoreconf: error: /usr/local/bin/autoconf failed with exit status: 1
    

    But this docker command helps me:

    -> % docker run --rm -v /home/mikhail.efimov/projects/cpython:/src ghcr.io/python/autoconf:2024.10.06.11200919239 /usr/bin/bash -c "CONFIG_SHELL=/bin/bash  autoreconf -ivf -Werror"
    autoreconf: export WARNINGS=error
    autoreconf: Entering directory '.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force 
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: configure.ac: not using Intltool
    autoreconf: configure.ac: not using Gtkdoc
    autoreconf: running: /usr/local/bin/autoconf --force
    autoreconf: running: /usr/local/bin/autoheader --force
    autoreconf: configure.ac: not using Automake
    autoreconf: Leaving directory '.'
    

    Maybe you can pass environment value CONFIG_SHELL=/bin/bash to the container?

  7. corona10 commented on Oct 11, 2024

    @corona10
    MemberAuthor

    Would you like to submit the patch to https://github.com/python/cpython-devcontainers ?

  8. efimov-mikhail commented on Oct 11, 2024

    @efimov-mikhail
    Member

    Of course, I will make a PR to this repo.

    Edit:
    See python/cpython-devcontainers#19

  9. added 2 commits that reference this issue on Oct 11, 2024
  10. added 2 commits that reference this issue on Oct 30, 2024
  11. added 2 commits that reference this issue on Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions