[Reproducible-builds] Bug#821777: diffoscope fails with "pkg_resources.DistributionNotFound: python-magic"
Holger Levsen
holger at layer-acht.org
Tue Apr 19 08:25:41 UTC 2016
Package: diffoscope
Version: 51
Severity: normal
Hi,
so, I've made a local diffoscope backport, installed it and gave it a
try and this is what I got:
$ diffoscope piuparts_0.70_source.changes piuparts_0.70~bpo8+1_source.changes
Traceback (most recent call last):
File "/usr/bin/diffoscope", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2876, in <module>
working_set = WorkingSet._build_master()
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 449, in build_master
ws.require(__requires__)
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 745, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources.py", line 639, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: python-magic
I'd expect this problem would be intercepted and a helpful error message
would be displayed. ATM I'm clueless why diffoscope fails here, is it
because of the distro "jessie-backports" in the 2nd changes file? Or is
it because the 1st changes file is signed, but not the 2nd?
-- System Information:
Debian Release: 8.4
Versions of packages diffoscope depends on:
ii python3 3.4.2-2
ii python3-libarchive-c 2.1-3~bpo8+1
ii python3-magic 1:5.22+15-2+deb8u1
ii python3-pkg-resources 5.5.1-1
pn python3:any <none>
Versions of packages diffoscope recommends:
ii python3-debian 0.1.27
ii python3-guestfs 1:1.28.1-1
ii python3-rpm 4.12.0.1+dfsg1-3~bpo8+1
ii python3-tlsh 3.4.1+20151014-1~bpo8+1
ii rpm2cpio 4.12.0.1+dfsg1-3~bpo8+1
-- no debconf information
--
cheers,
Holger
-------------- next part --------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 08 Mar 2016 13:00:22 +0100
Source: piuparts
Binary: piuparts piuparts-master piuparts-slave piuparts-common
Architecture: source
Version: 0.70
Distribution: unstable
Urgency: medium
Maintainer: piuparts developers team <piuparts-devel at lists.alioth.debian.org>
Changed-By: Holger Levsen <holger at debian.org>
Description:
piuparts - .deb package installation, upgrading, and removal testing tool
piuparts-common - common piuparts components
piuparts-master - piuparts master components
piuparts-slave - piuparts slave components
Changes:
piuparts (0.70) unstable; urgency=medium
.
[ Andreas Beckmann ]
* piuparts.py:
- Add to ignored_files:
+ /etc/sysctl.d/99-sysctl.conf (dangling symlink to ../sysctl.conf)
+ /var/log/btmp
- Canonicalize mountpoint inside the chroot to avoid mounting over
symlinks and possibly outside the chroot.
- --install-remove-install runs 'apt-get install --reinstall $pkg', too.
* post_distupgrade_base_cleanup: Remove libprocps3 in stretch.
* pre_remove_40_find_unowned_lib_links: Handle another mpi alternative.
* Add bug template for maintainer scripts incorrectly complaining about
being called with unknown arguments.
.
[ Holger Levsen ]
* conf/distros.conf and instances/piuparts.conf.pejacevic: move squeeze to
archive.debian.org, stop testing squeeze only suites - but keep testing
upgrades to wheezy suites.
* Fix typo in piuparts_slave_join.8.txt, thanks lintian.
Checksums-Sha1:
dc1a4efeec91b7fd2701ec90debd9756f89e11c5 1980 piuparts_0.70.dsc
8cf1fa730ec4dba22eca76eaa7dfab04e46853e9 233729 piuparts_0.70.tar.gz
Checksums-Sha256:
a784dfed6862aba1d0f480bce5b94f4e529ff975698ffef238f3bf784344daff 1980 piuparts_0.70.dsc
59ba6ec834f5a40d0e1dba5e6e895a93bf4c4acdf3bdea0da0dcf6a0b2402e2d 233729 piuparts_0.70.tar.gz
Files:
9776a702a049a5591e33988e83fb6ca4 1980 devel extra piuparts_0.70.dsc
e953b347c40ff9b437455545f26ae7f8 233729 devel extra piuparts_0.70.tar.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIVAwUBVt6/JAkauFYGmqocAQomAw/9GzYyDpYLawW8fl5YYsfrTRzLXd1EuX0A
0H7p+1HBt5FL7K0IDuo13pqc+ZqACKpBENvlAyadjSqsK/HVw84XwdEWHazbznrQ
/5PVfTr3/pesPNjDczhFfLW/HhhJdo4LTmn79KbKCZgXClnoQcxLC5MWxCxWXrfT
FlBkiu+E7uhrkChe4xwK3b0L6GBgYEjypbBZOcFg0d+fPfyVb1aG/yM8/fgEIwnY
DiJUoCLsM+1HAaJLJGKBxrmnMi5iYE9WGdqKh2EPnlYbgwOHwqhRhiJJRukrxz+O
+uDvyuNDiNmnk21RR+bairDoPzpjIFSd8zqlzYzmCYSf7XxybAnjMe9xoe1Bmuew
NHB4yztYTbFWIy2jUqgefDWJI7zKkfSwcRsZaKZdY3kiJxE7pnJOVu4mUAPdKEGX
lxdnDZ5czTaNwCoZcUiveIHQdas5SB1QjLL8tpGatn/HzmG65l+w3AF4Y7fBiN3F
+iYG2wQk9rUaUCmBgwALlqo11DlBct4fFUT7P0PF1s0N/aDEp+hsTezpuR/Ka2II
IYeo0osgms0VNQaOsWschoUamayIld/9zenbBJItDncsh8xMtT4G+YQw2TU91QAa
+hR7+6pTaJfSH32miwLUKUnrsMJkoXW5yxtbW/1itVgAbGxipIoqs0f8Brh9z+Jf
rjsjVqr4sJc=
=SsxW
-----END PGP SIGNATURE-----
-------------- next part --------------
Format: 1.8
Date: Tue, 19 Apr 2016 08:52:51 +0200
Source: piuparts
Binary: piuparts piuparts-master piuparts-slave piuparts-common
Architecture: source
Version: 0.70~bpo8+1
Distribution: jessie-backports
Urgency: medium
Maintainer: piuparts developers team <piuparts-devel at lists.alioth.debian.org>
Changed-By: Holger Levsen <holger at debian.org>
Description:
piuparts - .deb package installation, upgrading, and removal testing tool
piuparts-common - common piuparts components
piuparts-master - piuparts master components
piuparts-slave - piuparts slave components
Changes:
piuparts (0.70~bpo8+1) jessie-backports; urgency=medium
.
* Rebuild for jessie-backports.
Checksums-Sha1:
2f1160198935267736d3838c4f4493e34092ff6d 1130 piuparts_0.70~bpo8+1.dsc
3ad74ffbd04b661f0bedc0c8b10335dc6e7e059b 233970 piuparts_0.70~bpo8+1.tar.gz
Checksums-Sha256:
85a62af62e627b54689779928dd3ffc147ec4f45dd8f6de0a6cc52643dc4b948 1130 piuparts_0.70~bpo8+1.dsc
76266a0c011d240c58ead088df111ce7a1c03dad25e03fd9dcfabef29dd21c75 233970 piuparts_0.70~bpo8+1.tar.gz
Files:
e460ecd7bec70121f15ea3eb8b118978 1130 devel extra piuparts_0.70~bpo8+1.dsc
6e4d0a9bdcef014bbd11e38bfb4a0976 233970 devel extra piuparts_0.70~bpo8+1.tar.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160419/c09958cc/attachment.sig>
More information about the Reproducible-builds
mailing list