byte-compile fails for cross-builds

Open
#66,913 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Start by reviewing the dependency bpo-23968 and the listed patches: python_for_build_flag.patch, py_build_environ.patch, and py_build_environ_2.patch. Reproduce the cross-build byte-compilation failure, then verify that byte compilation completes successfully for the affected build configuration.

Written by the indexing model from the issue text.

Description

build
BPO 22724
Nosy @doko42, @ncoghlan, @xdegaye, @tpetazzoni, @andrew-aladev
Dependencies
  • bpo-23968: rename the platform directory from plat-$(MACHDEP) to plat-$(PLATFORM_TRIPLET)
  • Files
  • python_for_build_flag.patch
  • py_build_environ.patch
  • py_build_environ_2.patch: rebased to current tip
  • 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 2014-10-24.23:52:39.521>
    labels = ['build']
    title = 'byte-compile fails for cross-builds'
    updated_at = <Date 2020-01-24.20:12:01.692>
    user = 'https://bugs.python.org/BenediktMorbach'
    

    bugs.python.org fields:

    activity = <Date 2020-01-24.20:12:01.692>
    actor = 'xdegaye'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Cross-Build']
    creation = <Date 2014-10-24.23:52:39.521>
    creator = 'Benedikt.Morbach'
    dependencies = ['23968']
    files = ['43559', '43603', '43953']
    hgrepos = []
    issue_num = 22724
    keywords = ['patch']
    message_count = 11.0
    messages = ['229969', '229970', '267350', '269359', '269617', '269675', '271698', '276300', '360366', '360379', '360651']
    nosy_count = 7.0
    nosy_names = ['doko', 'ncoghlan', 'rpetrov', 'xdegaye', 'Benedikt.Morbach', 'thomas-petazzoni', 'puchenyaka']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue22724'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6']
    

    Dominant language
    Python
    Stars
    77.2k
    Forks
    36k
    Avg merge
    1d 9h
    Merged PRs (30d)
    558

    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.

    More from python/cpython

    All issues in python/cpython

    Similar issues

    More Python issues

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.