--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: advi: please make the build reproducible
- From: Chris Lamb <lamby@debian.org>
- Date: Fri, 12 Aug 2016 11:51:52 +0100
- Message-id: <1470999112.4085755.693389161.0D9EB352@webmail.messagingengine.com>
Source: advi
Version: 1.10.2-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hi,
Whilst working on the "reproducible builds" effort [0], we noticed
that advi could not be built reproducibly.
Patch attached.
[0] https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible-build 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible-build 2016-08-12 11:39:07.941614664 +0100
@@ -0,0 +1,30 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby@debian.org>
+Last-Update: 2016-08-12
+
+--- advi-1.10.2.orig/configure.ac
++++ advi-1.10.2/configure.ac
+@@ -3,6 +3,10 @@ AC_PREREQ(2.59)
+ AC_INIT(advi, 1.10.2, Didier.Remy@inria.fr)
+ BUILD_DATE=`date +%Y-%m-%d`
+ BUILD_YEAR=`date +%Y`
++if test -n "$SOURCE_DATE_EPOCH"; then
++ BUILD_DATE=`date --utc --date="@$SOURCE_DATE_EPOCH" +%Y-%m-%d`
++ BUILD_YEAR=`date --utc --date="@$SOURCE_DATE_EPOCH" +%Y`
++fi
+ AC_SUBST(BUILD_DATE)
+ AC_SUBST(BUILD_YEAR)
+ AM_INIT_AUTOMAKE([foreign])
+--- advi-1.10.2.orig/configure
++++ advi-1.10.2/configure
+@@ -2193,6 +2193,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ BUILD_DATE=`date +%Y-%m-%d`
+ BUILD_YEAR=`date +%Y`
++if test -n "$SOURCE_DATE_EPOCH"; then
++ BUILD_DATE=`date --utc --date="@$SOURCE_DATE_EPOCH" +%Y-%m-%d`
++ BUILD_YEAR=`date --utc --date="@$SOURCE_DATE_EPOCH" +%Y`
++fi
+
+
+ am__api_version='1.11'
--- a/debian/patches/series 2016-08-12 11:17:06.930108255 +0100
--- b/debian/patches/series 2016-08-12 11:28:59.912314690 +0100
@@ -6,3 +6,4 @@
examples-makefiles
examples-scripts
really-clean
+reproducible-build
--- End Message ---
--- Begin Message ---
Source: advi
Source-Version: 1.10.2-3
We believe that the bug you reported is fixed in the latest version of
advi, 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 834137@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ralf Treinen <treinen@debian.org> (supplier of updated advi 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: SHA256
Format: 1.8
Date: Mon, 23 Jan 2017 21:23:56 +0100
Source: advi
Binary: advi advi-examples
Architecture: source
Version: 1.10.2-3
Distribution: unstable
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Ralf Treinen <treinen@debian.org>
Description:
advi - active DVI previewer and presenter
advi-examples - example presentations for Active-DVI (advi)
Closes: 583994 834137
Changes:
advi (1.10.2-3) unstable; urgency=low
.
[Rémi Vanicat]
* removing myself from uploaders
.
[Ralf Treinen]
* patch safe: make Safer mode the default (closes: #583994)
* advi-examples: drop spurious Suggests tk4.8 et mpg321
* Standards-Version 3.9.8 (no change)
* advi-examples: drop Conflicts: advi (<< 1.6.0-4) since that version is
more than 10 years old.
* advi: drop "Replaces: activedvi,mldvi" since these are previous names
of this package last used in 2002, resp. 2001.
* advi: don't create empty directory usr/share/lintian/overrides/
* d/control: fix Vcs-* fields, use secure URI
* patch drop-build-date: make build reproducible (closes: #834137)
* debhelper compat version 9
* fix a spelling error in debian/README.
Checksums-Sha1:
a780158274b03e81441191773cd4d5846ebfee8f 2305 advi_1.10.2-3.dsc
cc421fd66a7b4023748ab5a844f85a7c18c65102 21652 advi_1.10.2-3.debian.tar.xz
Checksums-Sha256:
b632b9f6a901695a2e7995f0bbbbf63d300e55d9889c87a2eff4a3ae7db2333b 2305 advi_1.10.2-3.dsc
8dd0a75e1e373a74e287af3de756667b30e0ec8a79312165aa0c53dfa337f123 21652 advi_1.10.2-3.debian.tar.xz
Files:
48b5253d35468d309fce13ab25e57902 2305 tex optional advi_1.10.2-3.dsc
b54f1ca207e4e199e51e0ca864950ac5 21652 tex optional advi_1.10.2-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEAgVIKeEtDyqOZI5idFxHZtTKzf8FAliGbMAACgkQdFxHZtTK
zf+9Cg//cnlqiRuPcK36+/eBCi4u5yrPuo2sW+5BIELPVSx8Sv0xiIaJXNlmIccF
rqyDcA1em520EDYZ8D92kyWHRX3bMt3hELEONvYQvWk3/weDdS0oQzffUPphOL0O
iqF77qRGofnJ2MbpxGz7LLyWhpftQ/KVzB8X1YMRRQBCs45SO4RCImol9WbQdUlc
BKjPOOQYIhD546xCvboEzUH1KGEhpksYum7I54Kv9/1Vm55RhP1Z35qUQ7rPlIk4
PvJL82UXg2HXi3HwKKdvu7cRcz6GUEBZ8Tk9BSnWeJ3I5Qp83XMV6PJpb004Bj4i
j0RgYeqkpnzyp3WIbdH8niezXsXd+sn7Up/8NB6G+Bd9p3mORWRjh5G8h5Y7wqz4
meIsM397/mIh01sdDs3DCNuW7meoIAlYGzCych4kKwqvw/CJHlIyIxtFqZtuK/pv
cEMQKwgg3BQIxxEgg//qKSU7Zk+xlCUlXy51SVseNUogZs5MmEkfIsJnT3gfCP22
gBQ/lS0DCMjRPcfx3hgNa8NXMdd0mbgjlLTRZkuQqxkz9tNR/TCBDPON8ATf8bjq
U2y+kqqAC3f/sm8cPgDDryzmRvzWsEl+7tCgHTqJZMlKBkSDkho78qIe+vPwmRpZ
ob1f7gfMGGJx0Jxjd59k1cpZkkbEI14P0Gn9wj54Deft7lJvmOc=
=qH3e
-----END PGP SIGNATURE-----
--- End Message ---