Bug 1367034
| Summary: | diffoscope: ImportError: No module named 'libarchive' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | biltong <biltong> |
| Component: | diffoscope | Assignee: | Zbigniew Jędrzejewski-Szmek <zbyszek> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 25 | CC: | dhiru, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | diffoscope-62-1.fc23 diffoscope-62-1.fc25 diffoscope-62-1.fc24 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-29 23:52:25 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
diffoscope-62-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-30135ccb80 diffoscope-62-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f137b0532a diffoscope-62-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-25032de555 diffoscope-62-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-25032de555 diffoscope-62-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f137b0532a diffoscope-62-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-30135ccb80 Still broken in Fedora 25. (In reply to biltong from comment #7) > Still broken in Fedora 25. What does rpm -q diffoscope python3-libarchive-c output? $ rpm -q diffoscope python3-libarchive-c diffoscope-54-1.fc25.noarch package python3-libarchive-c is not installed If I install python3-libarchive-c the error goes away. Repoquery doesn't list that as a dependency of diffoscope: # repoquery --requires diffoscope /usr/bin/python3 python(abi) = 3.5 python3-magic python3-tlsh Well, yes, the version you have is buggy. The fix was made in diffoscope-62-1, which you'll get if you update. diffoscope-62-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. diffoscope-62-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. diffoscope-62-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: dnf install diffoscope fails. Installed: diffoscope.noarch 54-1.fc24 python3-magic.noarch 5.25-6.fc24 python3-tlsh.x86_64 3.4.5-1.fc24 $ diffoscope Traceback (most recent call last): File "/usr/bin/diffoscope", line 9, in <module> load_entry_point('diffoscope==54', 'console_scripts', 'diffoscope')() File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 547, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2720, in load_entry_point return ep.load() File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2380, in load return self.resolve() File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2386, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/lib/python3.5/site-packages/diffoscope/__main__.py", line 33, in <module> import diffoscope.comparators File "/usr/lib/python3.5/site-packages/diffoscope/comparators/__init__.py", line 38, in <module> from diffoscope.comparators.cpio import CpioFile File "/usr/lib/python3.5/site-packages/diffoscope/comparators/cpio.py", line 24, in <module> from diffoscope.comparators.libarchive import LibarchiveContainer, list_libarchive File "/usr/lib/python3.5/site-packages/diffoscope/comparators/libarchive.py", line 25, in <module> import libarchive ImportError: No module named 'libarchive' Version-Release number of selected component (if applicable): diffoscope-54-1.fc24.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: