Projet

Général

Profil

Development #40454

lasso does not build reproducibly

Ajouté par Bernhard M. Wiedemann il y a environ 4 ans. Mis à jour il y a environ 4 ans.

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

0001-Sort-input-file-lists.patch (1,83 ko) 0001-Sort-input-file-lists.patch Bernhard M. Wiedemann, 05 mars 2020 12:13

Révisions associées

Révision 1b51873c (diff)
Ajouté par Bernhard M. Wiedemann il y a environ 4 ans

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 <>

Historique

#1

Mis à jour par Benjamin Dauvergne il y a environ 4 ans

  • Statut changé de Nouveau à Solution validée

Great, thanks.

#2

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>

Formats disponibles : Atom PDF