Subject: bug#35283: closed (Re: bug#35283: ISO images are not reproducible)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 20 Apr 2019 22:58:02 +0000

Your bug report

#35283: ISO images are not reproducible

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
35283: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35283
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#35283: ISO images are not reproducible
From: Ludovic Courtès <[email-masked]>
To: "Thomas Schmitt" <[email-masked]>
Cc: [email-masked], [email-masked], [email-masked]
Date: Sun, 21 Apr 2019 00:57:19 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Thomas,

"Thomas Schmitt" <[email-masked]> skribis:

> If you want a fixed time for all three timestamps in all files, do:
>
>   -volume_date all_file_dates ="$SOURCE_DATE_EPOCH"

Thanks, that’s what I was missing.

It was still not the end of the story, but I have some good news: the
series of commits below allow me to build ISO images reproducibly!  \o/

  1b0b1651b1 gnu: mtools: 'mformat' initializes boot sector before writing it.
  5502fbd7fd gnu: valgrind: Add 3.15.0.
  605815023c vm: Use a fixed FAT serial number for 'efi.img' in ISO images.
  52b5fe5bcf gnu: grub: 'grub-mkrescue' honors 'GRUB_FAT_SERIAL_NUMBER'.
  6901b9248e vm: Reset file timestamps of the EFI image in ISO images.
  833480cc1f vm: Reset file timestamps in ISO images.

To check by yourself you can do, say:

  guix system disk-image --file-system-type=iso9660 \
     gnu/system/examples/bare-bones.tmpl

and then check the ISO derivation that was built as the last step above:

  guix build --check -K /gnu/store/…-image.iso.drv

Ludo’.

Subject: ISO images are not reproducible
From: Ludovic Courtès <[email-masked]>
To: Bug Guix <[email-masked]>
Cc: "\"pelzflorian \(Florian Pelz\)\"" <[email-masked]>
Date: Mon, 15 Apr 2019 09:46:37 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

As noted by Florian in <https://issues.guix.info/issue/33639>, images
created by ‘guix system disk-image --file-system-type=iso9660’ are not
bit-reproducible.

Ludo’.