Debian Bug report logs - #1004053
kallisto: reproducible-builds: timestamps and build path embedded in test suite metadata

version graph

Package: src:kallisto; Maintainer for src:kallisto is Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>;

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

Date: Wed, 19 Jan 2022 23:09:01 UTC

Severity: normal

Tags: patch

Fixed in version kallisto/0.48.0+dfsg-4

Done: Andreas Tille <tille@debian.org>

Reply or subscribe to this bug.

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 Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>:
Bug#1004053; Package src:kallisto. (Wed, 19 Jan 2022 23:09: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 Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>. (Wed, 19 Jan 2022 23:09: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: kallisto: reproducible-builds: timestamps and build path embedded in test suite metadata
Date: Wed, 19 Jan 2022 15:06:18 -0800
[Message part 1 (text/plain, inline)]
Source: kallisto
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath timestamps
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Various files produced related to test suites embed timestamp and build
paths into the files, breaking reproducible builds:
  
  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/kallisto.html

It looks like version 0.48.0+dfsg-1 introduced these new files, with the
introduction of the snakemake tests.

The attached patch fixes this by removing the test suite log files and
other test suite metadata in a dh_install override from debian/rules.

With this patch applied, kallisto should build reproducibly on
tests.reproducible-builds.org!

Thanks for maintaining kallisto!

live well,
  vagrant
[0001-debian-rules-Remove-various-test-suite-log-files-and.patch (text/x-diff, inline)]
From 5c5e9ba026cb5acb27cca8ede0ddc41015b879c4 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 19 Jan 2022 22:58:14 +0000
Subject: [PATCH] debian/rules: Remove various test suite log files and
 metadata.

Various differences including timestamps, timing information, and
build paths are embedded in these files, which make it nearly
impossible to build the package reproducibly.

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

diff --git a/debian/rules b/debian/rules
index 23ee80e..3d9a422 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,3 +17,10 @@ override_dh_auto_configure:
 override_dh_auto_test:
 	dh_auto_test
 	cd test && PATH=$$(find ../obj-* -name src):$(PATH) HOME=$$(mktemp --directory) snakemake --cores 1
+
+override_dh_install:
+	dh_install
+	# Remove test suite logs and other metadata about the test suite
+	rm -rvf debian/kallisto-examples/usr/share/doc/kallisto/test/.snakemake
+	rm -vf debian/kallisto-examples/usr/share/doc/kallisto/test/bus_out/run_info.json
+	rm -vf debian/kallisto-examples/usr/share/doc/kallisto/test/quant_out/run_info.json
-- 
2.34.1

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

Message sent on to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#1004053. (Thu, 20 Jan 2022 06:51:03 GMT) (full text, mbox, link).


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

From: Andrius Merkys <noreply@salsa.debian.org>
To: 1004053-submitter@bugs.debian.org
Subject: Bug#1004053 marked as pending in kallisto
Date: Thu, 20 Jan 2022 06:47:33 +0000
Control: tag -1 pending

Hello,

Bug #1004053 in kallisto 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/med-team/kallisto/-/commit/1b0c5ab8725a90417a23d1946d9ed60693231041

------------------------------------------------------------------------
Preventing volatile test outputs from appearing in kallisto-examples binary package (Closes: #1004053). Thanks Vagrant Cascadian.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1004053



Added tag(s) pending. Request was from Andrius Merkys <noreply@salsa.debian.org> to 1004053-submitter@bugs.debian.org. (Thu, 20 Jan 2022 06:51:03 GMT) (full text, mbox, link).


Reply sent to Andrius Merkys <merkys@debian.org>:
You have taken responsibility. (Thu, 20 Jan 2022 07:39:05 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Thu, 20 Jan 2022 07:39:05 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1004053-close@bugs.debian.org
Subject: Bug#1004053: fixed in kallisto 0.48.0+dfsg-2
Date: Thu, 20 Jan 2022 07:34:05 +0000
Source: kallisto
Source-Version: 0.48.0+dfsg-2
Done: Andrius Merkys <merkys@debian.org>

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

Debian distribution maintenance software
pp.
Andrius Merkys <merkys@debian.org> (supplier of updated kallisto 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, 20 Jan 2022 02:09:50 -0500
Source: kallisto
Architecture: source
Version: 0.48.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Andrius Merkys <merkys@debian.org>
Closes: 1004053
Changes:
 kallisto (0.48.0+dfsg-2) unstable; urgency=medium
 .
   * Team upload.
   * Preventing volatile test outputs from appearing in kallisto-examples
     binary package (Closes: #1004053). Thanks Vagrant Cascadian.
   * Limiting kallisto builds to 64bit architectures as 32bit are not supported.
Checksums-Sha1:
 0d8c07f3a7375e29f8622ccf631570919fc95e1a 2287 kallisto_0.48.0+dfsg-2.dsc
 1146c55dad94e6b73354ada62e8270ff8bbcd1ae 7016 kallisto_0.48.0+dfsg-2.debian.tar.xz
 2781925a650facd11e3833ba4ec9b324e5e5a505 7173 kallisto_0.48.0+dfsg-2_source.buildinfo
Checksums-Sha256:
 1c8109fd1278edd8520f9be3592f5ad45b150b33b63a8f38ed7493ce01365215 2287 kallisto_0.48.0+dfsg-2.dsc
 afa297ebe5078baee8888f9bc398eb2372f991a884f1968c7c6d6caa20941f8c 7016 kallisto_0.48.0+dfsg-2.debian.tar.xz
 6779d80f8b7f0341f3e81231abcc9f8cd85b1943d3c3add7f74924f6cfa4b1de 7173 kallisto_0.48.0+dfsg-2_source.buildinfo
Files:
 f36261c1e180535ff397c5b9de7abd63 2287 science optional kallisto_0.48.0+dfsg-2.dsc
 3542de36a8f22b9ebe0f452f420d1ae1 7016 science optional kallisto_0.48.0+dfsg-2.debian.tar.xz
 f30ec101c5bd1a6f213bf9a922de66c1 7173 science optional kallisto_0.48.0+dfsg-2_source.buildinfo

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

iQJGBAEBCgAwFiEEdyKS9veshfrgQdQe5fQ/nCc08ocFAmHpCyYSHG1lcmt5c0Bk
ZWJpYW4ub3JnAAoJEOX0P5wnNPKH0ZUP/RP9yayZLbd/qPVW435+e/qVvpdK9lwI
kNOUl0Qeh+CGReop1fB5Ue8svPOAflcLnagcjQcxtfQUr1kgY9qPwwztMzHD7bJ2
Jjc84Tsvvm7hgSfsAfSWfiyt7T52ib0bBFa+4wu5zPejBJ+oB3RZv6jZ4VW0YigE
mf8GVWNrpHT/rWGVDngyhfLXmZsvz1SFA8omw+r9v51mGC0Au6L1qs9tl+2Epiul
8QNJDhY8GQ6TRms8Y8MVDzC7b+bftmsS9xYouSF436FZtJyTM/+ekKsqYd0quO84
rau29V2OBvN9V/I8pLZEIdpxoxrI39GP9l4KAlus20ePnoqYXzHnBB11yQTV4I9e
sqDVL8QDrOIDf95dHC/mYOX6q6jtpxH+2BbSDHErxBT0yWeu2nG4WEP+cD75slAR
YSmHwkcqIOWF13jaT9GiuAIouNZPfdGBsbLW/Csl/7XZ3KtlNFi9AqecoM35dve5
aQ5/thiwKw6EGCE8k0yCXF1gSkJFgrkjkEC7702+n3r1a32Sas4FvHyOAoLJ3MiY
XYD+lAk3HoCDAIu1pknYiO1VnxVKm2yxy7vNW9EzVZkGdgEuyucq+NaGF+eprZO9
JfasRDBe/8A/XaIRYPCgVPwFv0Vm7n+JnlVSOgJ7pr294CDjJXLtogaLER9dNheK
Zr4jomqbb4Sk
=j0//
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>:
Bug#1004053; Package src:kallisto. (Fri, 21 Jan 2022 00:33:03 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 Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>. (Fri, 21 Jan 2022 00:33:03 GMT) (full text, mbox, link).


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

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: 1004053@bugs.debian.org
Subject: Re: Bug#1004053: marked as pending in kallisto
Date: Thu, 20 Jan 2022 16:28:04 -0800
On 2022-01-20, Andrius Merkys wrote:
> Bug #1004053 in kallisto 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/med-team/kallisto/-/commit/1b0c5ab8725a90417a23d1946d9ed60693231041
>
> ------------------------------------------------------------------------
> Preventing volatile test outputs from appearing in kallisto-examples binary package (Closes: #1004053). Thanks Vagrant Cascadian.
> ------------------------------------------------------------------------

Thanks!

The fix applied didn't catch all of the issues, there are still
timestamps in run_info.json:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/diffoscope-results/kallisto.html

  ./usr/share/doc/kallisto/test/quant_out/run_info.json

  "start_time":·"Wed·Jan·19·22:31:09·2022"
  vs.
  "start_time":·"Thu·Feb·23·06:45:29·2023"


I presume you could either remove that file, or sanitize out the
timestamp.


Just a one-line difference, left! :)


live well,
  vagrant



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 14 Apr 2022 07:27:09 GMT) (full text, mbox, link).


Bug unarchived. Request was from Vagrant Cascadian <vagrant@reproducible-builds.org> to control@bugs.debian.org. (Tue, 11 Apr 2023 22:06:02 GMT) (full text, mbox, link).


Bug reopened Request was from Vagrant Cascadian <vagrant@reproducible-builds.org> to control@bugs.debian.org. (Tue, 11 Apr 2023 22:06:03 GMT) (full text, mbox, link).


No longer marked as fixed in versions kallisto/0.48.0+dfsg-2. Request was from Vagrant Cascadian <vagrant@reproducible-builds.org> to control@bugs.debian.org. (Tue, 11 Apr 2023 22:06:03 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>:
Bug#1004053; Package src:kallisto. (Tue, 11 Apr 2023 22:27:03 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 Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>. (Tue, 11 Apr 2023 22:27:03 GMT) (full text, mbox, link).


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

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: 1004053@bugs.debian.org
Subject: Re: Bug#1004053: kallisto: reproducible-builds: timestamps and build path embedded in test suite metadata
Date: Tue, 11 Apr 2023 15:25:42 -0700
[Message part 1 (text/plain, inline)]
>> On 2022-01-20, Vagrant Cascadian wrote:
>>> The fix applied didn't catch all of the issues, there are still
>>> timestamps in run_info.json:
>>>
>>>   https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/diffoscope-results/kallisto.html
>>>
>>>   ./usr/share/doc/kallisto/test/quant_out/run_info.json
>>>
>>>   "start_time":·"Wed·Jan·19·22:31:09·2022"
>>>   vs.
>>>   "start_time":·"Thu·Feb·23·06:45:29·2023"
>>>
>>>
>>> I presume you could either remove that file, or sanitize out the
>>> timestamp.

Attached is a patch against the current package that should fix the
remaining issue.

Thanks for maintaining kallisto!

live well,
  vagrant
[0001-debian-rules-Remove-quant_out-run_info.json-Closes-1.patch (text/x-diff, inline)]
From c42589d13a1bef7f16d2164e4bc9baac00e7ab94 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 11 Apr 2023 15:21:14 -0700
Subject: [PATCH] debian/rules: Remove quant_out/run_info.json (Closes:
 #1004053).

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index f4fadaa..221d06c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,4 +17,4 @@ override_dh_auto_configure:
 override_dh_auto_test:
 	dh_auto_test
 	cd test && PATH=$$(find ../obj-* -name src):$(PATH) HOME=$$(mktemp --directory) snakemake --cores 1
-	rm -rf test/.snakemake test/bus_out test/transcripts.kidx.gz
+	rm -rf test/.snakemake test/bus_out test/quant_out/run_info.json test/transcripts.kidx.gz
-- 
2.39.2

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

Reply sent to Andreas Tille <tille@debian.org>:
You have taken responsibility. (Wed, 12 Apr 2023 06:51:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Wed, 12 Apr 2023 06:51:03 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1004053-close@bugs.debian.org
Subject: Bug#1004053: fixed in kallisto 0.48.0+dfsg-4
Date: Wed, 12 Apr 2023 06:49:21 +0000
Source: kallisto
Source-Version: 0.48.0+dfsg-4
Done: Andreas Tille <tille@debian.org>

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

Debian distribution maintenance software
pp.
Andreas Tille <tille@debian.org> (supplier of updated kallisto 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, 12 Apr 2023 07:44:19 +0200
Source: kallisto
Architecture: source
Version: 0.48.0+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 1004053
Changes:
 kallisto (0.48.0+dfsg-4) unstable; urgency=medium
 .
   [ Vagrant Cascadian ]
   * Remove quant_out/run_info.json to enable reproducible-builds
     Closes: #1004053
Checksums-Sha1:
 536346bc06d6f8faa43e2eb71cf2b6e6a4fc0e4a 2287 kallisto_0.48.0+dfsg-4.dsc
 5f317432603d010f34dd9935d6cc43f18e4a4394 7116 kallisto_0.48.0+dfsg-4.debian.tar.xz
 872bf780c01c2a112e0d51d2a4a3c43838822321 12121 kallisto_0.48.0+dfsg-4_amd64.buildinfo
Checksums-Sha256:
 50e5b11ec43a502627fa1923db864ed909300622ecfad24634c0f2ef71622006 2287 kallisto_0.48.0+dfsg-4.dsc
 f0fa8ca0d2bb8ce6210e2c7725547397adc0e8520e3703889289524308e9b298 7116 kallisto_0.48.0+dfsg-4.debian.tar.xz
 71f8b59b7da51e2e0c7975094f56c567a6f8528514d32f19e9017b0cf1a67685 12121 kallisto_0.48.0+dfsg-4_amd64.buildinfo
Files:
 3000408d585ba2f6a36fe38e19a9032c 2287 science optional kallisto_0.48.0+dfsg-4.dsc
 8e5675599154f7503ab32dff51b39063 7116 science optional kallisto_0.48.0+dfsg-4.debian.tar.xz
 d99f7c9259eec9e5f0078da140b6d4f6 12121 science optional kallisto_0.48.0+dfsg-4_amd64.buildinfo

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

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmQ2UFwRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtE7GA/+MFZq2o/pXBNXGPb44m2uDpEkHcTfXWMR
or8jWGmx+DU6GJLj6memyZyUuZzZvw8fMUZqZ9awaFwzbA8caLtrJRQeewfXkTFf
c5jSk2zUxuyoNl/OFk9NnlE0oVOH4Bk90MK2DsCjirAIHWADxFfOl0vB9gei2RqQ
Z944KBaCjcjDnPwdJH+detpY7deb57s6ZlmRhbe+eQikS97IyiTDV8AJp5J6x2F8
2l9vYcoAc/pg5ZOud7ip4F12jPgFVR49+cQzOsqdVz1pmdFsgtkaspuqF7Xsf+pp
0HdFM/bWdt2zFAOcaZgeEIvzc+S3bQC2ZU+KDM92gVufZYLiKg9u3YZd0hto5vUN
pImeVXjDkwdCJ0NrAahF6FtWIcsUy5GtxLKXMW4v9MJGi0S75b1vKyzQPIrcfUQQ
WTX+ybxfmRZtnL2NtaCw4OH3kDzT1FxfdCVr6LxsW9jb4DYFoTG+y2ThMRWnFi1C
1ChrrzSi2JYLmg+/llQP0+ObU52zmxZ43Gwr/d2DQZXSefFyXl2IT2+T6cX+gym5
rPMC0IRb86wtoGIFq8p8BTcrbSrBvlmOIkx3bdrPhgg3PznwR7fLLtKMyLTLTzUE
SOZFcraDGKekWwNaRqGYKc88lbdNNq5F/1BnJTGhsPAtR8qpyiTUhijF5ujpCut+
mubz4ltaq2o=
=ZtOU
-----END PGP SIGNATURE-----




Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 11:03:00 2023; Machine Name: bembo

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.