FS#80271 - [fwupd] Remove timestamp to make package reproducible

Attached to Project: Arch Linux
Opened by Iyan (iyanmv) - Thursday, 16 November 2023, 19:12 GMT
Last edited by freswa (frederik) - Thursday, 16 November 2023, 21:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
freswa (frederik)
Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I keep following the r-b rabbit hole. It turns out fwupd is not reproducible solely because of a gzip generated using a Python script.

Relevant part of the diffoscope log [1]:

│ ├── usr/share/fwupd/quirks.d/builtin.quirk.gz
│ │ ├── filetype from file(1)
│ │ │ @@ -1 +1 @@
│ │ │ -gzip compressed data, was "builtin.quirk", last modified: Tue Nov 14 17:02:03 2023, max compression
│ │ │ +gzip compressed data, was "builtin.quirk", last modified: Tue Nov 14 17:10:24 2023, max compression

I have proposed a patch upstream [2] (more details there), and here I propose a PKGBUILD diff to quickly test that the new package is reproducible.

[1]: https://reproducible.archlinux.org/api/v0/builds/534033/diffoscope
[2]: https://github.com/fwupd/fwupd/pull/6388
This task depends upon

Closed by  freswa (frederik)
Thursday, 16 November 2023, 21:52 GMT
Reason for closing:  Deferred
Additional comments about closing:  Will be included in the next release.
Comment by freswa (frederik) - Thursday, 16 November 2023, 21:52 GMT
Thanks for looking into the reproducibility of fwupd! I see that your PR already got merged. Great!
I can confirm this makes the package reproducible, but we'll wait for the next release instead of forcing an update for all users just for this patch.

Loading...