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
Task Type Bug Report
Category Reproducible Builds
Status Closed
Assigned To Muflone (muflone)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Loading...