Bug 677479

Summary: rpmdiff traceback
Product: [Fedora] Fedora EPEL Reporter: Jeff Bastian <jbastian>
Component: rpmlintAssignee: manuel wolfshant <manuel.wolfshant>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: el5CC: manuel.wolfshant
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: rpmlint-0.94-2.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-04 05:53:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jeff Bastian 2011-02-14 22:45:20 UTC
Description of problem:
rpmdiff results in a Python traceback on RHEL 5.6:

$ rpmdiff gettext-0.14.6-4.el5.x86_64.rpm gettext-0.17-1.el5.x86_64.rpm
Traceback (most recent call last):
  File "/usr/bin/rpmdiff", line 274, in ?
    main()
  File "/usr/bin/rpmdiff", line 269, in main
    d = Rpmdiff(args[0], args[1], ignore=ignore_tags)
  File "/usr/bin/rpmdiff", line 94, in __init__
    tagname = rpm.tagnames[tag]
KeyError: <PyCObject object at 0x2abb68d5a0d0>


Version-Release number of selected component (if applicable):
rpmlint-0.91-1.el5.noarch

How reproducible:
every time

Steps to Reproduce:
1. rpmdiff pkg-1.0.rpm pkg-1.1.rpm
  
Actual results:
traceback

Expected results:
normal rpmdiff output

Additional info:

Comment 1 Fedora Update System 2011-02-15 19:42:52 UTC
rpmlint-0.94-2.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/rpmlint-0.94-2.el5

Comment 2 manuel wolfshant 2011-02-15 19:46:40 UTC
Please be as kind as to test http://koji.fedoraproject.org/koji/taskinfo?taskID=2842608 and ( if possible ) provide feedback via the link from comment #1
Thank you.

Comment 3 Jeff Bastian 2011-02-15 20:28:40 UTC
It's working!  Thanks!

$ rpm -q rpmlint
rpmlint-0.94-2.el5.noarch

$ rpmdiff gettext-0.14.6-4.el5.x86_64.rpm gettext-0.17-1.el5.x86_64.rpm
S.5.....    SUMMARY
S.5.....    COPYRIGHT
...

Comment 4 Fedora Update System 2011-02-15 21:53:34 UTC
rpmlint-0.94-2.el5 has been pushed to the Fedora EPEL 5 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update rpmlint'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/rpmlint-0.94-2.el5

Comment 5 manuel wolfshant 2011-02-15 22:04:57 UTC
Please test thoroughly (together with rpmlint if at all possible ) and -- if
satisfied and only if satisfied -- provide a karma +1 via the link from comment
1 ( it helps in keeping track of the evolution of the package via the Fedora
build and distribution system ). Of course, do not hesitate to give a -1 if you
notice any problems and/or file a new bug if needed.

Comment 6 Fedora Update System 2011-03-04 05:53:27 UTC
rpmlint-0.94-2.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.