Source: dh-python Version: 2.20150826 User: reproducible-builds@lists.alioth.debian.org X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Hello Piotr. While working on the "reproducible builds" effort [1], we have noticed that dh-python generates a Depends line which depends on the locale setting, making some packages using dh-python not to be reproducible. [1]: https://wiki.debian.org/ReproducibleBuilds To be precise: * When LANG=C, packages have #!/usr/bin/python3.5 and they depend on "python3.5". * When LANG is a locale like fr_CH.UTF-8 or es_ES.UTF-8, packages have #!/usr/bin/python3 and they depend on "python3". I guess only one of those two things is the intended behaviour. Attached the output of "diffoscope" on two different builds of "aiozmq" (one of the affected packages). You will find more packages with this issue here: https://reproducible.debian.net/issues/unstable/python_3_dot_5_becomes_python_3_issue.html [ Note: On a rebuild, some of them seem to be now reproducible, but not all of them ]. Thanks.
--- /srv/reproducible-results/tmp.6PrGsugPVK/b1/aiozmq_0.7.1-1_amd64.changes +++ /srv/reproducible-results/tmp.6PrGsugPVK/b2/aiozmq_0.7.1-1_amd64.changes ├── Files │ @@ -1,3 +1,3 @@ │ │ - 2f2b8d65470471d32cdf69330ee69696 5164 python optional aiozmq_0.7.1-1_amd64.buildinfo │ - 6cb72633ca01adf8a7d66c2a15a3ab07 27180 python optional python3-aiozmq_0.7.1-1_all.deb │ + 21c4311ec40ae15f8c8537833ecc63ab 5164 python optional aiozmq_0.7.1-1_amd64.buildinfo │ + fe6a8cec0e8522cb8a4bdcd960af75d9 27168 python optional python3-aiozmq_0.7.1-1_all.deb ├── aiozmq_0.7.1-1_amd64.buildinfo │ @@ -2,21 +2,21 @@ │ Build-Architecture: amd64 │ Source: aiozmq │ Binary: python3-aiozmq │ Architecture: all │ Version: 0.7.1-1 │ Checksums-Md5: │ 8befd9e4de06011fe6ff7a53f41c82b5 2022 aiozmq_0.7.1-1.dsc │ - 6cb72633ca01adf8a7d66c2a15a3ab07 27180 python3-aiozmq_0.7.1-1_all.deb │ + fe6a8cec0e8522cb8a4bdcd960af75d9 27168 python3-aiozmq_0.7.1-1_all.deb │ Checksums-Sha1: │ 3313293a67b38bce0d47d3d262a9c2da718e0686 2022 aiozmq_0.7.1-1.dsc │ - a0a60f92f22389444b9731f774d2fd867ab2171e 27180 python3-aiozmq_0.7.1-1_all.deb │ + f7ff1c67f13ecad0ee1d6654f95f6fc9ad1acb49 27168 python3-aiozmq_0.7.1-1_all.deb │ Checksums-Sha256: │ 8536b728af759c50b19e72ee1ce9ff0fccc045cc3b07d91b6869415118eb73c8 2022 aiozmq_0.7.1-1.dsc │ - db1eb48caee6ea5d363c5cc19afbe3e6f2f503a5c199a54bf3bae4dcdc846b03 27180 python3-aiozmq_0.7.1-1_all.deb │ + c8484eefcbd8fd0b5f25e84031e97a4130243699695fadc1834345d5110e77ab 27168 python3-aiozmq_0.7.1-1_all.deb │ Build-Path: /tmp/buildd/aiozmq-0.7.1 │ Build-Environment: │ adduser (= 3.113+nmu3), │ base-files (= 9.4), │ base-passwd (= 3.5.38), │ bash (= 4.3-14), │ binutils (= 2.25.1-5), ├── python3-aiozmq_0.7.1-1_all.deb │ ├── metadata │ │ @@ -1,3 +1,3 @@ │ │ rw-r--r-- 0/0 4 Oct 5 21:00 2015 debian-binary │ │ -rw-r--r-- 0/0 1724 Oct 5 21:00 2015 control.tar.gz │ │ -rw-r--r-- 0/0 25264 Oct 5 21:00 2015 data.tar.xz │ │ +rw-r--r-- 0/0 1723 Oct 5 21:00 2015 control.tar.gz │ │ +rw-r--r-- 0/0 25252 Oct 5 21:00 2015 data.tar.xz │ ├── control.tar.gz │ │ ├── control.tar │ │ │ ├── tar --full-time -tvf {} │ │ │ │ @@ -1,5 +1,5 @@ │ │ │ │ drwxr-xr-x root/root 0 2015-10-05 21:00:46 ./ │ │ │ │ --rw-r--r-- root/root 620 2015-10-05 21:00:46 ./control │ │ │ │ +-rw-r--r-- root/root 622 2015-10-05 21:00:46 ./control │ │ │ │ -rw-r--r-- root/root 2288 2015-10-05 21:00:46 ./md5sums │ │ │ │ -rwxr-xr-x root/root 171 2015-10-05 21:00:46 ./postinst │ │ │ │ -rwxr-xr-x root/root 401 2015-10-05 21:00:46 ./prerm │ │ │ ├── ./control │ │ │ │ @@ -1,14 +1,14 @@ │ │ │ │ Package: python3-aiozmq │ │ │ │ Source: aiozmq │ │ │ │ Version: 0.7.1-1 │ │ │ │ Architecture: all │ │ │ │ Maintainer: Piotr Ożarowski <pi...@debian.org> │ │ │ │ Installed-Size: 149 │ │ │ │ -Depends: python3, python3-zmq, python3:any (>= 3.3.2-2~) │ │ │ │ +Depends: python3-zmq, python3.5, python3:any (>= 3.3.2-2~) │ │ │ │ Recommends: python3-msgpack │ │ │ │ Section: python │ │ │ │ Priority: optional │ │ │ │ Homepage: http://aiozmq.readthedocs.org/ │ │ │ │ Description: ZeroMQ integration with asyncio │ │ │ │ ZeroMQ integration with asyncio (PEP 3156) │ │ │ │ . │ │ │ ├── md5sums │ │ │ │┄ Files in package differs │ │ │ ╵ │ │ ╵ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── tar --full-time -tvf {} │ │ │ │ @@ -1,11 +1,11 @@ │ │ │ │ drwxr-xr-x root/root 0 2015-10-05 21:00:46 ./ │ │ │ │ drwxr-xr-x root/root 0 2015-10-05 21:00:46 ./usr/ │ │ │ │ drwxr-xr-x root/root 0 2015-10-05 21:00:46 ./usr/bin/ │ │ │ │ --rwxr-xr-x root/root 309 2015-10-05 21:00:46 ./usr/bin/aiozmq-proxy │ │ │ │ +-rwxr-xr-x root/root 311 2015-10-05 21:00:46 ./usr/bin/aiozmq-proxy │ │ │ │ drwxr-xr-x root/root 0 2015-10-05 21:00:46 ./usr/lib/ │ │ │ │ drwxr-xr-x root/root 0 2015-10-05 21:00:46 ./usr/lib/python3/ │ │ │ │ drwxr-xr-x root/root 0 2015-10-05 21:00:46 ./usr/lib/python3/dist-packages/ │ │ │ │ drwxr-xr-x root/root 0 2015-10-05 21:00:46 ./usr/lib/python3/dist-packages/aiozmq/ │ │ │ │ drwxr-xr-x root/root 0 2015-10-05 21:00:46 ./usr/lib/python3/dist-packages/aiozmq-0.7.1.egg-info/ │ │ │ │ -rw-r--r-- root/root 7057 2015-10-05 21:00:46 ./usr/lib/python3/dist-packages/aiozmq-0.7.1.egg-info/PKG-INFO │ │ │ │ -rw-r--r-- root/root 1 2015-10-05 21:00:46 ./usr/lib/python3/dist-packages/aiozmq-0.7.1.egg-info/dependency_links.txt │ │ │ ├── ./usr/bin/aiozmq-proxy │ │ │ │ @@ -1,8 +1,8 @@ │ │ │ │ -#!/usr/bin/python3 │ │ │ │ +#!/usr/bin/python3.5 │ │ │ │ # EASY-INSTALL-ENTRY-SCRIPT: 'aiozmq==0.7.1','console_scripts','aiozmq-proxy' │ │ │ │ __requires__ = 'aiozmq==0.7.1' │ │ │ │ import sys │ │ │ │ from pkg_resources import load_entry_point │ │ │ │ │ │ │ │ if __name__ == '__main__': │ │ │ │ sys.exit( │ │ │ ╵ │ │ ╵ │ ╵ ╵
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds