Kojid unable to regen-repo in Fedora 15

Anthony Messina amessina at messinet.com
Thu Aug 4 01:54:34 UTC 2011


On 07/29/2011 04:41 PM, Anthony Messina wrote:
> Based on Seth's recommendation in
> https://bugzilla.redhat.com/show_bug.cgi?id=718635
> 
> upgrading to createrepo-0.9.9-5.fc16.noarch from rawhide seems to
> resolve this issue.

Well, while using either createrepo-0.9.9-4.fc15.noarch or
createrepo-0.9.9-5.fc16.noarch, I am able to successfully regenerate a
repo in Koji, but building a package in the resulting repo fails.

With the new createrepo versions, the repodata files contain sums:
tasks/2898/2898,
['9b19d6d5388866de3256ccf433020b2675678c74-filelists.xml.gz',
'da149cf3eedf43067a2409be98f09f6ac59b1d80-primary.xml.gz',
'14f7b241420a4283ebb06d9b5ded53789a52a716-comps.xml',
'cb4259761f5364bf6203071af4166b237fcdb54b-comps.xml.gz',
'5ddafbf985de1e52f3a4d86d210788dcdf9d12c9-other.sqlite.bz2',
'repomd.xml', '0c3c735cacccc61ee33be459ebb534c22428df38-pkgorigins.gz',
'42e1da88ccdfbdf44350fcc0fcdc554495f3f5c8-filelists.sqlite.bz2',
'a1c6e2a342d4b6d809a50ea2837f6ff8ae2b2c06-primary.sqlite.bz2',
'701919d49a2a98ff685164900e49a1989dfeff1a-other.xml.gz']

With the older stable f14 version, the repodata files don't:
tasks/2878/2878, ['primary.xml.gz', 'comps.xml', 'other.sqlite.bz2',
'filelists.sqlite.bz2', 'filelists.xml.gz', 'repomd.xml',
'primary.sqlite.bz2', 'pkgorigins.gz', 'other.xml.gz', 'comps.xml.gz']

The builds fail with:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 1114, in
runTask
    response = (handler.run(),)
  File "/usr/lib/python2.7/site-packages/koji/tasks.py", line 146, in run
    return self.handler(*self.params,**self.opts)
  File "/usr/sbin/kojid", line 2129, in handler
    broot.init()
  File "/usr/sbin/kojid", line 373, in init
    self.session.host.setBuildRootList(self.id,self.getPackageList())
  File "/usr/sbin/kojid", line 456, in getPackageList
    self.markExternalRPMs(ret)
  File "/usr/sbin/kojid", line 559, in markExternalRPMs
    fo = koji.openRemoteFile(relpath, **opts)
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1376,
in openRemoteFile
    fo = open(fn)
IOError: [Errno 2] No such file or directory:
'/mnt/koji//repos/dist-f15-build/386/x86_64/repodata/pkgorigins.gz'

Referring to https://bugzilla.redhat.com/show_bug.cgi?id=718635 (a
createrepo ticket), is this now a Koji issue?

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/buildsys/attachments/20110803/af2c91c8/attachment.bin 


More information about the buildsys mailing list