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

Bug#828891: marked as done (bbdb: please make the build reproducible)



Your message dated Tue, 12 Jul 2022 23:45:06 +0200
with message-id <a4d4df0f-9c0f-2617-e2a2-fe5a1dd53560@inventati.org>
and subject line Re: bbdb: please make the build reproducible
has caused the Debian Bug report #828891,
regarding bbdb: 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.)


-- 
828891: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828891
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: bbdb
Version: 2.36-4
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: fileordering timestamps username
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that bbdb could not be built reproducibly.
An included tarball contains files with the current build date, the
build user/group and is unsorted.

The attached patch fixes this.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/control b/debian/control
index 1968d30..87967e6 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Barak A. Pearlmutter <bap@debian.org>
 Build-Depends: debhelper (>= 9),
     dh-autoreconf
 Build-Depends-Indep: texinfo, texi2html, ghostscript,
-    texlive-base, texlive-latex-base,
+    texlive-base, texlive-latex-base, tar (>= 1.28),
     emacs24-nox | emacs24 | emacs23-nox | emacs23 | emacs
 Standards-Version: 3.9.5
 Vcs-Git: git://github.com/barak/BBDB.git
diff --git a/debian/rules b/debian/rules
index 1407bdb..86119c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,4 +23,4 @@ override_dh_install:
 
 bits.tar.gz:
 	tar -cf - extern/*/* | tar -C bits -xvf -
-	tar -czf bits.tar.gz bits/
+	tar -czf bits.tar.gz bits/ --sort=name --clamp-mtime --mtime="@${SOURCE_DATE_EPOCH}" --mode=go=rX,u+rw,a-s --owner=root --group=root --numeric-owner

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version 3.0.1

Hi,

bbdb builds reproducible since version 3.0.1, let's close this bug now.

Cheers,
Philip

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

Reply to: