build-details.json should be installed to different locations for nondebug/debug builds and have distinct base_interpreter values #131372
Labels
build
The build process and cross-build
topic-installation
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
In Fedora, we build Python in 4 variants: debug, optimized, freethreading-debug and freethreading. For all of them builds the
base_interpreter
value stored in the filebuild-details.json
is the same:I suspect it should reflect the build type and contain the applicable suffix(es):
d
,t
,td
.Because of this line, when we run Python's test suite on an installed python3-debug, the test fails, as you can see e.g. here: https://artifacts.dev.testing-farm.io/0ac8ab69-ed5f-4602-9c01-8c13293aa9b6/
Another issue is that in both cases, the debug and non-debug files are installed to the same location, resulting in a single rewritten file. In case of our sequential build of 4 Pythons, we end up with just two files. Should they be stored in distinct locations for each build instead?
CPython versions tested on:
3.14
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: