Development #40454
lasso does not build reproducibly
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
Binding python
Version cible:
-
Début:
05 mars 2020
Echéance:
% réalisé:
50%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
While working on reproducible builds for openSUSE, I found that
our lasso package varied from nondeterministic filesystem readdir order
in lasso/types.c , lasso.py and liblasso.so.3.13.0
See https://reproducible-builds.org/ for why this matters.
Please review/test/merge the attached patch.
Fichiers
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a environ 4 ans
- Statut changé de Nouveau à Solution validée
Great, thanks.
Mis à jour par Benjamin Dauvergne il y a environ 4 ans
- Statut changé de Solution validée à Fermé
commit 1b51873ccfccf9dde981ef4aecba7656bad4056b Author: Bernhard M. Wiedemann <bwiedemann@suse.de> Date: Tue Mar 3 11:31:56 2020 +0100 Sort input file lists (#40454) so that lasso.py, lasso/types.c and liblasso.so.3.13.0 build reproducibly in spite of indeterministic filesystem readdir order. For some reason, lasso/extract_sections.py lasso/extract_symbols.py do not need such patches to get a reproducible openSUSE package. See https://reproducible-builds.org/ for why this is good. This patch was done while working on reproducible builds for openSUSE. License: MIT Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
Sort input file lists (#40454)
so that lasso.py, lasso/types.c and liblasso.so.3.13.0
build reproducibly
in spite of indeterministic filesystem readdir order.
For some reason, lasso/extract_sections.py lasso/extract_symbols.py
do not need such patches to get a reproducible openSUSE package.
See https://reproducible-builds.org/ for why this is good.
This patch was done while working on reproducible builds for openSUSE.
License: MIT
Signed-off-by: Bernhard M. Wiedemann <bwiedemann@suse.de>