Reproducibility terminology/definitions

Bernhard M. Wiedemann bernhardout at lsmod.de
Sun Nov 12 02:59:02 UTC 2023



On 08/11/2023 16.38, Pol Dellaiera wrote:

you define functions doing I/O as Impure functions.
But without I/O, no build output can be written, so all builds must use 
impure functions.


In practice we see non-determinism from approx 10 sources, such as 
documented in https://github.com/bmwiedemann/theunreproduciblepackage/

e.g.
https://github.com/bmwiedemann/theunreproduciblepackage/blob/master/race/race.2.sh

#!/bin/sh
racepart()
{
     input=$1
     sleep 0.1
     echo $input
}
for i in $(seq 1 10) ; do
     # & backgrounds the process to do parallel processing
     racepart $i &
done
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20231112/cad9a5b1/attachment.sig>


More information about the rb-general mailing list