Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#70302 - [pythia8] Package is unreproducible due to embedded timestamp
Attached to Project:
Community Packages
Opened by Z. Ren (zren) - Monday, 05 April 2021, 15:47 GMT
Last edited by Konstantin Gizdov (kgizdov) - Tuesday, 06 April 2021, 11:02 GMT
Opened by Z. Ren (zren) - Monday, 05 April 2021, 15:47 GMT
Last edited by Konstantin Gizdov (kgizdov) - Tuesday, 06 April 2021, 11:02 GMT
|
DetailsHi!
While conducting a research in the spirit of the "reproducible builds" [1], we have noticed that the package pythia8 could not be built reproducibly, in that the output of the `date` command is captured and embedded (see the attached diff.json). According to the documentation [2], if we replace `date` with `date --date=@$SOURCE_DATE_EPOCH`, and setting the environment variable $SOURCE_DATE_EPOCH (e.g., from .BUILDINFO as in the tool repro[2]) for reproducibility validation, the unreproducible issue will be resolved. The attached patch does exactly this. Once applied, the package can be built reproducibly. Alternatively, for this package, simply removing `date` also works. Additional info: * pythia8 8.3.03-3 Steps to reproduce: The unreproducible build result could be detected with reprotest/repro [2]. [1]: https://wiki.debian.org/ReproducibleBuilds [2]: https://wiki.archlinux.org/index.php/DeveloperWiki:ReproducibleBuilds Best wishes |
This task depends upon
Closed by Konstantin Gizdov (kgizdov)
Tuesday, 06 April 2021, 11:02 GMT
Reason for closing: Implemented
Additional comments about closing: pythia8 8.3.03-4
Tuesday, 06 April 2021, 11:02 GMT
Reason for closing: Implemented
Additional comments about closing: pythia8 8.3.03-4
pythia8-reproducible.diff
[1] https://tests.reproducible-builds.org/archlinux/archlinux.html