Embedded version strings causes non-deterministic builds #3480
Labels
arch-linux
packaging
question
tech-debt
Needs refactoring and improvement tasks related to the source code and its architecture.
Just going through our repositories and ensuring all packages are deterministic/reproducible when I came across an issue with timescaledb. Some background on reproducible builds.
The project seems to hardcode some strings at compile-time, as shown below:
timescaledb/src/config.h.in
Lines 10 to 13 in eace5ea
Here's the plain-text output showing where the package fails reproducibility. If you don't want to read the output (I don't blame you, it can be a bit verbose); the packages are shown to be non-reproducible when compiled on a different kernel version, which happens on a regular basis with Arch Linux.
Is there any particular reason why the full kernel version needs to be hardcoded in the binary?
The text was updated successfully, but these errors were encountered: