FS#70332 - [sweethome3d] Package is unreproducible due to the timestamp embedded in .jar file
Attached to Project:
Community Packages
Opened by Z. Ren (zren) - Wednesday, 07 April 2021, 11:13 GMT
Last edited by Muflone (muflone) - Thursday, 15 April 2021, 21:43 GMT
Opened by Z. Ren (zren) - Wednesday, 07 April 2021, 11:13 GMT
Last edited by Muflone (muflone) - Thursday, 15 April 2021, 21:43 GMT
|
Details
Hi!
While conducting a research in the spirit of the "reproducible builds" [1], we have noticed that the package sweethome3d could not be built reproducibly, in that timestamp will be embedded when jar file(s) are generated (see attached diff.json). According to the documentation [2], applying strip-nondeterminism will strip non-deterministic information such as timestamps and filesystem ordering. The attached patch does exactly this. Once applied, the package can be built reproducibly. Additional info: * sweethome3d 6.5-1 Steps to reproduce: The unreproducible build result could be detected with reprotest [3]. [1]: https://reproducible-builds.org [2]: https://reproducible-builds.org/docs/archives/#post-processing [3]: https://wiki.archlinux.org/index.php/DeveloperWiki:ReproducibleBuilds Best wishes |
This task depends upon
Closed by Muflone (muflone)
Thursday, 15 April 2021, 21:43 GMT
Reason for closing: Fixed
Additional comments about closing: patch applied in 6.5-2
Thursday, 15 April 2021, 21:43 GMT
Reason for closing: Fixed
Additional comments about closing: patch applied in 6.5-2