[Buildroot] [PATCH v2 1/5] autobuild-run: use different output directories for reproducible builds testing

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Aug 11 13:39:35 UTC 2019


On Sat, 10 Aug 2019 09:28:58 +0530
Atharva Lele <itsatharva at gmail.com> wrote:

> Having different output directories increases variation in the build.
> 
> This commit also changes the directory name of the single output directory to
> "output-1", as having varied length names for output directories introduces a
> lot of reproducibility issues.
> 
> Official Debian efforts also currently use same length names for different
> directories: "/build/1st/$pkg-$ver" and "/build/$pkg-$ver/2nd"
> Cfr: https://tests.reproducible-builds.org/debian/index_variations.html
> 
> Reproducible-Builds has proposed a spec called BUILD_PATH_PREFIX_MAP to help
> with this. However, that is still in the works and not fully solved yet.
> (As told on the #reproducible-builds IRC).
> 
> So I think until further work is done on BUILD_PATH_PREFIX_MAP, we will have
> to stay with output directories of same length.
> 
> See: https://wiki.debian.org/ReproducibleBuilds/GCC-build-path and
> https://reproducible-builds.org/specs/build-path-prefix-map/
> 
> Signed-off-by: Atharva Lele <itsatharva at gmail.com>
> ---
> Changes v1 -> v2:
>   - Added more details in commit log (suggested by Thomas)
> ---
>  scripts/autobuild-run | 22 +++++++++++++---------
>  1 file changed, 13 insertions(+), 9 deletions(-)

Applied to buildroot-test, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list