Debian Bug report logs -
#824501
cclive: please make the build reproducible (timestamps)
Reported by: Alexis Bienvenüe <pado@passoire.fr>
Date: Mon, 16 May 2016 19:06:02 UTC
Severity: wishlist
Tags: patch, upstream
Found in version cclive/0.9.3-0.1
Fixed in version cclive/0.9.3-0.3
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Alejandro Garrido Mota <alejandro@debian.org>:
Bug#824501; Package src:cclive.
(Mon, 16 May 2016 19:06:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Alexis Bienvenüe <pado@passoire.fr>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Alejandro Garrido Mota <alejandro@debian.org>.
(Mon, 16 May 2016 19:06:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: cclive
Version: 0.9.3-0.1
Severity: wishlist
Tags: patch upstream
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Dear Maintainer,
While working on the `reproducible builds' effort [1], we have noticed
that 'cclive' could not be built reproducibly.
The attached patch honours the SOURCE_DATE_EPOCH environment
variable [2] to get a reproducible build date from the last
debian changelog entry.
Once applied, cclive can be built reproducibly in our current
experimental framework.
Regards,
Alexis Bienvenüe.
[1]: https://wiki.debian.org/ReproducibleBuilds
[2]: https://reproducible-builds.org/specs/source-date-epoch/
[honour-SOURCE_DATE_EPOCH.diff (text/x-patch, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Alejandro Garrido Mota <alejandro@debian.org>:
Bug#824501; Package src:cclive.
(Thu, 22 Sep 2022 20:21:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Alejandro Garrido Mota <alejandro@debian.org>.
(Thu, 22 Sep 2022 20:21:02 GMT) (full text, mbox, link).
Message #10 received at 824501@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: tags 824501 pending
On 2016-05-16, Alexis Bienvenüe wrote:
> While working on the `reproducible builds' effort [1], we have noticed
> that 'cclive' could not be built reproducibly.
>
> The attached patch honours the SOURCE_DATE_EPOCH environment
> variable [2] to get a reproducible build date from the last
> debian changelog entry.
> Once applied, cclive can be built reproducibly in our current
> experimental framework.
I have uploaded an NMU to DELAYED/10 applying this fix.
diff -Nru cclive-0.9.3/debian/changelog cclive-0.9.3/debian/changelog
--- cclive-0.9.3/debian/changelog 2021-01-18 12:29:07.000000000 -0800
+++ cclive-0.9.3/debian/changelog 2022-09-22 12:46:21.000000000 -0700
@@ -1,3 +1,12 @@
+cclive (0.9.3-0.3) unstable; urgency=medium
+
+ * Non-maintainer upload.
+
+ [ Alexis Bienvenüe ]
+ * configure.ac: Honour SOURCE_DATE_EPOCH (Closes: #824501)
+
+ -- Vagrant Cascadian <vagrant@reproducible-builds.org> Thu, 22 Sep 2022 19:46:21 +0000
+
cclive (0.9.3-0.2) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru cclive-0.9.3/debian/patches/configure.ac-honour-source_date_epoch.patch cclive-0.9.3/debian/patches/configure.ac-honour-source_date_epoch.patch
--- cclive-0.9.3/debian/patches/configure.ac-honour-source_date_epoch.patch 1969-12-31 16:00:00.000000000 -0800
+++ cclive-0.9.3/debian/patches/configure.ac-honour-source_date_epoch.patch 2022-09-22 12:46:21.000000000 -0700
@@ -0,0 +1,28 @@
+From: Alexis Bienvenüe <pado@passoire.fr>
+Date: Mon, 16 May 2016 21:03:42 +0200
+X-Dgit-Generated: 0.9.3-0.3 0d3d512774b1bee8ebdf3736620689c4e5d96bbf
+Subject: configure.ac: Honour SOURCE_DATE_EPOCH
+
+(Closes: #824501)
+
+Get build date from the environment variable SOURCE_DATE_EPOCH (is
+set) to make the build reproducible. See
+https://reproducible-builds.org/specs/source-date-epoch/
+
+---
+
+diff --git a/configure.ac b/configure.ac
+index 0bae286..7becddd 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -37,7 +37,9 @@ AC_DEFINE_UNQUOTED([CXXFLAGS], "$CXXFLAGS", [Define to compiler flags])
+ AC_DEFINE_UNQUOTED([CXX], "$CXX", [Define to compiler])
+
+ AC_PATH_PROG([DATE], [date], [no])
+-AS_IF([test x"$DATE" != "xno"], [build_time=`$DATE +"%F %T %z"`])
++DATE_FMT="%F %T %z"
++SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}"
++build_time=$(date -u -d "@$SOURCE_DATE_EPOCH" "+$DATE_FMT" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "+$DATE_FMT" 2>/dev/null || date -u "+$DATE_FMT" 2>/dev/null)
+ AC_DEFINE_UNQUOTED([BUILD_TIME], ["$build_time"], [We have build time])
+
+ AC_PATH_PROG([A2X], [a2x], [no])
diff -Nru cclive-0.9.3/debian/patches/series cclive-0.9.3/debian/patches/series
--- cclive-0.9.3/debian/patches/series 2021-01-18 12:10:55.000000000 -0800
+++ cclive-0.9.3/debian/patches/series 2022-09-22 12:46:21.000000000 -0700
@@ -2,3 +2,4 @@
gcc5.diff
fix-FTBFS-missing-includes.patch
fix_ftbfs.patch
+configure.ac-honour-source_date_epoch.patch
live well,
vagrant
[signature.asc (application/pgp-signature, inline)]
Added tag(s) pending.
Request was from Vagrant Cascadian <vagrant@reproducible-builds.org>
to 824501-submit@bugs.debian.org.
(Thu, 22 Sep 2022 20:21:03 GMT) (full text, mbox, link).
Reply sent
to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility.
(Sun, 02 Oct 2022 21:09:03 GMT) (full text, mbox, link).
Notification sent
to Alexis Bienvenüe <pado@passoire.fr>:
Bug acknowledged by developer.
(Sun, 02 Oct 2022 21:09:03 GMT) (full text, mbox, link).
Message #17 received at 824501-close@bugs.debian.org (full text, mbox, reply):
Source: cclive
Source-Version: 0.9.3-0.3
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>
We believe that the bug you reported is fixed in the latest version of
cclive, 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 824501@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 cclive 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 19:46:21 +0000
Source: cclive
Architecture: source
Version: 0.9.3-0.3
Distribution: unstable
Urgency: medium
Maintainer: Alejandro Garrido Mota <alejandro@debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 824501
Changes:
cclive (0.9.3-0.3) unstable; urgency=medium
.
* Non-maintainer upload.
.
[ Alexis Bienvenüe ]
* configure.ac: Honour SOURCE_DATE_EPOCH (Closes: #824501)
Checksums-Sha1:
a78d0a539b9723bc64e6daa8785e8c0fa3a85c4a 1663 cclive_0.9.3-0.3.dsc
7b2927033095f35debfecbaf4de7777ae5667570 5772 cclive_0.9.3-0.3.debian.tar.xz
Checksums-Sha256:
90aa5ddd3640ffc4ceab7ee3f546604db952ccabeec3aa42b9f2ac2e14c47c1a 1663 cclive_0.9.3-0.3.dsc
c429b5e6ece1307ca442420d6b08c8aabdf986f1621eeecbd4274e0b88ae0093 5772 cclive_0.9.3-0.3.debian.tar.xz
Files:
29f0ee1fa89b00b9a2c980d629cc94eb 1663 video optional cclive_0.9.3-0.3.dsc
d8eee3018c5963066807166ffe4edf90 5772 video optional cclive_0.9.3-0.3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYyzCJyAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqgwaAQDZqahNAk71zbMO
uOxJBXXNedVnmxPdMfMM5v/OjlJ5gQD/QgThv2+gt4DHCpQde/Jz8mHP1Wu4XsKg
VW4UwSwAIws=
=DiNf
-----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:24:50 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 09:29:01 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.