Your message dated Mon, 29 Jun 2015 03:19:28 +0000
with message-id <[email protected]>
and subject line Bug#777134: fixed in dh-python 1.20150628-1
has caused the Debian Bug report #777134,
regarding dh-python: please make /usr/share/python/ns/PACKAGE files 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 [email protected]
immediately.)
--
777134: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777134
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dh-python
Version: 1.20141111-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: toolchain randomness
X-Debbugs-Cc: [email protected]
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that dh-python is generating files in /usr/share/python/ns/PACKAGE with
a non-deterministic order.
The attached patch removes this non-determinism from the build system.
Once
applied, packages using namespace packages can be built reproducibly in
our
current experimental framework.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/dh_python2 b/dh_python2
index d02b8ab..6124423 100755
--- a/dh_python2
+++ b/dh_python2
@@ -510,7 +510,7 @@ def main():
if not exists(dstdir):
os.makedirs(dstdir)
with open(join(dstdir, package), 'a', encoding='utf-8') as fp:
- fp.writelines("%s\n" % i for i in nsp)
+ fp.writelines("%s\n" % i for i in sorted(nsp))
pyshared = join('debian', package, 'usr/share/pyshared/')
if isdir(pyshared) and not os.listdir(pyshared):
--- End Message ---
--- Begin Message ---
Source: dh-python
Source-Version: 1.20150628-1
We believe that the bug you reported is fixed in the latest version of
dh-python, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated dh-python 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 28 Jun 2015 18:43:31 -0700
Source: dh-python
Binary: dh-python
Architecture: source all
Version: 1.20150628-1
Distribution: unstable
Urgency: medium
Maintainer: Piotr Ożarowski <[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Description:
dh-python - Debian helper tools for packaging Python libraries and applicatio
Closes: 777134
Changes:
dh-python (1.20150628-1) unstable; urgency=medium
.
* Fix path handling when --ext-dest-dir is used. Some characters were being
stripped from the beginning of the path.
* Re-apply Multi-Arch change.
* Remove XS-Testsuite control field, no longer necessary.
* Sort namespace files, for reproducibility. Thanks to Chris Lamb for the
patch. (closes: 777134)
Checksums-Sha1:
1dc64b74cfde35df55954e77198845fa45529fa4 1629 dh-python_1.20150628-1.dsc
6fba69abde0fc72f99af09bbff26e822a90be37a 68212 dh-python_1.20150628.orig.tar.xz
75bd029f0d6a1592eedb4a515dc25400030f1695 5864
dh-python_1.20150628-1.debian.tar.xz
f0c5f051cd5ff112ac6a58679d0db7ef0ae19c80 66606 dh-python_1.20150628-1_all.deb
Checksums-Sha256:
264034f819ee3ee5e4e81f9eaade3646ee46895e49f2fe89a7a8fe1b3ec38beb 1629
dh-python_1.20150628-1.dsc
2900b2cea6d5f443624f22ba5c134c34fddc888ce842689f48161189c04e2026 68212
dh-python_1.20150628.orig.tar.xz
ef508605537c80ee7be668008e87392db624453b2b3837ab492738a1ec0a28e2 5864
dh-python_1.20150628-1.debian.tar.xz
7c8e37b8ea4451b2747bbf83adca27761536d574a0b3a85ce7ec17e0774ac2d9 66606
dh-python_1.20150628-1_all.deb
Files:
2d857c43f816f96f4981fc8f623df553 1629 python optional
dh-python_1.20150628-1.dsc
41ba76e658c27a921572d97be6f4ab08 68212 python optional
dh-python_1.20150628.orig.tar.xz
c5da462e5a6210fa275e3358e4819830 5864 python optional
dh-python_1.20150628-1.debian.tar.xz
032c743801057437f08cf11f74c04d7b 66606 python optional
dh-python_1.20150628-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCgAGBQJVkKRPAAoJEOrxkryqPw9Rrl8IAJiOcbtwqNoxzo4cBlhcXIUl
YfIzLQUl/8hSIz0pS0rUMzMPOiPoru9EevtfjJJjBsycLeS60WX3Iz3Z/aXJ0KxS
5oYCsyhW5HTMXvg+3AgpIiKN2l1xr4dNgllD+lTuGCKEOLnJV4WCdvw8maCr12UB
xQoh+qxW30D5Xeo44/1qXPtwjll0ILADtSViyg1sWbM+6DBFhHes4Qo7S0LOmQVl
jksY5cPVE6e7iQN5Iqa52B9s1OR2YzpDSwvix731HI03rYbQra/MFe3BRJ3Hdjs+
oCxWzoTvOfpC5FPTUART7pkUwTVb5lXmO52IRJLrti5oJaZz575TS7fwNIqwt7c=
=yDNr
-----END PGP SIGNATURE-----
--- End Message ---