python / python/cpython

'make install' fails when the configure 'prefix' is '/' and DESTDIR is used

Open
#75,297 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3.10 3.11 3.12 build type-bug
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 31114
Nosy @pitrou, @vadmium, @moreati
PRs
  • python/cpython#4172
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2017-08-03.17:40:40.135>
    labels = ['type-bug', '3.7', 'build']
    title = "'make install' fails when the configure 'prefix' is '/' and DESTDIR is used"
    updated_at = <Date 2019-12-10.12:01:16.245>
    user = 'https://github.com/xdegaye'
    

    bugs.python.org fields:

    activity = <Date 2019-12-10.12:01:16.245>
    actor = 'xdegaye'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Cross-Build']
    creation = <Date 2017-08-03.17:40:40.135>
    creator = 'xdegaye'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31114
    keywords = ['patch']
    message_count = 5.0
    messages = ['299718', '299779', '305218', '305221', '305248']
    nosy_count = 3.0
    nosy_names = ['pitrou', 'martin.panter', 'Alex.Willmer']
    pr_nums = ['4172']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue31114'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7']
    

    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 by reproducing the reported make install failure with configure prefix / and a DESTDIR set, using the build configuration referenced by the issue. Review the existing patch discussion and PR #4172, then verify that installation succeeds in this configuration without regressing normal installs.

    Written by the indexing model from the issue text.

    Assessment

    Tech stack
    python
    Domain
    build-system
    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.