FS#80270 - [zssh] Package is unreproducible due to date format

Attached to Project: Arch Linux
Opened by Iyan (iyanmv) - Thursday, 16 November 2023, 15:20 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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


[1]: https://gitlab.archlinux.org/archlinux/packaging/packages/zssh/-/commit/287a2a4982de3c042baa84543f5f9e2eb7b2dca6
[2]: https://reproducible.archlinux.org/api/v0/builds/514070/diffoscope
[3]: https://reproducible-builds.org/docs/timezones/
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:21 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/zssh/issues/1

Loading...