--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: xastir: please make the build reproducible
- From: Chris Lamb <lamby@debian.org>
- Date: Sat, 17 Feb 2018 09:36:47 +0000
- Message-id: <1518860207.523778.1273949504.5EE63F16@webmail.messagingengine.com>
Source: xastir
Version: 2.1.0-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed
that xastir could not be built reproducibly.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
--- a/debian/patches/reproducible_build.patch 1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/reproducible_build.patch 2018-02-17 09:30:36.707546017 +0000
@@ -0,0 +1,16 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby@debian.org>
+Last-Update: 2018-02-17
+
+--- xastir-2.1.0.orig/src/Makefile.am
++++ xastir-2.1.0/src/Makefile.am
+@@ -89,6 +89,9 @@ testdbfawk_SOURCES = \
+ compiledate.c: $(XASTIR_SRC)
+ rm -f compiledate.c compiledate.o
+ echo 'char compiledate[] = "'"Compiled: `date`"'";' > compiledate.c
++ if test -n "$$SOURCE_DATE_EPOCH"; then \
++ echo 'char compiledate[] = "'"Compiled: `LC_ALL=C date --utc --date="@$$SOURCE_DATE_EPOCH"`"'";' > compiledate.c; \
++ fi
+ echo 'char gitstring[] = "'"`$(top_srcdir)/scripts/XastirGitStamp.sh $(top_srcdir)`"'";' >> compiledate.c
+
+ remove_compiledate:
--- a/debian/patches/series 2018-02-17 08:48:29.291704500 +0000
--- b/debian/patches/series 2018-02-17 08:55:44.226417154 +0000
@@ -2,3 +2,4 @@
link.patch
OSM_config.patch
simple_db.patch
+reproducible_build.patch
--- End Message ---
--- Begin Message ---
Source: xastir
Source-Version: 2.1.0-2
We believe that the bug you reported is fixed in the latest version of
xastir, 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 890651@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dave Hibberd <d@vehibberd.com> (supplier of updated xastir 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: Wed, 09 Jan 2019 21:50:12 +0000
Source: xastir
Binary: xastir xastir-data
Architecture: source amd64
Version: 2.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Dave Hibberd <d@vehibberd.com>
Description:
xastir - X Amateur Station Tracking and Information Reporting
xastir-data - X Amateur Station Tracking and Information Reporting
Closes: 890651
Changes:
xastir (2.1.0-2) unstable; urgency=medium
.
* Fix to ensure reproducible builds (Closes: #890651)
* Split package into two
- xastir: Architecture dependent binaries
- xastir-data: Architecture Independent fun
Checksums-Sha1:
545ec9f41e7d47d5b427fb31b6e30c6ca6120ca0 2355 xastir_2.1.0-2.dsc
61e2ee79e45f28db05cc9c460bacb7ff2a095de3 19208 xastir_2.1.0-2.debian.tar.xz
bd8d2fdf158a4a85697bf61a548a3404a46849aa 710368 xastir-data_2.1.0-2_amd64.deb
95ba534807aff38e8cde512de415f5e1b056af11 1781844 xastir-dbgsym_2.1.0-2_amd64.deb
4dd7b6e759fb878cd4f5c6f7892d5c8986be3002 13160 xastir_2.1.0-2_amd64.buildinfo
4aa1b9e9740afcd97ef7dc7d723e90f382c0f6c6 943100 xastir_2.1.0-2_amd64.deb
Checksums-Sha256:
f2263bd7763e08e972093632dc175131642535a2c492772088d9688dd1e40164 2355 xastir_2.1.0-2.dsc
f424663d25fc03494b65b30095d689091f037e6438135581e02f487bcbf5b9e7 19208 xastir_2.1.0-2.debian.tar.xz
8c7f40dbd49411148d4a6490fd7af374f2f50f4cd7cd331387f2625f2e5955ac 710368 xastir-data_2.1.0-2_amd64.deb
5a52cd20a234fba2389fea19f02bc6d4bd7e3384db5e6adbb53a80ac862b3185 1781844 xastir-dbgsym_2.1.0-2_amd64.deb
e034d9fa55d1b6928ae6026558222209ebf2e455aeb4f4553dd26e2fd8b639f8 13160 xastir_2.1.0-2_amd64.buildinfo
7f001edc49048df16656c408a50e71595e35920071223cfc3cb3ff28a467232b 943100 xastir_2.1.0-2_amd64.deb
Files:
17cc5c57e25b12a4d314b77ea1ccba58 2355 hamradio optional xastir_2.1.0-2.dsc
3810310b41a46d632cdace2935504aad 19208 hamradio optional xastir_2.1.0-2.debian.tar.xz
50e5a902e8f834653495ac4b6b8d156e 710368 hamradio optional xastir-data_2.1.0-2_amd64.deb
ea9608d20191f9aff3143af74cdc6a47 1781844 debug optional xastir-dbgsym_2.1.0-2_amd64.deb
26359e1bfdfb566f71736bfe97981750 13160 hamradio optional xastir_2.1.0-2_amd64.buildinfo
e7771dd23527d3596ae3c46af1daf81f 943100 hamradio optional xastir_2.1.0-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE/ps4MHN0fw3t6AudF4mIfdjVvF0FAlw3ES8ACgkQF4mIfdjV
vF0MhxAAja1QZ/7FbJTlJkh8lkMyZ3UJF1Krmza1X0lKQUm6Y0Pb4kJW0P9jjDG8
bPsdUmEbbLAheGdb7Vs01zPRezZ1eXyCHkoWCL3+mf8IdF6Te3q7m1O91/mcoC1h
K2ybqYQjJW7bQg7pNf5dZJvuC5ymJd6LKbC3USKPbA7WvDTNjmWmwMovB6DJ7X4T
6FXxaOIQw2pRO9z7cPdL5ThSTlMaCqaoVS15Q7BHZTHxWsQ2zznxsy6DBGOn0hWt
XLkh8jkIz8EusDSRbJl+EfcN7eGRekBVQgQq/4U7X4U6av5FfL3zJy1yWhnTF98s
G3YQ3FLjxoaLZx/BmJ6a2zD/wJMy5P9fpyi1ESvjsNh/la+gbrTAIYNWhG4q48g/
kWdo39f98mxGnKLxxglBuWx2bxEV/7H/MSj2L5diw4esKLDg5RgYqSK8s0R1kYoo
jpbq+cuuYFbvzCOuNRNrfxAkpL8lxregXsaBZ4ygH1ku12HCfgxdUTpHjwQJV/mA
LkqhVWO1sjkvhMUGjyh7YwXM0NuEeUWNAm73ZQAfl1IuhIL8qVw3JNAPcVfEjbjR
BOx5VbdneXgto/GjzpuDpdYyNpsnc98JU1kmMCvPsoSDtJ6nEdVSVY+Tv4fh0Ul9
qwmJIGCEOv8Sb3dqM5BbwQjyEF4Hq49GITh6I5siePSf3jfu768=
=1IJy
-----END PGP SIGNATURE-----
--- End Message ---