Debian Bug report logs - #979112
qdbm: reproducible builds: Embeds build time in qdbm.jar

version graph

Package: src:qdbm; Maintainer for src:qdbm is Debian QA Group <packages@qa.debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Sat, 2 Jan 2021 21:33:01 UTC

Severity: normal

Tags: patch

Fixed in version qdbm/1.8.78-10

Done: Vagrant Cascadian <vagrant@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#979112; Package src:qdbm. (Sat, 02 Jan 2021 21:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>. (Sat, 02 Jan 2021 21:33:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: qdbm: reproducible builds: Embeds build time in qdbm.jar
Date: Sat, 02 Jan 2021 13:31:15 -0800
[Message part 1 (text/plain, inline)]
Source: qdbm
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The file ./usr/share/qdbm/lib/qdbm.jar embeds the build time:

  https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/qdbm.html

  -rw----·····2.0·fat········0·bX·defN·22-Jan-08·04:40·META-INF/
  vs.
  -rw----·····2.0·fat········0·bX·defN·20-Dec-07·00:20·META-INF/


The attached patch fixes this by adding calls to dh_strip_nondeterminism
in debian/rules.


This patch should be sufficient to make qdbm reproducible in the
bullseye suite.


Thanks for maintaining qdbm!


live well,
  vagrant
[0001-debian-rules-Add-calls-to-dh_strip_nonderminism.patch (text/x-diff, inline)]
From c47ed6a5fd02b99f090b4615bc81283020a7a3b9 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 2 Jan 2021 21:20:37 +0000
Subject: [PATCH] debian/rules: Add calls to dh_strip_nonderminism.

dh_strip_nondeterminism sets appropriate timestamps in the shipped
.jar files.

https://tests.reproducible-builds.org/debian/issues/unstable/timestamps_in_jar_issue.html
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 4278b70..8545b04 100755
--- a/debian/rules
+++ b/debian/rules
@@ -176,6 +176,7 @@ binary-indep: build install
 #	dh_installman -i
 	dh_link -i
 	dh_strip -i
+	dh_strip_nondeterminism -i
 	dh_compress -i
 	dh_fixperms -i
 	dh_perl -i
@@ -197,6 +198,7 @@ binary-arch: build install
 	rm -f $(CURDIR)/debian/qdbm-util/usr/share/man/man1/*test
 	dh_link -a
 	dh_strip -a
+	dh_strip_nondeterminism -a
 	dh_compress -a
 	dh_fixperms -a
 	dh_perl -plibqdbm-perl
-- 
2.30.0

[signature.asc (application/pgp-signature, inline)]

Message sent on to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#979112. (Sat, 02 Jan 2021 21:42:05 GMT) (full text, mbox, link).


Message #8 received at 979112-submitter@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <noreply@salsa.debian.org>
To: 979112-submitter@bugs.debian.org
Subject: Bug#979112 marked as pending in qdbm
Date: Sat, 02 Jan 2021 21:39:39 +0000
Control: tag -1 pending

Hello,

Bug #979112 in qdbm reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian/qdbm/-/commit/c3fb3559a468624df1c67cbc63d5bf2b66818bd1

------------------------------------------------------------------------
debian/rules: Add calls to dh_strip_nonderminism. (Closes: #979112)

dh_strip_nondeterminism sets appropriate timestamps in the shipped
.jar files.

https://tests.reproducible-builds.org/debian/issues/unstable/timestamps_in_jar_issue.html
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/979112



Added tag(s) pending. Request was from Vagrant Cascadian <noreply@salsa.debian.org> to 979112-submitter@bugs.debian.org. (Sat, 02 Jan 2021 21:42:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#979112; Package src:qdbm. (Sat, 02 Jan 2021 21:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Extra info received and forwarded to list. Copy sent to Debian QA Group <packages@qa.debian.org>. (Sat, 02 Jan 2021 21:45:05 GMT) (full text, mbox, link).


Message #15 received at 979112@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: 979112@bugs.debian.org
Subject: Re: qdbm: reproducible builds: Embeds build time in qdbm.jar
Date: Sat, 02 Jan 2021 13:42:31 -0800
[Message part 1 (text/plain, inline)]
Control: tags 979122 pending

On 2021-01-02, Vagrant Cascadian wrote:
> From c47ed6a5fd02b99f090b4615bc81283020a7a3b9 Mon Sep 17 00:00:00 2001
> From: Vagrant Cascadian <vagrant@reproducible-builds.org>
> Date: Sat, 2 Jan 2021 21:20:37 +0000
> Subject: [PATCH] debian/rules: Add calls to dh_strip_nonderminism.
>
> dh_strip_nondeterminism sets appropriate timestamps in the shipped
> .jar files.
>
> https://tests.reproducible-builds.org/debian/issues/unstable/timestamps_in_jar_issue.html
> ---
>  debian/rules | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/debian/rules b/debian/rules
> index 4278b70..8545b04 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -176,6 +176,7 @@ binary-indep: build install
>  #	dh_installman -i
>  	dh_link -i
>  	dh_strip -i
> +	dh_strip_nondeterminism -i
>  	dh_compress -i
>  	dh_fixperms -i
>  	dh_perl -i
> @@ -197,6 +198,7 @@ binary-arch: build install
>  	rm -f $(CURDIR)/debian/qdbm-util/usr/share/man/man1/*test
>  	dh_link -a
>  	dh_strip -a
> +	dh_strip_nondeterminism -a
>  	dh_compress -a
>  	dh_fixperms -a
>  	dh_perl -plibqdbm-perl
> -- 
> 2.30.0

Pushed to git:

  https://salsa.debian.org/debian/qdbm/-/commit/c3fb3559a468624df1c67cbc63d5bf2b66818bd1

live well,
  vagrant
[signature.asc (application/pgp-signature, inline)]

Reply sent to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility. (Fri, 08 Jan 2021 03:36:06 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Fri, 08 Jan 2021 03:36:06 GMT) (full text, mbox, link).


Message #20 received at 979112-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 979112-close@bugs.debian.org
Subject: Bug#979112: fixed in qdbm 1.8.78-10
Date: Fri, 08 Jan 2021 03:33:59 +0000
Source: qdbm
Source-Version: 1.8.78-10
Done: Vagrant Cascadian <vagrant@debian.org>

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

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated qdbm 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, 07 Jan 2021 19:03:01 -0800
Source: qdbm
Architecture: source
Version: 1.8.78-10
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 979112
Changes:
 qdbm (1.8.78-10) unstable; urgency=medium
 .
   [ Ondřej Nový ]
   * d/copyright: Use https protocol in Format field
   * d/control: Removing redundant Priority field in binary package
   * d/changelog: Remove trailing whitespaces
   * d/rules: Remove trailing whitespaces
 .
   [ Debian Janitor ]
   * Trim trailing whitespace.
   * Use secure URI in Homepage field.
   * Bump debhelper from old 9 to 10.
   * Rely on pre-initialized dpkg-architecture variables.
   * Fix day-of-week for changelog entry 1.8.78-1.
   * Apply multi-arch hints.
     + qdbm-doc: Add Multi-Arch: foreign.
     + libqdbm++-dev, libqdbm-perl, libqdbm3++c2, ruby-qdbm: Add Multi-Arch:
       same.
 .
   [ Vagrant Cascadian ]
   * debian/rules: Add calls to dh_strip_nonderminism. (Closes: #979112)
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/rules: Use /nonexistent for HOME.
   * debian/control: Mark libqdbm++-dev, libqdbm-perl, libqdbm3++c2 and
     ruby-qdbm as "Multi-Arch: no".
Checksums-Sha1:
 1153340fe785f3e515b5e070f2462825110cf5f1 1939 qdbm_1.8.78-10.dsc
 a3d1e01a44676a85c48406e68dac9183a2528584 17684 qdbm_1.8.78-10.debian.tar.xz
 b4d128da937d102ee868197cafda7f6f6b41a9f9 15438 qdbm_1.8.78-10_amd64.buildinfo
Checksums-Sha256:
 51afc850f4521505824abd35b36e5ddf418e3af1e9a21195764179fa27174389 1939 qdbm_1.8.78-10.dsc
 b09c5f999806c0b1285389ebe095203e23ad89f817a8b65070fcdf1ff31f03cb 17684 qdbm_1.8.78-10.debian.tar.xz
 bb721d1169994c5a68674f492cd4259a57519cb4a7801978ee3cc2de37b39815 15438 qdbm_1.8.78-10_amd64.buildinfo
Files:
 c690e5b4a3b1e0ac0c0a3425be544654 1939 libs optional qdbm_1.8.78-10.dsc
 386a718dd5dd4daf91434d0b8f19e9fb 17684 libs optional qdbm_1.8.78-10.debian.tar.xz
 fdc01ffdcb09bcda82324c34913fb623 15438 libs optional qdbm_1.8.78-10_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX/fOcRMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqQcwA/3qmHwYjcS9ZgG7Kh2uTfCCpa2MvqZs6
lR5wGQnOKI9KAQDkGUD/Vi8/Gk+lHWzQx7xCpmBYDo5FhGPze93D7AVJBw==
=5xjy
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 10 Feb 2021 07:25:40 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:58:58 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.