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

[Advent bug squashing] Bug#995258: marked as done (python-pairix: please make the build reproducible)



Please add this to the advent cal.

Meow,
Nilesh


-------- Forwarded Message --------
Subject: Bug#995258: marked as done (python-pairix: please make the build reproducible)
Date: Sat, 04 Dec 2021 20:39:13 +0000
From: Debian Bug Tracking System <owner@bugs.debian.org>
Reply-To: 995258@bugs.debian.org
To: Nilesh Patra <nilesh@debian.org>

Your message dated Sat, 04 Dec 2021 20:37:26 +0000
with message-id <E1mtbmg-000GcW-QX@fasolo.debian.org>
and subject line Bug#995258: fixed in python-pairix 0.3.7-5
has caused the Debian Bug report #995258,
regarding python-pairix: 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.)


--
995258: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995258
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

--- Begin Message ---
Source: python-pairix
Version: 0.3.7-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: filesystem
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
python-pairix could not be built reproducibly.

This is because whilst the generation of samples.tar.xz correctly uses
--mode, --owner, --group as well as --numeric-owner, it misses
--sort=name. It, therefore, inherits the underlying and
nondeterministic filesystem ordering.

A patch is attached that adds precisely this.

 [0] https://reproducible-builds.org/


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-


--- a/debian/rules	2021-09-28 16:31:43.781471389 +0100
--- b/debian/rules	2021-09-28 16:38:20.346343067 +0100
@@ -10,7 +10,7 @@
 	dh $@ --with python3 --buildsystem=pybuild
 
 override_dh_install:
-	tar caf samples.tar.xz samples --mode=go=rX,u+rw,a-s --owner=0 --group=0 --numeric-owner
+	tar caf samples.tar.xz samples --mode=go=rX,u+rw,a-s --owner=0 --group=0 --numeric-owner --sort=name
 	dh_install
 	find debian/python3-$(PYBUILD_NAME)/usr/lib -name samples -type d | xargs rm -rf
 	find debian/*/usr/lib -name VERSION.txt -delete

--- End Message ---
--- Begin Message ---
Source: python-pairix
Source-Version: 0.3.7-5
Done: Nilesh Patra <nilesh@debian.org>

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

Debian distribution maintenance software
pp.
Nilesh Patra <nilesh@debian.org> (supplier of updated python-pairix 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: Sat, 04 Dec 2021 23:48:55 +0530
Source: python-pairix
Architecture: source
Version: 0.3.7-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Changed-By: Nilesh Patra <nilesh@debian.org>
Closes: 995258
Changes:
 python-pairix (0.3.7-5) unstable; urgency=medium
 .
   * Team Upload.
   * d/rules: sort with names while tar-ing so
     as to make build reproducible (Closes: #995258)
Checksums-Sha1:
 6918904025f6ecf6c04bb5051ef240baf901f8ea 2228 python-pairix_0.3.7-5.dsc
 dca88136816e2950b05040af92d738d9247fb74e 4676 python-pairix_0.3.7-5.debian.tar.xz
 423e533ee0915447977dc1bf4e95e52e162266ef 7898 python-pairix_0.3.7-5_amd64.buildinfo
Checksums-Sha256:
 66534df143a93b9ca70f4a817c5f2bb72d5d83988fbad2fe581444f0758d9356 2228 python-pairix_0.3.7-5.dsc
 8f11fc3acaaa539f49c25f51a033bb89293143743125a09bc31a020dd5b19c80 4676 python-pairix_0.3.7-5.debian.tar.xz
 e7944efd84186a994674fc1e3724d4ae7b123a8ec29812e03c60f6953473e94b 7898 python-pairix_0.3.7-5_amd64.buildinfo
Files:
 81b4ad913cbe05dd9773e4e29728969c 2228 science optional python-pairix_0.3.7-5.dsc
 26c8d99ffe4ec01326b4a76aea192c0b 4676 science optional python-pairix_0.3.7-5.debian.tar.xz
 c5c54fd8d3294da2f0ce12be3c95d1e7 7898 science optional python-pairix_0.3.7-5_amd64.buildinfo

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

iQJGBAEBCgAwFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAmGryNQSHG5pbGVzaEBk
ZWJpYW4ub3JnAAoJEAC650s0M2nx0UUP/i3sHunKph6z4mOdWKOHH4tyfnv9OcLZ
X5BCHDnx2sjblRbDVrvWpf1wrQvyaIdpleHYfCNVSb5JNN5/5JZP5WU8UXf3jP7/
viz4ASMGcriCoBTp1J1+CbVl2YcSt2Vg13ScHtxT5zCvz60kd8JC+YHylIJO2Be3
P5Ktcm8/AIG0WpBJ5+Bl/qWFlSWDuJZ3EmVEuUsl/TCGODev9eq/AOrolbNwP1tm
9LaSsj61OiJ27jPAzANlhcZ5bpJpWrKUturv2mB7++db3QXEMekOMRiTamBjF8pW
VqF/r6kzw2OfjBT7dua5fPCU6lqhuq+8x/o8+S0K6ID1de43EE2/rB9gDQSIpD/A
NImRYfp6XvSBn1JKTALZ5izxnc92ineOg+4EZMsJ6eMouqdF+5PzJD9e3B99VB0J
QIVB7jlD2yLtfTHcxsBPlnRZnIY0lSWK9amnq3EuTuHZ1NhXgh+e+XamCxZDp8X7
/F5uk/VJbHfbCspAjgrczb/5yBvRb6UyHHclJd3kGQQYyYWS38Cv88uNptxN5J5E
ogCfpBJaZgauso/VMHDZb9ZOIECi08q3KQLGFPcamClsKa40yhqfE8YGQU1rmEf6
mJJ5ZnJl9jyrzILmzrxiyEJRNHX8tunjWH7JCw9WFssLgVrlfMfMs62CxhbCQ4AR
NqxjgSeU6K2F
=rMqF
-----END PGP SIGNATURE-----

--- End Message ---

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: