FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 07-15-2011, 07:02 PM
Anthony Messina
 
Default newRepo error (merging external repo fails)

On 07/15/2011 08:18 AM, Severin Gehwolf wrote:
> Hi,
>
> I've added an external repo to my local koji instance like so:
>
> $ koji add-external-repo -t dist-rawhide-build
> dist-rawhide-external-repo
> http://mirrors.kernel.org/fedora/development/rawhide/$arch/os
>
> After that I'm getting the following errors for newRepo tasks:
> GenericError: failed to merge repos: /usr/libexec/kojid/mergerepos -a
> x86_64 -b /mnt/koji/repos/dist-rawhide-build/881/x86_64/blocklist
> -o /tmp/koji/tasks/2427/2427/repo
> -g /mnt/koji/repos/dist-rawhide-build/881/groups/comps.xml -r
> file:///tmp/koji/tasks/2427/2427/repo_881_premerge/ -r
> http://mirrors.kernel.org/fedora/development/rawhide/x86_64/os/ exited
> with status 1
>
> createrepo.log:
> ------------------------------------------------------------
> $ /usr/bin/createrepo -vd -o /tmp/koji/tasks/2427/2427/repo -u
> http://koji-toronto.usersys.redhat.com/packages
> -g /mnt/koji/repos/dist-rawhide-build/881/groups/comps.xml /tmp/koji/tasks/2427/2427/repo
>
> Saving Primary metadata
> Saving file lists metadata
> Saving other metadata
> Generating sqlite DBs
> Starting other db creation: Fri Jul 15 09:37:41 2011
> Ending other db creation: Fri Jul 15 09:37:41 2011
> Starting filelists db creation: Fri Jul 15 09:37:41 2011
> Ending filelists db creation: Fri Jul 15 09:37:41 2011
> Starting primary db creation: Fri Jul 15 09:37:41 2011
> Ending primary db creation: Fri Jul 15 09:37:41 2011
> Sqlite DBs complete
>
> mergerepos.log:
> ------------------------------------------
> $ /usr/libexec/kojid/mergerepos -a x86_64
> -b /mnt/koji/repos/dist-rawhide-build/881/x86_64/blocklist
> -o /tmp/koji/tasks/2427/2427/repo
> -g /mnt/koji/repos/dist-rawhide-build/881/groups/comps.xml -r
> file:///tmp/koji/tasks/2427/2427/repo_881_premerge/ -r
> http://mirrors.kernel.org/fedora/development/rawhide/x86_64/os/
> Adding repo: file:///tmp/koji/tasks/2427/2427/repo_881_premerge/
> Adding repo:
> http://mirrors.kernel.org/fedora/development/rawhide/x86_64/os/
> Traceback (most recent call last):
> File "/usr/libexec/kojid/mergerepos", line 247, in <module>
> main(sys.argv[1:])
> File "/usr/libexec/kojid/mergerepos", line 242, in main
> merge.write_metadata()
> File "/usr/libexec/kojid/mergerepos", line 222, in write_metadata
> mdgen.doPkgMetadata()
> File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line
> 395, in doPkgMetadata
> self.writeMetadataDocs(packages)
> File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line
> 587, in writeMetadataDocs
> self.read_pkgs.append(po.localpath)
> File "/usr/lib/python2.7/site-packages/yum/sqlitesack.py", line 270,
> in __getattr__
> raise KeyError, str(e)
> KeyError: 'no such column: localpath'
>
> I'm using koji* packages from F15 repos.
>
> $ rpm -qa | grep koji
> koji-hub-1.6.0-2.fc15.noarch
> koji-hub-plugins-1.6.0-2.fc15.noarch
> koji-1.6.0-2.fc15.noarch
> koji-web-1.6.0-2.fc15.noarch
> koji-utils-1.6.0-2.fc15.noarch
> koji-builder-1.6.0-2.fc15.noarch
>
> Does anybody have thoughts on this? Thanks!
> --Severin
>
> --
> buildsys mailing list
> buildsys@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys

See this thread:
http://lists.fedoraproject.org/pipermail/buildsys/2011-May/003660.html

and this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=718635

No resolution yet except to downgrade to createrepo-0.9.8-5.fc14.noarch
which works fine for me.

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

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 10:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org