Bug 711865

Summary: error while creating a repository with RPMs for Fedora 14
Product: [Fedora] Fedora Reporter: Cristian Ciupitu <cristian.ciupitu>
Component: createrepoAssignee: Luke Macken <lmacken>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified 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-28 21:20:24 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
ls -rlaL (the files are really symlinks) none

Description Cristian Ciupitu 2011-06-08 19:35:38 UTC
Created attachment 503771 [details]
ls -rlaL (the files are really symlinks)

Description of problem:
I have a directory with RPMs for Fedora 14 from various repositories, fedora, updates, rpmfusion-free, rpmfusion-free-updates and tmz-puppet to be more precise. I tried to create a repository from it and createrepo failed.

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

How reproducible:
Every time

Steps to Reproduce:
1. Create a directory with the RPMs mentioned in the attachment.
2. Run createrepo -v .
  
Actual results:
Spawning worker 0 with 1716 pkgs
Worker 0: reading abuse-0.7.1-5.fc14.x86_64.rpm
Worker 0: Traceback (most recent call last):
Worker 0: reading accountsdialog-0.6-3.fc14.x86_64.rpm
Worker 0:   File "/usr/share/createrepo/worker.py", line 101, in <module>
Worker 0: reading accountsservice-0.6.1-1.fc14.x86_64.rpm
Worker 0:     main(sys.argv[1:])
Worker 0: reading AcetoneISO-6.7-7.fc12.x86_64.rpm
Worker 0:   File "/usr/share/createrepo/worker.py", line 84, in main
Worker 0: reading acpid-2.0.7-1.fc14.i686.rpm
Worker 0:     pri.write(pkg.xml_dump_primary_metadata())
Worker 0: reading adanaxisgpl-1.2.5-5.fc12.x86_64.rpm
Worker 0:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1208, in xml_dump_primary_metadata
Worker 0: reading adns-1.4-9.fc14.x86_64.rpm
Worker 0:     msg += misc.to_unicode(self._dump_format_items())
Worker 0: reading adonthell-0.3.5-0.9.fc14.x86_64.rpm
Worker 0:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1076, in _dump_format_items
Worker 0: reading alex4-1.0-9.fc12.x86_64.rpm
Worker 0:     msg += self._dump_requires()
Worker 0: reading alienblaster-1.1.0-6.fc12.x86_64.rpm
Worker 0:   File "/usr/lib/python2.7/site-packages/yum/packages.py", line 1145, in _dump_requires
Worker 0: reading allegro-4.2.3-3.fc14.x86_64.rpm
Worker 0:     best = rest.pop()
Worker 0: reading anaconda-14.22-1.fc14.x86_64.rpm
Worker 0: IndexError: pop from empty list
Worker 0: reading anaconda-yum-plugins-1.0-5.fc12.noarch.rpm
Worker 0: reading ants-1.4-7.fc12.x86_64.rpm
Worker exited with non-zero value: 1. Fatal.
Worker exited with non-zero value: 1. Fatal.

Expected results:
No errors or at least a less cryptic error.

Additional info:

Comment 1 seth vidal 2011-07-28 21:20:24 UTC
this is actually over in yum and it is fixed in rawhide/upstream