Bug 720495

Summary: createrepo fails with index error pop from empty list
Product: [Fedora] Fedora Reporter: upgradeservices
Component: createrepoAssignee: Luke Macken <lmacken>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 15CC: james.antill, lmacken, pfrields
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: 2011-07-11 21:25:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
packages to trigger the bug
none
strace output none

Description upgradeservices 2011-07-11 19:57:50 UTC
Description of problem:
unable to use createrepo due to createrepo crash - index error pop from empty list

Version-Release number of selected component (if applicable):
createrepo-0.9.9-3.fc15.noarch

How reproducible:
run createrepo against directory containing attached list of packages, all from fedora repository.

Steps to Reproduce:
run createrepo against directory containing attached list of packages, all from official fedora repository.
  
Actual results:
createrepo does not work, i've been unable to use it for at least a month due to this issue. and looking at historic bugs 701744, 715108 this bug reoccurs over and over.

Expected results:
createrepo should print a warning, as opposed to fully crashing due to bogus info in rpm descriptions. It is insane to have a single point of failure which can be triggered by literally any package in any repo...

Additional info:

Comment 1 upgradeservices 2011-07-11 20:08:54 UTC
Created attachment 512286 [details]
packages to trigger the bug

Comment 2 upgradeservices 2011-07-11 20:09:38 UTC
Created attachment 512287 [details]
strace output

Comment 3 James Antill 2011-07-11 21:25:51 UTC

*** This bug has been marked as a duplicate of bug 715108 ***