Acknowledgement sent
to Reiner Herrmann <reiner@reiner-h.de>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>.
(Fri, 10 Apr 2015 11:27:06 GMT) (full text, mbox, link).
Source: mylvmbackup
Version: 0.15-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-CC: reproducible-builds@lists.alioth.debian.org
Hi!
While working on Debian's “reproducible builds” effort [1], we have
noticed that mylvmbackup doesn't build reproducibly.
It embeds the current date into the mylvmbackup script.
The attached patch fixes this by using the last changelog date
as a timestamp that will be embedded.
Regards,
Reiner
[1]: https://wiki.debian.org/ReproducibleBuilds
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>: Bug#782318; Package src:mylvmbackup.
(Thu, 22 Sep 2022 17:27:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>.
(Thu, 22 Sep 2022 17:27:06 GMT) (full text, mbox, link).
Control: tags 782318 pending
On 2015-04-10, Reiner Herrmann wrote:
> While working on Debian's “reproducible builds” effort [1], we have
> noticed that mylvmbackup doesn't build reproducibly.
> It embeds the current date into the mylvmbackup script.
>
> The attached patch fixes this by using the last changelog date
> as a timestamp that will be embedded.
Uploaded an NMU fixing this to DELAYED/10 with a slightly updated patch
using SOURCE_DATE_EPOCH:
diff -Nru mylvmbackup-0.15/debian/changelog mylvmbackup-0.15/debian/changelog
--- mylvmbackup-0.15/debian/changelog 2022-04-21 06:42:15.000000000 -0700
+++ mylvmbackup-0.15/debian/changelog 2022-09-22 10:11:19.000000000 -0700
@@ -1,3 +1,11 @@
+mylvmbackup (0.15-1.3) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * debian/rules: Use SOURCE_DATE_EPOCH to set consistent build
+ date. (Closes: #782318)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org> Thu, 22 Sep 2022 10:11:19 -0700
+
mylvmbackup (0.15-1.2) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru mylvmbackup-0.15/debian/rules mylvmbackup-0.15/debian/rules
--- mylvmbackup-0.15/debian/rules 2014-05-22 10:27:25.000000000 -0700
+++ mylvmbackup-0.15/debian/rules 2022-09-22 10:11:19.000000000 -0700
@@ -3,9 +3,15 @@
export DH_VERBOSE=1
export DH_OPTIONS=-v
+# Use consistent date for reproducible builds
+BUILDDATE=$(shell date -u "+%Y-%m-%d" -d "@$(SOURCE_DATE_EPOCH)")
+
%:
dh $@
+override_dh_auto_build:
+ dh_auto_build -- BUILDDATE=$(BUILDDATE)
+
override_dh_auto_install:
dh_auto_install -- prefix=/usr
live well,
vagrant
Added tag(s) pending.
Request was from Vagrant Cascadian <vagrant@reproducible-builds.org>
to 782318-submit@bugs.debian.org.
(Thu, 22 Sep 2022 17:27:06 GMT) (full text, mbox, link).
Reply sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility.
(Sun, 02 Oct 2022 18:27:03 GMT) (full text, mbox, link).
Notification sent
to Reiner Herrmann <reiner@reiner-h.de>:
Bug acknowledged by developer.
(Sun, 02 Oct 2022 18:27:03 GMT) (full text, mbox, link).
Subject: Bug#782318: fixed in mylvmbackup 0.15-1.3
Date: Sun, 02 Oct 2022 18:23:49 +0000
Source: mylvmbackup
Source-Version: 0.15-1.3
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
We believe that the bug you reported is fixed in the latest version of
mylvmbackup, 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 782318@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated mylvmbackup 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 22 Sep 2022 10:11:19 -0700
Source: mylvmbackup
Architecture: source
Version: 0.15-1.3
Distribution: unstable
Urgency: medium
Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 782318
Changes:
mylvmbackup (0.15-1.3) unstable; urgency=medium
.
* Non-maintainer upload.
* debian/rules: Use SOURCE_DATE_EPOCH to set consistent build
date. (Closes: #782318)
Checksums-Sha1:
396ef3bfd6daa46b61bf9b65c8ed9cc9eda55fa7 1539 mylvmbackup_0.15-1.3.dsc
01ede39c879fe74150409c44c6ad6c4de578cabf 4836 mylvmbackup_0.15-1.3.debian.tar.xz
Checksums-Sha256:
e09a85fde9ad318f4e919d02cce28a2ade644f32e5427ab79bc957aa1108c12f 1539 mylvmbackup_0.15-1.3.dsc
b3d92cc3f714225b2cf4ba0a10c10fb4f089cdc42875923f49b83671219aa761 4836 mylvmbackup_0.15-1.3.debian.tar.xz
Files:
67a01a1aa9c778a706f3817c3274abde 1539 misc extra mylvmbackup_0.15-1.3.dsc
6b5c81908c68bda660e68ee95eb89462 4836 misc extra mylvmbackup_0.15-1.3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYyyZlSAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqhnaAQC1XgnDCJYhH3vX
MYaEMvYwpMIeYjm1X/mG58jfoopLTgD/aAHJAoTRONum+212h6Df19UcR+W6EY8f
wgtHrNkHoAw=
=cT5h
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 05 Nov 2022 07:25:55 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.