Package is unreproducible due to date format
Task Info (Flyspray) | |
---|---|
Opened By | Iyan (iyanmv) |
Task ID | 80270 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Extra |
Version | None |
OS | All |
Opened | 2023-11-16 15:20:07 UTC |
Status | Assigned |
Assignee | Felix Yan (felixonmars) |
Details
Description:
zssh is almost reproducible thanks to the patch sent by kpcyrd two years ago 1.
The patch doesn't set up the timezone and locale, so the package is marked as unreproducible by archlinux-repro because, even though SOURCE_DATE_EPOCH is used correctly, the format differs: the current package in the mirrors embed the date in AM/PM format, while the one obtained using archlinux-repro is in 24h format.
I copy here the relevant part from the diffoscope output 2:
- 1.5c , built Fri May 7 07:53:27 PM UTC 2021
+ 1.5c , built Fri May 7 19:53:27 UTC 2021
I think this can be avoided following the recommendation from the R-B website 3. I attach my proposal as a diff of the latest commit.
Steps to reproduce:
curl -OL https://archive.archlinux.org/packages/z/zssh/zssh-1.5c-13-x86_64.pkg.tar.zst repro -d zssh-1.5c-13-x86_64.pkg.tar.zst