sysconfig --generate-posix-vars creates wrong file when cross compiling
Open
Nobody has claimed this yet.
3.11
build
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 45909 |
|---|---|
| Nosy | @tiran, @moreati, @ethanhs |
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 2021-11-27.12:05:59.850>
labels = ['type-bug', 'build', '3.11']
title = 'sysconfig --generate-posix-vars creates wrong file when cross compiling'
updated_at = <Date 2021-11-27.19:03:41.450>
user = 'https://github.com/tiran'
bugs.python.org fields:
activity = <Date 2021-11-27.19:03:41.450>
actor = 'christian.heimes'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Build', 'Cross-Build']
creation = <Date 2021-11-27.12:05:59.850>
creator = 'christian.heimes'
dependencies = []
files = []
hgrepos = []
issue_num = 45909
keywords = []
message_count = 2.0
messages = ['407141', '407163']
nosy_count = 3.0
nosy_names = ['christian.heimes', 'Alex.Willmer', 'ethan smith']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45909'
versions = ['Python 3.11']
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the sysconfig --generate-posix-vars command in a cross-compiling setup and inspect which generated file is produced. Trace the sysconfig build entry point and compare the generated file with the expected cross-compilation output. Done means the command consistently creates the correct file without breaking native builds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100