Your message dated Sun, 13 Feb 2022 07:49:03 +0000
with message-id <[email protected]>
and subject line Bug#1005197: fixed in pcmemtest 1.5-3
has caused the Debian Bug report #1005197,
regarding pcmemtest: please make the build partly reproducible
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1005197: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005197
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pcmemtest
Version: 1.5-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
pcmemtest could not be built reproducibly.
This is because the generated ISOs inherit the uid/gid of the build
process, as well as the modification times of (at least) floppy.img
Patch attached that modifies the two Makefiles involved, although this
does not make the ISOs entirely reproducible; there is another part
or parts of the image that elude me right now.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible-builds.patch 1969-12-31 16:00:00.000000000
-0800
--- b/debian/patches/reproducible-builds.patch 2022-02-08 12:03:57.320136181
-0800
@@ -0,0 +1,28 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2022-02-08
+
+--- pcmemtest-1.5.orig/build32/Makefile
++++ pcmemtest-1.5/build32/Makefile
+@@ -125,7 +125,8 @@ esp.img: memtest.efi
+ iso: memtest.mbr floppy.img esp.img
+ @mkdir -p iso/boot
+ cp floppy.img iso/boot/floppy.img
+- xorrisofs -pad -R -J -volid PCMemTest32 -graft-points -hide-rr-moved
--grub2-mbr memtest.mbr \
++ find iso -print0 | xargs -0r touch --date="@$(SOURCE_DATE_EPOCH)"
++ xorrisofs -uid 1000 -gid 1000 -pad -R -J -volid PCMemTest32
-graft-points -hide-rr-moved --grub2-mbr memtest.mbr \
+ -b /boot/floppy.img --efi-boot
--interval:appended_partition_2:all:: \
+ -part_like_isohybrid -iso_mbr_part_type 0x00
-append_partition 2 0xef ./esp.img \
+ -o ./memtest.iso /boot=./iso/boot
+--- pcmemtest-1.5.orig/build64/Makefile
++++ pcmemtest-1.5/build64/Makefile
+@@ -124,7 +124,8 @@ esp.img: memtest.efi
+ memtest.iso: memtest.mbr floppy.img esp.img
+ @mkdir -p iso/boot
+ cp floppy.img iso/boot/floppy.img
+- xorrisofs -pad -R -J -volid PCMemTest64 -graft-points -hide-rr-moved
--grub2-mbr memtest.mbr \
++ find iso -print0 | xargs -0r touch --date="@$(SOURCE_DATE_EPOCH)"
++ xorrisofs -uid 1000 -gid 1000 -pad -R -J -volid PCMemTest64
-graft-points -hide-rr-moved --grub2-mbr memtest.mbr \
+ -b /boot/floppy.img --efi-boot
--interval:appended_partition_2:all:: \
+ -part_like_isohybrid -iso_mbr_part_type 0x00
-append_partition 2 0xef ./esp.img \
+ -o ./memtest.iso /boot=./iso/boot
--- a/debian/patches/series 1969-12-31 16:00:00.000000000 -0800
--- b/debian/patches/series 2022-02-08 11:50:45.010064249 -0800
@@ -0,0 +1 @@
+reproducible-builds.patch
--- End Message ---
--- Begin Message ---
Source: pcmemtest
Source-Version: 1.5-3
Done: Felix Zielcke <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pcmemtest, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Felix Zielcke <[email protected]> (supplier of updated pcmemtest package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 13 Feb 2022 08:20:34 +0100
Source: pcmemtest
Architecture: source
Version: 1.5-3
Distribution: unstable
Urgency: medium
Maintainer: Felix Zielcke <[email protected]>
Changed-By: Felix Zielcke <[email protected]>
Closes: 1005197
Changes:
pcmemtest (1.5-3) unstable; urgency=medium
.
* Make builds reproducible. Thanks Chris Lamb and Thomas Schmitt
for the patch and help. (Closes: #1005197)
Checksums-Sha1:
54b365eafdd4d292d54b7e7e02b988166c5b34a7 1909 pcmemtest_1.5-3.dsc
9d08f5d6d584ee8181a7252f8815e2dd2539c3fd 3896 pcmemtest_1.5-3.debian.tar.xz
c1596651bb1b62405f99fe4290a1613e17cedf4a 6414 pcmemtest_1.5-3_source.buildinfo
Checksums-Sha256:
8002ad55e1be08e4875bd130679ccdccf39dbf721b6ed3d8df4e60d5f1c924e1 1909
pcmemtest_1.5-3.dsc
e07d78caaecdc1fba23d8ad0a1b47fe39a4c2c63dad73b5475d5e2c1bec486c7 3896
pcmemtest_1.5-3.debian.tar.xz
99126d4e96d9bd059f8761e86fbb2c1102e4c381bd4301e870ba781af581f434 6414
pcmemtest_1.5-3_source.buildinfo
Files:
0c7e44716431876d5e527cc9cdd804a7 1909 misc optional pcmemtest_1.5-3.dsc
45fee2eb2e85704e3c8dd9a467313e09 3896 misc optional
pcmemtest_1.5-3.debian.tar.xz
09efb0bcfcac088e47e8639a9de788a1 6414 misc optional
pcmemtest_1.5-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEELWhd1OC7vVICuRd3t225//C2vx8FAmIIsX4ACgkQt225//C2
vx89aA/+McRKhnrNTPIwoaLaQkmafTDZfF8mtldS/RL2dHaFBWd5ApSm7MxVfpZX
fN0RcMXRn81TWIHdxJMYW7NDzDw2bvAMiwsRlkINIjq951DeB+7Pl0AEdCzKHndT
6eDscWHSihwR+UR0TN5aY90htn8JF7nW/IIq7O3Afzz6OmNDcbiSQx1+eF9Ky9HQ
IZNtxWY65jdTdyP6ic0Cpjn2FIwFDCJTyYAfDkQrySoEo8wraBF+WqNzd97dp5b1
LB0KrWsvy6KACEv+6kPvAjureoRgoBhbhCrN/JoQEmsaJKkiNRqzXRr3K8CRqRG4
RmIDsxolF22Ves5umESDkZjEhcTQ423Eq0SQQSDT+dXqNzcj8Pwwn6XrAu2WTHwe
3JeV4/5qWx/9doVm8mDqOCQ8nJb7rCkuO1mdP999hF+CpCwoNc3Z8gxxg/DoJTCe
6Qn470QGxiG0ZaDwlbkcddxUR2IbxsfHwMU64v6O3WbgR/04c0wbOHvkHxq9QZbX
z2ZOyikgMsNrH/WbEKzHRimEhys1mdJMxev2T36UMx5IacRPb1ud9wNUIMmW6nP8
dMBNfGnz55uktNAxl2HWYgxm2wvG9qcBRRKlxdtCvp3d3z1F9sD7VSQqgoyHgGFQ
2R6qSogpALC7y5FWcOpSuI11b3CW6+rrcHetmhxTdrYNfwDCQnQ=
=FN6n
-----END PGP SIGNATURE-----
--- End Message ---