bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56893: rust-vergen inserts build timestamps, possible irreproducibil


From: Maxime Devos
Subject: bug#56893: rust-vergen inserts build timestamps, possible irreproducibility source
Date: Tue, 2 Aug 2022 18:57:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

While fixing build failures in antioxidant, I noticed that rust-vergen is a potential source of irreproducibility -- the README.md contains the following:

## Documentation
[Documentation](https://docs.rs/vergen)

## Generate Compile Time Information
`vergen`, when used in conjunction with cargo [build scripts], will
generate environment variables to use with the `env!` macro. Below
is a list of the supported variables.

Key                       | Sample Value
--------------------------|----------------------------------------
VERGEN_BUILD_TIMESTAMP    |2018-08-09T15:15:57.282334589+00:000
VERGEN_BUILD_DATE         |2018-08-09
VERGEN_SHA |75b390dc6c05a6a4aa2791cc7b3934591803bc22
VERGEN_SHA_SHORT          |75b390d
VERGEN_COMMIT_DATE        |2018-08-08
VERGEN_TARGET_TRIPLE      |x86_64-unknown-linux-gnu
VERGEN_SEMVER             |v3.0.0
VERGEN_SEMVER_LIGHTWEIGHT |v3.0.0
I'll try patching out the timestamps with 1970-...

Greetings,
Maxime.


Attachment: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]