I have a personal instance of Koji. I added certain external repos and tried to build a package but got a "waitrepo (6)" and build never started. On trying to regenerate the repos, I got the following error.
GenericError: failed to merge repos: /usr/libexec/kojid/mergerepos -a i386 -b /mnt/koji/repos/centos5-mail-hosting-stable-build/419/i386/blocklist -o /tmp/koji/tasks/1331/1331/repo -g /mnt/koji/repos/centos5-mail-hosting-stable-build/419/groups/comps.xml -r file:///tmp/koji/tasks/1331/1331/repo_419_premerge/ -r https://pulp.abc.com/pulp/repos/centos/5/os/x86_64/ -r https://pulp.abc.com/pulp/repos/centos/5/updates/x86_64/ -r https://pulp.abc.com/pulp/repos/centos/5/updates/i386/ -r https://pulp.abc.com/pulp/repos/centos/5/os/i386/ -r https://pulp.abc.com/pulp/repos/epel/5/x86_64/ -r https://pulp.abc.com/pulp/repos/epel/5/i386/ exited with status 1
Please help.
-- Aditya Patawari http://blog.adityapatawari.com/ https://fedoraproject.org/wiki/User:Adimania India
I was advised to replace the hard code arch like i386 and x86_64 with $arch. Here is the error thrown:
2579 newRepo (centos5-mail-hosting-stable-build): free 2579 newRepo (centos5-mail-hosting-stable-build): free -> open (kojibuilder0) 2580 createrepo (i386): open (kojibuilder0) 2581 createrepo (x86_64): free 2581 createrepo (x86_64): free -> open (kojibuilder0) 2580 createrepo (i386): open (kojibuilder0) -> FAILED: GenericError: failed to merge repos: /usr/libexec/kojid/mergerepos -a i386 -b /mnt/koji/repos/centos5-mail-hosting-stable-build/834/i386/blocklist -o /tmp/koji/tasks/2580/2580/repo -g /mnt/koji/repos/centos5-mail-hosting-stable-build/834/groups/comps.xml -r file:///tmp/koji/tasks/2580/2580/repo_834_premerge/ -r https://pulp.abc.com/pulp/repos/centos/5/os/i386/ -r https://pulp.abc.com/pulp/repos/centos/5/updates/i386/ -r https://pulp.abc.com/pulp/repos/epel/5/i386/ exited with status 1 0 free 2 open 0 done 1 failed 2581 createrepo (x86_64): open (kojibuilder0) -> FAILED: GenericError: failed to merge repos: /usr/libexec/kojid/mergerepos -a x86_64 -b /mnt/koji/repos/centos5-mail-hosting-stable-build/834/x86_64/blocklist -o /tmp/koji/tasks/2581/2581/repo -g /mnt/koji/repos/centos5-mail-hosting-stable-build/834/groups/comps.xml -r file:///tmp/koji/tasks/2581/2581/repo_834_premerge/ -r https://pulp.abc.com/pulp/repos/centos/5/os/x86_64/ -r https://pulp.abc.com/pulp/repos/centos/5/updates/x86_64/ -r https://pulp.abc.com/pulp/repos/epel/5/x86_64/ exited with status 1 0 free 1 open 0 done 2 failed 2579 newRepo (centos5-mail-hosting-stable-build): open (kojibuilder0) -> FAILED: GenericError: failed to merge repos: /usr/libexec/kojid/mergerepos -a x86_64 -b /mnt/koji/repos/centos5-mail-hosting-stable-build/834/x86_64/blocklist -o /tmp/koji/tasks/2581/2581/repo -g /mnt/koji/repos/centos5-mail-hosting-stable-build/834/groups/comps.xml -r file:///tmp/koji/tasks/2581/2581/repo_834_premerge/ -r https://pulp.abc.com/pulp/repos/centos/5/os/x86_64/ -r https://pulp.abc.com/pulp/repos/centos/5/updates/x86_64/ -r https://pulp.abc.com/pulp/repos/epel/5/x86_64/ exited with status 1 0 free 0 open 0 done 3 failed
2579 newRepo (centos5-mail-hosting-stable-build) failed
Please help.
-- Aditya Patawari http://blog.adityapatawari.com/ https://fedoraproject.org/wiki/User:Adimania India
On Thu, Jun 23, 2011 at 7:32 PM, Aditya Patawari aditya@adityapatawari.com wrote:
I have a personal instance of Koji. I added certain external repos and tried to build a package but got a "waitrepo (6)" and build never started. On trying to regenerate the repos, I got the following error.
GenericError: failed to merge repos: /usr/libexec/kojid/mergerepos -a i386 -b /mnt/koji/repos/centos5-mail-hosting-stable-build/419/i386/blocklist -o /tmp/koji/tasks/1331/1331/repo -g /mnt/koji/repos/centos5-mail-hosting-stable-build/419/groups/comps.xml -r file:///tmp/koji/tasks/1331/1331/repo_419_premerge/ -r https://pulp.abc.com/pulp/repos/centos/5/os/x86_64/ -r https://pulp.abc.com/pulp/repos/centos/5/updates/x86_64/ -r https://pulp.abc.com/pulp/repos/centos/5/updates/i386/ -r https://pulp.abc.com/pulp/repos/centos/5/os/i386/ -r https://pulp.abc.com/pulp/repos/epel/5/x86_64/ -r https://pulp.abc.com/pulp/repos/epel/5/i386/ exited with status 1
Please help.
-- Aditya Patawari http://blog.adityapatawari.com/ https://fedoraproject.org/wiki/User:Adimania India
/usr/libexec/kojid/mergerepos -a x86_64 -b /mnt/koji/repos/centos5-mail-hosting-stable-build/834/x86_64/blocklist -o /tmp/koji/tasks/2581/2581/repo -g /mnt/koji/repos/centos5-mail-hosting-stable-build/834/groups/comps.xml -r file:///tmp/koji/tasks/2581/2581/repo_834_premerge/ -r https://pulp.abc.com/pulp/repos/centos/5/os/x86_64/ -r https://pulp.abc.com/pulp/repos/centos/5/updates/x86_64/ -r https://pulp.abc.com/pulp/repos/epel/5/x86_64/ exited with status 1
I ran the command above manually to check the possible errors. I got a "Cannot retrieve repository metadata (repomd.xml) for repository: repo1. Please verify its path and try again". On further inspection, I found that file:///tmp/koji/tasks/2581/2581/repo_834_premerge/ does not exist. /tmp/koji/tasks/2581/ is there but it is empty.
Is this the culprit? why am I getting this error? Any potential solutions?
Please help.
-- Aditya Patawari http://blog.adityapatawari.com/ https://fedoraproject.org/wiki/User:Adimania India
buildsys@lists.fedoraproject.org