Makefile always regenerates `build-details.json`
Open
Nobody has claimed this yet.
build
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
The Makefile target that generates build-details.json has an incorrect target so it's re-run for every action. The generated file is in:
`cat pybuilddir.txt`/build-details.json
For example, on my machine that evaluates to:
build/lib.linux-x86_64-3.14/build-details.json
Linked PRs
- gh-131558
- gh-131761
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 at lines 939-940 of Makefile.pre.in and inspect how the target path is derived from pybuilddir.txt. Reproduce a build action that regenerates build-details.json unnecessarily, then verify that repeated actions no longer rerun that target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100