Your message dated Sat, 26 Mar 2022 12:49:52 +0000
with message-id <[email protected]>
and subject line Bug#1005197: fixed in pcmemtest 1.5-4
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-4
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: Sat, 26 Mar 2022 13:26:56 +0100
Source: pcmemtest
Architecture: source
Version: 1.5-4
Distribution: unstable
Urgency: medium
Maintainer: Felix Zielcke <[email protected]>
Changed-By: Felix Zielcke <[email protected]>
Closes: 1005197
Changes:
pcmemtest (1.5-4) unstable; urgency=medium
.
* Install README.md
* Update reproducible-builds patch to export TZ=UTC. Now it's really
fully reproducible. (Closes: #1005197)
Checksums-Sha1:
579d4562b994119f0d6254fbf382eaaf5d668f44 1909 pcmemtest_1.5-4.dsc
1a338aefdee82656f57c39df16cf43978bbdca52 4032 pcmemtest_1.5-4.debian.tar.xz
4ae2ee65f28512f7e6c4e48ce0d264d4577e6ce9 6550 pcmemtest_1.5-4_source.buildinfo
Checksums-Sha256:
80739e8e602fb81d9119e05919036beb8adad61faf52ae3e57d0a7e263261783 1909
pcmemtest_1.5-4.dsc
9efb570655357b41ceadd693e8e00ae94131529ff56b998027a130ea016bd91c 4032
pcmemtest_1.5-4.debian.tar.xz
f294934217e6fd0fb7fede0dc89cfbb204112116f64d4886a976e1328ef491b1 6550
pcmemtest_1.5-4_source.buildinfo
Files:
3fe46973772af0d005d5fc2105bc8e9d 1909 misc optional pcmemtest_1.5-4.dsc
0f7d8b9a6248e91244c6f491f2b8e5b7 4032 misc optional
pcmemtest_1.5-4.debian.tar.xz
6982a41cc847b90f148a21f870d87621 6550 misc optional
pcmemtest_1.5-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEELWhd1OC7vVICuRd3t225//C2vx8FAmI/BroACgkQt225//C2
vx/b5A//ZOPdQs1qAf9LS/qPXWWK00nf20hP3Gtozi6GWp08v6Czre4z7m4GZca3
9f02c74oPWsQBpLzQPghXBdaGH0kgCTKp8jD+HhEewvaBaCj9Gq20wwtelmqZHng
sBZFaxdl/i9gYCahxQs9hIV3lQKLqA1d2nztNKTUUg8JU0NMg5qMblJOZbC5e3sR
A79khFePYr/AI181MO9UimtRO2hTJ6W1EetDZfoWjb4EnHDGsozf9n96+d6x4N+3
6hXM+mNlRACGEnm+kNcDNZUph3DiFK31h6jHBKUy3VwE0YGkq5Wt4XDq8j7qv/17
KnFO/ff/YZDhWs1sFQZAhwn12wvVyRG0TGb/ys5OtMCm4q3p0js335SMEZ5YO93o
qvCt7Uq5rvQangpw64vLRm582TK1U1q+RplRjr7AASVvo2FFAhq/+uEkX/4nUnMJ
60hNnG+NME4iedGOtdQVC6HrAm5cCMyJki0Gau6+CMKa/akujomO0dmOkoMJLiXb
FRWpma88QpAqc4uRwYn8pbTqnUNlEncFgfaUem+a+aMr2DalBR4xq8gXJnBylRNn
NYGCeEcO0eEQ9gw3hLQQwNBY2+ldQbjyzNnUSdL7F5nyJe2hKcw6E2YwDy9n7vlI
TbaCEHeG0BloZUpYWXo74AoEw/mYP1T0lpt9Waq6CYTKJFmz8pA=
=a27f
-----END PGP SIGNATURE-----
--- End Message ---