This is a draft/discussion for a spec in development. Some code and other notes are here: https://github.com/infinity0/rb-prefix-map/tree/master/consume
This is a standard that defines an environment variable BUILD_PATH_PREFIX_MAP that distributions can set centrally, and have build tools consume this in order to produce reproducible output.
Before implementing this, you should scan through our checklist to see if you can avoid implementing it.
TODO: the actual proposal
Contents
Proposal
Please read our (TODO specification) for details.
See Standard Environment Variables for more detailed discussion of the rationales behind this mechanism.
Below we also have more detailed discussion about this specific variable, as well as documentation on history and alternative proposals.
Setting the variable
FIXME
Reading the variable
FIXME
More detailed discussion
(See Standard Environment Variables for general arguments.)
Comparison to SOURCE_DATE_EPOCH
FIXME
History and alternative proposals
FIXME: stuff about --fdebug-prefix-map, DW_AT_producer, etc.
Footnotes: