[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#792054: marked as done (ben: please make the build reproducible)



Your message dated Fri, 14 Aug 2015 22:48:50 +0000
with message-id <E1ZQNmM-0000Wp-EC@franck.debian.org>
and subject line Bug#792054: fixed in ben 0.7.1
has caused the Debian Bug report #792054,
regarding ben: please make the build 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 owner@bugs.debian.org
immediately.)


-- 
792054: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792054
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ben
Version: 0.7.0
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 the "reproducible builds"€ effort [1], we have noticed
that ben could not be built reproducibly.
It embeds the build date/time into a binary.

The attached patch fixes this by using the date from the latest changelog
entry instead.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds

diff --git a/myocamlbuild.ml b/myocamlbuild.ml
index a328d65..c4feb8d 100644
--- a/myocamlbuild.ml
+++ b/myocamlbuild.ml
@@ -51,7 +51,7 @@ let try_run cmd = (* reads one single line *)
   line
 
 let version = try_run "dpkg-parsechangelog | sed -n 's/Version: //p'"
-let build_date = try_run "date +'%F %T %Z'"
+let build_date = try_run "dpkg-parsechangelog | sed -n 's/Date: //p' | date -u +'%F %T %Z' -f -"
 
 let require pkg =
   if not (try_exec (sprintf "ocamlfind query %s" pkg)) then

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: ben
Source-Version: 0.7.1

We believe that the bug you reported is fixed in the latest version of
ben, 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 792054@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mehdi Dogguy <mehdi@debian.org> (supplier of updated ben 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: Sat, 15 Aug 2015 00:17:37 +0000
Source: ben
Binary: libben-ocaml-dev libben-ocaml ben
Architecture: source amd64
Version: 0.7.1
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Mehdi Dogguy <mehdi@debian.org>
Description:
 ben        - toolbox for Debian maintainers
 libben-ocaml - OCaml libraries for Debian maintainers (runtime package)
 libben-ocaml-dev - OCaml libraries for Debian maintainers (development package)
Closes: 747875 747883 792054 795314
Changes:
 ben (0.7.1) unstable; urgency=medium
 .
   [ Paul Wise ]
   * cdn.debian.net has been deprecated, replace it with http.debian.net
 .
   [ Mehdi Dogguy ]
   * Ignore potential errors when deleting lock file
   * Use FileUtil.rm instead of calling /bin/rm
   * Replaces uses of Benl_core.list_iteri with List.iteri, which requires
     OCaml >= 4.0.
   * Call dose-debcheck with --deb-native-arch
   * Make build reproducible (Closes: #792054)
   * Add a note about order of command-line flags in documentation (Closes: #747875)
   * Add Json output format in monitor (Closes: #747883)
   * Drop --text, --xhtml and --color in favor of --output-format|-f
 .
   [ Emilio Pozuelo Monfort ]
   * Fix buildd.debian.org compact links
 .
   [ Simon McVittie ]
   * Add a new Partial category for packages that are both good and bad
     (Closes: #795314).
Checksums-Sha1:
 23270a91b7ff56eb7fd998da2b8e48971c0d697c 2097 ben_0.7.1.dsc
 a245f1c9a8275986c50baa21b4de2e6742ff0c10 84456 ben_0.7.1.tar.xz
 5b2c0107b60084f7ec52004350574b93379d431a 982740 ben_0.7.1_amd64.deb
 38eeacad017bb9aa33cad2ecb6ea193ce923ffd0 137702 libben-ocaml-dev_0.7.1_amd64.deb
 6b383949b2e5538c2492057e79506e5df46b290f 136712 libben-ocaml_0.7.1_amd64.deb
Checksums-Sha256:
 0130ef2d0c4adb566119ff1055dca43c8aba7a5432fed797b6b38f8a0893657b 2097 ben_0.7.1.dsc
 eefb983a9b3f776688ff09854567c97613f5c17640a150808db502b17a770087 84456 ben_0.7.1.tar.xz
 f9e08aa462ceb2861a439cbc7fe77f44bfd247dcdabed769ae23493a09a06a35 982740 ben_0.7.1_amd64.deb
 fc1afe7f31c0ca234c3c04dc87d5f0794cb8948ff5db271a73b0bbdaf50f556f 137702 libben-ocaml-dev_0.7.1_amd64.deb
 12864dbb2ca551e7bb374e7de69e2946aef3819768ac4b708ee95aae66c9c7e2 136712 libben-ocaml_0.7.1_amd64.deb
Files:
 305220a3c24c9a6d8979e2164528f01f 2097 ocaml optional ben_0.7.1.dsc
 265b3ac7402a704bb6fe3aa95eaed497 84456 ocaml optional ben_0.7.1.tar.xz
 4c012e41218a11478338723f5e851107 982740 ocaml optional ben_0.7.1_amd64.deb
 179e9f8300a2586c4a30f5fac31b9639 137702 ocaml optional libben-ocaml-dev_0.7.1_amd64.deb
 6cb8d3901226d25a7f9c34518e264910 136712 ocaml optional libben-ocaml_0.7.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVzooPAAoJEDO+GgqMLtj/Y7YQAIaev6H3pJEjFcilYcZjL0G0
s0ZbYUsezKEBmkRMrfUC7oA/WIf4WLruuL5sQ7e8cWv9oPMT+Ux8VdGp8TI/aMEe
p7MDXUHTxRozlNqpPjDF/dUzPcxHyf5IzmqFqoi1UMtctri8J+E0iP5B4AnfOLCa
Lq3yeYIv7MttTmI5Nr/bTpEA7K+3qWC3V5+LES7h6rikA5+8HQVK43BveN+02z8k
D3n57HAbPIGTi5Jan/uriAOQVJiGeyTBZatwnbSe2YxlDxmrhr+WiegQuar/Z+08
+pvnmStC9U55ADxFvndM0pIhmeOCyCQI6/Bfruz3Vd63GCueaXRriT+Y9W0GQzCn
u4UWiwBihyUsI+hiootK/FCEZE8b3uOSVsAFgQWPedAPfqt/vOfQ0SW2MFgxMUtH
5YJi/jLGaJ3wCd2T27yuflhWLdki4eIqpHh9AJ/U+iyeadnIPq8g3gufLuevocWy
iJEpaZ2DWUkU7yGeMgstPQ4ebYFUmBvYuV53sE7/CgUKVIDWX6LlazxdRclndpZ/
nunMulsIh3aIo5NWa4+e8NNOaJ9dOliRsAiqRjmQ4Jp0gbQ+lP5/dk7iUPce/xl4
3msFCziwWbTKSzVc24cbN/zubqmGcbx8cq1Ws2IMDGuTCd1O1owpcUfpl8R5EnTg
wesc2ksvG8fDtlQmigMu
=mCVi
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: