GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Race condition during installation in parallel builds · Issue #104692 · python/cpython

Race condition during installation in parallel builds #104692

New issue
Copy link
New issue
Copy link
Closed
Closed
Race condition during installation in parallel builds#104692
Copy link
Labels
buildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@jefferyto
jefferyto
opened on May 20, 2023
Issue body actions

Bug report

When running make -j install, it is possible for the python3 symlink to be installed before all standard library modules are installed. If an external program tries to run Python at this moment it can lead to an execution error.

We are getting sporadic build errors at OpenWrt (openwrt/packages#19241) and believe this to be the cause, that during the build for "host" Python (Python that runs on the buildbot), another package being built tries to run a script using this Python because the python3 symlink is in place.

Your environment

  • CPython versions tested on: 3.10
  • Operating system and architecture: Linux, not sure exactly which distribution

Linked PRs

  • gh-104692: Include commoninstall as a prerequisite for bininstall #104693
  • [3.12] gh-104692: Include commoninstall as a prerequisite for bininstall (GH-104693) #105428
  • [3.11] gh-104692: Include commoninstall as a prerequisite for bininstall (GH-104693) #105429

Activity

  1. jefferyto
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on May 20, 2023
  2. erlend-aasland
    added
    buildThe build process and cross-buildThe build process and cross-build
    on May 20, 2023
  3. jefferyto
    added 3 commits that reference this issue on May 20, 2023

    pythongh-104692: Include commoninstall as a prerequisite for bininstall

    3a09491

    pythongh-104692: Include commoninstall as a prerequisite for bininstall

    8859645

    pythongh-104692: Include commoninstall as a prerequisite for bininstall

    869cd18
  4. ambv
    added a commit that references this issue on Jun 7, 2023

    gh-104692: Include commoninstall as a prerequisite for bininstall (#1…

    990cb36
  5. jefferyto
    added 2 commits that reference this issue on Jun 7, 2023

    [3.12] pythongh-104692: Include commoninstall as a prerequisite for b…

    c4c7ffe

    [3.11] pythongh-104692: Include commoninstall as a prerequisite for b…

    94d5d97
  6. ambv
    added 2 commits that reference this issue on Jul 5, 2023

    [3.12] gh-104692: Include commoninstall as a prerequisite for bininst…

    2edec6a

    [3.11] gh-104692: Include commoninstall as a prerequisite for bininst…

    6c6a2a9
  7. jefferyto commented on Jul 6, 2023

    @jefferyto
    jefferyto
    on Jul 6, 2023
    ContributorAuthor
    More actions

    Fixes have been merged, closing.

  8. jefferyto
    closed this as completedon Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.