Bug 1277526
| Summary: | dnf builddep fails with Python backtrace | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Olivier Fourdan <ofourdan> |
| Component: | dnf-plugins-core | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | bnocera, cfergeau, jsilhan, mluscon, mmraka, packaging-team-maint, pnemade, RadekHolyPublic, vmukhame |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-04 11:42:20 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: | |||
*** This bug has been marked as a duplicate of bug 1272936 *** |
Description of problem: Running "dnf builddep" fails with a Python backtrace pointing at dnf plugin. Version-Release number of selected component (if applicable): python3-dnf-plugins-core-0.1.13-1.fc23.noarch How reproducible: 100% of the time Steps to Reproduce: 1. sudo dnf builddep control-center Actual results: enabling fedora-source repository enabling updates-source repository Last metadata expiration check performed 0:30:59 ago on Tue Nov 3 13:49:48 2015. Traceback (most recent call last): File "/bin/dnf", line 35, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 198, in user_main errcode = main(args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 84, in main return _main(base, args) File "/usr/lib/python3.4/site-packages/dnf/cli/main.py", line 136, in _main cli.run() File "/usr/lib/python3.4/site-packages/dnf/cli/cli.py", line 1091, in run return self.command.run(self.base.extcmds) File "/usr/lib/python3.4/site-packages/dnf-plugins/builddep.py", line 76, in inner return func(*args, **kwds) File "/usr/lib/python3.4/site-packages/dnf-plugins/builddep.py", line 142, in run self._remote_deps(pkgspec) File "/usr/lib/python3.4/site-packages/dnf-plugins/builddep.py", line 213, in _remote_deps package).get_best_query(self.base.sack)}) File "/usr/lib/python3.4/site-packages/dnf-plugins/builddep.py", line 212, in <setcomp> for pkg in dnf.subject.Subject( File "/usr/lib/python3.4/site-packages/dnfpluginscore/lib.py", line 170, in package_source_name srcname = package.sourcerpm.rstrip(".src.rpm") AttributeError: 'NoneType' object has no attribute 'rstrip' Expected results: build deps for control-center being installed Additional info: None